Expanded dual-mode communication usage method, multiple protocol conversion devices, equipment and media

By implementing protocol conversion of the dual-mode communication network between the central coordination module and the site modules, the problem of Ethernet protocol mismatch between the master station and the field communication equipment is solved, the application of the dual-mode communication network is expanded, the wiring cost is reduced and multiple protocol access is supported.

CN116634034BActive Publication Date: 2025-09-19CHINA GRIDCOM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310604416.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2025-09-19
Estimated Expiration
2043-05-25

AI Technical Summary

Technical Problem

The existing dual-mode communication network has a mismatch between the Ethernet communication protocols of the master station and the on-site communication equipment, which limits its application and prevents it from being effectively expanded to scenarios such as charging piles.

Method used

The central coordination module is used to realize the conversion between the communication protocol of the dual-mode communication network and the industrial Ethernet protocol. The dual-mode communication channel and Ethernet channel between the central coordination module and the site module are used to realize the transfer of data messages and protocol conversion.

Benefits of technology

It expands the application scenarios of dual-mode communication networks, reduces Ethernet wiring between communication equipment and central control equipment, supports rapid access to multiple communication protocols, and reduces equipment access costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116634034B_ABST
    Figure CN116634034B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for expanding the use of dual-mode communication, multiple protocol conversion devices, equipment, and media. The method is applied to a central coordination module, comprising: receiving a second protocol message sent by a site module through a dual-mode communication channel; wherein the second protocol message is obtained by the site module converting a first protocol message according to the second protocol of the dual-mode communication channel; converting the second protocol message according to the Ethernet communication protocol of a central control device to obtain a third protocol message; and sending the third protocol message to the central control device through a first Ethernet channel. In this way, the dual-mode communication network can directly connect devices at both ends that communicate using the Ethernet communication protocol, effectively expanding the application scenarios of the dual-mode communication network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power communication technology, and in particular to a method for using extended dual-mode communication, a multi-protocol conversion device, equipment, and a medium. Background Art

[0002] A dual-mode communication network uses both low-voltage power lines and wireless communications to aggregate, transmit, and interact with low-voltage power users' electricity usage information. A dual-mode communication network typically consists of a central coordination module, connecting all site modules to form a multi-level, tree-like communication network.

[0003] In related technologies, the external interfaces of central coordination modules and site modules are typically serial or RS485 ports. However, in some application scenarios, the communication protocols used by the master station and central control equipment differ from those used for conventional power consumption information collection. This limits the application of dual-mode communication networks in these scenarios. Summary of the Invention

[0004] The present invention aims to at least partially address one of the technical problems in the related art. To this end, a first object of the present invention is to propose a method for expanding the use of dual-mode communication, which is applied to a central coordination module to achieve mutual conversion between the communication protocol of the dual-mode communication network and the industrial Ethernet protocol, effectively extending the data communication distance and expanding the application scenarios of the dual-mode communication network.

[0005] The second object of the present invention is to provide a method for extending the use of dual-mode communication, which is applied to a station module.

[0006] The third object of the present invention is to provide a multi-protocol conversion device for use in a central coordination module.

[0007] A fourth object of the present invention is to provide a multi-protocol conversion device for use in a station module.

[0008] A fifth object of the present invention is to provide a computer device.

[0009] A sixth object of the present invention is to provide a computer-readable storage medium.

[0010] To achieve the above-mentioned purpose, the first aspect of the embodiment of the present invention proposes a method for extending the use of dual-mode communication, which is applied to a central coordination module, wherein the central coordination module is connected to the site module through a dual-mode communication channel, and is connected to the central control device through a first Ethernet channel, and the site module is used to receive a first protocol message sent by the communication device, and the first protocol message is a data message generated by the communication device according to the first protocol; the method includes: receiving a second protocol message sent by the site module through the dual-mode communication channel; wherein the second protocol message is obtained by the site module converting the first protocol message according to the second protocol of the dual-mode communication channel; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; the second protocol message is converted according to the Ethernet communication protocol of the central control device to obtain a third protocol message; and the third protocol message is sent to the central control device through the first Ethernet channel.

[0011] According to one embodiment of the present invention, converting the second protocol message to obtain a third protocol message includes: converting the protocol message header of the second protocol included in the second protocol message into a protocol message header of the Ethernet communication protocol to obtain the third protocol message.

[0012] According to one embodiment of the present invention, the first protocol message is an Ethernet protocol message, and the first protocol message is sent by the communication device to the station module through the second Ethernet channel.

[0013] According to one embodiment of the present invention, the second protocol message is obtained by the site module converting the Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol.

[0014] According to an embodiment of the present invention, the first protocol message is a serial port protocol message, and the first protocol message is sent by the communication device to the station module through a serial port communication channel.

[0015] According to an embodiment of the present invention, the second protocol message is obtained by the site module encapsulating the first protocol message using a protocol message header of the second protocol.

[0016] According to one embodiment of the present invention, before receiving the second protocol message sent by the site module through the dual-mode communication channel, the method further includes: receiving device information sent by the site module; wherein the device information is used to uniquely identify the site module or the communication device; allocating an Ethernet communication address to the site module according to the device information; associating the device information with the Ethernet communication address to obtain an address association relationship corresponding to the site module; converting the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message, includes: converting the second protocol message according to the Ethernet communication protocol and the address association relationship to obtain the third protocol message.

[0017] According to an embodiment of the present invention, the method further includes: if no connection data packet sent by the site module is received within a preset time threshold, deleting the address association relationship corresponding to the site module.

[0018] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a method for extending the use of dual-mode communication, which is applied to a site module, and the site module is connected to the central coordination module through a dual-mode communication channel, and is connected one-to-one with the communication equipment; the central coordination module is connected to the central control equipment through a first Ethernet channel; the method includes: receiving a first protocol message sent by the communication equipment; wherein the first protocol message is a data message generated by the communication equipment according to the first protocol; according to the second protocol of the dual-mode communication channel, converting the first protocol message to obtain a second protocol message; wherein the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; sending the second protocol message to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control equipment to obtain a third protocol message, and sends the third protocol message to the central control equipment through the first Ethernet channel.

[0019] According to one embodiment of the present invention, the first protocol message is an Ethernet protocol message, and the site module is connected to the communication device through a second Ethernet channel; the receiving of the first protocol message sent by the communication device includes: receiving the first protocol message sent by the communication device through the second Ethernet channel; the converting of the first protocol message to obtain the second protocol message includes: converting the Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol to obtain the second protocol message.

[0020] According to one embodiment of the present invention, the first protocol message is a serial port protocol message, and the site module is connected to the communication device through a serial port communication channel; the receiving the first protocol message sent by the communication device includes: receiving the first protocol message sent by the communication device through the serial port communication channel; the converting the first protocol message to obtain the second protocol message includes: encapsulating the first protocol message using the protocol message header of the second protocol to obtain the second protocol message.

[0021] According to one embodiment of the present invention, after receiving the first protocol message sent by the communication device, the method further includes: if the device information of the communication device is parsed from the first protocol message, sending the device information of the communication device to the central coordination module, so that the central coordination module assigns an Ethernet communication address to the site module according to the device information of the communication device; wherein the device information of the communication device is used to uniquely identify the communication device; if the device information of the communication device is not parsed from the first protocol message, sending the device information of the site module to the central coordination module, so that the central coordination module assigns an Ethernet communication address to the site module according to the device information of the site module; wherein the device information of the site module is used to uniquely identify the site module.

[0022] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a multiple protocol conversion device, which is applied to a central coordination module, wherein the central coordination module is connected to the site module through a dual-mode communication channel and is connected to the central control device through a first Ethernet channel, and the site module is used to receive a first protocol message sent by the communication device, wherein the first protocol message is a data message generated by the communication device according to the first protocol; the device includes: a second protocol message receiving module, which is used to receive a second protocol message sent by the site module through the dual-mode communication channel; wherein the second protocol message is obtained by the site module converting the first protocol message according to the second protocol of the dual-mode communication channel; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; a second protocol message conversion module, which is used to convert the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message; a third protocol message sending module, which is used to send the third protocol message to the central control device through the first Ethernet channel.

[0023] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a multi-protocol conversion device, which is applied to the site module, and the site module is connected to the central coordination module through a dual-mode communication channel, and is connected one-to-one with the communication equipment; the central coordination module is connected to the central control equipment through a first Ethernet channel; the device includes: a first protocol message receiving module, which is used to receive the first protocol message sent by the communication equipment; wherein the first protocol message is a data message generated by the communication equipment according to the first protocol; a first protocol message conversion module, which is used to convert the first protocol message according to the second protocol of the dual-mode communication channel to obtain a second protocol message; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; a second protocol message sending module, which is used to send the second protocol message to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control equipment to obtain a third protocol message, and sends the third protocol message to the central control equipment through the first Ethernet channel.

[0024] To achieve the above-mentioned purpose, the fifth aspect of the present invention proposes a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for using extended dual-mode communication as described in any one of the above-mentioned items when executing the computer program.

