Multi-protocol conversion system, method and application

By using data acquisition module, real-time database, MQTT server and communication interface module in the power system, combined with the dual-core structure and shared memory technology of the ZYNQ7000 chip, multi-constitution conversion is realized, solving the complexity and reliability problems of traditional systems, and improving the Communication efficiency and real-time, supporting dynamic specification addition and removal.

CN118890401AInactive Publication Date: 2024-11-01SHANGHAI HOLYSTAR INFORMATION TECH
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202410816483.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional multi-constitution conversion systems are complex, costly, poor reliability and flexibility in power systems, making it difficult to meet high-speed communication needs.

Method used

Adopt data acquisition module, real-time database, MQTT server and communication interface module, combined with the dual-core structure and shared memory technology of ZYNQ7000 chip, automatic regulation conversion is realized through the MQTT protocol, supporting IEC 60870-5-101, IEC 60870-5-104, IEC 61850, IEC 60870-5-103 and DNP3.0 and other communication regulations realize real-time data collection, storage, transmission and conversion.

Benefits of technology

It improves the efficiency and real-time performance of protocol conversion, meets high-speed communication needs, supports dynamic addition and removal of protocols, and has high reliability and security, reducing system complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890401A_ABST
    Figure CN118890401A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-protocol conversion system, method and application. The system comprises a data acquisition module, a real-time database, an MQTT server, a communication interface module and a control module. The data acquisition module is used for data acquisition; the real-time database is used for storing the collected data and transmitting the collected data to the MQTT server; the MQTT server performs protocol conversion according to the protocol type of the target equipment; the communication interface module is connected with the MQTT server, and the communication interface module is connected with target equipment through different data interfaces according to the type of protocol conversion; the control module is used for controlling real-time transmission, real-time updating and real-time protocol conversion of data. According to the invention, multi-protocol conversion of communication is realized by using an MQTT service protocol, efficient interaction is carried out on different communication protocols and data of a real-time database, and meanwhile, the protocol conversion efficiency and real-time performance are improved through a mode of parallel processing of real-time data acquisition and protocol conversion, so that the requirement of high-speed communication is met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multi-protocol conversion system, method and application. Background Art

[0002] Communication protocol, also known as communication protocol, refers to the rules and conventions followed by different devices in data exchange and information transmission during the communication process. It defines the data format, transmission method, error detection and correction method, etc., to ensure that both parties in communication can correctly understand and interpret the received information. Communication protocol plays an irreplaceable role in modern communication. It ensures the consistency and accuracy of data, provides the reliability of data exchange, realizes the interoperability of different devices, and also improves communication efficiency.

[0003] In the power system, the communication between control devices needs to follow multiple communication protocols, such as IEC 60870-5-101 (abbreviated as 101), IEC 60870-5-104 (abbreviated as 104), IEC 61850, IEC 60870-5-103 (abbreviated as 103), etc. Traditional multi-protocol conversion systems usually require multiple independent modules or devices to implement, which not only increases the complexity and cost of the system, but also reduces the reliability and flexibility of the system.

[0004] Therefore, developing an efficient and flexible multi-protocol conversion system and method has become an urgent need in the current field of power system communication technology. Summary of the invention

[0005] The object of the present invention is to provide a multi-protocol conversion system and method to achieve efficient and flexible communication multi-protocol conversion.

[0006] In order to solve the above technical problems, the present invention provides a multi-protocol conversion system and method, including a data acquisition module, a real-time database, an MQTT server, a communication interface module and a control module;

[0007] The data acquisition module is used to collect data from the monitored object and transmit it to the real-time database in real time;

[0008] The real-time database is used to store the data collected by the data acquisition module and transmit it to the MQTT server;

[0009] The MQTT server automatically selects a corresponding protocol conversion function according to the protocol type of the target device, and performs protocol conversion on the data transmitted from the real-time database;

[0010] The communication interface module is connected to the MQTT server, and the communication interface module is connected to the target device through different data interfaces according to the type of protocol conversion;

[0011] The control module is connected to the data acquisition module, the real-time database, the MQTT server and the communication interface module, and is used to control the real-time transmission, real-time update and real-time protocol conversion of data.

[0012] Furthermore, the real-time database interacts with the MQTT server via shared memory and inter-core interrupt communication.

