Nothing Special   »   [go: up one dir, main page]

CN114449049A - Communication device and communication system based on light management data interaction - Google Patents

Communication device and communication system based on light management data interaction Download PDF

Info

Publication number
CN114449049A
CN114449049A CN202210070258.3A CN202210070258A CN114449049A CN 114449049 A CN114449049 A CN 114449049A CN 202210070258 A CN202210070258 A CN 202210070258A CN 114449049 A CN114449049 A CN 114449049A
Authority
CN
China
Prior art keywords
data
microcontroller
exchange chip
protocol
data exchange
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210070258.3A
Other languages
Chinese (zh)
Inventor
鲁小永
刘江
蒋宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Unipoe Iot Technology Co ltd
Original Assignee
Guangdong Unipoe Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Unipoe Iot Technology Co ltd filed Critical Guangdong Unipoe Iot Technology Co ltd
Priority to CN202210070258.3A priority Critical patent/CN114449049A/en
Publication of CN114449049A publication Critical patent/CN114449049A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/03Protocol definition or specification 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • H04L49/109Integrated on microchip, e.g. switch-on-chip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a communication device based on light management data interaction, which comprises a microcontroller, wherein the microcontroller is electrically connected with a data exchange chip, the microcontroller is pre-configured with a first protocol and a second protocol, the data transceiving function is realized through the data exchange chip, bottom layer equipment information corresponding to data received by the data exchange chip is obtained through the first protocol configured by the microcontroller, the data received by the data exchange chip is further processed through the microcontroller, a packaging data packet is obtained based on the configured second protocol packaging data and the bottom layer equipment information, and finally the packaging data packet is sent out through the data exchange chip. The invention reduces the hardware requirement of the communication device on the data exchange chip, and the data exchange chip can select the basic chip capable of realizing the data transceiving function. In addition, the invention discloses a communication system based on light management data interaction.

Description

