A unidirectional data transmission method and system based on power Internet of Things terminal

By employing a one-way data transmission method and MAC address verification, the data transmission problem between power Internet of Things (IoT) systems was solved, achieving data security and real-time performance, and ensuring the independence and stability of the systems.

CN115550431BActive Publication Date: 2024-11-08SHANDONG AIPU ELECTRICAL EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211053667.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-11-08
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

Existing power Internet of Things (IoT) systems suffer from inter-system interference, insufficient security, reduced real-time performance, and latency issues during data transmission, especially failing to meet the requirements for real-time performance and integrity during large-scale data transmission.

Method used

A one-way data transmission method is adopted, and data is sent from the terminal in the first power Internet of Things system to the second power Internet of Things system through push mode. It only supports the transmission of data packets and does not support the reception of acknowledgment frames. It uses object-oriented protocol and MAC address verification to ensure data security and integrity.

Benefits of technology

This achieves data isolation between two independent systems, avoids mutual interference between systems, ensures data security and real-time performance, solves latency issues, and meets the real-time and integrity requirements between systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550431B_ABST
    Figure CN115550431B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of data transmission, and provides a unidirectional data transmission method and system based on an electric power Internet of Things terminal. The present invention establishes a connection between a terminal in a first electric power Internet of Things system and a terminal in a second electric power Internet of Things system. The data in the terminal in the first electric power Internet of Things system is pushed to the terminal in the second electric power Internet of Things system through a push mode, wherein the push mode only supports the sending of data messages, and does not support the reception of other data messages except confirmation frame data; the push mode of unidirectional data transmission isolates the two systems, and avoids the problem that the second electric power Internet of Things system can affect the collection efficiency, collection timeliness, collection success rate and collection completeness rate of the first electric power Internet of Things system through operations such as transparent transmission, call test or broadcast.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information transmission, and in particular relates to a unidirectional data transmission method and system based on a power Internet of Things terminal. Background Art

[0002] If the data of two independent power Internet of Things systems are linked, the data of the first power Internet of Things system A is transmitted to the first power Internet of Things system B, but system B cannot affect or potentially affect any function of system A, while meeting the real-time and integrity requirements of system B.

[0003] The inventors found that this demand cannot be met under the existing interaction mode. If the existing transmission mode is applied, there will be the following risks: System B can modify the parameters or status of the acquisition node and the following nodes in System A through settings or operation commands; System B can affect the acquisition efficiency, timeliness, success rate and completeness of System A through operations such as transparent transmission, call test or broadcast; Sensitive data of System A, such as user information, is completely exposed to System B and cannot be guaranteed to be safe; The risk of System A to System B is uncontrollable. In addition, with the increase in the number of acquisition nodes and data source nodes, the execution delay of the main station of System A is increasing. When the number of data source nodes is above one million, the main station parsing delay is more obvious, the delay is in the hour level, and the real-time performance decreases. At this time, if data is transmitted from the main station of System A to the main station of System B, System B cannot tolerate such a long delay and needs to transmit data to System B in real time through other methods. Then the method of reporting data in real time through the acquisition node will be particularly important. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a unidirectional data transmission method and system based on an electric power Internet of Things terminal. The present invention proposes a unidirectional transmission mode, push; it is used for data transmission between acquisition nodes, which can effectively control the data that needs to be pushed and make the risk controllable; at the same time, it improves the real-time performance.

[0005] In order to achieve the above object, the present invention is implemented through the following technical solutions:

[0006] In a first aspect, the present invention provides a unidirectional data transmission method based on a power Internet of Things terminal, comprising:

[0007] Establishing a connection between a terminal in the first power Internet of Things system and a terminal in the second power Internet of Things system;

[0008] The data in the terminal in the first power Internet of Things system is pushed to the terminal in the second power Internet of Things system through the push mode; the push mode only supports the sending of data messages, and does not support the reception of other data messages except confirmation frame data.

[0009] Furthermore, it is determined whether each frame of interactive message of the terminal in the first power Internet of Things system receives the confirmation frame of the corresponding message. If not, the data is resent; the terminal in the second power Internet of Things system receives the message and replies with the corresponding confirmation frame. If the terminal in the first power Internet of Things system does not receive the confirmation frame within the preset time, the fault information is uploaded to the master station in the first power Internet of Things system.