[0013] Furthermore, data synchronization between the MQTT server and the real-time database is processed in parallel with protocol conversion of the MQTT server.

[0014] Furthermore, the communication interface module supports at least the communication protocols IEC 60870-5-101, IEC 60870-5-104, IEC 61850, IEC 60870-5-103 and DNP3.0.

[0015] Furthermore, the control module is constructed using a ZYNQ7000 chip, and uses a dual-core structure of the chip to perform real-time data processing and parallel processing of protocol conversion.

[0016] Furthermore, the dual-core structure includes a LINUX core and a real-time processing core;

[0017] The LINUX core serves as the main processing core, responsible for running and controlling the MQTT server and performing communication protocol conversion;

[0018] The real-time processing core is responsible for the collection, processing and storage control of real-time data collection.

[0019] Furthermore, the present invention discloses a multi-protocol conversion method, which uses the multi-protocol conversion system, including:

[0020] Using the data acquisition module to collect the monitoring data of the monitored object in real time and save it through the real-time database;

[0021] Transmitting the monitoring data stored in the real-time database to the MQTT server for communication protocol conversion;

[0022] Connecting the data converted from the communication protocol to the target device through the communication interface module;

[0023] The real-time database is updated synchronously with the data acquisition module and the MQTT server data.

[0024] Furthermore, the MQTT server accesses the monitoring data stored in the real-time database in real time through the shared memory, and calls the corresponding protocol conversion function to perform protocol conversion according to the communication protocol type of the target device.

[0025] Furthermore, the MQTT server protocol conversion function is added and deleted by modifying the configuration of the MQTT server.

[0026] Furthermore, the present invention discloses a multi-protocol conversion application, which adopts the multi-protocol conversion method mentioned above and is applied to the communication between control devices of the power system.

[0027] Compared with the prior art, the present invention has at least the following beneficial effects:

[0028] The present invention uses the MQTT service protocol to realize multi-protocol conversion of communication, and efficiently interacts different communication protocols with data in a real-time database. At the same time, by parallel processing of real-time data acquisition and protocol conversion, the protocol conversion efficiency and real-time performance are improved to meet the needs of high-speed communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of the overall structure of the multi-protocol conversion system of the present invention;

[0030] Figure 2 The figure is a flow chart of the multi-protocol conversion method of the present invention. DETAILED DESCRIPTION

[0031] The following will be described in more detail in conjunction with the schematic diagram of the multi-protocol conversion system and method of the present invention, wherein a preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein, and still achieve the beneficial effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art, and not as a limitation of the present invention.

[0032] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description and claims. It should be noted that the drawings are in very simplified form and in non-precise proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention.

[0033] Embodiment 1:

[0034] like Figure 1 As shown, an embodiment of the present invention proposes a multi-protocol conversion system, including a data acquisition module, a real-time database, an MQTT server, a communication interface module and a control module.

[0035] Specifically, the data acquisition module is used to collect data from the monitored object and transmit the data to the real-time database in real time.

[0036] The real-time database is used to store the data collected by the data collection module and transmit it to the MQTT server. Specifically, the real-time database interacts with the MQTT server through shared memory and inter-core interrupt communication.

[0037] The MQTT server automatically selects a corresponding protocol conversion function according to the protocol type of the target device, and performs protocol conversion on the data transmitted from the real-time database.

[0038] The communication interface module is connected to the MQTT server, and the communication interface module is connected to the target device through different data interfaces according to the type of protocol conversion.

[0039] The control module is connected to the data acquisition module, the real-time database, the MQTT server and the communication interface module, and is used to control the real-time transmission, real-time update and real-time protocol conversion of data.

[0040] In this embodiment, the data of the monitored object is collected by the data acquisition module and then transmitted to the real-time database for storage in real time. Then, the data of the real-time database is transmitted to the MQTT server, and the MQTT server automatically selects the corresponding protocol conversion function according to the protocol type of the target device, and performs protocol conversion on the data transmitted from the real-time database, and finally connects with the target device through the communication interface module. The data synchronization between the MQTT server and the real-time database is processed in parallel with the protocol conversion of the MQTT server. The communication interface module supports at least the communication protocols IEC60870-5-101, IEC 60870-5-104, IEC 61850, IEC 60870-5-103 and DNP3.0.