Communication device and communication system based on light management data interaction
Technical Field
The present invention relates to the field of communications devices, and in particular, to a communications device and a communications system based on light management data interaction.
Background
Existing communication devices, such as switches, rely heavily on registers or function libraries carried by their data exchange chips, develop functions or protocols on the basis of the data exchange chips themselves, and then establish communication with cloud equipment such as a cloud server or a cloud platform, and finally achieve information interaction with the cloud equipment, for example, transmit data of the data exchange chips themselves to the cloud equipment for storage, management, and the like. The data exchange chip determines whether the communication device has powerful functions, and chip manufacturers need to specially support or develop a certain function/function library, so that the requirements on the chip manufacturers are high, however, the market conditions of the data exchange chip are not optimistic at present.
Disclosure of Invention
The invention aims to provide a communication device and a communication system based on light management data interaction so as to reduce the hardware requirement on a data exchange chip.
In order to achieve the above object, the present invention provides a communication device based on light management data interaction, which includes a data exchange chip and a microcontroller, wherein the microcontroller is electrically connected to the data exchange chip; wherein the data exchange chip is configured to perform: receiving first data and transmitting the first data to the microcontroller; the microcontroller is configured to perform: receiving the first data transmitted by the data exchange chip; acquiring bottom layer equipment information corresponding to the first data through a first protocol configured in advance; processing the first data and the bottom layer device information, including: packaging the first data and the bottom layer equipment information based on a second protocol which is configured in advance to obtain a packaged data packet; and transmitting the packaging data packet to the data exchange chip, and sending the packaging data packet by the data exchange chip.
In some embodiments, the encapsulated data packet is sent to a cloud device via the data exchange chip.
In some embodiments, the data exchange chip is configured to further perform: receiving second data sent by the cloud equipment, and transmitting the second data to the microcontroller; the microcontroller is configured to further perform: receiving the second data transmitted by the data exchange chip; processing the second data, including: and performing decapsulation on the second data based on the second protocol configured in advance.
In some embodiments, the underlying device information includes a port number.
In some embodiments, the microcontroller is configured with a LwIP protocol stack.
In some embodiments, the first protocol is the LLDP protocol; the second protocol is an SNMP protocol.
In some embodiments, the microcontroller is further configured with the HTTP protocol to provide a channel for accessing the microcontroller.
In some embodiments, the data exchange chip is RTL8367S and the microcontroller is GD32F 307.
In some embodiments, the communication device is a POE switch.
In order to achieve the above object, the present invention provides a communication system based on light management data interaction, which includes the communication device and a cloud device, where the cloud device is electrically connected to a data exchange chip of the communication device to receive the encapsulated data packet.
Compared with the prior art, the communication device comprises a microcontroller, wherein the microcontroller is electrically connected with a data exchange chip, the microcontroller is pre-configured with a first protocol and a second protocol, the data receiving and sending functions are realized through the data exchange chip, bottom layer equipment information corresponding to data received by the data exchange chip is obtained through the first protocol configured by the microcontroller, the data received by the data exchange chip is further processed through the microcontroller, a packaged data packet is obtained based on the configured second protocol packaged data and the bottom layer equipment information, and finally the packaged data packet is sent out through the data exchange chip. The invention reduces the hardware requirement of the communication device on the data exchange chip, and the data exchange chip can select the basic chip capable of realizing the data transceiving function. Moreover, protocols configured by the microcontroller are all universal standard protocols, and the method can be suitable for information interaction with various cloud devices in the existing market, thereby facilitating communication of the cloud devices and ensuring privacy of the cloud devices. In addition, the microcontroller can be developed with specific functions to meet diversified requirements.
Drawings
Fig. 1 is a block diagram of a communication system based on light management data interaction according to an embodiment of the present invention.
FIG. 2 is a schematic circuit diagram of a data switch chip and its peripheral circuits according to an embodiment of the invention.
FIG. 3 is a schematic circuit diagram of a microcontroller and its peripheral circuits according to an embodiment of the present invention.
Detailed Description
In order to explain the contents, structural features, objects and effects of the present invention in detail, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical solution of the embodiment of the present invention is described in detail below with reference to fig. 1 to 3:
as shown in fig. 1, the communication system based on light management data interaction provided by this embodiment includes a communication apparatus 100 and a cloud device 200, where information interaction is performed between the communication apparatus 100 and the cloud device 200, so as to transmit information of the communication apparatus 100 itself and/or information of an underlying device 300 connected thereto acquired by the communication apparatus 100 to the cloud device 200 for storage, management, and the like, and receive information transmitted by the cloud device 200. The cloud device 200 may be a cloud server, the bottom layer device 300 may be a camera, a computer, or the like electrically connected to the communication apparatus 100, and the communication apparatus 100 may be connected to the bottom layer devices 300 to collect information of the bottom layer devices 300.
The communication device 100 includes a data exchange chip 1 and a microcontroller 2, and the microcontroller 2 is electrically connected to the data exchange chip 1. The data exchange chip 1 is configured to perform: receives the first data and transmits the first data to the microcontroller 2. The microcontroller 2 is configured to perform: receiving first data transmitted by the data exchange chip 1; acquiring bottom layer equipment information corresponding to the first data through a first protocol configured in advance; the processing of the first data and the bottom layer device information comprises: packaging the first data and the bottom layer equipment information based on a second protocol which is configured in advance to obtain a packaged data packet; the encapsulated data packet is transmitted to the data exchange chip 1, and the encapsulated data packet is transmitted to the cloud device 200 by the data exchange chip 1, so that the data is stored and managed by the cloud device 200.
The "first data" is data of the bottom layer device 300 connected to the data exchange chip 1, and the "bottom layer device information" is identity information of the bottom layer device 300 connected to the data exchange chip 1, including but not limited to a device name, a port number, and the like.
The processing of the first data and the bottom layer device information by the microcontroller 2 may further include: in an embodiment where the communication apparatus 100 is connected to a display device, the microcontroller 2 may also directly transmit the first data and the underlying device information to the display device for local display, or transmit the first data and the underlying device information to the display device through the data exchange chip 1 for local display.
In some embodiments, the data exchange chip 1 is configured to further perform: and receiving second data sent by the cloud device 200, and transmitting the second data to the microcontroller 2. The microcontroller 2 is configured to further perform: receiving second data transmitted by the data exchange chip 1; processing the second data, including: decapsulating the second data based on a second protocol configured in advance to perform local display, or transmitting the decapsulated second data to the underlying device 300 connected to the data exchange chip 1, or the like.
In some embodiments, the first Protocol is a Link Layer Discovery Protocol (LLDP) Protocol, and the second Protocol is a Simple Network Management Protocol (SNMP) Protocol, although the specific implementation is not limited thereto, for example, an MQTT (Message Queuing Telemetry Transport) Protocol may be used instead of the LLDP Protocol and the SNMP Protocol, that is, the first Protocol and the second Protocol are MQTT protocols.
In some embodiments, the microcontroller 2 is configured with LwIP Protocol stack (Light Weight Internet Protocol 1, Light IP Protocol), HTTP Protocol (HyperText Transfer Protocol), SNMP Protocol, and LLDP Protocol according to functions. The LwIP protocol stack is used as a protocol sum and is responsible for management of the whole microcontroller 2, and the application of the lightweight LwIP protocol stack ensures that software codes of the whole microcontroller 2 are clean and tidy, the function is strong, the occupation of the RAM is reduced, and the LwIP protocol stack almost supports all common protocols in TCP/IP. The microcontroller 2 provides a channel for accessing the microcontroller 2 via the HTTP protocol, and the user can access the microcontroller 2 via the browser. The LLDP protocol is used to discover devices and identify information such as a bottom device name and a port number connected to the data exchange chip 1, so as to obtain bottom device information corresponding to the first data acquired by the data exchange chip 1. The first data transmitted by the data exchange chip 1 and the bottom layer device information acquired by the LLDP protocol are encapsulated in a data format based on the SNMP protocol, and then an encapsulated data packet containing the first data and the bottom layer device information is transmitted to the cloud device 200 through the data exchange chip 1. The cloud apparatus 200 can also log in and manage the communication device 100 according to SNMP protocol data.
In addition, the microcontroller 2 may be developed for a specific function, for example, the microcontroller 2 is configured with an on-off button or an instruction input interface, and a control signal and/or a control instruction received through the button and/or the instruction input interface closes or opens a certain protocol, for example, opens an HTTP protocol, closes the HTTP protocol, and the like; for another example, the microcontroller 2 is configured to obtain the operation status information of the data exchange chip 1, etc. to monitor and manage the data exchange chip 1, and of course, other more complex functions may be configured as long as the selected microcontroller 2 and data exchange chip 1 can support the complex function configuration.
In specific implementation, according to the function to be executed, the data exchange chip 1 satisfying the basic function (such as a packet receiving and transmitting function) is selected to ensure convenience and high efficiency of use of the underlying function, and then the microcontroller 2 is selected to electrically connect the microcontroller 2 with the data exchange chip 1. In this embodiment, the data exchange chip 1 is RTL8367S, as shown in FIG. 2, and the microcontroller 2 is GD32F307, as shown in FIG. 3, SCK _1/EN _ EEE and SDA!of RTL 8367S! The data exchange chip 1 is connected to the MDC _1/MDIO _1 of the GD32F307, so as to realize data/information transmission between the data exchange chip 1 and the microcontroller 2, and of course, the specific implementation is not limited by the specific models of the data exchange chip 1 and the microcontroller 2. The communication device 100 is a POE switch, but not limited thereto.
As with the communication apparatus 100, the cloud device 200 may also select and configure the bottom layer device (memory) according to the functions that it needs to implement, and then select and configure a management module (which may also be a microcontroller) to perform information interaction with the microcontroller 2 of the communication apparatus 100 to obtain data, so as to reduce the hardware requirement on the bottom layer device, thereby reducing the cost of the cloud device 200.
In summary, the communication device 100 of the present invention includes a microcontroller 2, the microcontroller 2 is electrically connected to the data exchange chip 1, and the microcontroller 2 is pre-configured with LwIP protocol stack, LLDP protocol, SNMP protocol and HTTP protocol, the data exchange chip 1 is used for realizing the data receiving and sending function, the LLDP protocol configured by the microcontroller 2 is used for acquiring the bottom layer equipment information corresponding to the data received by the data exchange chip 1, and the data received by the data exchange chip 1 is further processed by the microcontroller 2, a packaged data packet is obtained based on the configured SNMP protocol packaged data and bottom layer equipment information, and finally the packaged data packet is sent out by the data exchange chip 1. Meanwhile, a channel for accessing the microcontroller 2 is provided through the HTTP protocol, and a user can access the microcontroller 2 through a browser, thereby realizing light management of the entire communication apparatus 100 through the LwIP protocol stack. Moreover, the protocols configured by the microcontroller 2 are all universal standard protocols, and can be applied to information interaction with various cloud devices 200 in the existing market, which not only facilitates communication of the cloud devices 200, but also ensures privacy of the cloud devices 200. In addition, the microcontroller 2 can be developed with specific functions to meet diversified requirements.
The above disclosure is only a preferred embodiment of the present invention, and should not be taken as limiting the scope of the invention, so that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the invention.