[0010] Furthermore, the data pushed by the terminal in the first power Internet of Things system to the terminal in the second power Internet of Things system includes meter serial number, electric energy indication, voltage, current, active power and reactive power.

[0011] Furthermore, terminal a in the first power Internet of Things system establishes a connection with terminal b in the second power Internet of Things system; terminal a collects data from other terminals in the first power Internet of Things system; terminal a collects data from terminals a to terminal m of different protocols through sensing terminal a to sensing terminal m; sensing terminal a to sensing terminal m are within the first power Internet of Things system, and terminal b has no physical connection with any sensing terminal.

[0012] Furthermore, the terminals in the first power Internet of Things system and the terminals in the second power Internet of Things system use the same soft encryption method; when transmitting data, the data is in plain text, followed by a random number and a MAC address; after the terminal in the second power Internet of Things system receives the message, it uses the data and the random number to calculate the MAC address, and then compares them. If the MAC addresses are different, it means that the message has been tampered with during transmission and is discarded; if the MAC addresses are the same, the verification passes and the data is processed and stored.

[0013] Furthermore, when pushing data, only the node number is pushed, not the communication address.

[0014] Furthermore, the communication protocol between the terminal in the first power Internet of Things system and the terminal in the second power Internet of Things system uses an object-oriented protocol.

[0015] In a second aspect, the present invention further provides a unidirectional data transmission system based on a power Internet of Things terminal, comprising:

[0016] A connection establishment module is configured to: establish a connection between a terminal in the first power Internet of Things system and a terminal in the second power Internet of Things system;

[0017] The data push module is configured to: push the data in the terminal in the first power Internet of Things system to the terminal in the second power Internet of Things system through a push mode; the push mode only supports the sending of data messages, and does not support the reception of other data messages except confirmation frame data.

[0018] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the unidirectional data transmission method based on the power Internet of Things terminal described in the first aspect.

[0019] In a fourth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the unidirectional data transmission method based on the power Internet of Things terminal described in the first aspect are implemented.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] 1. The present invention establishes a connection between a terminal in a first power Internet of Things system and a terminal in a second power Internet of Things system. The data in the terminal in the first power Internet of Things system is pushed to the terminal in the second power Internet of Things system through a push mode, wherein the push mode only supports sending data messages and does not support receiving other data messages except confirmation frame data; the push mode of unidirectional data transmission isolates the two systems, thereby avoiding the problem that the second power Internet of Things system may affect the collection efficiency, collection timeliness, collection success rate and collection completeness rate of the first power Internet of Things system through operations such as transparent transmission, call test or broadcast;

[0022] 2. When the present invention pushes data, only the sequence number of the node is pushed, and the communication address of sensitive data is not pushed, so as to avoid the problem that the sensitive data of the first power Internet of Things system is completely exposed to the second power Internet of Things system and the security cannot be guaranteed;

[0023] 3. The present invention collects data from other terminals in the first power Internet of Things system through terminal a. Terminal a collects data from terminals a to terminal m of different protocols through sensing terminal a to sensing terminal m. Sensing terminal a to sensing terminal m are in the first power Internet of Things system, and terminal b has no physical connection with any sensing terminal. Terminals or meters of different protocols in the first power Internet of Things system are aggregated into the same protocol, and then pushed to the second power Internet of Things system in a unidirectional manner, which ensures both integrity and real-time performance and solves the delay problem. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.

[0025] Figure 1This is a schematic diagram of a single collection node data push structure between a first power Internet of Things system A and a second power Internet of Things system B according to Embodiment 1 of the present invention;

[0026] Figure 2 This is a schematic diagram of the multi-collection node data push structure between the first power Internet of Things system A and the second power Internet of Things system B in Example 1 of the present invention. DETAILED DESCRIPTION

[0027] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0028] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0029] The communication mode between the products in the power Internet of Things platform is two-way communication, that is, uplink and downlink. Then, there is a superior-subordinate relationship between the devices in the power Internet of Things, and the data transmission direction is transmitted from the data source node to the upper level step by step. The architecture of the power Internet of Things acquisition system mainly consists of the master station (various types of acquisition master stations), acquisition nodes (various types of acquisition terminals or forwarding or conversion devices), data source nodes (various types of meters), etc., and the master station is unique. Under normal circumstances, data is uploaded from the data source node to the master station through the acquisition node, and the master station performs data calculation, management, storage and application. All nodes are master-slave nodes, and there is no data acquisition at the same level. Data can only be transmitted from the data source node to the acquisition node, and the acquisition node to the master station. That is, data cannot be transmitted from the data source node to another data source node, or the acquisition node transmits data to another acquisition node.

