A high-concurrency data transmission method for power Internet of Things
By adopting analytical encryption module and channel division technology in the power Internet of Things system, the problem of channel congestion in LoRaWAN network is solved, and the reliability and efficiency of concurrent data transmission is achieved, ensuring the timely transmission and integrity of data.
Patent Information
- Application Number
- CN202210763047.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-29
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2042-06-29
AI Technical Summary
In power grid substations and converter stations, the ALOHA channel access mechanism of the LoRaWAN network causes uplink channel congestion, resulting in data being unable to be sent in time and may be lost, especially when multiple terminals upload data at the same time.
By setting up an analysis encryption module between the terminal and the network server, using LoRa technology for data transmission, and data is arranged and queued from short to long on the network server side, dividing channels for transmission of long and short data, using NAS signaling messages are transmitted encryptedly, and an uplink channel detection module and frequency modulation module are set up to optimize channel usage, and a time slice is divided to ensure continuous transmission and avoid data chaos.
It effectively avoids uplink channel congestion of gateway base stations, ensures timely transmission of concurrent data packets, improves transmission efficiency, avoids data loss, and realizes reliable transmission of multi-device data.
Smart Images

Figure CN115314890B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things communications, and in particular to a high-concurrency data transmission method applied to 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 concurrent data transmission of multiple devices is a key issue.
[0003] The LoRaWAN network has the characteristics of long distance, low power consumption and small capacity for data transmission. It is widely used in the field of Internet of Things communications. The terminal usually has a long data upload cycle based on this protocol. Since the channel access method of the terminal is a pure ALOHA mechanism, in actual applications, there are many scenarios where a large number of terminals upload data at the same time. For example, in positioning applications, multiple positioning terminals will report location information in real time. At present, the ALOHA channel access mechanism of LoRaWAN is bound to cause uplink channel congestion, resulting in the inability to send data on time and data loss. Summary of the invention
[0004] The purpose of the present invention is to provide a high-concurrency data transmission method applied to the power Internet of Things, which has the advantage of avoiding congestion of the uplink channel of the gateway base station and ensuring the effective transmission of concurrent data packets.
[0005] The above technical objectives of the present invention are achieved through the following technical solutions:
[0006] A high-concurrency data transmission method applied to the power Internet of Things includes a terminal, a base station and a network server. The terminal is also provided with an analysis and encryption module. The signal transmission of the terminal adopts LoRa (long-range radio) technology. The terminal is connected to the network server through a gateway base station for bidirectional transmission. The network server is responsible for scheduling access to the gateway base station. The method includes the following steps:
[0007] S1: After the terminal generates data to be uploaded, the data is passed to the analysis and encryption module, which processes the generated data, including analyzing the data length to generate feature data and encrypting the data to generate an encrypted data packet. During encryption, the data length information is converted into a small segment of feature data and an encrypted data packet. After the data is encrypted and packaged, the terminal sends an access request to the network server, and the network server authenticates the terminal. After the authentication is passed, it sends an access permission response to the terminal, and the terminal accesses the network server;
[0008] S2: The terminal transmits characteristic data representing the length of the data to the network server. The network server analyzes the characteristic data and arranges the uploaded data from short to long length and queues them. This arrangement allows short data to be transmitted first. The short data transmission speed is fast, which can quickly reduce the number of data queued at the same time.
[0009] S3: The gateway divides the uplink channel into two parts, some of which are used to transmit long data and the rest of which are used to transmit short data.
[0010] S4: The network server issues access permissions to the gateway and terminal starting from both ends of the queue in the order of arrangement. After issuing the permissions, the queue status of the feature data is eliminated, and then the corresponding data is transmitted to the network server through the uplink channel of the gateway to complete the transmission.
[0011] Through the above technical solution, the encryption module uses NAS signaling messages to directly perform small data encryption transmission. Specifically, a new message NAS PDU (Packet Data Unit) is introduced to partially encrypt small data transmission, and the encrypted data is encapsulated in the NAS PDU of the encryption module. The NAS PDU will be carried in the RRC connection establishment completion message and transmitted along with the encrypted data packet.
[0012] The present invention is further configured as follows: the NAS signaling deletes the AS security mode and does not establish a DRB (Data Radio Bearer).
[0013] The present invention is further configured as follows: the gateway is provided with an uplink channel detection module, which sends an idle instruction to the server terminal when an empty channel is detected, and the server then sends an access instruction to the terminal, and the terminal controls the encrypted data packet to be transmitted through the empty channel. The channel is reasonably allocated through detection to reduce channel congestion and occupancy problems.
[0014] Furthermore, the terminal is provided with a monitoring module for monitoring used frequencies in the environment and a frequency modulation module for adjusting the terminal frequency. Using frequencies that have not been used in the environment can effectively improve the strength and accuracy of wireless signal transmission.
[0015] The present invention is further configured as follows: the terminal divides the transmission time slices according to the length of the encrypted data packet, and the transmission of the encrypted data packet is performed continuously according to the time slices. The time slice is the time required to transmit the encrypted data packet. By dividing the time slices, the problem of transmitting only one data at a time in a channel can be solved, thereby improving the transmission efficiency.
[0016] The present invention is further configured as follows: the time slice includes a pre-set reaction time period and a transmission time period, and the reaction time period serves as a buffer segment between two continuously transmitted encrypted data packets, effectively avoiding data confusion and ensuring the integrity of data transmission.
[0017] In summary, the present invention has the following beneficial effects:
[0018] For the data generated by the terminal, the data length is first judged, queued and encrypted. The encrypted data is transmitted from both ends of the queue through the divided channels, so that multiple data can be transmitted to the network server in a timely manner within an effective time period. At the same time, the data is defined in time slices to achieve continuous transmission in a single channel, improve transmission efficiency, and ultimately effectively avoid congestion when multiple terminals transmit data packets, which will not cause data loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of the overall workflow of this embodiment;
[0020] Figure 2 This is a channel division diagram of this embodiment. DETAILED DESCRIPTION
[0021] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0022] Example:
[0023] refer to Figure 1 and Figure 2 ,in Figure 1 The arrows of the terminal and the network server represent data uplink and downlink. A high-concurrency data transmission method applied to the power Internet of Things includes a terminal, a base station and a network server. The terminal is also provided with an analysis and encryption module. The signal transmission of the terminal adopts LoRa (long-range radio) technology. The terminal is connected to the network server through a gateway base station for two-way transmission. The network server is responsible for scheduling access to the gateway base station.
[0024] The above-mentioned high-concurrency data transmission method applied to the power Internet of Things includes the following steps:
[0025] S1: After the terminal generates data to be uploaded, the data is passed to the analysis and encryption module, which processes the generated data, including analyzing the data length to generate feature data and encrypting the data to generate an encrypted data packet. During encryption, the data length information is converted into a small segment of feature data and an encrypted data packet. After the data is encrypted and packaged, the terminal sends an access request to the network server, and the network server authenticates the terminal. After the authentication is passed, it sends an access permission response to the terminal, and the terminal accesses the network server;
[0026] S2: The terminal transmits characteristic data representing the length of the data to the network server. The network server analyzes the characteristic data and arranges the uploaded data from short to long length and queues them. This arrangement allows short data to be transmitted first. The short data transmission speed is fast, which can quickly reduce the number of data queued at the same time.
[0027] S3: The gateway divides the uplink channels, some of which are dedicated to transmitting long data, and the rest are used to transmit short data. For example, three of the eight uplink channels are used to transmit short data. If a one-way queue is installed, the transmission of long data will be delayed, and the power grid-related data has a certain degree of ineffectiveness. By dividing the dedicated channels, the data can be transmitted in a timely manner.
[0028] S4: The network server sends access permission to the gateway and terminal starting from the two ends of the queue in the order of arrangement. After the permission is issued, the queue status of the feature data is eliminated, and then the corresponding data is transmitted to the network server through the uplink channel of the gateway to complete the transmission.
[0029] Furthermore, the encryption module uses NAS signaling messages to directly perform small data encryption transmission, specifically introducing a new message NAS PDU (Packet Data Unit), partially encrypting small data transmission, and encapsulating the encrypted data in the NAS PDU of the encryption analysis module. The NAS PDU will be carried in the RRC connection establishment completion message and transmitted along with the encrypted data packet.
[0030] Furthermore, the NAS signaling deletes the AS security mode and does not establish DRB (Data Radio Bearer). Considering that these power grid-related data only require data integrity, the NAS signaling mainly needs to ensure the integrity of the encryption. Therefore, the RRC integrity protection, encryption protection and UP encryption protection of the AS layer are skipped, and the NAS layer encryption integrity is directly used to ensure that data transmission is not lost.
[0031] The gateway is provided with an uplink channel detection module. When an empty channel is detected, it will send an idle instruction to the server terminal. The server will then send an access instruction to the terminal. The terminal controls the encrypted data packet to be transmitted through the empty channel. The channel is reasonably allocated through detection to reduce channel congestion and occupancy problems. Of course, the occupation and division of channels are random, and a certain channel will not be occupied in a fixed manner to avoid channel congestion caused by queuing.
[0032] Furthermore, the terminal is provided with a monitoring module for monitoring used frequencies in the environment and a frequency modulation module for adjusting the terminal frequency. Using frequencies that have not been used in the environment can effectively improve the strength and accuracy of wireless signal transmission.
[0033] Furthermore, in order to further optimize the signal transmission method, the terminal divides the transmission time slices according to the length of the encrypted data packet. The encrypted data packet is transmitted continuously according to the time slices. The time slice is the time required to transmit the encrypted data packet. By dividing the time slices, the problem of transmitting only one data at a time in a channel can be solved, thereby improving the transmission efficiency.
[0034] Furthermore, in order to improve the integrity of data transmitted through time slices, the time slices include a pre-reaction time period and a transmission time period. The reaction time period serves as a buffer segment between two continuously transmitted encrypted data packets, effectively avoiding data confusion and ensuring the integrity of data transmission.
[0035] This specific embodiment is merely an explanation of the present invention and is not a limitation of the present invention. After reading this specification, those skilled in the art may make non-creative modifications to the present embodiment as needed. However, as long as they are within the scope of the claims of the present invention, they are protected by the patent law.
Claims
1. A high-concurrency data transmission method applied to the power Internet of Things, characterized in that: The method comprises a terminal, a base station and a network server, wherein the terminal is also provided with an analysis encryption module, and comprises the following steps: S1: After the terminal generates data to be uploaded, the data is passed to the analysis and encryption module, which processes the generated data, including analyzing the data length to generate feature data and encrypting the data to generate encrypted data packets; S2: The terminal transmits characteristic data representing the length of the data to the network server, and the network server analyzes the characteristic data and arranges the uploaded data from short to long length and queues them; S3: The gateway divides the uplink channel into two parts, some of which are used to transmit long data and the rest of which are used to transmit short data. S4: The network server sends access permission to the gateway and the terminal starting from the two ends of the queue in the order of arrangement. After the permission is issued, the queue state of the feature data is eliminated, and then the corresponding data is transmitted to the network server through the uplink channel of the gateway to complete the transmission; Among them, the terminal divides the transmission time slices according to the length of the encrypted data packet, and the encrypted data packet is transmitted continuously according to the time slices. The time slice is the time required to transmit the encrypted data packet. By dividing the time slices, the problem of transmitting only one data at a time in a channel can be solved, thereby improving the transmission efficiency.
2. According to claim 1, a high-concurrency data transmission method applied to the power Internet of Things is characterized in that: The encryption module uses NAS signaling messages to directly perform small data encryption transmission.
3. According to claim 2, a high-concurrency data transmission method applied to the power Internet of Things is characterized in that: The NAS signaling deletes the AS security mode and does not establish a DRB (Data Radio Bearer).
4. According to claim 1, a high-concurrency data transmission method applied to the power Internet of Things is characterized in that: The gateway is provided with an uplink channel detection module, which sends an idle instruction to the server terminal when an empty channel is detected. The server then sends an admission instruction to the terminal, and the terminal controls the encrypted data packet to be transmitted through the empty channel.
5. The high-concurrency data transmission method applied to the power Internet of Things according to claim 1 is characterized in that: The terminal is provided with a monitoring module for monitoring the used frequencies in the environment and a frequency modulation module for adjusting the terminal frequency.
6. The high-concurrency data transmission method applied to the power Internet of Things according to claim 1 is characterized in that: The time slice includes a preceding reaction time period and a transmission time period.
Citation Information
Patent Citations
Data transmission method
CN107171804A
Power business data coding transmission method and system, and storage medium
CN112152697A