[0025] To achieve the above objectives, the sixth aspect of the present invention proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for using extended dual-mode communication as described in any one of the preceding items.

[0026] According to the multiple embodiments provided by the present invention, the conversion between the communication protocol of the dual-mode communication network and the Ethernet communication protocol is realized through the central coordination module, so that the dual-mode communication network between the central coordination module and the site module can realize the transit of data message transmission between the central control device and the communication device, so as to reduce the Ethernet wiring between the communication device and the central control device and expand the application scenarios of the dual-mode communication network.

[0027] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1a The present invention is a schematic diagram of an application scenario of a dual-mode communication network in the related art provided in this specification.

[0029] Figure 1bThe following is a schematic diagram of an application scenario of a dual-mode communication network provided in this specification.

[0030] Figure 1c The following is a schematic diagram of an application scenario of a dual-mode communication network provided in this specification.

[0031] Figure 1d The present invention is a schematic diagram of an application scenario of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0032] Figure 2 The figure is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0033] Figure 3 The figure is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0034] Figure 4a The figure is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0035] Figure 4b The present invention is a schematic diagram of the structure of a protocol conversion device provided according to one embodiment of the present invention.

[0036] Figure 5a The figure is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0037] Figure 5b A schematic diagram of an address association relationship provided according to one embodiment of this specification.

[0038] Figure 6a The present invention is a schematic diagram of an application scenario of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0039] Figure 6b The figure is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0040] Figure 7a The present invention is a schematic diagram of an application scenario of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0041] Figure 7b The present invention is a schematic diagram of an application scenario of a method for using extended dual-mode communication provided according to one embodiment of the present specification.

[0042] Figure 8 The present invention is a flowchart of a method for using extended dual-mode communication provided according to one embodiment of the present invention.

[0043] Figure 9aThe present invention is a structural block diagram of a plurality of protocol conversion devices provided according to one embodiment of the present invention.

[0044] Figure 9b The present invention is a structural block diagram of a plurality of protocol conversion devices provided according to one embodiment of the present invention.

[0045] Figure 10 The present invention is a structural block diagram of a computer device provided according to one embodiment of the present invention. DETAILED DESCRIPTION

[0046] The following describes embodiments of the present invention in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and are not to be construed as limiting the present invention.

[0047] According to the "Dual-Mode Communication Interoperability Technical Specification" released by State Grid, a dual-mode communication network uses low-voltage power lines and wireless communication as communication media to aggregate, transmit, and interact with electricity consumption information from low-voltage power users. The primary application scenario for a dual-mode communication network is in electricity consumption information collection systems. This network typically uses a central coordination module (CCO) as the core and a proxy coordination module (PCO) as a relay agent, connecting all station modules (STAs). This network forms a multi-level, tree-like communication network between the central control equipment (e.g., concentrators, controllers, etc.) and field communication equipment (e.g., energy meters). High-speed power line carrier (HPLC) and high-speed radio frequency (HRF) communication channels are used as the dual-mode communication network channels for information transmission between the central control equipment and field communication equipment, improving the efficiency, reliability, and flexibility of electricity consumption information collection.

[0048] In related technologies, the external interfaces of the central coordination module CCO and the station module STA are usually serial ports or RS485 ports. Figure 1aAs shown in the figure, a power consumption information collection system consisting of a master station, a concentrator, a central coordination module (CCO), station modules (STAs), and energy meter modules is used as an example. The central coordination module (CCO) connects to the concentrator via a serial port or RS485 interface, primarily communicating with the concentrator using the 1376.2 protocol. It forms a dual-mode communication network with multiple station modules (STAs), communicating with them using the HPLC / HRF protocol. Each station module (STA) is connected to a corresponding energy meter module via a serial port or RS485 interface, communicating with the corresponding meter module using the 645 protocol or the 698.45 protocol, respectively. The master station connects to the concentrator via 4G or fiber optic cables, primarily communicating with the concentrator using the 1376.1 protocol or the 698.45 protocol. When an energy meter module needs to upload a data message to the master station, it first assembles the data message according to the 645 or 698.45 protocol and sends it to the corresponding station module STA via the serial port or RS485 interface. Secondly, the station module STA converts the data message according to the HPLC / HRF protocol and sends it to the central coordination module CCO via the HPLC / HRF channel. The central coordination module CCO then converts the data message received from the station module according to the 1376.2 protocol and sends it to the concentrator via the serial port or RS485 interface. Finally, the concentrator further processes the data message sent by the central coordination module CCO and sends it to the master station. The communication process when the master station sends data messages to the energy meter module is similar to the above process and will not be repeated here.

[0049] In some scenarios where the master station communicates remotely with on-site communication equipment, the application of a dual-mode communication network can also be used to extend the communication distance between the on-site communication equipment and the central control equipment, thereby reducing on-site communication network wiring. However, for systems where the master station needs to send data packets to the on-site communication equipment via an Ethernet channel, the master station sends the data packet to the central control equipment, and the central control equipment needs to send the data packet to the communication equipment via the Ethernet channel between it and the communication equipment. The communication protocol of this system is different from the usual power consumption information collection communication protocol, and the communication interface may not meet the relevant requirements of the "Dual-Mode Communication Interoperability Technical Specification". For example, in the power consumption information collection system of the charging pile, the master station sends the data packet to the concentrator, and the concentrator needs to send the corresponding data packet to the charging pile via the Ethernet communication interface; the data packet uploaded by the charging pile needs to be sent to the concentrator via the Ethernet interface, and then sent to the master station by the concentrator. At this time, the communication protocol used by the master station and concentrator is different from the 1376 protocol used by the central coordination module. The communication protocol of the charging pile is also different from the 645 protocol or 698.45 protocol used by the site module. In addition, the Ethernet interface used by the concentrator does not match the communication interface of the central coordination module and the site module, which limits the application of the dual-mode communication network in this system.

[0050] In order to achieve mutual conversion between the communication protocol of the dual-mode communication network and the industrial Ethernet communication protocol based on the dual-mode communication chips of the central coordination module and the site module required by the "Dual-Mode Communication Interoperability Technical Specification", so that the two end devices that use the Ethernet communication protocol for communication can be directly connected through power line carrier communication technology and wireless communication technology, thereby extending the distance of data communication, it is necessary to propose a method for expanding the use of dual-mode communication, multiple protocol conversion devices, equipment and media. By setting up a dual-mode communication network between the central control device and the field communication equipment, the central coordination module in the dual-mode communication network is connected to the central control device through an Ethernet channel, and the site modules are connected to the communication devices one by one. When the communication device needs to upload a data message, the communication device sends the data message to the site module corresponding to the communication device. The site module converts the data message sent by the communication device into a protocol message that meets the communication protocol requirements of the dual-mode communication channel, and sends it to the central coordination module through the dual-mode communication channel; the central coordination module is used to convert the protocol message sent by the site module through the dual-mode communication channel into an Ethernet protocol message, and the Ethernet protocol message is sent to the central control device through the Ethernet channel between the central coordination module and the central control device, and the central control device further processes the message and sends it to the master station. When the master station needs to send a data message to the communication device through the central control device, the communication process with the help of the dual-mode communication network is similar to the above process and will not be repeated here. Therefore, in the scenario where the master station needs to communicate through the Ethernet channel between the central control device and the communication device connected to it, the dual-mode communication network can be used as a transit between the central control device and the communication device to expand the application scenario of the dual-mode communication network, reduce the Ethernet wiring between the communication device and the central control device, and at the same time support the rapid access of communication devices using other communication protocols, reducing the cost of device access.

[0051] Figure 1b This is a schematic diagram of an application scenario for an extended dual-mode communication method provided in this manual. Taking the power consumption information collection system including the master station, central control equipment, central coordination module CCO, station module STA and communication equipment as an example, the extended dual-mode communication method is applied to the central coordination module CCO and the station module STA respectively. Figure 1bAs shown, the central coordination module is connected to the central control device via a network interface, primarily using the Ethernet communication protocol for communication. The central coordination module is connected to multiple site modules via HPLC or HRF communication channels, thereby establishing a dual-mode communication network with the multiple site modules and communicating with the site modules using the HPLC / HRF protocol. Each site module is connected to a corresponding communication device via a network interface, using the Ethernet communication protocol for communication with the corresponding communication device. The master station is connected to the central control device via 4G or optical fiber, primarily using the Ethernet communication protocol for communication with the central control device.

[0052] In this scenario example, the central coordination module establishes a corresponding Ethernet channel with the central control device through the corresponding network port interface. The central control device is used to receive the Ethernet protocol message sent by the master station and send the message to the central coordination module. The central coordination module receives the Ethernet protocol message sent by the central control device through the Ethernet channel, and converts the Ethernet protocol message according to the HPLC / HRF protocol to obtain a dual-mode protocol message, which is distributed to the site module through the HPLC / HRF communication channel. The site module receives the dual-mode protocol message sent by the central coordination module through the corresponding HPLC / HRF communication channel, and converts it according to the Ethernet protocol to obtain an Ethernet protocol message and sends it to the corresponding communication device through the corresponding network port interface.