Claims (10)

1. A communication device based on light management data interaction is characterized by comprising a data exchange chip and a microcontroller, wherein the microcontroller is electrically connected with the data exchange chip;
the data exchange chip is configured to perform:
receiving first data generated by bottom layer equipment, and transmitting the first data to the microcontroller;
the microcontroller is configured to perform:
receiving the first data transmitted by the data exchange chip;
acquiring bottom layer equipment information corresponding to the first data through a first protocol configured in advance;
processing the first data and the bottom layer device information, including: packaging the first data and the bottom layer equipment information based on a second protocol which is configured in advance to obtain a packaged data packet;
and transmitting the packaging data packet to the data exchange chip, and sending the packaging data packet by the data exchange chip.
2. The communication apparatus according to claim 1, wherein the encapsulated packet is sent to a cloud device via the data exchange chip.
3. The communication device of claim 2,
the data exchange chip is configured to further perform:
receiving second data sent by the cloud equipment, and transmitting the second data to the microcontroller;
the microcontroller is configured to further perform:
receiving the second data transmitted by the data exchange chip;
processing the second data, including: and performing decapsulation on the second data based on the second protocol configured in advance.
4. The communications apparatus of claim 1, wherein the underlying device information comprises a port number.
5. A communication apparatus according to any of claims 1 to 4, wherein the microcontroller is configured with an LwIP protocol stack.
6. The communications device of claim 5, wherein the first protocol is an LLDP protocol; the second protocol is an SNMP protocol.
7. The communications device of claim 5, wherein the microcontroller is further configured with an HTTP protocol to provide a channel for accessing the microcontroller.
8. The communication device of claim 1, wherein the data exchange chip is RTL8367S and the microcontroller is GD32F 307.
9. The communications apparatus of claim 1, wherein the communications apparatus is a POE switch.
10. A communication system based on light management data interaction, comprising the communication apparatus according to any one of claims 2 to 9 and a cloud device electrically connected to a data exchange chip of the communication apparatus to receive the encapsulated data packet.
CN202210070258.3A 2022-01-19 2022-01-19 Communication device and communication system based on light management data interaction Pending CN114449049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210070258.3A CN114449049A (en) 2022-01-19 2022-01-19 Communication device and communication system based on light management data interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210070258.3A CN114449049A (en) 2022-01-19 2022-01-19 Communication device and communication system based on light management data interaction

