A 5G-based gateway multi-protocol conversion device and method
By introducing a multi-protocol conversion device into the 5G gateway, the unified 5G protocol format is used to simplify protocol conversion, the complexity problem caused by protocol differences in the power communication system is solved, efficient data transmission and fault handling are achieved, and the system capability is improved Scalability and maintainability.
Patent Information
- Application Number
- CN202110472567.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-04-29
AI Technical Summary
In the existing power communication systems, the differences in various communication protocols have led to the complex access and protocol conversion process of gateway equipment in the 5G era, which increases the difficulty of development and application, and reduces the scalability and maintainability of the system.
A 5G-based multi-protocol conversion device is designed, including communication interface module, protocol conversion module, processing module and configuration management module. Through a unified 5G protocol format, the gateway is simplified. Device access and protocol conversion process.
It realizes real-time transmission of massive data and fast fault processing, supports flexible access and control of charging piles and distributed energy, improves the scalability and maintainability of distribution networks, and ensures the reliability and lean management of power supply.
Smart Images

Figure CN113115346B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power systems and automation thereof, and in particular to a 5G-based gateway multi-protocol conversion device and method thereof. Background Art
[0002] The current power communication facilities are composed of communication equipment, overhead lines, underground optical fibers and other equipment and facilities, forming a power communication network, which is spread inside and outside the station, overhead and underground, and requires a high-bandwidth, low-latency communication network based on intelligent video image recognition and monitoring technology. The mobile, broadband, and low-latency applications of equipment such as drone line patrols and mobile smart wearable multimedia interactive patrols that may be implemented in the future also put forward high-bandwidth, low-latency, and large-capacity communication network requirements.
[0003] The emergence of 5G technology provides a network platform for communication operation and maintenance with high bandwidth, low latency transmission of video image multimedia information and large-capacity sensing terminal access. At present, there are a large number of different communication protocols in power communication. How to protect the previous communication terminal investment in the 5G era and connect traditional power-related communication terminal equipment to 5G communication services is a very important issue. As a key device in network data transmission, the gateway plays the role of protocol conversion and data processing. The communication protocols used by these peripheral devices to access the gateway are different. According to different business processes, the gateway needs to realize message forwarding between different communication protocols. How to effectively realize the conversion between these protocols is one of the main problems that need to be solved at present. However, each wireless communication technology has its own application scenario, and different technologies can only be used for different application scenarios. Wireless mobile communication technology can realize long-distance and large-scale wireless communication, but it must pass through the operator's core network, and communication costs. Wireless LAN communication technology can only realize short-distance wireless communication, which is generally used in homes and workplaces. At present, there are many types of gateway access protocols, and the message formats and types between various access protocols vary greatly, and the message processing process is complicated. Assuming that there are N access protocols in total, and the most complex process involves the message conversion of these N interfaces, then according to the currently disclosed solution, N*(N-1) protocol conversion modules must be written, which will greatly increase the difficulty of development and application and reduce the scalability and maintainability of the system. Summary of the invention
[0004] In view of the above problems existing in the prior art, the purpose of the present invention is to provide a 5G-based gateway multi-protocol conversion device and method thereof, wherein the gateway multi-protocol conversion device comprises: a communication interface module, a protocol conversion module, a processing module, and a configuration management module; the communication interface module completes the reception and transmission of the external protocol data packet of the 5G base station through the communication link between the 5G base station that needs to be connected to the 5G gateway multi-protocol conversion device;
[0005] The communication interface module calls the protocol conversion module to convert the external protocol data packet into an internal unified 5G format data packet, and sends it to the processing module;
[0006] The processing module processes the internal unified 5G-related format data packet to obtain configuration information of the destination network element, and converts the internal unified 5G-related format data packet into a destination protocol data packet by calling the protocol conversion module according to the configuration information, and sends it to the destination network element through the communication interface module;
[0007] The configuration management module provides the communication interface module, the protocol conversion module, and the processing module with the configuration information and routing data of the 5G base station required for corresponding processing.
[0008] Preferably, the interface types of the communication interface module include: SPI interface, RS485 interface, RS232 interface, CAN interface, and electric HPLC interface.
[0009] Preferably, the configuration information includes: access information of the 5G base station to the 5G gateway multi-protocol conversion device and routing data of the 5G base station.
[0010] The access information includes one or more of the IP address, device port, login name, password, and device type of the 5G base station.
[0011] Preferably, the protocol conversion module includes the following protocol models: Modbus protocol for communicating with PC, 433MHz wireless network communication protocol, NR user equipment wireless transmission and reception, NR base station consistency test TS 38.104, NR user equipment program in idle mode and RRC inactive state TS 38.304.
[0012] Preferably, the protocol conversion module maps the device type of the 5G base station to the external protocol according to a mapping table of network element device types and external protocols, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol, or performs the reverse process, i.e., converting the internal unified 5G protocol format data packet into the external protocol data packet.
[0013] Preferably, the protocol conversion module converts the command code contained in the external protocol into an internal unified 5G protocol format command code, and sends the internal unified 5G protocol format data packet to the business processing module through the internal unified 5G protocol format command code.
[0014] Preferably, the processing module triggers the forwarding process according to the internal unified 5G protocol format command code, queries the relevant routing data, matches the configuration information of the destination network element, and calls the protocol conversion module to convert the internal unified 5G protocol format data packet into an external protocol data packet and send it to the communication interface module.
[0015] A 5G-based gateway multi-protocol conversion method using the above-mentioned multi-protocol conversion device comprises the following steps:
[0016] S1: The configuration management module configures information for the 5G base stations that need to be connected to the 5G gateway;
[0017] S2: The communication interface module reads configuration information from the configuration management module, converts the protocol data packet sent by the 5G base station into an internal unified 5G protocol format data packet according to the configuration information and by calling the protocol conversion module, and sends it to the processing module;
[0018] S3: The processing module obtains the configuration information of the destination network element according to the internal unified 5G protocol format data packet, converts the internal unified 5G protocol format data packet into a destination protocol data packet according to the configuration information and by calling the protocol conversion module, and sends it to the destination network element through the communication interface module.
[0019] Among them, the protocol conversion module in step S2 maps the device type of the 5G base station to the external protocol according to the mapping table of network element device type and external protocol, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] (1) The 5G-based gateway multi-protocol conversion device and method provided by the present invention cooperate with the 5G technology distribution station area intelligent fusion terminal, use low-voltage Internet of Things devices as perception, apply the unified model of power distribution and use, and the Internet of Things standard protocol to realize the real-time transmission, analysis, on-site processing and application of massive data, and realize the rapid processing of distribution network faults, thereby realizing the flexible access and orderly management and control of charging piles and distributed energy, plug-and-play and topology change analysis of distribution network low-voltage equipment, etc., to fully support the lean management of distribution networks and high-quality power supply services, and ensure the consumption of distributed clean energy and the reliability of power supply.
[0022] (2) Compared with the prior art, the present invention proposes a conversion device and forwarding method for implementing multiple interface protocols in a 5G gateway. The coupling degree between the modules in the conversion device is small and the functional division is clear. The communication interface module completes the access of the multi-interface network element, and the protocol conversion module completes the mutual conversion between the interface protocol data packet and the unified gateway structure. Different processing flows are triggered by the internal unified 5G protocol format command code. If the 5G gateway needs to access different base stations, it only needs to expand the unified 5G protocol structure to adapt to the new interface protocol, which has good scalability and maintainability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of a 5G-based gateway network of the present invention;
[0024] Figure 2 It is a schematic diagram of the structure of the multi-protocol conversion device of the present invention;
[0025] Figure 3 It is a schematic flow chart of the multi-protocol conversion method of the present invention;
[0026] Figure 4 It is a specific flow chart of the multi-protocol conversion of the present invention. DETAILED DESCRIPTION
[0027] The following is a further detailed description of a 5G-based gateway multi-protocol conversion device and method proposed by the present invention in combination with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will become clearer. It should be noted that the accompanying drawings are in a very simplified form and are not in precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0028] It should be mentioned before discussing the exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the steps as sequential processes, many of the steps therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the steps can be rearranged. The process can be terminated when its operation is completed, but there can also be additional steps not included in the accompanying drawings.
[0029] like Figure 1-2As shown, the 5G-based gateway multi-protocol conversion device provided by the present invention includes a communication interface module 1, a protocol conversion module 2, a processing module 3, and a configuration management module 4; the protocol conversion module 2 is respectively connected to the communication interface module 1, the processing module 3, and the configuration management module 4 for information interaction, the communication interface module 1 is connected to the configuration management module 4 for information interaction, and the configuration management module 4 is connected to the processing module 3 for information interaction; the communication interface module 1 includes an SPI interface (Serial Peripheral Interface), an RS485 interface, an RS232 interface, and a CAN interface (Controller Area Network Interface). Network, controller local area network interface), power HPLC interface (broadband power line carrier interface) and other interfaces for communication connection with distributed smart grids; the installation method of each communication interface can be external installation or embedded installation, and the communication interface installed externally can be connected to the distributed smart grid through a communication cable; the communication interface installed embeddedly can adopt a plug-in interface, and communicate with the distributed smart grid through an embedded connection. In this preferred example, the communication interface module 1 is an HPLC communication interface, which can modulate and mediate the communication signal connected to the power grid, form an HPLC carrier communication network through power line carrier communication technology, and complete the reception and transmission of external protocol data packets of the 5G base station through the communication link with the 5G base station that needs to be connected to the 5G gateway multi-protocol conversion device.
[0030] The communication interface module 1 calls the protocol conversion module 2 to convert the external protocol data packet into an internal unified 5G-related format data packet, and sends it to the processing module 3;
[0031] The processing module 3 processes the internal unified 5G-related format data packet to obtain the configuration information of the destination network element, wherein the configuration information includes the access information of the 5G base station to the 5G gateway multi-protocol conversion device and the routing data of the 5G base station. Furthermore, the access information includes one or more of the IP address, device port, login name, password, and device type of the 5G base station.
[0032] According to the configuration information, the internal unified 5G-related format data packet is converted into a destination protocol data packet by calling the protocol conversion module 2, and sent to the destination network element through the communication interface module 1;
[0033] The configuration management module 4 provides the access information of the 5G base station required by the communication interface module 1 for corresponding processing; provides the device type information of the 5G base station required by the protocol conversion module 2 for corresponding processing; and provides the routing information of the 5G base station required by the processing module 3 for corresponding processing.
[0034] Preferably, the protocol conversion module 2 includes the following protocol models: Modbus protocol for communicating with a PC (personal computer), 433MHz wireless network communication protocol, NR user equipment (UE) wireless transmission and reception TS 38.101, new radio (NR) base station (BS) conformance test TS 38.104, NR user equipment program in idle mode and RRC (radio resource control) inactive state TS 38.304.
[0035] Preferably, the protocol conversion module 2 maps the device type of the 5G base station to an external protocol according to the device type of the destination network element, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol, or performs the reverse process, i.e. converting the internal unified 5G protocol format data packet into the external protocol data packet.
[0036] Preferably, the protocol conversion module 2 converts the command code contained in the external protocol into an internal unified 5G protocol format command code, and sends the internal unified 5G protocol format data packet to the business processing module 3 via the internal unified 5G protocol format command code.
[0037] Preferably, the processing module 3 triggers the forwarding process according to the internal unified 5G protocol format command code, queries the relevant routing data, matches the configuration information of the destination network element, and calls the protocol conversion module 2 to convert the internal unified 5G protocol format data packet into an external protocol data packet and send it to the communication interface module 1.
[0038] A 5G-based gateway multi-protocol conversion method using the above-mentioned multi-protocol conversion device comprises the following steps:
[0039] S1: The configuration management module 4 performs information configuration on the communication interface module that needs to be connected to the multi-protocol conversion device of the 5G gateway;
[0040] S2: The communication interface module 1 reads the configuration information from the configuration management module 4, and according to the configuration information and by calling the protocol conversion module 2, converts the protocol data packet sent by the 5G base station into an internal unified 5G protocol format data packet, and sends it to the processing module 3;
[0041] S3: The processing module 3 obtains the configuration information of the destination network element according to the internal unified 5G protocol format data packet, and according to the configuration information and by calling the protocol conversion module 2, converts the internal unified 5G protocol format data packet into a destination protocol data packet, and sends it to the destination network element through the communication interface module 1.
[0042] Among them, the protocol conversion module 2 in step S2 maps the device type of the 5G base station to the external protocol according to the mapping table of network element device type and external protocol, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol.
[0043] To sum up, the 5G-based gateway multi-protocol conversion device and method provided by the present invention cooperate with the 5G technology distribution station area intelligent fusion terminal, use low-voltage Internet of Things devices as perception, apply the unified model of power distribution and use, and the Internet of Things standard protocol to realize real-time transmission, analysis, on-site processing and application of massive data, and realize rapid processing of distribution network faults, thereby realizing flexible access and orderly control of charging piles and distributed energy, plug-and-play and topology change analysis of distribution network low-voltage equipment and other functions, fully supporting distribution network lean management and high-quality power supply services, and ensuring distributed clean energy consumption and power supply reliability.
[0044] Compared with the prior art, the present invention proposes a conversion device and forwarding method for implementing multiple interface protocols in a 5G gateway. The coupling between the modules in the conversion device is small and the functional division is clear. The communication interface module completes the access of the multi-interface network element, and the protocol conversion module completes the mutual conversion between the interface protocol data packet and the unified gateway structure. Different processing flows are triggered by the internal unified 5G protocol format command code. If the 5G gateway needs to access different base stations, it only needs to expand the unified 5G protocol structure to adapt to the new interface protocol, which has good scalability and maintainability.
[0045] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A 5G-based gateway multi-protocol conversion method, characterized in that: The following steps are involved: S1: The configuration management module performs information configuration on the 5G base station that needs to be connected to the 5G gateway-based multi-protocol conversion device; S2: The communication interface module reads the configuration information from the configuration management module, converts the protocol data packet sent by the 5G base station into an internal unified 5G protocol format data packet according to the configuration information and by calling the protocol conversion module, and sends it to the processing module; S3: The processing module obtains configuration information of the destination network element according to the internal unified 5G protocol format data packet, converts the internal unified 5G protocol format data packet into a destination protocol data packet according to the configuration information and by calling the protocol conversion module, and sends it to the destination network element through the communication interface module; Wherein, the 5G-based gateway multi-protocol conversion device includes: Communication interface module, protocol conversion module, processing module, configuration management module; The communication interface module completes the reception and transmission of the external protocol data packet of the 5G base station through the communication link between the 5G base station that needs to be connected to the 5G gateway multi-protocol conversion device; The communication interface module calls the protocol conversion module to convert the external protocol data packet into an internal unified 5G-related format data packet, and sends it to the processing module; The communication interface module adopts an HPLC communication interface, which can modulate and mediate the communication signal accessed by the power grid, form an HPLC carrier communication network through power line carrier communication technology, and complete the reception and transmission of the external protocol data packet of the 5G base station through the communication link with the 5G base station that needs to be connected to the 5G gateway multi-protocol conversion device; The processing module processes the internal unified 5G-related format data packet to obtain configuration information of the destination network element, and converts the internal unified 5G-related format data packet into a destination protocol data packet by calling the protocol conversion module according to the configuration information, and sends it to the destination network element through the communication interface module; The configuration management module provides the configuration information and routing data of the 5G base station required for the communication interface module, the protocol conversion module, and the processing module to perform corresponding processing; The interface types of the communication interface module include: SPI interface, RS485 interface, RS232 interface, CAN interface, and electric HPLC interface; The configuration information includes: access information of the 5G base station to the 5G gateway multi-protocol conversion device and routing data of the 5G base station; The access information includes one or more of the IP address, device port, login name, password, and device type of the 5G base station; The protocol conversion module includes the following protocol models: Modbus protocol for communicating with PC, 433MHz wireless network communication protocol, NR user equipment wireless transmission and reception, NR base station conformance test TS 38.104, NR user equipment program in idle mode and RRC inactive state TS 38.304; The protocol conversion module maps the device type of the 5G base station to an external protocol according to the device type of the destination network element, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol, or performs the reverse process, that is, converting the internal unified 5G protocol format data packet into the external protocol data packet; The protocol conversion module converts the command code included in the external protocol into an internal unified 5G protocol format command code, and sends the internal unified 5G protocol format data packet to the service processing module through the internal unified 5G protocol format command code; The processing module triggers the forwarding process according to the internal unified 5G protocol format command code, queries the relevant routing data, matches the configuration information of the destination network element, and calls the protocol conversion module to convert the internal unified 5G protocol format data packet into an external protocol data packet and send it to the communication interface module; The protocol conversion module in step S2 maps the device type of the 5G base station to the external protocol according to the mapping table of network element device type and external protocol, and converts the external protocol data packet into the internal unified 5G protocol format data packet according to the command code contained in the external protocol.
Citation Information
Patent Citations
A multi-protocol conversion device and method for SMS gateway
CN101150584A
Self-adaptive calling method and system based on multi-protocol heterogeneous Internet of things
CN111010390A
Data transmission system and method
WO2016145981A1