[0053] In this scenario example, each site module establishes a corresponding Ethernet channel with each communication device through the corresponding network port interface. For example, site module 1 establishes a corresponding Ethernet channel 1 with communication device 1 through the corresponding network port interface. Site module 1 receives the Ethernet protocol message sent by communication device 1 through Ethernet channel 1, and converts the Ethernet protocol message according to the HPLC / HRF protocol to obtain a dual-mode protocol message, which is then sent to the central coordination module through the HPLC / HRF communication channel. The central coordination module receives the dual-mode protocol message sent by site module 1 through the HPLC / HRF communication channel, converts the message according to the Ethernet protocol to obtain an Ethernet protocol message, and sends it to the central control device through the corresponding network port interface.

[0054] In some embodiments, the central coordination module can convert Ethernet protocol messages sent by the central control device by converting the Ethernet protocol message header included in the Ethernet protocol message into an HPLC / HRF protocol message header, and can convert dual-mode protocol messages sent by the site module by converting the HPLC / HRF protocol message header included in the dual-mode protocol message into an Ethernet protocol message header, thereby achieving conversion between the Ethernet protocol and the dual-mode communication protocol. The protocol conversion method of the site module is similar to that of the central coordination module and will not be repeated here.

[0055] Figure 1c This is a schematic diagram of an application scenario for an extended dual-mode communication method provided in this manual. Take the power consumption information collection system including the master station, central control equipment, central coordination module CCO, site module STA and communication equipment as an example. Figure 1c As shown, the central coordination module is connected to the central control device via a network interface, primarily using the Ethernet communication protocol for communication. The central coordination module connects to multiple site modules via HPLC or HRF communication channels, thereby forming a dual-mode communication network with the multiple site modules, and communicates with the site modules using the HPLC / HRF protocol. Each site module is connected to a corresponding communication device via a serial port or RS485 interface, and communicates with the corresponding communication device using the serial port communication protocol. The master station is connected to the central control device via 4G or optical fiber, primarily using the Ethernet communication protocol.

[0056] In this scenario example, the central coordination module establishes a corresponding Ethernet channel with the central control device through the corresponding network port interface. The central control device is used to receive the Ethernet protocol message sent by the master station and send the message to the central coordination module. The central coordination module receives the Ethernet protocol message sent by the central control device through the Ethernet channel, and converts the Ethernet protocol message according to the HPLC / HRF protocol to obtain a dual-mode protocol message, which is distributed to the site module through the HPLC / HRF communication channel. The site module receives the dual-mode protocol message sent by the central coordination module through the corresponding HPLC / HRF communication channel, and converts it according to the serial communication protocol of the communication device connected to it to obtain a serial protocol message and sends it to the corresponding communication device through the corresponding serial port / RS485 interface.

[0057] In this example scenario, each station module establishes a corresponding serial communication channel with each communication device via its corresponding serial port / RS485 interface. It is understood that since RS485 communication is a serial communication method, if a station module is connected to a corresponding communication device via an RS485 interface, a serial communication channel is also established between the station module and the corresponding communication device.

[0058] For example, site module 1 establishes a corresponding serial communication channel 1 with communication device 1 via a corresponding RS485 interface. Site module 1 receives RS485 serial protocol messages sent by communication device 1 via serial communication channel 1, converts the RS485 serial protocol messages according to the HPLC / HRF protocol to obtain dual-mode protocol messages, and sends them to the central coordination module via the HPLC / HRF communication channel. The central coordination module receives the dual-mode protocol messages sent by site module 1 via the HPLC / HRF communication channel, converts them according to Ethernet protocol to obtain Ethernet protocol messages, and sends them to the central control device via the corresponding network port interface.

[0059] In some embodiments, the serial port communication protocol may be a protocol other than the Ethernet communication protocol. The site module may convert serial port protocol messages sent by the communication device by encapsulating the serial port protocol messages with an HPLC / HRF protocol message header, and convert dual-mode protocol messages sent by the central coordination module by stripping the HPLC / HRF protocol message header from the dual-mode protocol messages, thereby achieving conversion between protocols other than the Ethernet communication protocol and the dual-mode communication protocol.

[0060] In some embodiments, the Ethernet protocol may be a TCP / IP protocol. The central control device may be a concentrator, a controller, or the like.

[0061] It can be understood that if the central coordination module and the site module are connected through an HPLC communication channel, the central coordination module converts the Ethernet protocol messages sent by the central control device according to the HPLC protocol, and the site module converts the Ethernet protocol messages sent by the corresponding communication device according to the HPLC protocol; if the central coordination module and the site module are connected through an HRF communication channel, the central coordination module converts the Ethernet protocol messages sent by the central control device according to the HRF protocol, and the site module converts the Ethernet protocol messages sent by the corresponding communication device according to the HRF protocol.

[0062] This specification provides a method for extending dual-mode communication and is applied to a central coordination module. Figure 1d As shown, the central coordination module 110 is connected to the site module 120 through a dual-mode communication channel and is connected to the central control device 130 through a first Ethernet channel. The site module 120 is used to receive a first protocol message sent by a communication device. The first protocol message is a data message generated by the communication device according to the first protocol. Figure 2 As shown, the method for extending dual-mode communication usage may include the following steps.

[0063] S210. Receive a second protocol message sent by the site module through the dual-mode communication channel; wherein the second protocol message is obtained by the site module converting the first protocol message according to the second protocol of the dual-mode communication channel; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel.

[0064] The central coordination module can be a central coordinator (CCO). The site module can be a site node (STA). The central control device can be a concentrator, controller, or other device, which can be used to send data packets uploaded by the communication device to the master station, and send data packets sent by the master station to the communication device. The communication device is a field terminal device connected to the site module, such as an electricity meter or charging station. The first protocol is the communication protocol used by the communication device, which can include the Ethernet communication protocol or other protocols other than the Ethernet protocol, such as the serial communication protocol.

[0065] Specifically, the site modules are connected to communication devices in a one-to-one correspondence. When a communication device needs to send information to a remote master station, it can generate a first protocol message that meets the requirements of the first protocol according to a first protocol and send the first protocol message to the site module corresponding to the communication device. After the site module receives the first protocol message from the communication device, if the site module and the central coordination module communicate using the first channel of the dual-mode communication channel, the site module converts the first protocol message into a corresponding second protocol message according to the communication protocol of the first channel and sends the second protocol message to the central coordination module via the first channel. Accordingly, the central coordination module receives the second protocol message sent by the site module via the first channel. If the site module and the central coordination module communicate using the second channel of the dual-mode communication channel, the site module converts the first protocol message into a corresponding second protocol message according to the communication protocol of the second channel and sends the second protocol message to the central coordination module via the second channel. Accordingly, the central coordination module receives the second protocol message sent by the site module via the second channel.

[0066] It is understood that when the central coordination module and the site modules establish a dual-mode communication network, they can determine whether they communicate using the first or second channel of the dual-mode communication channel, thereby determining the effective connection channel between the two parties. The first protocol and the second protocol are both link layer protocols. The dual-mode communication channel can be established between the dual-mode communication interface of the central coordination module and the dual-mode communication interface of the site module. The site module can also serve as a proxy coordination module (PCO).

[0067] In some embodiments, the dual-mode communication channel can include an HPLC communication channel and an HRF communication channel. Accordingly, the second protocol can be the HPLC communication protocol or the HRF communication protocol. The first protocol can be an Ethernet communication protocol supported by network port communication, with the station module communicating with the communication device via the network port. The first protocol can also be another communication protocol supported by serial port communication, with the station module communicating with the communication device via a serial port interface or RS485 interface.

[0068] S220: Convert the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message.

[0069] S230: Send the third protocol message to the central control device through the first Ethernet channel.

[0070] The third protocol message is a data message that meets the Ethernet communication protocol.

[0071] Specifically, the central control device communicates with the central coordination module via Ethernet. The central coordination module converts the second protocol messages received from the site modules into data messages that meet the requirements of the Ethernet communication protocol, namely, third protocol messages, according to the central control device's Ethernet communication protocol. The central coordination module then transmits the converted third protocol messages to the central control device via the first Ethernet channel. The central control device further processes the third protocol messages and transmits them to the master station.

[0072] In some embodiments, the central coordination module may include a protocol conversion device. The central coordination module may receive the second protocol message sent by the site module through the protocol conversion device, convert the second protocol message, and send the converted third protocol message to the central control device through the protocol conversion device. The protocol conversion device may also be a protocol conversion unit or a protocol conversion module.

[0073] It is understood that the central coordination module can also receive Ethernet protocol messages sent by the central control device via the first Ethernet channel, parse the Ethernet messages to determine the path where the target communication device is located, and thus determine the target site module connected to the target communication device. The central coordination module can then convert the Ethernet protocol messages according to the second protocol of the dual-mode communication channel connected to the target site module, and send the converted second protocol messages to the target site module via the dual-mode communication channel. After receiving the second protocol messages sent by the central coordination module, the target site module converts the second protocol messages according to the first protocol of the target communication device and sends the converted messages to the target communication device.