[0030] The master station of the first electric power Internet of Things system A is defined as the master station a, the collection node is called the terminal a, the forwarding or conversion node program perception terminal am, and the data source node is called the meter an.

[0031] The master station of the second electric power Internet of Things system B is defined as the master station b, the collection node program terminal b, and the data source node is called the meter bm.

[0032] Embodiment 1:

[0033] A unidirectional data transmission method based on a power Internet of Things terminal, comprising:

[0034] Establishing a connection between a terminal in the first power Internet of Things system A and a terminal in the second power Internet of Things system B;

[0035] The data in the terminal a in the first power Internet of Things system A is pushed to the terminal b in the second power Internet of Things system B through the push mode; the push mode only supports the sending of data messages, and does not support the reception of other data messages except confirmation frame data. This embodiment mainly includes the following contents:

[0036] The structure of the power Internet of Things system in this embodiment is as follows Figure 1 and Figure 2 As shown in the figure, the relationship between the first power Internet of Things system A and the second power Internet of Things system B is shown, and the ideal data of the second power Internet of Things system B is obtained by push. There are two main application environments. One is that a collection node of the first power Internet of Things system A directly pushes its own data to a collection node of the second power Internet of Things system B, such as Figure 1 As shown; second, a collection node of the first power Internet of Things system A collects data from multiple collection nodes of the first power Internet of Things system A, and then pushes the data to a collection node of the second power Internet of Things system B, such as Figure 2 shown.

[0037] When the terminal in the first power Internet of Things system A establishes a connection with the terminal in the second power Internet of Things system B, it can be achieved by defining a physical connection, and the unidirectional transmission is established between terminal a and terminal b, and the physical connection can be RS485. The RS485 of terminal a is configured in push mode, which only supports sending data messages, and does not support receiving messages except sending data confirmation frames. In this configuration, each frame of the interactive message of terminal a needs to determine whether the confirmation frame of the corresponding message is received. If not, it needs to be resent. The RS485 of terminal b is configured to receive messages and reply to the corresponding confirmation frame. If terminal a does not receive the confirmation frame after a long push, a 485 fault event will be generated and uploaded to the main station a, and the main station a will generate a troubleshooting work order and arrange for troubleshooting personnel to eliminate the fault; in other embodiments, when the terminal in the first power Internet of Things system A establishes a connection with the terminal in the second power Internet of Things system B, other conventional connection methods such as non-physical connection methods can also be used.

[0038] Define the communication configuration, determine the unidirectional transmission communication configuration between terminal a and terminal b, and establish the default configuration, such as transmission frequency, waiting delay time, parity bit, number of data bits and number of stop bits, etc. For example, 9600bps, waiting for 30 seconds, 8 data bits, 1 stop bit, even parity, etc.

[0039] Define the protocol to be used and determine the unidirectional transmission communication protocol. For example, the communication protocol between terminal a and terminal b uses an object-oriented protocol, push time, push cycle, transmission channel uses RS485II channel, retransmission times, operating time period, etc.

[0040] Define the data content for unidirectional transmission, and the master station a and the master station b determine the data content to be pushed. For example, data items include meter serial number, electric energy indication, voltage, current, active power and reactive power, data types include real-time data, minute frozen data, daily frozen data and events, etc. The priority determines the order in which data is pushed at the same time, for example, the priority from high to low is daily frozen data, minute frozen data, real-time data and events.

[0041] Define peer collection, where terminal a collects data from other terminals in the first power Internet of Things system A. Terminal a collects data from terminals a to m with different protocols through sensing terminal am. Sensing terminal am is in system A, and terminal b has no physical connection with any sensing terminal.

[0042] In order to prevent the data exchanged between terminals from being monitored or tampered with, secure transmission is introduced, using the "plain text + MAC address (Media Access Control Address)" method. Terminal a and terminal b use the same soft encryption method. When transmitting data, the data is plain text, followed by a random number and a MAC address. After receiving the message, terminal b uses the data and random number to calculate the MAC address, and then compares them. If the MAC addresses are different, it means that the message has been tampered with during transmission and is discarded; if the MAC addresses are the same, the verification passes and the data is processed and stored.

[0043] Different systems have different requirements and applications for the same data. When pushing data, data conversion is allowed. For example, the communication address in the first power Internet of Things system A is sensitive information and cannot be leaked, but the second power Internet of Things system B does not care about the data. When pushing data, only the serial number of the node is pushed, not the communication address, so that the needs of both systems are met at the same time.

[0044] With the improvement of the Internet of Things platform and the enrichment of Internet of Things products, there are more and more Internet of Things systems in the same application environment, and the correlation between systems is getting stronger and stronger. Different systems have different requirements and assessment indicators for security, real-time, integrity, accuracy, and stability, and their execution strategies and implementation methods are also different. It is particularly important to ensure the independence of each Internet of Things system. Through the push method in this embodiment, the isolation of the power Internet of Things system can ensure that the impact between systems is minimized on the basis of data transmission. The push method isolates the two independent first power Internet of Things system A and the second power Internet of Things system B, ensuring the stability and security of the system, preventing mutual influence between systems, and maintaining the stability of various assessment indicators of the system.

[0045] In some embodiments, Figure 1 As shown, a unidirectional data transmission method for single acquisition node data is also provided, comprising:

[0046] S1. Build the first power Internet of Things system A and the second power Internet of Things system B respectively;

[0047] S2. Configure the terminal's collection files, collection tasks and plans respectively to ensure that each power Internet of Things system can operate independently without interfering with each other;

[0048] S3, connect the RS485II of terminal a to the RS485I of terminal b through the RS485 connection line;

[0049] S4. Configure the RS485 communication parameters of terminal a and terminal b: 9600 bps, wait for 30 seconds, 8 data bits, 1 stop bit, even parity.

[0050] S5. Configure the push task of terminal a, including push time, cycle, number of retransmissions, operation time, priority, data items including meter serial number, electric energy indication, voltage, current, active power and reactive power, data types including real-time data, minute freeze, day freeze and event, etc.;

[0051] S6. Check the message received by terminal b, parse the data according to the message, and verify the MAC address.

[0052] In some embodiments, Figure 2 As shown, a unidirectional data transmission method for multiple acquisition nodes is also provided, including:

[0053] S1. Build a first power Internet of Things system A and a second power Internet of Things system B respectively, wherein there are multiple terminals in the first power Internet of Things system A, and the communication protocols of the multiple terminals may be different;

[0054] S2. Configure the terminal's collection files, collection tasks and plans separately to ensure that each system can run independently without interfering with each other;

[0055] S3. Install sensing terminals on the terminals of the first power Internet of Things system A respectively;

[0056] S4. Configure the collection scheme of terminal a that needs to push data, and collect meter data in terminals with different protocols through the sensing terminal;

[0057] S5, connect the RS485II of terminal a to the RS485I of terminal b through the RS485 connection line;

[0058] S6. Configure the RS485 communication parameters of terminal a and terminal b: 9600 bps, wait for 30 seconds, 8 data bits, 1 stop bit, even parity.

[0059] S7. Configure the push task of terminal a, including push time, cycle, number of retransmissions, operation time, priority, data items including meter serial number, electric energy indication, voltage, current, active power, reactive power, data types including real-time data, minute freeze, day freeze, event, etc.;

[0060] S8. Check the message received by terminal b, parse the data according to the message, and verify the MAC address.

[0061] By using the above-mentioned unidirectional data transmission method for single-collection node data and the unidirectional data transmission method for multiple collection nodes, the terminals or meters with different protocols in the first power Internet of Things system A are aggregated into the same protocol, and then pushed unidirectionally to the second power Internet of Things system B, which ensures both integrity and real-time performance.

[0062] Embodiment 2:

[0063] This embodiment provides a unidirectional data transmission system based on a power Internet of Things terminal, including:

[0064] A connection establishment module is configured to: establish a connection between a terminal in the first power Internet of Things system and a terminal in the second power Internet of Things system;

[0065] The data push module is configured to: push the data in the terminal in the first power Internet of Things system to the terminal in the second power Internet of Things system through a push mode; the push mode only supports the sending of data messages, and does not support the reception of other data messages except confirmation frame data.

[0066] The working method of the system is the same as the unidirectional data transmission method based on the power Internet of Things terminal in Example 1, and will not be repeated here.

[0067] Embodiment 3:

[0068] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the unidirectional data transmission method based on the power Internet of Things terminal described in Example 1 are implemented.

[0069] Embodiment 4:

[0070] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the unidirectional data transmission method based on the power Internet of Things terminal described in Example 1 are implemented.

[0071] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.

Claims

1. A unidirectional data transmission method based on a power Internet of Things terminal, characterized in that: include: Establishing a connection between a terminal in the first power Internet of Things system and a terminal in the second power Internet of Things system; The data in the terminal in the first power Internet of Things system is pushed to the terminal in the second power Internet of Things system through the push mode; The push mode only supports sending data messages, and does not support receiving other data messages except confirmation frame data; When pushing data, only the node number is pushed, not the communication address; Define the communication configuration, determine the one-way transmission communication configuration between terminal a and terminal b, and establish the default configuration: transmission frequency, waiting delay time, check bit, number of data bits, and number of stop bits; Define the protocol to be used and determine the unidirectional transmission communication protocol: the communication protocol between terminal a and terminal b uses an object-oriented protocol, push time, push cycle, transmission channel uses RS485II channel, retransmission times, and operating time period; Terminal a in the first power Internet of Things system establishes a connection with terminal b in the second power Internet of Things system; Terminal a collects data from other terminals in the first power Internet of Things system; terminal a collects data from terminals a to terminal m with different protocols through sensing terminal a to sensing terminal m; sensing terminal a to sensing terminal m are within the first power Internet of Things system, and terminal b has no physical connection with any sensing terminal.

2. A unidirectional data transmission method based on a power Internet of Things terminal as claimed in claim 1, characterized in that: Determine whether each frame of interactive message of the terminal in the first power Internet of Things system has received the confirmation frame of the corresponding message. If not, resend the data; the terminal in the second power Internet of Things system receives the message and replies with the corresponding confirmation frame. If the terminal in the first power Internet of Things system does not receive the confirmation frame within the preset time, upload the fault information to the master station in the first power Internet of Things system.

3. A unidirectional data transmission method based on a power Internet of Things terminal as claimed in claim 1, characterized in that: The data pushed by the terminal in the first power Internet of Things system to the terminal in the second power Internet of Things system includes meter serial number, electric energy indication, voltage, current, active power and reactive power.

4. A unidirectional data transmission method based on a power Internet of Things terminal as claimed in claim 1, characterized in that: The terminals in the first power Internet of Things system and the terminals in the second power Internet of Things system use the same soft encryption method; when transmitting data, the data is plain text followed by a random number and a MAC address; After the terminal in the second power Internet of Things system receives the message, it uses the data and random numbers to calculate the MAC address, and then compares them. If the MAC addresses are different, it means that the message has been tampered with during transmission and is discarded; if the MAC addresses are the same, the verification passes and the data is processed and stored.

5. A unidirectional data transmission method based on a power Internet of Things terminal as claimed in claim 1, characterized in that: The communication protocol between the terminal in the first power Internet of Things system and the terminal in the second power Internet of Things system uses an object-oriented protocol.

6. A unidirectional data transmission system based on a power Internet of Things terminal, characterized in that: include: A connection establishment module is configured to: establish a connection between a terminal in the first power Internet of Things system and a terminal in the second power Internet of Things system; The data push module is configured to: push the data in the terminal in the first power Internet of Things system to the terminal in the second power Internet of Things system through a push mode; the push mode only supports sending data messages, and does not support receiving other data messages except confirmation frame data; When pushing data, only the node number is pushed, not the communication address; The communication configuration module is configured to: determine the unidirectional transmission communication configuration between terminal a and terminal b, and establish a default configuration: transmission frequency, waiting delay time, check bit, number of data bits and number of stop bits; The protocol module is used and configured to: determine the unidirectional transmission communication protocol: the communication protocol between terminal a and terminal b uses an object-oriented protocol, push time, push cycle, transmission channel uses RS485II channel, retransmission times, and operating time period; Terminal a in the first power Internet of Things system establishes a connection with terminal b in the second power Internet of Things system; Terminal a collects data from other terminals in the first power Internet of Things system; terminal a collects data from terminals a to terminal m with different protocols through sensing terminal a to sensing terminal m; sensing terminal a to sensing terminal m are within the first power Internet of Things system, and terminal b has no physical connection with any sensing terminal.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the unidirectional data transmission method based on the power Internet of Things terminal as described in any one of claims 1 to 5 are implemented.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the unidirectional data transmission method based on the power Internet of Things terminal as described in any one of claims 1 to 5 are implemented.