[0041] The control module is constructed using the ZYNQ7000 chip, and uses the chip's dual-core structure to perform real-time data processing and parallel processing of protocol conversion.

[0042] The dual-core structure includes a LINUX core and a real-time processing core. The LINUX core is used as the main processing core and is responsible for running and controlling the MQTT server and performing communication protocol conversion. The real-time processing core is responsible for the collection, processing and storage control of real-time data collection.

[0043] The system uses the dual-core structure, shared memory and inter-core interrupt communication technology of the ZYNQ7000 chip, combined with the MQTT protocol, to implement a multi-protocol conversion module, which allows different communication protocols to interact efficiently with data in the real-time database. By processing real-time data acquisition and protocol conversion in parallel, the efficiency and real-time performance of protocol conversion are improved, meeting the power system's demand for high-speed communication.

[0044] (1) System architecture design

[0045] The system is built on the ZYNQ7000 chip, using the chip's dual-core structure to achieve parallel processing of real-time processing and protocol conversion.

[0046] The LINUX core serves as the main processing core and is responsible for running the MQTT server and protocol conversion module; the real-time processing core is responsible for the collection, processing and storage of real-time data.

[0047] The real-time database and MQTT server achieve efficient data interaction through shared memory and inter-core interrupt communication technology.

[0048] (2) Data Interaction Mechanism

[0049] The real-time database obtains real-time data from the power system through the data acquisition module, and performs preprocessing and storage.

[0050] The MQTT server accesses the data in the real-time database in real time through shared memory, and calls the corresponding protocol conversion function to perform protocol conversion according to the protocol type of the target device.

[0051] The converted data is sent to the target device through the communication module. At the same time, the MQTT server receives feedback information and new data requests from the target device and updates the data in the real-time database accordingly.

[0052] (3) Protocol conversion module

[0053] The MQTT server has built-in multiple protocol conversion functions and supports multiple communication protocols such as IEC 60870-5-101, IEC 60870-5-104, IEC 61850, IEC 60870-5-103, and DNP3.0.

[0054] When receiving a data request or new real-time data, the MQTT server automatically selects the corresponding protocol conversion function for conversion based on the protocol type of the target device.

[0055] (4) Data synchronization and update

[0056] A data synchronization mechanism is established between the real-time database and the MQTT server to ensure that the data in the real-time database is consistent with the actual data in the power system.

[0057] The MQTT server periodically sends data synchronization requests to the real-time database, and the real-time database updates the data based on the requests.

[0058] At the same time, the real-time database also monitors the real-time data changes in the power system and actively updates the changed data to the MQTT server.

[0059] (5) System scalability design

[0060] This system supports dynamic addition and deletion of protocols, which is convenient for adding new protocol types in the future. By modifying the configuration of the MQTT server and adding new protocol conversion functions, support for new protocols can be achieved. The system adopts a modular design, which is convenient for adding new functional modules or expanding the system scale in the future.

[0061] (6) Network security and reliability design

[0062] The system uses the MQTT protocol for data transmission, which has high security and reliability. The transmitted data is encrypted and verified to ensure the integrity and security of the data. The system has a complete error handling and abnormal recovery mechanism to ensure the stability and reliability of the system.

[0063] Embodiment 2:

[0064] like Figure 2 As shown, the present invention discloses a multi-protocol conversion method, which adopts the multi-protocol conversion system mentioned above and includes:

[0065] S100, using the data acquisition module to collect monitoring data of the object to be monitored in real time and save it in the real-time database.

[0066] S200, transmitting the monitoring data stored in the real-time database to the MQTT server for communication protocol conversion.

[0067] Specifically, the MQTT server accesses the monitoring data stored in the real-time database in real time through the shared memory, and calls the corresponding protocol conversion function to perform protocol conversion according to the communication protocol type of the target device.

[0068] In addition, the MQTT server protocol conversion function is added and deleted by modifying the configuration of the MQTT server.

[0069] S300, connecting the data converted from the communication protocol to the target device through the communication interface module.

[0070] S400, the real-time database is synchronously updated with the data acquisition module and the MQTT server data.

[0071] Specifically, the data between the real-time database, the data acquisition module and the MQTT server are synchronized and updated in real time, and the MQTT server processes the data that needs protocol conversion in parallel to ensure the real-time nature of the data protocol conversion.

[0072] Embodiment 3:

[0073] The invention discloses a multi-protocol conversion application, which adopts the multi-protocol conversion method and is applied to the communication between control devices of a power system.

[0074] Compared with the prior art, the present invention has at least the following beneficial effects:

[0075] (1) The present invention uses the MQTT service protocol to realize multi-protocol conversion of communication, and efficiently interacts different communication protocols with data in the real-time database. At the same time, by parallel processing of real-time data acquisition and protocol conversion, the efficiency and real-time performance of protocol conversion are improved to meet the needs of high-speed communication.

[0076] (2) This system supports dynamic addition and deletion of protocols, which facilitates the subsequent addition of new protocol types. New protocols can be supported by modifying the configuration of the MQTT server and adding new protocol conversion functions. The system adopts a modular design, which facilitates the subsequent addition of new functional modules or expansion of the system scale.

[0077] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A multi-protocol conversion system, characterized in that: It includes data acquisition module, real-time database, MQTT server, communication interface module and control module; The data acquisition module is used to collect data of the monitored object and transmit it to the real-time database in real time; The real-time database is used to store the data collected by the data collection module and transmit it to the MQTT server; The MQTT server automatically selects a corresponding protocol conversion function according to the protocol type of the target device, and performs protocol conversion on the data transmitted from the real-time database; The communication interface module is connected to the MQTT server, and the communication interface module is connected to the target device through different data interfaces according to the type of protocol conversion; The control module is connected to the data acquisition module, the real-time database, the MQTT server and the communication interface module, and is used to control the real-time transmission, real-time update and real-time protocol conversion of data.

2. The multi-protocol conversion system according to claim 1, characterized in that: The real-time database interacts with the MQTT server via shared memory and inter-core interrupt communication.

3. The multi-protocol conversion system according to claim 1, characterized in that: The data synchronization between the MQTT server and the real-time database is processed in parallel with the protocol conversion of the MQTT server.

4. The multi-protocol conversion system according to claim 1, characterized in that: The communication interface module at least supports the communication protocols IEC 60870-5-101, IEC 60870-5-104, IEC 61850, IEC 60870-5-103 and DNP3.

0.

5. The multi-protocol conversion system according to claim 1, wherein: The control module is constructed using the ZYNQ7000 chip, and uses the chip dual-core structure to perform real-time data processing and parallel processing of protocol conversion.

6. The multi-protocol conversion system according to claim 5, characterized in that: The dual-core structure includes a LINUX core and a real-time processing core; The LINUX core serves as the main processing core, responsible for running and controlling the MQTT server and performing communication protocol conversion; The real-time processing core is responsible for the collection, processing and storage control of real-time data collection.

7. A multi-protocol conversion method, using the multi-protocol conversion system as claimed in any one of claims 1 to 5, characterized in that: include: Using the data acquisition module to collect the monitoring data of the monitored object in real time and save it through the real-time database; Transmitting the monitoring data stored in the real-time database to the MQTT server for communication protocol conversion; Connecting the data converted from the communication protocol to the target device through the communication interface module; The real-time database is updated synchronously with the data acquisition module and the MQTT server data.

8. The multi-protocol conversion method according to claim 7, characterized in that: The MQTT server accesses the monitoring data stored in the real-time database in real time through the shared memory, and calls the corresponding protocol conversion function to perform protocol conversion according to the communication protocol type of the target device.

9. The multi-protocol conversion method according to claim 7, characterized in that: The MQTT server protocol conversion function is added and deleted by modifying the configuration of the MQTT server.

10. A multi-protocol conversion application, using the multi-protocol conversion method as described in any one of claims 7 to 9, characterized in that: Applied to communication between power system control devices.

Citation Information

Patent Citations

  • Communication managing machine capable of being comprehensively realized based on extensible markup language and dynamic library

    CN102685134A

  • Electric collaborative real-time simulation platform system and data collaboration method thereof

    CN103310048A

  • Intelligent remote data acquisition system based on Internet of Things

    CN104345717A

  • Multi-core SoC architecture design method supporting multi-task parallel execution

    CN105260164A

  • IEC61850-based communication component and application component data interface method

    CN105515819A