[0074] It should be noted that the Ethernet communication protocol is a communication protocol that meets the network port communication requirements, and may include TCP / IP protocol, UDP protocol, etc.

[0075] In the above embodiment, in the scenario where the central control device needs to communicate with the downstream communication device through Ethernet, the central coordination module is used to realize the conversion between the communication protocol of the dual-mode communication network and the Ethernet communication protocol, so that the dual-mode communication network between the central coordination module and the site module can realize the transit of data message transmission between the central control device and the communication device, thereby reducing the Ethernet wiring between the communication device and the central control device, expanding the application scenarios of the dual-mode communication network, and enabling the dual-mode communication network technology to be applied to application scenarios in charging piles, rail transit, security, etc.

[0076] In some implementations, converting the second protocol message to obtain the third protocol message may include converting a protocol message header of the second protocol included in the second protocol message into a protocol message header of the Ethernet communication protocol to obtain the third protocol message.

[0077] In some cases, the communication protocol of the dual-mode communication channel is a transparent communication protocol that supports transparent transmission of data packets. The station module can encapsulate the first protocol message sent by the communication device using the second protocol protocol header according to the second protocol of the dual-mode communication channel, obtain a second protocol message, and send it to the central coordination module. Therefore, the central coordination module can convert the second protocol message header encapsulated in the received second protocol message to convert the second protocol message into a third protocol message.

[0078] Specifically, after the central coordination module receives the second protocol message sent by the site module, it can parse the second protocol message to extract the payload data in the second protocol message, and use the protocol message header of the Ethernet communication protocol to encapsulate the extracted payload data to obtain a third protocol message.

[0079] It should be noted that the payload data in the second protocol message may be the first protocol message, or may be the payload data in the first protocol message.

[0080] In the above implementation, the conversion between the communication protocol of the dual-mode communication network and the Ethernet communication protocol is realized through the central coordination module, so that the dual-mode communication network can use the Ethernet protocol to transmit data packets, and the central control device can communicate with the Ethernet communication protocol of the network connected to it, meeting the need of the central control device to communicate with the communication device through the Ethernet communication protocol, and effectively reducing the Ethernet wiring between the communication device and the central control device.

[0081] In some implementations, the first protocol message is an Ethernet protocol message, and the first protocol message is sent by the communication device to the station module through the second Ethernet channel.

[0082] Specifically, if the communication device supports network port communication, the communication device can be connected to the station module via the second Ethernet channel. When the communication device needs to upload information, it can generate a corresponding Ethernet protocol message based on the Ethernet communication protocol it uses, and send the Ethernet protocol message to the station module connected to the communication device via the second Ethernet channel.

[0083] In some implementations, the second protocol message is obtained by the station module converting an Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol.

[0084] It is understandable that the Ethernet protocol message includes an Ethernet protocol message header and payload data. In the case where the first protocol message is an Ethernet protocol message, the station module can parse the first protocol message to obtain the corresponding payload data for transparent transmission of the payload data.

[0085] Specifically, after receiving an Ethernet protocol message from a communication device via the second Ethernet channel, the site module can first parse the Ethernet protocol message to extract the payload data contained in the Ethernet protocol message. Next, based on the second protocol of the dual-mode communication channel, the site module can convert the Ethernet protocol message header contained in the Ethernet protocol message into a protocol message header of the second protocol, thereby encapsulating the extracted payload data in a message of the second protocol of the dual-mode communication channel for transparent transmission of the payload data in the Ethernet protocol message. Finally, the site module transmits the converted second protocol message to the central coordination module via the dual-mode communication channel.

[0086] In some embodiments, the payload data is an IP message. Figure 3 As shown, the central control device is connected to the central coordination module CCO through routing to establish a first Ethernet channel between the central control device and the central coordination module CCO; the central coordination module CCO is connected to the site module 1 through the HPLC channel, to the site module 2 through the HRF channel, and to the site module 3 through the HRF channel; the site module 1 is connected to the communication device 1 through the network port, and there is a second Ethernet channel 1 between the site module 1 and the communication device 1; the site module 2 is connected to the communication device 2 through the network port, and there is a second Ethernet channel 2 between the site module 2 and the communication device 2; the site module 3 is connected to the communication device 3 through the network port, and there is a second Ethernet channel 3 between the site module 3 and the communication device 3.

[0087] When communication device 1 needs to upload a data message to the central control device, communication device 1 first generates a corresponding Ethernet protocol message based on the Ethernet communication protocol it uses and sends this Ethernet protocol message to site module 1 via second Ethernet channel 1. Next, site module 1 receives the Ethernet protocol message from communication device 1 and parses it to extract the corresponding IP message. Using the HPLC channel between site module 1 and the central coordination module, site module 1 encapsulates the extracted IP message using the message header of the corresponding HPLC communication protocol to obtain the corresponding HPLC protocol message, and sends this HPLC protocol message to central coordination module CCO via the HPLC channel. Then, central coordination module CCO receives the HPLC protocol message and parses it to extract the corresponding IP message. Central coordination module CCO encapsulates this IP message using the corresponding Ethernet protocol message header based on the Ethernet communication protocol of the central control device to obtain the encapsulated Ethernet protocol message, and sends the encapsulated Ethernet protocol message to the central control device via routing. Finally, the central control device can further process the Ethernet protocol message sent by the central coordination module and send it to the master station via a communication channel such as 4G / 5G / fiber optics. It is understandable that when the central control device needs to send a data message to the communication device 1 , a protocol conversion process opposite to the above process can be implemented through the central coordination module CCO and the site module 1 .

[0088] When communication device 2 needs to upload a data message to the central control device, communication device 2 first generates a corresponding Ethernet protocol message based on the Ethernet communication protocol it uses and sends this Ethernet protocol message to site module 2 via second Ethernet channel 2. Next, after receiving the Ethernet protocol message sent by communication device 2, site module 2 parses it and extracts the corresponding IP message. Based on the HRF channel between site module 2 and the central coordination module, site module 2 encapsulates the extracted IP message using the message header of the corresponding HRF communication protocol to obtain the corresponding HRF protocol message, and sends this HRF protocol message to central coordination module CCO via the HRF channel. Then, after receiving the HRF protocol message, central coordination module CCO parses it and extracts the corresponding IP message. Based on the Ethernet communication protocol of the central control device, central coordination module CCO encapsulates the IP message using the corresponding Ethernet protocol message header to obtain the encapsulated Ethernet protocol message, and sends the encapsulated Ethernet protocol message to the central control device via routing. Finally, the central control device can further process the Ethernet protocol message sent by the central coordination module and send it to the master station via a communication channel such as 4G / 5G / fiber. It is understood that when the central control device needs to send a data message to communication device 2, a protocol conversion process opposite to the above process can be implemented through the central coordination module CCO and site module 2. The protocol conversion process when communication device 3 uploads a data message to the central control device, and the protocol conversion process when the central control device sends a data message to communication device 3, will not be repeated here.

[0089] It is understandable that since the communication device supports network port communication, that is, Ethernet communication with the site module through the network port interface, the communication device has a corresponding communication address. After the site module receives the Ethernet protocol message sent by the communication module, it can parse the Ethernet protocol message to obtain the communication address corresponding to the communication device. When the site module requests network access from the central coordination module, it can send the communication address corresponding to the communication device to the central coordination module to request network access, so that when the master station needs to send a data message to the target communication device through the central control device, the central coordination module can determine the effective connection path between the central coordination module and which site module needs to be used to send the corresponding message to the target communication device by parsing the data message sent by the central control device.

[0090] In some embodiments, the communication address corresponding to the communication device may be an IP address (Internet Protocol Address) and a port number, or a MAC address (Media Access Control Address), etc.

[0091] For example, continue to refer to Figure 3 As shown, the communication address corresponding to communication device 1 is IP address 192.168.1.2; the communication address corresponding to communication device 2 is IP address 192.168.1.3; and the communication address corresponding to communication device 3 is IP address 192.168.1.4. Site module 1 uses IP address 192.168.1.2 to request network access from the central coordination module CCO; site module 2 uses IP address 192.168.1.3 to request network access from the central coordination module CCO; and site module 3 uses IP address 192.168.1.4 to request network access from the central coordination module CCO.

[0092] When the master station sends an Ethernet protocol message to communication device 1 via the central control device, the central control device first routes the Ethernet protocol message to the central coordination module CCO. Next, after receiving the Ethernet protocol message from the central control device, the central coordination module CCO parses it, extracts the IP message, and determines that the target communication address is 192.168.1.2. The message needs to be sent to communication device 1 via the path between the central coordination module CCO and the site module 1. The central coordination module CCO then encapsulates the extracted IP message using the corresponding HPLC communication protocol message header according to the HPLC channel's communication protocol to obtain the corresponding HPLC protocol message, and then sends the HPLC protocol message to the site module 1 via the HPLC channel. Then, after receiving the HPLC protocol message, the site module 1 parses it and extracts the IP message. Based on the Ethernet communication protocol of communication device 1, the site module 1 encapsulates the IP message using the corresponding Ethernet protocol message header to obtain the encapsulated Ethernet protocol message, and then sends the encapsulated Ethernet protocol message to communication device 1 via the second Ethernet channel 1. Finally, the communication device 1 performs corresponding processing according to the received message.

