CN114938399A - Multi-protocol network conversion system and method - Google Patents
Multi-protocol network conversion system and method Download PDFInfo
- Publication number
- CN114938399A CN114938399A CN202210520739.XA CN202210520739A CN114938399A CN 114938399 A CN114938399 A CN 114938399A CN 202210520739 A CN202210520739 A CN 202210520739A CN 114938399 A CN114938399 A CN 114938399A
- Authority
- CN
- China
- Prior art keywords
- module
- protocol
- tcp
- zigbee
- protocol network
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
The invention discloses a multi-protocol network conversion system and a method, comprising the following steps: the ZigBee module is used for acquiring data of the multi-protocol Ethernet conversion equipment; the TCP/IP module is used for identifying data transmission of the Ethernet by using a hardware address; the anti-reverse connection circuit module is used for protecting the conversion equipment; the power supply module is used for supplying power to the ZigBee module, the TCP/IP module and the anti-reverse circuit module, and the conversion from the ZigBee protocol to the TCP/IP protocol is realized by researching and developing components of each module of the equipment, so that the problems of interconnection and data transmission among different protocol equipment are solved, and the developed equipment has the excellent performances of small volume, simple connection, fast data transmission, stable circuit and the like; through the mutual coordination and matching of the ZigBee module, the TCP/IP module and the like, the data acquired by the ZigBee can be sent out through the Ethernet, the application range of the ZigBee data acquisition technology is expanded, and the development of the ZigBee data acquisition technology is promoted.
Description
Technical Field
The invention relates to the technical field of network conversion, in particular to a multi-protocol network conversion system and a multi-protocol network conversion method.
Background
ZigBee is a short-distance wireless networking communication technology with low cost, low power consumption and low complexity, and in order to overcome the defects of high comprehensive cost, difficult expansion, poor mobility and the like of wired data acquisition, ZigBee and data acquisition are often combined nowadays, so that the application effect is good, but as the application fields are more and more, a coordinator may need to send data to other equipment after receiving the data, and the following problems may be caused: firstly, the method comprises the following steps: when data is transmitted, Ethernet communication is needed, protocols such as TCP/IP are needed for the Ethernet, the coordinator is a ZigBee protocol, and the protocols are different and cannot be directly communicated; II, secondly: the majority of ethernet controllers for providing ethernet access are designed by using ethernet network card control chips such as CS8900 and RTL8019, and most of these controllers have the disadvantages of large volume, complex connection, interference in communication, and the like.
Disclosure of Invention
The present invention is directed to a system and method for converting a multi-protocol network, so as to solve the problems in the background art.
In order to achieve the purpose, the invention provides the following technical scheme: a multi-protocol network conversion system comprising:
the ZigBee module is used for collecting data of the multi-protocol Ethernet conversion equipment;
the TCP/IP module is used for identifying data transmission of the Ethernet by using a hardware address;
the anti-reverse connection circuit module is used for protecting the conversion equipment;
the power supply module is used for supplying power to the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module; the ZigBee module is connected with the TCP/IP module, the TCP/IP module is connected with the upper computer, and the power supply module is respectively connected with the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module.
In a further preferable mode of the scheme, the ZigBee module is a wireless transceiver chip JN5148 of Jennic corporation, a reset circuit is arranged on the periphery of the wireless transceiver chip JN5148, and an ARP protocol, an IP protocol, an ICMP protocol, a TCP protocol, and a UDP protocol are embedded in the wireless transceiver chip JN 5148.
In a further preferred embodiment of the present invention, the I/O port provided by the wireless transceiver chip JN5148 is used as a data bus, an address bus, and a control bus, respectively.
In this embodiment, it is further preferable that the TCP/IP module uses a CP2200 ethernet communication chip.
In the TCP/IP module, ARP completes the conversion between IP address and hardware address used by data link layer, each node in ZigBee network has MAC address only, and communication between nodes adopts 16 bit short address.
According to the scheme, the preferable data acquisition end of the ZigBee module is CC2530+ PA, the acquisition radius is not less than 1KM, and the number of nodes is not less than 65536.
In a further preferred embodiment of the present invention, the power supply module selects an AS1117_3.3 voltage-stabilized power supply chip, and outputs 3.3V voltage through external input of 5V to supply power to the CP2200 and the JN 5148.
In a first aspect, an embodiment of the present application provides a multi-protocol network conversion method, including a method for implementing the multi-protocol network conversion system.
In a second aspect, an embodiment of the present application provides an electronic device for multi-protocol network conversion, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the system when executing the computer program.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps in the system.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, through researching and developing parts of each module of the equipment, the conversion from the ZigBee protocol to the TCP/IP protocol is realized, so that the problems of interconnection and data transmission among different protocol equipment are solved, and the developed equipment has excellent performances of small volume, simple connection, fast data transmission, stable circuit and the like;
through the mutual coordination and matching of the ZigBee module, the TCP/IP module and the like, the data acquired by the ZigBee can be sent out through the Ethernet, the application range of the ZigBee data acquisition technology is expanded, and the development of the ZigBee data acquisition technology is promoted;
the invention is applied to a plurality of fields of traffic, entrance guard, electric power and the like, and all the technologies can achieve the design goal.
Drawings
FIG. 1 is a schematic diagram of a system module according to the present invention.
Fig. 2 is a circuit diagram of a power supply module according to the present invention.
Fig. 3 is a schematic circuit diagram of a ZigBee module of the present invention.
FIG. 4 is a schematic circuit diagram of a TCP/IP module according to the present invention.
Fig. 5 is a block diagram illustrating a hardware connection between the chip JN5148 and the chip CP2200 according to the present invention.
Detailed Description
In the description of the embodiments of the present invention, it should be apparent to those skilled in the art that the embodiments of the present invention can be embodied as methods, apparatuses, electronic devices, and computer-readable storage media. Thus, embodiments of the invention may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), a combination of hardware and software. Furthermore, in some embodiments, embodiments of the invention may also be embodied in the form of a computer program product in one or more computer-readable storage media having computer program code embodied in the medium.
The computer-readable storage media described above may take any combination of one or more computer-readable storage media. The computer-readable storage medium includes: an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium include: a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, a flash memory, an optical fiber, a compact disc read-only memory, an optical storage device, a magnetic storage device, or any combination thereof. In embodiments of the invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, device, or apparatus.
The method, the device and the electronic equipment are described through the flow chart and/or the block diagram.
It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions. These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner. Thus, the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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, and 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.
Examples
Referring to fig. 1-2, the present invention provides a technical solution: a multi-protocol network conversion system comprising:
the ZigBee module is used for collecting data of the multi-protocol Ethernet conversion equipment;
the TCP/IP module is used for identifying data transmission of the Ethernet by using a hardware address;
the reverse connection preventing circuit module is used for protecting the conversion equipment;
the power supply module is used for supplying power to the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module; the ZigBee module is connected with the TCP/IP module, the TCP/IP module is connected with the upper computer, and the power supply module is respectively connected with the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module.
In this embodiment, the ZigBee module is a wireless transceiver chip JN5148 of Jennic corporation, a reset circuit is disposed on the periphery of the wireless transceiver chip JN5148, and an ARP protocol, an IP protocol, an ICMP protocol, a TCP protocol, and a UDP protocol are embedded in the wireless transceiver chip JN 5148.
An ARP protocol, an IP protocol, an ICMP protocol, a TCP protocol and a UDP protocol are embedded in the JN5148 chip, protocol conversion is completed through the JN5148, Ethernet communication between the ZigBee module and an upper computer is realized, and a reset circuit is arranged on the periphery of the ZigBee module, so that the working stability of the circuit is ensured.
The hardware circuit of the ZigBee module is shown in fig. 3, and includes a reset circuit using a MAX809 chip, so that the circuit in the device can stably and reliably operate. The I/O ports provided by the JN5148 are respectively used as a data bus, an address bus and a control bus, and are specifically allocated as follows: DIO8 DI015 is as data/address multiplexing bus, when being as the data bus, the signal is transmitted in eight data bits at the same time, has realized the parallel transmission mode, make the transmission rate fast. The DIO0 interface serves as an interrupt application signal, and when the pin receives the interrupt signal, the CPU proceeds to execute the Zigbee reception interrupt service routine. DIO1 and DIO2 are used as write and read strobe signals, respectively.
TCP/IP block hardware circuitry as shown in figure 4,
in a TCP/IP protocol cluster, data transmission of Ethernet is identified by using a hardware address, ARP (address resolution protocol) completes conversion between the IP address and the hardware address used by a data link layer, each node in a ZigBee network has a unique MAC address, communication among the nodes adopts a 16-bit short address which is dynamically distributed by a coordinator, so that accurate control over each node is realized, and the adopted independent Ethernet control chip CP2200 is provided with an interrupt request signal which can be used for informing a main processor that an interrupt occurs and is effective after any enabled interrupt event is detected. The interrupt pin allows the host processor to enter a "sleep" mode, waking up the CP2200 upon receiving a packet or accessing the network. The peripheral hardware circuit of the CP2200 mainly comprises a reset circuit, a crystal oscillator circuit, an I/O parallel interface circuit, a RJ-45 connecting circuit, a network state indicating circuit and the like; the CP2200 chip with 48 pins is selected, useless pins are suspended according to pin descriptions, and an external circuit is designed by basically referring to a typical wiring diagram; the I/O parallel circuit is connected with the circuit according to a multiplexing Intel bus mode, so that pins 27, 28, 29, 33, 34, 37 and 38 of an address bus which is in a non-multiplexing mode are all suspended and not connected, meanwhile, MUXEN is connected with a high level, MOTEN is grounded, and the work of the I/O parallel circuit in the Intel multiplexing mode is ensured; a 20MHz crystal oscillator is externally connected as a system clock; the address data bus ports AD [ 0-7 ] as a multiplexing mode are connected with DIO 8-DIO 15 of JN5148, and the JN5148 carries out addressing and data receiving and sending on the CP2200 through the multiplexing bus; when the CP2200 receives data, an interrupt signal is automatically generated to the DIO0 port of the JN5148 by being connected to the pin DIO0 port of the JN 5148.
By means of the characteristics of small size and strong function of the CP2200, the Ethernet conversion equipment with small size and convenient wiring is developed.
A hardware connection block diagram of a ZigBee module and a TCP/IP module is shown in fig. 5, in order to reduce intermediate links and reduce cost, a CP2200 is directly connected to a wireless transceiver chip JN5148 to complete connection between wireless transmission and ethernet transmission, and ethernet communication with an upper computer can be realized through simple circuit connection, protocol conversion in the gateway of the system is realized by the JN5148 chip, and communication between the JN5148 and the CP2200 adopts a parallel mode to improve transmission speed, data transmission of the ethernet is identified by using a hardware address in a TCP/IP protocol cluster, wherein ARP (address resolution protocol) completes conversion between an IP address and a hardware address used by a data link layer, each node in the ZigBee network has a unique MAC address, communication between nodes adopts a 16-bit short address, and the short address is dynamically allocated by a coordinator. For the unique identification node, the mapping from the short address to the ZigBee to the MAC address is realized by referring to an ARP realization mechanism under a TCP/IP protocol. The method is concretely implemented as follows, when converter nodes are connected with a coordinator, the coordinator allocates short addresses, a ZigBee MAC address and a short address mapping table are created in the coordinator, when the coordinator receives data of the converter nodes, a gateway adds the ZigBee MAC address of the node in a UDP section, so that a host can uniquely identify the converter nodes according to the addresses, the communication process from the host to the converter nodes is opposite to the process, in order to realize TCP/IP communication between the gateway and the host, an ARP protocol, an IP protocol, an ICMP protocol, a TCP protocol and a UDP protocol are embedded in a JN5148 chip, and the communication with the TCP/IP of an upper computer is realized
The anti-reverse circuit module is arranged in the machine body, and when the power supply is reversely connected due to misoperation, the conversion equipment is protected.
In this embodiment, the I/O ports provided by the wireless transceiver chip JN5148 are respectively used as a data bus, an address bus, and a control bus.
In this embodiment, the TCP/IP module is a CP2200 ethernet communication chip.
In this embodiment, in the TCP/IP module, the ARP completes the conversion between the IP address and the hardware address used by the data link layer, each node in the ZigBee network has only a MAC address, and the communication between nodes adopts a 16-bit short address.
In this embodiment, a data collection end of the ZigBee module is CC2530+ PA, a collection radius is not less than 1KM, and the number of nodes is not less than 65536.
In this embodiment, the power supply module selects an AS1117_3.3 voltage-stabilized power supply chip, and outputs 3.3V voltage through external input of 5V to supply power to the CP2200 and the JN 5148.
According to the working principle or the structural principle, the conversion from the ZigBee protocol to the TCP/IP protocol is realized by researching and developing the components of each module of the equipment, so that the problems of interconnection and data transmission among different protocol equipment are solved, and the developed equipment has the excellent performances of small volume, simple connection, fast data transmission, stable circuit and the like;
through the mutual coordination and cooperation of the ZigBee module, the TCP/IP module and the like, the data acquired by the ZigBee can be sent out through the Ethernet, the application range of the ZigBee data acquisition technology is expanded, and the development of the ZigBee data acquisition technology is promoted;
the invention is applied to a plurality of fields of traffic, entrance guard, electric power and the like, and all the technologies can achieve the design goal.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (10)
1. A multi-protocol network conversion system, comprising:
the ZigBee module is used for collecting data of the multi-protocol Ethernet conversion equipment;
the TCP/IP module is used for identifying data transmission of the Ethernet by using a hardware address;
the anti-reverse connection circuit module is used for protecting the conversion equipment;
the power supply module is used for supplying power to the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module; the ZigBee module is connected with the TCP/IP module, the TCP/IP module is connected with the upper computer, and the power supply module is respectively connected with the ZigBee module, the TCP/IP module and the reverse connection prevention circuit module.
2. The multi-protocol network switching system according to claim 1, wherein the ZigBee module is a wireless transceiver chip JN5148 from Jennic corporation, a reset circuit is provided at the periphery of the wireless transceiver chip JN5148, and the wireless transceiver chip JN5148 is embedded with an ARP protocol, an IP protocol, an ICMP protocol, a TCP protocol, and a UDP protocol.
3. The multi-protocol network conversion system according to claim 2, wherein the I/O ports provided by the wireless transceiver chip JN5148 are respectively used as a data bus, an address bus and a control bus.
4. The multi-protocol network conversion system of claim 1, wherein the TCP/IP module is a CP2200 ethernet communication chip.
5. The multi-protocol network conversion system according to claim 4, wherein in the TCP/IP module, ARP performs conversion between IP address and hardware address used by data link layer, each node in ZigBee network has and only MAC address, and communication between nodes adopts 16 bit short address.
6. The multi-protocol network conversion system according to claim 1, wherein the data collection end of the ZigBee module is CC2530+ PA, the collection radius is not less than 1KM, and the number of nodes is not less than 65536.
7. The multi-protocol network switching system according to claim 1, wherein the power supply module is an AS1117_3.3 vdd regulator power supply chip, and outputs 3.3V through an external input of 5V for supplying power to the CP2200 and the JN 5148.
8. A multi-protocol network conversion method according to any one of claims 1-7, comprising means for implementing the multi-protocol network conversion system.
9. An electronic device for multi-protocol network conversion, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the system according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the system according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210520739.XA CN114938399A (en) | 2022-05-13 | 2022-05-13 | Multi-protocol network conversion system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210520739.XA CN114938399A (en) | 2022-05-13 | 2022-05-13 | Multi-protocol network conversion system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114938399A true CN114938399A (en) | 2022-08-23 |
Family
ID=82863547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210520739.XA Pending CN114938399A (en) | 2022-05-13 | 2022-05-13 | Multi-protocol network conversion system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114938399A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100041247A (en) * | 2008-10-13 | 2010-04-22 | 서울시립대학교 산학협력단 | Lonworks protocol converting device for local wireless communication |
CN202178781U (en) * | 2011-07-22 | 2012-03-28 | 中环天仪股份有限公司 | Wireless Zigbee and industrial Ethernet bus protocol conversion adapter module |
CN204360550U (en) * | 2015-01-12 | 2015-05-27 | 扬州大学 | A kind of multiprotocol conversion equipment based on ZigBee |
CN208622228U (en) * | 2018-07-10 | 2019-03-19 | 福建师范大学福清分校 | A kind of traffic accident transmitting warning system based on Zigbee |
-
2022
- 2022-05-13 CN CN202210520739.XA patent/CN114938399A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100041247A (en) * | 2008-10-13 | 2010-04-22 | 서울시립대학교 산학협력단 | Lonworks protocol converting device for local wireless communication |
CN202178781U (en) * | 2011-07-22 | 2012-03-28 | 中环天仪股份有限公司 | Wireless Zigbee and industrial Ethernet bus protocol conversion adapter module |
CN204360550U (en) * | 2015-01-12 | 2015-05-27 | 扬州大学 | A kind of multiprotocol conversion equipment based on ZigBee |
CN208622228U (en) * | 2018-07-10 | 2019-03-19 | 福建师范大学福清分校 | A kind of traffic accident transmitting warning system based on Zigbee |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103616927B (en) | A kind of data communication server | |
CN104021102B (en) | CPCI serial port plate based on state machine and on-chip bus and working method of CPCI serial port plate | |
CN109828941A (en) | AXI2WB bus bridge implementation method, device, equipment and storage medium | |
CN103092798B (en) | The method of the access means under SOC(system on a chip) and bus | |
CN109901469A (en) | A method of PROFIBUS-PA bus communication is realized based on FPGA technology | |
US9128811B2 (en) | Assigning addresses to devices on an interconnect | |
CN103677671A (en) | Data reading-writing method and system of electrical port module | |
CN113489594B (en) | PCIE real-time network card based on FPGA module | |
CN103607718A (en) | Intelligent wireless network communication optimization device | |
CN113228567A (en) | Information processing method and device and information processing system | |
CN105281433A (en) | Distribution terminal communication system | |
CN101299207B (en) | Microprocessor system bus and microprocessor interface bus converting device and method | |
CN114938399A (en) | Multi-protocol network conversion system and method | |
CN203858629U (en) | Protocol converter | |
CN108132898A (en) | Multiplex communication control method and communication box | |
CN102932208A (en) | Site monitoring method and device | |
CN104346310A (en) | Data exchange circuit and method of high-performance I2C slave equipment | |
CN112698614B (en) | User side logic controller for reading and writing any byte | |
CN204795120U (en) | Split type extensible network message storage device | |
CN104572515A (en) | Tracking module, method, system and SOC (System-On-Chip) | |
CN109873741B (en) | System and working method of single-wire shared bus protocol | |
CN107995025B (en) | Identification system and method for backbone nodes in power line network nodes | |
CN206312355U (en) | A kind of remote wireless transmission equipment | |
CN105512066B (en) | Soft starter communication protocol conversion device and method based on profibus | |
CN216565213U (en) | Protocol converter based on ten-gigabit network-to-fiber channel |
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 |