Publications (1)

Publication Number Publication Date
CN114449049A true CN114449049A (en) 2022-05-06

Family

ID=81368559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210070258.3A Pending CN114449049A (en) 2022-01-19 2022-01-19 Communication device and communication system based on light management data interaction

Country Status (1)

Country Link
CN (1) CN114449049A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324918A (en) * 2008-07-25 2008-12-17 北京信城通数码科技有限公司 Method for host computer to perform dynamic switch for multi-vendor chip equipment data switching protocol
CN102510322A (en) * 2011-09-20 2012-06-20 北京雷久科技有限责任公司 IO (Input and Output) interface board card and method for transporting data by same
CN106549873A (en) * 2016-12-09 2017-03-29 北京邮电大学 Communication means and system between a kind of isomery controller
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
CN110213089A (en) * 2019-05-17 2019-09-06 烽火通信科技股份有限公司 A kind of method and system of extensive distal end equipment with zero configuration access network management
CN110519308A (en) * 2019-10-10 2019-11-29 北京华电天仁电力控制技术有限公司 The conversion equipment and method of a kind of MQTT Internet of Things to Profibus-DP fieldbus
CN110601983A (en) * 2019-10-15 2019-12-20 南京信息职业技术学院 Method and system for forwarding routing without sensing source of protocol
CN213754558U (en) * 2020-12-15 2021-07-20 那宝玉 Cross-security domain data exchange device facing cloud environment
CN113872687A (en) * 2021-09-27 2021-12-31 深圳前海微众银行股份有限公司 Optical attenuation detection method and device based on link layer discovery protocol

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324918A (en) * 2008-07-25 2008-12-17 北京信城通数码科技有限公司 Method for host computer to perform dynamic switch for multi-vendor chip equipment data switching protocol
CN102510322A (en) * 2011-09-20 2012-06-20 北京雷久科技有限责任公司 IO (Input and Output) interface board card and method for transporting data by same
CN106549873A (en) * 2016-12-09 2017-03-29 北京邮电大学 Communication means and system between a kind of isomery controller
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
CN110213089A (en) * 2019-05-17 2019-09-06 烽火通信科技股份有限公司 A kind of method and system of extensive distal end equipment with zero configuration access network management
CN110519308A (en) * 2019-10-10 2019-11-29 北京华电天仁电力控制技术有限公司 The conversion equipment and method of a kind of MQTT Internet of Things to Profibus-DP fieldbus
CN110601983A (en) * 2019-10-15 2019-12-20 南京信息职业技术学院 Method and system for forwarding routing without sensing source of protocol
CN213754558U (en) * 2020-12-15 2021-07-20 那宝玉 Cross-security domain data exchange device facing cloud environment
CN113872687A (en) * 2021-09-27 2021-12-31 深圳前海微众银行股份有限公司 Optical attenuation detection method and device based on link layer discovery protocol