[0093] When the master station sends an Ethernet protocol message to communication device 2 via the central control device, the central control device first routes the Ethernet protocol message to the central coordination module CCO. Next, after receiving the Ethernet protocol message from the central control device, the central coordination module CCO parses it, extracts the IP message, and determines that the target communication address is 192.168.1.3. The message needs to be sent to communication device 2 via the path between the central coordination module CCO and site module 2. The central coordination module CCO then encapsulates the extracted IP message using the corresponding HRF protocol header according to the HRF channel communication protocol to obtain the corresponding HRF protocol message, and then sends the HRF protocol message to site module 2 via the HRF channel. Then, after receiving the HRF protocol message, site module 2 parses it and extracts the IP message. Site module 2 encapsulates the IP message using the corresponding Ethernet protocol header according to the Ethernet communication protocol of communication device 2 to obtain the encapsulated Ethernet protocol message, and then sends the encapsulated Ethernet protocol message to communication device 2 via the second Ethernet channel 2. Finally, the communication device 2 performs corresponding processing according to the received message. The communication process when the master station needs to send Ethernet protocol messages to the communication device 3 through the central control device is similar to the above communication process and will not be repeated here.

[0094] In the above-mentioned embodiment, information exchange is performed between the central control device and the communication device through the dual-mode communication network between the central coordination module and the site module, and data messages between the central control device and the communication device are transparently transmitted. From the perspective of the central control device and the communication device, it can be considered that an Ethernet connection path is established between the central control device and the communication device. As a result, the central coordination module and the site module implement functions similar to switches. For communication devices that support network port communication, messages between the central control device and the communication device can be transferred through the dual-mode communication network to extend the communication distance. Since the central coordination module and the site module can directly communicate using power lines or wireless channels, it is only necessary to connect the communication device to the site module and the central control device to the central coordination module through the network port. Therefore, the Ethernet wiring connecting the communication device and the central control device can be reduced.

[0095] In some implementations, the first protocol message is a serial port protocol message, and the first protocol message is sent from the communication device to the station module through a serial port communication channel.

[0096] The serial port protocol message is a data message that meets the serial port communication requirements.

[0097] Specifically, if the communication device supports serial communication but not Ethernet communication, it can connect to the station module via a serial communication channel. When the communication device needs to upload information, it can generate a corresponding serial protocol message based on the serial communication protocol it uses and send the serial protocol message to the station module connected to the communication device via the serial communication channel.

[0098] It should be noted that the serial communication protocol may be other protocols besides the Ethernet communication protocol, such as RS232, RS422, RS485 and other communication protocols, which are not specifically limited in this specification.

[0099] In some implementations, the second protocol message is obtained by the site module encapsulating the first protocol message using a protocol message header of the second protocol.

[0100] In some cases, different serial communication protocols have different message format requirements. Since the communication protocol of the dual-mode communication channel supports transparent transmission of data messages, to achieve the transmission of payload data on the dual-mode communication channel and reduce the transmission of Ethernet protocol message headers, if the first protocol message is a serial protocol message, the station module can directly encapsulate the serial protocol message using the protocol message header of the communication protocol of the dual-mode communication channel for transparent transmission of the serial protocol message.

[0101] Specifically, after receiving a serial protocol message from a communication device via a serial communication channel, the station module first encapsulates the serial protocol message as payload data using the second protocol header of the dual-mode communication channel. This encapsulates the serial protocol message within a second protocol message of the dual-mode communication channel for transparent transmission. The station module then sends the converted second protocol message to the central coordination module via the corresponding dual-mode communication channel.

[0102] For example, refer to Figure 4a As shown, the central control device is connected to the central coordination module CCO through routing to establish a first Ethernet channel between the central control device and the central coordination module CCO; the central coordination module CCO is connected to the site module 1 through the HPLC channel, connected to the site module 2 through the HRF channel, and connected to the site module 3 through the HRF channel; the site module 1 is connected to the communication device 1 through the serial port, and there is a serial communication channel 1 between the site module 1 and the communication device 1; the site module 2 is connected to the communication device 2 through the serial port, and there is a serial communication channel 2 between the site module 2 and the communication device 2; the site module 3 is connected to the communication device 3 through the serial port, and there is a serial communication channel 3 between the site module 3 and the communication device 3.

[0103] When communication device 1 needs to upload a data message to the central control device, first, communication device 1 generates a corresponding serial port protocol message 1 according to the serial port communication protocol it uses, and sends the serial port protocol message 1 to site module 1 through serial port communication channel 1. Secondly, after site module 1 receives the serial port protocol message 1 sent by communication device 1, it uses the message header of the corresponding HPLC communication protocol to encapsulate the serial port protocol message 1 according to the HPLC channel between it and the central coordination module CCO to obtain the corresponding HPLC protocol message, and then sends the HPLC protocol message to the central coordination module CCO through the HPLC channel. Then, after receiving the HPLC protocol message, the central coordination module CCO parses it and extracts the serial port protocol message 1. The central coordination module CCO encapsulates the serial port protocol message 1 according to the Ethernet communication protocol of the central control device using the corresponding Ethernet protocol message header to obtain the encapsulated Ethernet protocol message, and then sends the encapsulated Ethernet protocol message to the central control device through routing. Finally, the central control device can further process the Ethernet protocol message sent by the central coordination module and send it to the master station via a communication channel such as 4G / 5G / fiber. It is understood that when the central control device needs to send a data message to the communication device 1, a protocol conversion process opposite to the above process can be implemented through the central coordination module CCO and the site module 1.

[0104] When communication device 2 needs to upload information to the central control device, communication device 2 first generates a corresponding serial port protocol message 2 based on the serial port communication protocol it uses, and sends this serial port protocol message 2 to site module 2 via serial port communication channel 2. Next, after receiving serial port protocol message 2 from communication device 2, site module 2 encapsulates serial port protocol message 2 using the corresponding HRF communication protocol message header based on the HRF channel between it and the central coordination module CCO to obtain the corresponding HRF protocol message, and then sends this HRF protocol message to the central coordination module CCO via the HRF channel. Then, after receiving the HRF protocol message, the central coordination module CCO parses it and extracts serial port protocol message 2. The central coordination module CCO encapsulates this serial port protocol message 2 using the corresponding Ethernet protocol message header based on the Ethernet communication protocol of the central control device to obtain the encapsulated Ethernet protocol message, and then sends the encapsulated Ethernet protocol message to the central control device via routing. Finally, the central control device can further process the Ethernet protocol message sent by the central coordination module and send it to the master station via a communication channel such as 4G / 5G / fiber. It is understood that when the central control device needs to send a data message to communication device 2, a protocol conversion process opposite to the above process can be implemented through the central coordination module CCO and site module 2. The protocol conversion process when communication device 3 uploads a data message to the central control device, and the protocol conversion process when the central control device sends a data message to communication device 3, will not be repeated here.

[0105] In some embodiments, the site module may include a protocol conversion device. The site module may receive a first protocol message sent by the communication device through the protocol conversion device and convert the first protocol message, and send the converted second protocol message to the central coordination module through the protocol conversion device. For example, referring to Figure 4b As shown, the hardware interface of the protocol conversion device can include hardware interfaces for serial communication, RS485 communication, network port communication, and HPLC+HRF dual-mode communication. Among them, the serial communication interface and the RS485 communication interface support transparent transmission of various serial port protocol messages of the communication equipment. Functionally, the protocol conversion device can realize the conversion between the HPLC / HRF communication protocol and the Ethernet communication protocol, as well as the conversion between the HPLC / HRF communication protocol and the serial port communication protocol. It should be noted that the protocol conversion device of this hardware structure can also be used in a central coordination module. The protocol conversion device can also be a protocol conversion unit or a protocol conversion module, etc.

[0106] In some embodiments, reference Figure 5a As shown, before receiving the second protocol message sent by the station module through the dual-mode communication channel, the method for extending the use of the dual-mode communication may further include the following steps.

[0107] S310: Receive device information sent by the site module, wherein the device information is used to uniquely identify the site module or communication device.

[0108] The device information may be information such as the asset number or MAC address of the site module, or information such as the MAC address of the communication device connected to the site module.

[0109] Specifically, when the first protocol message is a serial port protocol message, after the site module receives the serial port protocol message sent by the communication device connected to it through the serial port communication channel, it can parse the serial port protocol message. If the site module can obtain device information such as the MAC address of the communication device connected to it by parsing the serial port protocol message, the site module can send this information to the central coordination module as the dual-mode communication address corresponding to the site module, for requesting network access from the central coordination module; if the site module cannot obtain the MAC address of the communication device connected to it by parsing the serial port protocol message, the site module can send its own asset number or MAC address and other information to the central coordination module as the dual-mode communication address corresponding to the site module, for requesting network access from the central coordination module.

[0110] Furthermore, after receiving the device information sent by the site module, the central coordination module can be networked with the site module to build a communication channel between the central coordination module and the site module, thereby building a communication network of the dual-mode communication part.

[0111] S320. Allocate an Ethernet communication address for the site module according to the device information.

[0112] The Ethernet communication address is the IP address and port number.

[0113] It is understandable that when the central control device needs to communicate via Ethernet and the communication device supports serial port communication but not network port communication, the corresponding IP address and port number need to be assigned to the path where the communication device is located to meet the requirements of the Ethernet communication protocol.

[0114] Specifically, after the central coordination module and the site modules are networked, the central coordination module can assign a corresponding Ethernet communication address, including an IP address and port number, to the site module based on the device information sent by the site module. This Ethernet communication address allows the central coordination module to simulate an Ethernet connection path between the site module and the central control device and the master station. From the perspective of the central control device and the remote master station, the site module can be considered to have established an Ethernet connection with the central control device and the remote master station. Because the site module is connected to the corresponding communication device, it can be considered that the corresponding communication device has established an Ethernet connection with the central control device and the master station.

[0115] Furthermore, each time a site module is added to form a network with the central coordination module, the central coordination module needs to allocate a corresponding IP address and port number to the added site module.

[0116] S330: Associating the device information with the Ethernet communication address to obtain an address association relationship corresponding to the site module.

[0117] It can be understood that since the master station and the central control device can determine the unique Ethernet connection path based on the Ethernet communication address corresponding to the site module, and the central coordination module can determine the unique site module based on the device information, thereby determining the unique dual-mode communication channel, the device information can be associated with the Ethernet communication address.

[0118] Specifically, after assigning a corresponding Ethernet communication address to each site module, the central coordination module establishes a one-to-one correspondence between the device information and Ethernet communication address corresponding to each site module, thereby obtaining an address association relationship for each site module. This association enables the central coordination module to associate the dual-mode communication channel between the central coordination module and each site module with a simulated Ethernet connection path. This allows the central coordination module to encapsulate data packets sent by the site modules based on the address association relationship and, upon receiving Ethernet protocol packets from the central control device, determine the path to which the site module should be sent the Ethernet protocol packet.

[0119] For example, refer to Figure 5bAs shown, the device information corresponding to site module 1 is MAC address MAC1, and the central coordination module assigns a corresponding Ethernet communication address to site module 1, including IP address IP1 and port number PORT1, which is used to determine the Ethernet connection path 1 between the central control device and site module 1; the device information corresponding to site module 2 is MAC address MAC2, and the central coordination module assigns a corresponding Ethernet communication address to site module 2, including IP address IP2 and port number PORT2, which is used to determine the Ethernet connection path 2 between the central control device and site module 2; and so on, the device information corresponding to site module n is MAC address MACn, and the central coordination module assigns a corresponding Ethernet communication address to site module n, including IP address IPn and port number PORTn, which is used to determine the Ethernet connection path n between the central control device and site module n.

[0120] The central coordination module associates the IP address IP1 and the port number PORT1 with the MAC address MAC1 to obtain the address association relationship corresponding to the site module 1, thereby obtaining the correspondence between the Ethernet connection path 1 and the site module 1; the central coordination module associates the IP address IP2 and the port number PORT2 with the MAC address MAC2 to obtain the address association relationship corresponding to the site module 2, thereby obtaining the correspondence between the Ethernet connection path 2 and the site module 2; and so on, the central coordination module associates the IP address IPn and the port number PORTn with the MAC address MACn to obtain the address association relationship corresponding to the site module n, thereby obtaining the correspondence between the Ethernet connection path n and the site module n.

[0121] Accordingly, converting the second protocol message according to the Ethernet communication protocol of the central control device to obtain the third protocol message may include: converting the second protocol message according to the Ethernet communication protocol and the address association relationship to obtain the third protocol message.

[0122] Specifically, after the central coordination module receives the second protocol message sent by the site module, it can parse the second protocol message to obtain the corresponding serial port protocol message. Based on the address association relationship corresponding to the site module, the central coordination module can determine the Ethernet communication address corresponding to the site module, that is, determine the Ethernet connection path corresponding to the site module. Then, based on the Ethernet communication protocol of the central control device and the determined Ethernet communication address, the central coordination module can use the Ethernet protocol message header to encapsulate the serial port protocol message to obtain the corresponding third protocol message, and send the third protocol message to the central control device through the first Ethernet channel. In this way, the central coordination module can simulate Ethernet communication of different communication devices.

[0123] Furthermore, in a scenario where a remote master station sends an Ethernet protocol message to a central control device, which then needs to be sent to a communication device, the central coordination module can parse the Ethernet protocol message after receiving it to obtain a target Ethernet communication address, i.e., a target Ethernet connection path. Based on the association between the target Ethernet communication address and the addresses corresponding to the site modules, the central coordination module can determine the target site module to which the Ethernet protocol message should be converted and sent.

[0124] It should be noted that by simulating the establishment of multiple Ethernet connection paths with different Ethernet communication addresses through the central coordination module, as well as simulating Ethernet communications of different communication devices, the central coordination module can replace the communication equipment and be responsible for transmitting handshake information, path maintenance information, etc. with the central control equipment, thereby reducing the data packets transmitted by the communication equipment and improving the data load efficiency in the dual-mode communication network.

[0125] Furthermore, when the master station sends data packets through the central control device, the central coordination module can use the select function to manage the Ethernet connection paths corresponding to each site module. Specifically, when this function detects a data packet input into the Ethernet connection path corresponding to a site module, it can immediately output the data packet in that path to the corresponding dual-mode communication channel for transmission to that site module.

[0126] For example, continue to refer to Figure 4a As shown, site module 1 sends device information MAC1 to the central coordination module CCO to request network access; site module 2 sends device information MAC2 to the central coordination module CCO to request network access; and site module 3 sends device information MAC3 to the central coordination module CCO to request network access. The central coordination module assigns the corresponding IP address 192.168.1.2 and port number PORT1 to site module 1, which are used to determine the Ethernet connection path 1 corresponding to site module 1; the corresponding IP address assigned to site module 2 is 192.168.1.3 and port number PORT2, which are used to determine the Ethernet connection path 2 corresponding to site module 1; and the corresponding IP address assigned to site module 3 is 192.168.1.4 and port number PORT3, which are used to determine the Ethernet connection path 3 corresponding to site module 1.

[0127] When the master station sends an Ethernet protocol message to the communication device 1 through the central control device, the Ethernet protocol message includes the payload data ( Figure 4aSerial protocol message in). First, the central control device sends the Ethernet protocol message to the central coordination module CCO through routing. Secondly, after receiving the Ethernet protocol message sent by the central control device, the central coordination module CCO parses it, extracts the payload data, and determines that the target Ethernet communication address is 192.168.1.2, and needs to send the message to the site module 1 through the Ethernet connection path 1. The central coordination module CCO uses the corresponding HPLC communication protocol message header to encapsulate the extracted payload data according to the HPLC channel between it and the site module 1 to obtain the corresponding HPLC protocol message, and sends the HPLC protocol message to the site module 1 through the HPLC channel. Then, after receiving the HPLC protocol message, the site module 1 parses it and extracts the corresponding payload data. The site module 1 sends the payload data to the communication device 1 through the serial communication channel 1. Finally, the communication device 1 performs corresponding processing based on the received data.

[0128] When the master station sends an Ethernet protocol message to communication device 2 via the central control device, the Ethernet protocol message includes payload data that meets the serial communication protocol requirements of the communication device. The central control device routes the Ethernet protocol message to the central coordination module CCO. Next, upon receiving the Ethernet protocol message from the central control device, the central coordination module CCO parses it, extracts the payload data, and determines that the target Ethernet communication address is 192.168.1.3, requiring the message to be sent to site module 2 via Ethernet connection path 2. Based on the HRF channel between the central coordination module CCO and site module 2, the central coordination module CCO encapsulates the extracted payload data using the corresponding HRF communication protocol message header to generate the corresponding HRF protocol message. This message is then sent to site module 2 via the HRF channel. Site module 2 then parses the HRF protocol message upon receiving it, extracting the corresponding payload data. Site module 2 then sends the payload data to communication device 2 via serial communication path 2. Finally, communication device 2 processes the received data accordingly. The communication process when the central control device needs to send an Ethernet protocol message to the communication device 3 is similar to the above communication process and will not be repeated here.

[0129] In some cases, because the central coordination module supports simulating multiple Ethernet connection paths with different Ethernet communication addresses, the central coordination module needs to be able to receive data packets on multiple different Ethernet connection paths, and the central coordination module's Ethernet communication address filtering policy needs to be modified accordingly. Specifically, the IP address of the IP layer in the Ethernet protocol stack on the central coordination module can be modified to achieve the modification of the Ethernet communication address filtering policy.

[0130] In the above-mentioned embodiment, when the communication device does not support network port communication, the central coordination module assigns corresponding Ethernet communication addresses to the communication device and the path where the site module connected to it is located, so as to quickly build a virtual Ethernet connection path between the master station and the communication device. In fact, the Ethernet connection path only reaches the central coordination module, and the central coordination module and the communication device forward data packets through the site module. The central coordination module and the site module communicate using a dual-mode communication network. After the data packets of the communication device are forwarded by the site module, the central coordination module simulates the corresponding Ethernet connection path to frame the data and forward it. From the perspective of the communication method between the master station and the central control device, the entire communication process is carried out on the Ethernet connection path. Therefore, through the conversion between the communication protocol of the dual-mode communication channel and the Ethernet communication protocol, the upper-layer application data can be transparently transmitted in the dual-mode communication network, which can support the rapid access of communication devices using different application protocols.

[0131] In some implementations, if no connection data packet sent by the site module is received within a preset time threshold, the address association relationship corresponding to the site module is deleted.

[0132] The connection data packet may be a heartbeat packet, which is used to indicate that the corresponding station module is in an online state in the dual-mode communication network.

[0133] It can be understood that after the central coordination module and the site module are networked, the site module can send heartbeat packets to the central coordination module at regular intervals, so that the central coordination module can perform heartbeat maintenance by sensing the changes in the network access status of the site module in the dual-mode communication network, thereby maintaining the status of the Ethernet connection path corresponding to the site module.

[0134] Specifically, the central coordination module receives connection data packets sent by the site module at regular intervals through the dual-mode communication channel between the central coordination module and the site module. If the central coordination module receives a connection data packet sent by the site module within a preset time threshold, it indicates that the site module is online and can receive Ethernet protocol messages sent by the master station through the central control device; if the central coordination module does not receive a connection data packet sent by the site module within the preset time threshold, that is, the number of active times of the site module is 0, the central coordination module deems that the site module is off-grid and deletes the address association corresponding to the site module to disconnect the Ethernet connection path corresponding to the site module, thereby maintaining the consistency of the connection state of the Ethernet connection path corresponding to the site module and the online state of the site module in the dual-mode communication network.

[0135] It is understandable that the time period for the site module to send the connection data packet is not greater than the preset time threshold range.

[0136] In some embodiments, to optimize the offline time of a site module in a dual-mode communication network and enable the central coordination module to promptly detect changes in the site module's network access status, the preset time threshold range can be set to one consecutive minute. If the central coordination module does not receive a connection data packet from a site module within one consecutive minute, the central coordination module deletes the address association corresponding to the site module. This ensures that when the site module is offline from the dual-mode communication network, the central coordination module immediately disconnects the Ethernet connection path corresponding to the site module.

[0137] If the site module requests to reconnect to the network from the central coordination module after being offline, the central coordination module will reallocate the corresponding Ethernet communication address to establish the Ethernet connection path corresponding to the site module after networking with the site module.

[0138] Furthermore, when the Ethernet connection path corresponding to the site module is disconnected, but the site module is online in the dual-mode communication network, the central coordination module needs to reconnect the Ethernet connection path corresponding to the site module, that is, re-establish the address association relationship corresponding to the site module.

[0139] It should be noted that since the device information sent by the site module to the central coordination module for network access request is the same each time, the central coordination module allocates the same IP address to the corresponding Ethernet communication address of the site module each time, but the port number may be different.

[0140] In some cases, since the communication rate of the dual-mode communication channel is usually lower than the communication rate of the Ethernet channel, when the master station sends data packets through the central control device, the central coordination module needs to control the data flow of the dual-mode communication channel between it and the site module and the Ethernet channel between it and the central control device.

[0141] Specifically, the central coordination module can automatically control data flow based on the communication status of the Ethernet connection paths corresponding to each site module and the communication status of the dual-mode communication channels between the central coordination module and each site module. If the queue of the dual-mode communication channel between the central coordination module and a site module is full, the central coordination module can send a corresponding message to the central control device, instructing the central control device to suspend sending data packets to the Ethernet connection path corresponding to the site module and wait.

[0142] In the above embodiment, the central coordination module, after establishing a dual-mode communication network with a site module, immediately establishes the Ethernet connection path corresponding to the site module; secondly, when the site module is online in the dual-mode communication network, it maintains the connection status of the Ethernet connection path corresponding to the site module; thirdly, when the Ethernet connection path corresponding to the site module is disconnected, but the site module is online in the dual-mode communication network, it immediately re-establishes the Ethernet connection path corresponding to the site module; and fourthly, when the site module is offline in the dual-mode communication network, it immediately disconnects the Ethernet connection path corresponding to the site module. In this way, the consistency of the connection status of the Ethernet connection path corresponding to each site module and the online status of each site module in the dual-mode communication network can be maintained. Furthermore, by associating the number of queues for the Ethernet connection path corresponding to each site module with the number of queues for the dual-mode communication channel in which each site module is located, it prevents data packets from being queued or lost for a long time due to inconsistent communication rates between the Ethernet connection path and the dual-mode communication channel, and also reduces the problem of data packets being lost without timely detection due to network interference.

[0143] This specification provides a method for extending dual-mode communication, which is applied to the station module. Figure 6a As shown, the site module 120 is connected to the central coordination module 110 through a dual-mode communication channel and is connected to the communication device 140 in a one-to-one correspondence; the central coordination module 110 is connected to the central control device 130 through a first Ethernet channel. Figure 6b As shown, the method for using extended dual-mode communication may include the following steps.

[0144] S410. Receive a first protocol message sent by a communication device; wherein the first protocol message is a data message generated by the communication device according to a first protocol.

[0145] S420. Convert the first protocol message according to the second protocol of the dual-mode communication channel to obtain a second protocol message; wherein the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel.

[0146] S430. Send the second protocol message to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message, and sends the third protocol message to the central control device through the first Ethernet channel.

[0147] It is understood that the site module can also receive protocol messages sent by the central coordination module via the dual-mode communication channel between it and the central coordination module. This protocol message is obtained by the central coordination module converting the Ethernet protocol message received from the central control device according to the second protocol of the dual-mode communication channel between it and the site module. The site module can convert the protocol message received from the central coordination module according to the first protocol of the corresponding connected communication device and send it to the communication device.

[0148] In some embodiments, the first protocol message is an Ethernet protocol message, referring to Figure 7a As shown, the site module 120 is connected to the communication device 142 via a second Ethernet channel. Receiving the first protocol message sent by the communication device 142 may include: receiving the first protocol message sent by the communication device 142 via the second Ethernet channel. Accordingly, converting the first protocol message to obtain the second protocol message may include: converting an Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol to obtain the second protocol message.

[0149] In some embodiments, the first protocol message is a serial port protocol message, refer to Figure 7b As shown, the station module 120 is connected to the communication device 144 via a serial communication channel. Receiving a first protocol message sent by the communication device 144 may include: receiving the first protocol message sent by the communication device 144 via the serial communication channel. Accordingly, converting the first protocol message to obtain a second protocol message may include: encapsulating the first protocol message using a protocol message header of the second protocol to obtain the second protocol message.

[0150] In some embodiments, reference Figure 8 As shown, after receiving the first protocol message sent by the communication device, the method for extending the use of dual-mode communication may further include the following steps.

[0151] S510: If device information of the communication device is obtained by parsing the first protocol message, the device information of the communication device is sent to the central coordination module, so that the central coordination module allocates an Ethernet communication address to the site module according to the device information of the communication device.

[0152] The device information of the communication device is used to uniquely identify the communication device.

[0153] S520: If the device information of the communication device is not obtained by parsing the first protocol message, the device information of the site module is sent to the central coordination module, so that the central coordination module allocates an Ethernet communication address to the site module according to the device information of the site module.

[0154] The device information of the site module is used to uniquely identify the site module.

[0155] It should be noted that, for the description of the extended dual-mode communication method applied to the site module in the above implementation, please refer to the description of the extended dual-mode communication method applied to the central coordination module in this specification, and the details will not be repeated here.

[0156] The embodiments of this specification provide a multi-protocol conversion device, which is applied to a central coordination module. The central coordination module is connected to the site module through a dual-mode communication channel and is connected to the central control device through a first Ethernet channel. The site module is used to receive a first protocol message sent by a communication device. The first protocol message is a data message generated by the communication device according to the first protocol. Figure 9a As shown, the multiple protocol conversion device 910 includes: a second protocol message receiving module 912, a second protocol message conversion module 914, and a third protocol message sending module 916.

[0157] The second protocol message receiving module 912 is used to receive the second protocol message sent by the site module through the dual-mode communication channel; wherein the second protocol message is obtained by the site module converting the first protocol message according to the second protocol of the dual-mode communication channel; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel.

[0158] The second protocol message conversion module 914 is configured to convert the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message.

[0159] The third protocol message sending module 916 is configured to send the third protocol message to the central control device through the first Ethernet channel.

[0160] Furthermore, the above-mentioned multiple protocol conversion devices can also be used to receive Ethernet protocol messages sent by the central control device, and convert the received Ethernet protocol messages sent by the central control device according to the second protocol of the dual-mode communication channel, and send the converted protocol messages to the corresponding site module through the dual-mode communication channel. The details will not be repeated here.

[0161] The embodiment of this specification provides a multi-protocol conversion device, which is applied to the site module. The site module is connected to the central coordination module through a dual-mode communication channel and is connected to the communication device one-to-one. The central coordination module is connected to the central control device through a first Ethernet channel. Figure 9b As shown, the multiple protocol conversion device 920 includes: a first protocol message receiving module 922, a first protocol message conversion module 924, and a second protocol message sending module 926.

[0162] The first protocol message receiving module 922 is configured to receive a first protocol message sent by a communication device; wherein the first protocol message is a data message generated by the communication device according to the first protocol.

[0163] The first protocol message conversion module 924 is used to convert the first protocol message to obtain a second protocol message according to the second protocol of the dual-mode communication channel; the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel.

[0164] The second protocol message sending module 926 is used to send the second protocol message to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message, and sends the third protocol message to the central control device through the first Ethernet channel.

[0165] Furthermore, the above-mentioned multiple protocol conversion devices can also be used to receive protocol messages sent by the central coordination module through a dual-mode communication channel, and convert the received protocol messages sent by the central coordination module according to the first protocol of the communication device connected to the corresponding site module, and send the converted messages to the communication device connected to the corresponding site module. The details will not be repeated here.

[0166] Regarding the specific limitations of the various protocol conversion devices applied to the central coordination module and the various protocol conversion devices applied to the site modules, please refer to the limitations of the extended dual-mode communication use method applied to the central coordination module and the extended dual-mode communication use method applied to the site module above, which will not be repeated here. Each module in the above-mentioned various protocol conversion devices applied to the central coordination module and the various protocol conversion devices applied to the site module can be fully or partially implemented by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0167] This specification also provides a computer device, referring to Figure 10 As shown, the computer device 1000 includes a memory 1010, a processor 1020, and a computer program 1030 stored in the memory 1010 and executable on the processor 1020. When the processor 1020 executes the computer program 1030, the aforementioned extended dual-mode communication usage method applied to the central coordination module and / or the extended dual-mode communication usage method applied to the site module are implemented.

[0168] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the aforementioned extended dual-mode communication method applied to the central coordination module and / or the extended dual-mode communication method applied to the site module.

[0169] It should be noted that the logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.

[0170] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above-described embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0171] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

[0172] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0173] In the present invention, unless otherwise specified or limited, the terms "installed," "connected," "connect," "fixed," etc. should be understood in a broad sense. For example, they can refer to fixed connection, detachable connection, or integration; mechanical connection, electrical connection; direct connection, or indirect connection through an intermediate medium; internal communication between two components, or interaction between two components, unless otherwise specified. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on specific circumstances.

[0174] Although the embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A method for extending dual-mode communication, characterized in that: Applied to a central coordination module, the central coordination module is connected to the site module through a dual-mode communication channel and is connected to the central control device through a first Ethernet channel, the site module is used to receive a first protocol message sent by the communication device, the first protocol message is a data message generated by the communication device according to the first protocol; the method includes: receiving, through the dual-mode communication channel, a second protocol message sent by the station module; wherein the second protocol message is obtained by the station module converting the first protocol message according to the second protocol of the dual-mode communication channel; and the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; converting the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message; The third protocol message is sent to the central control device through the first Ethernet channel.

2. The method according to claim 1, characterized in that The converting the second protocol message to obtain a third protocol message includes: The protocol message header of the second protocol included in the second protocol message is converted into a protocol message header of the Ethernet communication protocol to obtain the third protocol message.

3. The method according to claim 1, characterized in that The first protocol message is an Ethernet protocol message, and the first protocol message is sent by the communication device to the site module through the second Ethernet channel.

4. The method according to claim 3, characterized in that The second protocol message is obtained by the site module converting the Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol.

5. The method according to claim 1, wherein The first protocol message is a serial port protocol message, and the first protocol message is sent by the communication device to the site module through a serial port communication channel.

6. The method according to claim 5, characterized in that The second protocol message is obtained by the site module encapsulating the first protocol message using the protocol message header of the second protocol.

7. The method according to claim 5, characterized in that Before receiving the second protocol message sent by the station module through the dual-mode communication channel, the method further includes: Receiving device information sent by the site module; wherein the device information is used to uniquely identify the site module or the communication device; Allocate an Ethernet communication address for the station module according to the device information; Associating the device information with the Ethernet communication address to obtain an address association relationship corresponding to the site module; The converting the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message includes: According to the Ethernet communication protocol and the address association relationship, the second protocol message is converted to obtain the third protocol message.

8. The method according to claim 7, characterized in that The method further comprises: If the connection data packet sent by the site module is not received within a preset time threshold, the address association relationship corresponding to the site module is deleted.

9. A method for extending dual-mode communication, characterized in that: Applied to a site module, the site module is connected to a central coordination module via a dual-mode communication channel and is connected one-to-one with communication devices; the central coordination module is connected to a central control device via a first Ethernet channel; the method includes: Receiving a first protocol message sent by the communication device; wherein the first protocol message is a data message generated by the communication device according to the first protocol; Converting the first protocol message according to a second protocol of the dual-mode communication channel to obtain a second protocol message; wherein the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; The second protocol message is sent to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message, and sends the third protocol message to the central control device through the first Ethernet channel.

10. The method according to claim 9, characterized in that The first protocol message is an Ethernet protocol message, and the station module is connected to the communication device through a second Ethernet channel; and the receiving the first protocol message sent by the communication device includes: receiving, through the second Ethernet channel, the first protocol message sent by the communication device; The converting the first protocol message to obtain a second protocol message includes: Convert the Ethernet protocol message header included in the first protocol message into a protocol message header of the second protocol to obtain the second protocol message.

11. The method according to claim 9, characterized in that The first protocol message is a serial port protocol message, and the station module is connected to the communication device through a serial port communication channel; and the receiving the first protocol message sent by the communication device includes: receiving, via the serial communication channel, the first protocol message sent by the communication device; The converting the first protocol message to obtain a second protocol message includes: The first protocol message is encapsulated by using the protocol message header of the second protocol to obtain the second protocol message.

12. The method according to claim 11, characterized in that After receiving the first protocol message sent by the communication device, the method further includes: If device information of the communication device is obtained by parsing the first protocol message, the device information of the communication device is sent to the central coordination module, so that the central coordination module allocates an Ethernet communication address to the site module according to the device information of the communication device; wherein the device information of the communication device is used to uniquely identify the communication device; If the device information of the communication device is not parsed from the first protocol message, the device information of the site module is sent to the central coordination module, so that the central coordination module assigns an Ethernet communication address to the site module according to the device information of the site module; wherein the device information of the site module is used to uniquely identify the site module.

13. A multi-protocol conversion device, characterized in that: Applied to a central coordination module, the central coordination module is connected to the site module via a dual-mode communication channel and is connected to the central control device via a first Ethernet channel, the site module is used to receive a first protocol message sent by the communication device, the first protocol message is a data message generated by the communication device according to the first protocol; the device includes: a second protocol message receiving module, configured to receive a second protocol message sent by the site module through the dual-mode communication channel; wherein the second protocol message is obtained by the site module converting the first protocol message according to the second protocol of the dual-mode communication channel; and the second protocol is the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; A second protocol message conversion module is used to convert the second protocol message to obtain a third protocol message according to the Ethernet communication protocol of the central control device; The third protocol message sending module is configured to send the third protocol message to the central control device through the first Ethernet channel.

14. A multi-protocol conversion device, characterized in that: Applied to a site module, the site module is connected to the central coordination module via a dual-mode communication channel and is connected one-to-one with the communication equipment; the central coordination module is connected to the central control equipment via a first Ethernet channel; the device includes: A first protocol message receiving module, configured to receive a first protocol message sent by the communication device; wherein the first protocol message is a data message generated by the communication device according to the first protocol; a first protocol message conversion module, configured to convert the first protocol message according to a second protocol of the dual-mode communication channel to obtain a second protocol message; the second protocol being the communication protocol of the first channel of the dual-mode communication channel or the communication protocol of the second channel of the dual-mode communication channel; The second protocol message sending module is used to send the second protocol message to the central coordination module through the dual-mode communication channel, so that the central coordination module converts the second protocol message according to the Ethernet communication protocol of the central control device to obtain a third protocol message, and sends the third protocol message to the central control device through the first Ethernet channel.

15. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.

16. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • IPv4 power line carrier communication network and optimization method thereof

    CN114389644A

  • HPLC (High Performance Liquid Chromatography) network transmission method and system for lightweight IPv6

    CN114390028A