A method for continuous and reliable transmission of uplink data of power Internet of Things
By adopting multi-path transmission and data comparison processing methods in power grid substations and converter stations, the packet loss problem caused by uplink packet collisions of LoRaWAN terminals is solved, and the continuous and reliable transmission and reception of data is achieved.
Patent Information
- Application Number
- CN202210714309.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-21
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2042-06-21
AI Technical Summary
In power grid substations and converter stations, the channel access method of the terminal in the LoRaWAN standard is a pure ALOHA mechanism, which leads to a greater probability of collision of uplink packets on the channel as the number of terminals increases or the frequency of sending uplink packets increases, resulting in the problem of terminal data packet loss.
By copying and allocating data packets to multiple forwarding ports at the data output end, using transmission methods of different paths, the data packets received by the data analysis end through different paths are compared one by one to ensure the integrity and reliability of the data, and issuing data reissue instructions when necessary to complete the missing data.
It effectively solves the problem of data packet loss or partial data loss in the data packet due to the line, improves the reliability and integrity of the data received by the data receiving terminal, and ensures the continuity and reliability of data transmission.
Smart Images

Figure CN115314919B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an electric power Internet of Things, and in particular to a method for continuous and reliable transmission of uplink data of an electric power Internet of Things. Background Art
[0002] In each substation and converter station of the power grid, the production environment is characterized by strong electric fields, strong magnetic fields, high temperature and high humidity outdoors. In order to ensure safe production, it is necessary to collect and monitor important data. Data collection mainly includes the following types: partial discharge detection, oil chromatography detection, SF6 gas monitoring, and environmental status monitoring. Low-rate acquisition terminals mainly include: SF6 meter acquisition, temperature and humidity meter acquisition, lightning arrester action times and leakage current meter acquisition, water pressure meter acquisition, conductivity acquisition, water temperature meter acquisition, ambient temperature, wind speed and water immersion acquisition, etc. It is necessary to regularly collect and transmit data from related equipment. These devices are numerous and densely deployed. How to ensure the timeliness and reliability of data transmission is a key issue.
[0003] LoRa wireless communication technology has the characteristics of low power consumption, wide transmission distance, strong signal penetration and high sensitivity, and is suitable for application in complex electromagnetic environments such as power grid substations and converter stations. However, in the LoRaWAN standard, the channel access method of the terminal is a pure ALOHA mechanism. As the number of terminals increases or the frequency of sending uplink data packets increases, the probability of uplink data packets of multiple terminals colliding on the channel increases greatly, resulting in terminal data packet loss. If you want to ensure continuous and reliable transmission of terminal uplink data, there are currently two common methods.
[0004] Method 1: In order to solve the problem of channel contention, LoRaWAN has implemented CSMA-CA technology. The CSMA-CA algorithm is divided into two steps. First, the channel is detected. By detecting the busy or idle status of the channel, data is sent when the channel is idle; secondly, a delayed backoff is performed when the channel is busy, and then another detection is performed after the delay. If the detection is still busy, the backoff time is doubled.
[0005] Method 2: The terminal adopts the uplink confirmation packet mechanism and considers that the data has been sent successfully after receiving the uplink data response message.
[0006] Since the timeliness of uplink data transmission cannot be guaranteed in method 1, if the channel busy state is detected multiple times, the data transmission delay will be very long or even discarded. In this way, for scenarios where multiple uplink data are continuously transmitted, the transmission delay will increase exponentially; the uplink confirmation packet response message in method 2 will occupy the downlink channel resources of the gateway. Since the proportion of the downlink channel resources of the LoRaWAN gateway to the uplink channel resources is very small, most LoRaWAN gateways have only one downlink channel, so the uplink confirmation packet mechanism is used with caution; continuous uplink confirmation data transmission will fill up the downlink channel resources, directly leading to congestion of the gateway downlink channel.
[0007] Both of the above methods can only meet the continuous and reliable transmission of uplink data on the basis of sacrificing time domain or frequency domain resources.
[0008] First, the data is copied into multiple copies and sent to the data receiving terminal for storage. There will be a large number of identical data packets, which wastes network resources and reduces the amount of data stored in the data receiving terminal, reducing the efficiency of the data receiving terminal. At the same time, during the transmission process, if part of the data is lost, it is difficult to complete the lost data.
[0009] In order to solve the above technical problems, the present application proposes a method for continuous and reliable transmission of uplink data of the power Internet of Things. Summary of the invention
[0010] The purpose of the present invention is to provide a method for continuous and reliable transmission of uplink data of an electric power Internet of Things to solve the problems raised in the above-mentioned background technology.
[0011] To achieve the above object, the present invention provides the following technical solution: a method for continuous and reliable transmission of uplink data of power Internet of Things, comprising the following steps:
[0012] The S1 data receiving terminal periodically updates the data packet information and establishes or updates the line according to the data packet information;
[0013] The S2 data output end copies the data packets and distributes them to the forwarding ports one by one. One of the forwarding ports directly sends the data packets in the port to the data analysis end for temporary storage; the data packets in the other forwarding ports are sent one by one to the intermediate sending port;
[0014] After receiving the data packets, the S3 intermediate sending port performs correlation detection on them and performs network marking on irrelevant data packets;
[0015] The data packets in the S4 intermediate port are sent to the data analysis end in turn. The data analysis end compares the data packets sent directly to the data analysis end through the forwarding port with the data packets sent through the intermediate port one by one. After the comparison is completed, the retained data packets are continuously tested. If the data is qualified, it is directly sent to the data receiving terminal for storage. If a part of the data is missing, a data resend instruction is issued to supplement the missing data, and the missing data is directly sent to the data analysis end to compare with the data packet of the missing data. After forming a continuous and complete data, it is directly sent to the data receiving terminal to complete the data transmission.
[0016] Preferably, a plurality of storage databases of different types are provided in S1, each database corresponds to a different type of data packet through coding, and a data packet having the same coding as the storage database is directly sent to the storage database having the same coding.
[0017] Preferably, the storage database periodically updates its internal data, and when one of the storage databases receives a data packet, it immediately updates the internal data and triggers the establishment of a new line or the update of a line.
[0018] Preferably, each data packet sent to the data analysis end through the intermediate port in step S4 needs to be compared one by one with the data packet sent by the forwarding end;
[0019] When the data packet sent by the intermediate port is the same as the data packet sent by the forwarding end, one of the data packets is directly discarded;
[0020] When the data packet sent by the intermediate port is different from the data packet sent by the forwarding end, both are retained. After being retained, the data packet is deframed, the differences in the data between the two are compared, and data continuity detection is performed. If the data in them is irrelevant to the required data, the irrelevant data is directly discarded and the relevant data is retained. If the data of both are related, the two are further compared. When the data of the two can be combined into a complete data, a copy of the same part of the data is retained, and the different data are all saved, and the combined data is directly sent to the data receiving terminal; when the data of the two cannot be combined into a complete data, the one with less available data is directly discarded, and a missing data resend instruction is sent to the data output end. The data output end sends the missing data directly to the data analysis end according to the instruction requirements, and the data is combined into a complete data and sent to the data receiving terminal.
[0021] Preferably, the data continuity detection step mainly includes real-time detection of the continuity of the number of frames in the data, recording the number of missing frames in the data, comparing the overall number of frames of the data with the normal number of frames, whether there are abnormal frames, and then judging the continuity of the data.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. The method for continuous and reliable transmission of uplink data of the power Internet of Things adopts different transmission paths. The data packets received by the data analysis end through different paths need to be processed one by one, which effectively solves the problem of data packet loss or partial data loss in the data packet due to the line, and effectively improves the reliability of the data received by the data receiving terminal;
[0024] 2. After comparing the data packets received on different lines, the number of lost data frames can be quickly found and the lost data can be supplemented, thus ensuring the integrity and reliability of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A schematic diagram of a scheme flow of a method for continuous and reliable transmission of uplink data of an electric power Internet of Things according to the present invention;
[0026] Figure 2 It is a schematic diagram of the main parts in the data output terminal of a method for continuous and reliable transmission of uplink data of the power Internet of Things of the present invention;
[0027] Figure 3 This is a schematic diagram of the main parts within a data analysis terminal of a method for continuous and reliable transmission of uplink data of an electric power Internet of Things according to the present invention. DETAILED DESCRIPTION
[0028] The technical solutions in the embodiments of the present invention are described clearly and completely below. The embodiments of the present invention and all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention.
[0029] See also Figure 1-3 The present invention provides a method for continuous and reliable transmission of uplink data of an electric power Internet of Things: A method for continuous and reliable transmission of uplink data of an electric power Internet of Things comprises the following steps:
[0030] The S1 data receiving terminal periodically updates the data packet information. A plurality of storage databases of different types are arranged in the data receiving terminal. Each storage database is classified by different network codes. Before sending the data packet to the data receiving terminal, the data packet needs to be classified. Each data packet has a storage database corresponding to a type in the data receiving terminal. The data packet received by the data receiving terminal is directly stored in the storage database of the specified type according to the type of the data packet, thereby improving the operation speed of the data receiving terminal, and establishing or updating the line according to the data packet information. The storage database periodically updates the internal data. When one of the storage databases receives a data packet, it immediately updates the internal data and triggers the establishment of a new line or the update of the line.
[0031] The S2 data output end copies the data packets and distributes them to the forwarding ports one by one. One of the forwarding ports directly sends the data packets in the port to the data analysis end for temporary storage; the data packets in the other forwarding ports are sent one by one to the intermediate sending port;
[0032] After receiving the data packets, the S3 intermediate sending port performs correlation detection on them and performs network marking on irrelevant data packets;
[0033] The data packets in the S4 intermediate port send the data packets to the data analysis end in turn. The data analysis end compares the data packets sent directly to the data analysis end by the forwarding port with the data packets sent through the intermediate port one by one. When the data packet sent by the intermediate port is the same as the data packet sent by the forwarding end, one of the data packets is directly discarded, and one of the data packets is retained for comparison with the data packet sent by the next intermediate port, and is compared with each data packet sent by the intermediate port in turn until the comparison with each data packet sent by the intermediate port is completed. When the data packet sent by the intermediate port is different from the data packet sent by the forwarding end, the retained data packet is then subjected to continuity detection. The data continuity detection step mainly includes real-time detection of the continuity of the number of frames in the data, recording the number of missing frames in the data, comparing the overall number of frames of the data with the normal number of frames, and determining whether there are abnormal frames, thereby determining the continuity of the data. After comparison, the two different data packets are retained, and the retained data packets are deframed, and the differences in the data between the two are compared and data continuity detection is performed. If the data is irrelevant to the required data, the irrelevant data is directly discarded and the relevant data is retained. If both data are related, then The two are continued to be compared. When the data of the two can be combined into a complete data, a copy of the same part of the data is retained, and the different data are all saved, and the combined complete data is directly sent to the data receiving terminal; when the data of the two cannot be combined into a complete data, the one with less available data is directly discarded, and a missing data retransmission instruction is sent to the data output end. The data output end sends the missing data directly to the data analysis end according to the instruction requirements, and the combined complete data is sent to the data receiving terminal. In this way, the problem of data packet loss during the transmission process is avoided through the technology of multi-line transmission. In the process of transmission, the data in a part of the data packet is lost, and the number of lost data frames can be found out through comparison, and the lost data frames can be found to supplement the missing part of the data, so as to improve the reliability of the data receiving terminal receiving the data. After the data is qualified, it is directly sent to the data receiving terminal for storage; after a part of the data is missing, a data retransmission instruction is issued to supplement the missing data, and the missing data is directly sent to the data analysis end, and compared with the data packet of the missing data. After forming a continuous and complete data, it is directly sent to the data receiving terminal to complete the data transmission.
[0034] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for continuous and reliable transmission of uplink data of power Internet of Things, characterized in that: The following steps are involved: The S1 data receiving terminal periodically updates the data packet information and establishes or updates the line according to the data packet information; The S2 data output end copies the data packets and distributes them to the forwarding ports one by one. One of the forwarding ports directly sends the data packets in the port to the data analysis end for temporary storage; the data packets in the other forwarding ports are sent one by one to the intermediate sending port; After receiving the data packets, the S3 intermediate sending port performs correlation detection on them and performs network marking on irrelevant data packets; The data packets in the S4 intermediate port are sent to the data analysis end in turn. The data analysis end compares the data packets sent directly to the data analysis end through the forwarding port with the data packets sent through the intermediate port one by one. After the comparison is completed, the retained data packets are continuously tested. After the data is qualified, it is directly sent to the data receiving terminal for storage; if part of the data is missing, a data resending instruction is issued to supplement the missing data, and the missing data is directly sent to the data analysis end to compare with the data packets of the missing data. After forming a continuous and complete data, it is directly sent to the data receiving terminal to complete the data transmission; In step S4, each data packet sent to the data analysis terminal through the intermediate port needs to be compared with the data packet sent by the forwarding port one by one; When the data packet sent by the intermediate port is the same as the data packet sent by the forwarding port, one of the data packets is directly discarded; When the data packet sent by the intermediate port is different from the data packet sent by the forwarding port, both are retained, and the retained data packet is deframed, and the differences in the data between the two are compared and data continuity detection is performed. If the data in them is irrelevant to the required data, the irrelevant data is directly discarded and the relevant data is retained. If the data of both are related, the two are further compared. When the data of the two can be combined into a complete data, a copy of the same part of the data is retained, and the different data are all saved, and the complete data is combined and sent directly to the data receiving terminal.
2. According to claim 1, a method for continuous and reliable transmission of uplink data of the power Internet of Things is characterized by: In the S1, a plurality of storage databases of different types are set, each database corresponds to a different type of data packet through coding, and a data packet having the same coding as the storage database is directly sent to the storage database having the same coding.
3. A method for continuous and reliable transmission of uplink data of electric power Internet of Things according to claim 2, characterized in that: The storage database periodically updates its internal data. When one of the storage databases receives a data packet, it immediately updates the internal data and triggers the establishment of a new line or the update of a line.
4. The method for continuous and reliable transmission of uplink data of the power Internet of Things according to claim 1 is characterized in that: In step S4, if the data continues to be compared and the data from the two cannot be combined into a complete data, the one with less available data will be directly discarded, and a missing data resend instruction will be sent to the data output end. The data output end will send the missing data directly to the data analysis end according to the instruction requirements, and combine them into a complete data and send them to the data receiving terminal.
5. The method for continuous and reliable transmission of uplink data of the power Internet of Things according to claim 1 is characterized in that: The data continuity detection step includes real-time detection of the continuity of the number of frames in the data, recording the number of missing frames in the data, comparing the overall number of frames of the data with the normal number of frames, and determining whether there are abnormal frames, thereby determining the continuity of the data.
Citation Information
Patent Citations
Method and system for improving wireless link robustness using spatial diversity
CN102158266A
Reliable data transmission method based on large scale MIMO in vehicle networking communication
CN104935412A