Similar Documents

Publication Publication Date Title
CN102077194B (en) Network controller based pass-through communication mechanism between local host and management controller
KR20010042443A (en) Wireless packet data communication apparatus and method
US7660875B2 (en) Bidirectional remote communication via browser plug-in
EP2560337A1 (en) Method and system for realizing wireless usb flash disk
EP1159818B1 (en) Device and method for communication over a network
CN113194550B (en) Data channel construction method, server and data cluster system
US6791956B1 (en) Periphery device in a wireless network
US6847819B1 (en) Adaptive transport TCP/IP phone management
CN112383543B (en) Power equipment monitoring data processing system
JP5931224B2 (en) Data access method and apparatus
CN114449049A (en) Communication device and communication system based on light management data interaction
Cisco Configuring the Basics
KR100663425B1 (en) System interface apparatus for supporting multi network management protocol and method therefore
CN114697269A (en) Data communication method, apparatus, device and medium
Grunberger et al. Analysis and test results of tunneling IP over NFCIP-1
US20030163556A1 (en) Management apparatus, interconnecting device, communication system, program and management method
CN113065049A (en) Data capture method and device, storage medium and electronic equipment
CN107102874B (en) Application concurrent installation method and system
CN106656772B (en) Network access system
CN113852991B (en) Data forwarding method and device of 5G user plane functional entity and electronic equipment
US20080198762A1 (en) Cross-subnet-nodes subnet node device detection method
CN115037795B (en) Multi-machine communication method for embedded equipment
CN112187698B (en) Communication method, service system, electronic equipment and host MCU (micro control Unit) of electronic equipment
JP2003067270A (en) Communication protocol test equipment
JP3494265B2 (en) Satellite line connection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination