Data communication method and system between power distribution network distributed sensor and Internet of Things terminal

By installing distributed sensors of distribution networks in the distribution network system, collecting, preprocessing, compressing and encrypting data, and transmitting them to the IoT terminal through a secure transmission strategy, the problem of low data transmission efficiency in the existing technology is solved, and the implementation of the realization of data transmission efficiency is achieved. Efficient and reliable data transmission, suitable for real-time monitoring and fault detection.

CN118972919AInactive Publication Date: 2024-11-15STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411033158.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The data transmission between the existing distribution network distributed sensors and IoT terminals is inefficient, susceptible to environmental interference, and has a short battery life, making it difficult to achieve efficient real-time monitoring and fault detection.

Method used

Install distribution network distributed sensors in the distribution network system to collect data in real time and preprocess, compress and encrypt, transmit to the IoT terminal through a secure transmission strategy, use the optimal communication channel for data transmission, and use the Internet of Things terminal to transmit data in the IoT terminal Decompression and decryption are performed, and calibration signals are sent periodically to ensure the accuracy of data transmission.

Benefits of technology

It realizes data transmission with high transmission rate and low latency, improves the reliability of data transmission, reduces the impact on electromagnetic interference, and is suitable for real-time data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972919A_ABST
    Figure CN118972919A_ABST
Patent Text Reader

Abstract

The invention discloses a data communication method and system between a power distribution network distributed sensor and an Internet of Things terminal, and the method comprises the steps: enabling the power distribution network distributed sensor to be installed in a power distribution network system, building the connection with the Internet of Things terminal, collecting the electric quantity data in the power distribution network system in real time, and transmitting the electric quantity data to the Internet of Things terminal; the method comprises the following steps: preprocessing collected electrical quantity data in a power distribution network system, compressing and encrypting the preprocessed electrical quantity data in the power distribution network system, and transmitting the compressed and encrypted electrical quantity data in the power distribution network system to an Internet of Things terminal by using a secure transmission strategy. After the Internet of Things terminal receives the compressed and encrypted electrical quantity data in the power distribution network system, the compressed and encrypted electrical quantity data in the power distribution network system are decompressed, and the decompressed and encrypted electrical quantity data in the power distribution network system are decrypted by using the same secret key and encryption algorithm. According to the invention, data collected by the sensor can be transmitted to the Internet of Things terminal more efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data communication technology, and in particular to a method and system for data communication between distributed sensors in a distribution network and IoT terminals. Background Art

[0002] Currently, distributed sensors in distribution networks are used for electrical quantity monitoring and fault detection in distribution network systems. This type of sensor has high sensitivity and linearity and can accurately measure the size and direction of electrical quantities. By placing distributed sensors near distribution network lines, changes in electrical quantities can be monitored in real time, thereby achieving real-time monitoring and fault detection of the distribution network system.

[0003] Sensors can detect and record various physical quantities in the environment, such as temperature, pressure, magnetic field, etc. However, how to efficiently transmit the data collected by sensors to IoT terminals has become an urgent problem to be solved. Currently, commonly used wireless transmission methods include Bluetooth, Wi-Fi, Zigbee, etc., but these methods may be limited by environmental interference, battery life and other factors in certain application scenarios. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention proposes a data communication method and system between distributed sensors in a distribution network and Internet of Things terminals. The distributed sensors in the distribution network are installed in the distribution network system and are connected to the Internet of Things terminals to collect electrical quantity data in the distribution network system in real time, pre-process the collected electrical quantity data in the distribution network system, compress and encrypt the pre-processed electrical quantity data in the distribution network system, and transmit the compressed and encrypted electrical quantity data in the distribution network system to the Internet of Things terminal using a secure transmission strategy. After the Internet of Things terminal receives the compressed and encrypted electrical quantity data in the distribution network system, the compressed and encrypted electrical quantity data in the distribution network system are decompressed, and the same key and encryption algorithm are used to decrypt the decompressed encrypted electrical quantity data in the distribution network system. The Internet of Things terminal periodically sends calibration signals to the distributed sensors in the distribution network to ensure the accuracy of data transmission.

[0005] The present invention adopts the following technical solution.

[0006] A first aspect of the present invention provides a method for data communication between a distributed sensor in a distribution network and an IoT terminal, comprising the following steps:

[0007] S1: Install the distributed sensors in the distribution network system to collect the electrical quantity data in the distribution network system in real time;

[0008] S2: pre-processing the collected electrical quantity data in the distribution network system;

[0009] S3: compressing and encrypting the electrical quantity data in the distribution network system after preprocessing;

[0010] S4: Using a secure transmission strategy, the compressed and encrypted electrical quantity data in the distribution network system is transmitted to the IoT terminal;

[0011] S5: After receiving the compressed and encrypted electrical quantity data in the distribution network system, the IoT terminal decompresses the compressed and encrypted electrical quantity data in the distribution network system, and uses the same key and encryption algorithm to decrypt the decompressed encrypted electrical quantity data in the distribution network system.

[0012] Preferably, the preprocessing in S2 includes: data calibration, removal of outliers and correction of missing values.

[0013] Preferably,

[0014] In S3, the electrical quantity data set A in the distribution network system after preprocessing is compressed according to the following formula:

[0015]

[0016] in,

[0017] W represents the compressed electrical quantity data set in the distribution network system,

[0018] μ t (j,k) represents the wavelet basis function, j represents the scale, k represents the translation parameter,

[0019] N-1 represents the total translation length,

[0020] a t represents the electrical quantity data at the tth moment in the electrical quantity data set A of the distribution network system after preprocessing;

[0021] Preferably, in S3, the compressed electrical quantity data set W in the distribution network system is encrypted to obtain the encrypted electrical quantity data set W' in the distribution network system, and m consecutive data starting from the qth position are intercepted from the encrypted electrical quantity data set W' in the distribution network system, and a 1×m matrix T is randomly generated using a random function to transform the intercepted m data.

[0022] Preferably, the specific formula for transforming the intercepted m data is:

[0023] X=W′×T+C

[0024] in,

[0025] X represents the encrypted and compressed electrical quantity data set in the distribution network system.

[0026] C represents the added noise.

[0027] Preferably, in S4, utilizing a secure transmission strategy means selecting an optimal communication channel, and transmitting the compressed and encrypted electrical quantity data in the distribution network system to the IoT terminal via the optimal communication channel.

[0028] Preferably, the comprehensive priority of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula, and max(YXJ i ) as the optimal communication channel between the distributed sensors in the distribution network and the IoT terminals:

[0029] YJ i =ω CQ ×CQ i +ω UD ×UD i +ω ST ×ST i +ω HU ×HU i

[0030] in,

[0031] YJ i represents the comprehensive priority of the i-th communication channel,

[0032] CQ i represents the channel quality of the i-th communication channel,

[0033] ST i represents the service type of the i-th communication channel,

[0034] UD i represents the user demand of the i-th communication channel,

[0035] HU i represents the historical usage of the i-th communication channel,

[0036] ω CQ represents the weight of the channel quality of the i-th communication channel,

[0037] ω UD represents the weight of the user demand of the i-th communication channel,

[0038] ω ST represents the weight of the service type of the i-th communication channel,

[0039] ω HU The weight representing the historical usage of the i-th communication channel.

[0040] Preferably, the channel quality of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula:

[0041]

[0042] in,

[0043] CQ i represents the channel quality of the i-th communication channel,

[0044] SNR i represents the signal-to-noise ratio of the i-th communication channel,

[0045] P represents the total number of communication channels.

[0046] Preferably, the user demand of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula:

[0047]

[0048] in,

[0049] UD i represents the user demand of the i-th communication channel,

[0050] D i represents the user data rate requirement of the i-th communication channel,

[0051] L i represents the delay sensitivity coefficient,

[0052] P represents the total number of communication channels.

[0053] Preferably, the service type of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula:

[0054]

[0055] in,

[0056] ST i represents the service type of the i-th communication channel,

[0057] FWf i represents the service type priority of the i-th communication channel,

[0058] P represents the total number of communication channels;

[0059] The service type priority is determined based on the workload and processing efficiency of the communication channel.

[0060] Preferably, the historical usage of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula:

[0061]

[0062] in,

[0063] HU i represents the historical usage of the i-th communication channel,

[0064] U i represents the historical usage value of the i-th communication channel,

[0065] P represents the total number of communication channels;

[0066] The historical usage value of the communication channel is determined based on the historical usage count of the communication channel.

[0067] The second aspect of the present invention provides a data communication system between distributed sensors in a distribution network and Internet of Things terminals, which is implemented based on the above-mentioned data communication method between distributed sensors in a distribution network and Internet of Things terminals, and includes: an electrical quantity data acquisition module, a preprocessing module, a compression and encryption module, a secure transmission module and a decompression and decryption module.

[0068] The electrical quantity data acquisition module is used for the distribution network distributed sensor to be installed in the distribution network system and to establish a connection with the IoT terminal to collect the electrical quantity data in the distribution network system in real time;

[0069] The preprocessing module is used to preprocess the collected electrical quantity data in the distribution network system;

[0070] The compression and encryption module is used to compress and encrypt the electrical quantity data in the distribution network system after preprocessing;

[0071] The secure transmission module is used to transmit the compressed and encrypted electrical quantity data in the distribution network system to the IoT terminal using a secure transmission strategy;

[0072] The decompression and decryption module is used to decompress the compressed and encrypted electrical quantity data in the distribution network system after the IoT terminal receives the compressed and encrypted electrical quantity data in the distribution network system, and use the same key and encryption algorithm to decrypt the decompressed encrypted electrical quantity data in the distribution network system;

[0073] Preferably, the system further comprises an electrical quantity calibration module, which is used for the IoT terminal to periodically send calibration signals to distributed sensors in the distribution network to ensure the accuracy of data transmission.

[0074] Preferably, the compression and encryption module comprises: a compression unit and an encryption unit. The compression unit is used to compress the electrical quantity data set in the distribution network system after preprocessing; the encryption unit is used to encrypt the electrical quantity data set in the distribution network system after compression.

[0075] The third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is loaded into the processor, the method for data communication between the distributed sensors of the distribution network and the Internet of Things terminals is implemented.

[0076] The fourth invention of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the method of data communication between the distributed sensors of the distribution network and the Internet of Things terminals.

[0077] Compared with the prior art, the beneficial effects of the present invention include at least:

[0078] 1. The present invention proposes a data communication method between distributed sensors in a distribution network and IoT terminals, which has the characteristics of high transmission rate and low latency and is suitable for real-time data transmission.

[0079] 2. The present invention proposes a data communication method between distributed sensors in a distribution network and IoT terminals. By selecting the optimal communication channel in a wireless network for data transmission, the method is not easily affected by electromagnetic interference, thereby improving the reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0081] Figure 1 This is a flow chart of a data communication method between a distributed sensor in a power distribution network and an IoT terminal according to the present invention;

[0082] Figure 2 This is a diagram of the data communication system architecture between the distributed sensors of the power distribution network and the IoT terminals of the present invention;

[0083] Figure 3 This is an electronic device diagram of the data communication method between the distributed sensors in the distribution network and the Internet of Things terminals of the present invention. DETAILED DESCRIPTION

[0084] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, in the description of the present invention, it should be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside" and the like indicate the orientation or position relationship based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "No. 1", "No. 2" and "No. 3" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. The present invention is further explained below in conjunction with specific embodiments.

[0085] Example 1

[0086] See also Figure 1 , an embodiment of the present invention provides: a data communication method between a distributed sensor in a distribution network and an IoT terminal, comprising the following specific steps:

[0087] S1: Install the distributed sensors in the distribution network system and establish a connection with the IoT terminal to collect the electrical quantity data in the distribution network system in real time.

[0088] The electrical quantity data includes current data, voltage data, impedance data, and power data.

[0089] S2: Preprocess the collected electrical quantity data in the distribution network system.

[0090] The preprocessing in S2 includes: data calibration, removal of outliers and correction of missing values. Specifically, the collected electrical quantity data is calibrated according to preset rules, outliers that fail the calibration are removed, and missing values ​​are corrected.

[0091] S3: compress and encrypt the electrical quantity data in the distribution network system after preprocessing.

[0092] In S3, the electrical quantity data set A in the distribution network system after preprocessing is compressed. The specific compression formula is:

[0093]

[0094] Where W represents the compressed electrical quantity data set in the distribution network system, μ t (j,k) represents the wavelet basis function, j represents the scale, k represents the translation parameter, N-1 represents the total translation length, a t Represents the electrical quantity data of the distribution network system electrical quantity data set A at the tth moment after preprocessing.

[0095] In S3, any one of the key generation algorithms is used to encrypt the compressed electrical quantity data set W in the distribution network system to obtain the encrypted electrical quantity data set W' in the distribution network system. Starting from the qth position in the encrypted electrical quantity data set W' in the distribution network system, m-bit values ​​are intercepted, and a random function is used to randomly generate a 1×m matrix T, where the random function is gen_key(), to transform the intercepted m-bit values.

[0096] To intercept an m-bit value means to intercept an m-bit value starting from the qth position, that is, the position interval is [q, q+m]. And q is randomly selected.

[0097] Preferably, the specific formula for transforming the intercepted m-bit value is:

[0098] X=W'×T+C

[0099] Wherein, X represents the encrypted and compressed electrical quantity data set in the distribution network system, C represents the added noise, and the noise C can be based on the Laplace mechanism or the Gaussian mechanism.

[0100] In this embodiment, by further transforming the encrypted electrical quantity data set in the distribution network system, information transmission can be made safer. Information transmission security is further increased by adding noise during the transformation process. During decryption, the above formula is inversely transformed and then decrypted with a private key. The decrypted data is verified to ensure the integrity and correctness of the data.

[0101] It should be understood that the present invention does not limit the added noise, and those skilled in the art can set it through a large number of experiments or according to actual needs in actual applications.

[0102] S4: Using a secure transmission strategy, the compressed and encrypted electrical quantity data in the distribution network system is transmitted to the IoT terminal.

[0103] The specific steps of S4 are:

[0104] S401: Calculate the channel quality of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal. The calculation formula is:

[0105]

[0106] Among them, CQ i Indicates the channel quality of the i-th communication channel, SNR i represents the signal-to-noise ratio of the i-th communication channel, and P represents the total number of communication channels.

[0107] S402: Calculate the user demand of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal. The calculation formula is:

[0108]

[0109] Among them, UD i represents the user demand of the i-th communication channel, D i represents the user data rate requirement of the i-th communication channel, L i Delay sensitivity coefficient. The delay sensitivity coefficient is set according to the importance of sensor signals at different locations. The communication channel that transmits sensor signals of high importance has a high delay sensitivity coefficient, otherwise it is set to a relatively low delay sensitivity system.

[0110] S403: Calculate the service type of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal, and the calculation formula is:

[0111]

[0112] Among them, ST i represents the service type of the ith communication channel, Fw i Represents the service type priority of the i-th communication channel; the service type priority is determined according to the task volume and processing efficiency of the communication channel.

[0113] Furthermore, the service type priority is calculated according to the following formula:

[0114]

[0115] in,

[0116] TASK i represents the task volume of the i-th communication channel,

[0117] P i represents the processing efficiency of the i-th communication channel,

[0118] A represents a positive scaling factor,

[0119] C represents the weight factor related to processing efficiency,

[0120] B represents the weight factor related to the task volume,

[0121] The heavier the task volume, the lower the priority; the higher the processing efficiency, the higher the priority.

[0122] Preferably, A takes a value of 1, C takes a value of 100, and B takes a value of 0.1.

[0123] S404: Calculate the historical usage of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal.

[0124]

[0125] Among them, HU i represents the historical usage of the i-th communication channel, U i Represents the historical usage value of the i-th communication channel; the historical usage value of the communication channel is determined according to the historical usage times of the communication channel.

[0126] Preferably, the historical usage value of the i-th communication channel is determined according to the following formula:

[0127] U i =α×exp(β×A i +ε×F i (t))

[0128]

[0129] in,

[0130] A i is the number of times the ith channel has been used in the past year,

[0131] α is a positive scaling factor used to adjust the range of historical usage values.

[0132] β is a weight factor related to the number of uses, indicating the contribution of each use to the historical usage value.

[0133] ε is a weight factor related to usage frequency, which indicates the contribution of usage frequency per unit time to the historical usage value.

[0134] F i (t) is the usage rate of the i-th communication channel at time t, in times / hour,

[0135] T on (t) is the total time that the i-th communication channel is in use from the beginning to time t,

[0136] T total (t) is the total time that the i-th communication channel is in the active state from the beginning to time t.

[0137] S405: Calculate the comprehensive priority of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal, and the calculation formula is:

[0138] YJ i =ω CQ ×CQ i +ω UD ×UD i +ω ST ×ST i +ω HU ×HUi

[0139] Among them, YXJ i represents the comprehensive priority of the i-th communication channel, ω CQ represents the weight of the channel quality of the i-th communication channel, ω UD represents the weight of the user demand of the i-th communication channel, ω ST represents the weight of the service type of the i-th communication channel, ω HU Indicates the weight of the historical usage of the i-th communication channel, select max(YXJ i ) corresponds to the communication channel as the communication channel between the distributed sensors in the distribution network and the IoT terminals.

[0140] Specifically,

[0141] When CQ The value range is 0.6 to 0.85, otherwise the value is 0.2 to 0.6.

[0142] When UD The value range is 0.5 to 0.8, otherwise the value is 0.2 to 0.5.

[0143] ω ST =ω CQ ×ω UD ,ω HU =1-ω CQ -ω UD -ω ST .

[0144] Preferably, the weight of the channel quality is updated as follows.

[0145]

[0146] Among them, ω CQ_base is the weight of the previous communication channel quality, λ is the adjustment coefficient, ΔCQ is the change in channel quality, which is equal to the difference between the current channel quality and the previous channel quality. The weight of the communication channel quality is updated according to the difference.

[0147] Advantages of communication channel selection: 1) Comprehensive consideration of multiple factors: not only channel quality, but also user needs, service type and historical usage; 2) Dynamic weight adjustment: The weight of each factor can be dynamically adjusted according to the specific application scenario; 3) Historical usage adjustment: By introducing historical usage, excessive consumption of channel resources is prevented and fair use of channels is promoted.

[0148] S5: After the IoT terminal receives the compressed and encrypted electrical quantity data in the distribution network system, the compressed and encrypted electrical quantity data in the distribution network system is decompressed, and the decompressed encrypted electrical quantity data in the distribution network system is decrypted using the same key and encryption algorithm.

[0149] Preferably, the method further comprises:

[0150] S6: The IoT terminal periodically sends calibration signals to the distributed sensors in the distribution network to ensure the accuracy of data transmission.

[0151] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0152] Example 2

[0153] See also Figure 2 , another embodiment provided by the present invention: a data communication system between distributed sensors of a distribution network and an Internet of Things terminal, comprising: an electrical quantity data acquisition module, a preprocessing module, a compression and encryption module, a secure transmission module, and a decompression and decryption module. Among them, the electrical quantity data acquisition module is used for the distributed sensors of the distribution network to be installed in the distribution network system, and to establish a connection with the Internet of Things terminal to collect electrical quantity data in the distribution network system in real time. The preprocessing module is used to preprocess the collected electrical quantity data in the distribution network system. The compression and encryption module is used to compress and encrypt the electrical quantity data in the distribution network system after preprocessing. The secure transmission module is used to transmit the compressed and encrypted electrical quantity data in the distribution network system to the Internet of Things terminal using a secure transmission strategy. The decompression and decryption module is used to decompress the compressed and encrypted electrical quantity data in the distribution network system after the Internet of Things terminal receives the compressed and encrypted electrical quantity data in the distribution network system, and use the same key and encryption algorithm to decrypt the decompressed encrypted electrical quantity data in the distribution network system.

[0154] Furthermore, the compression and encryption module includes: a compression unit and an encryption unit. The compression unit is used to compress the electrical quantity data set in the distribution network system after preprocessing. The encryption unit is used to encrypt the electrical quantity data set in the distribution network system after compression.

[0155] Preferably, the system further comprises an electrical quantity calibration module, which is used for the IoT terminal to periodically send calibration signals to distributed sensors in the distribution network to ensure the accuracy of data transmission.

[0156] Example 3

[0157] See also Figure 3An embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of a method for data communication between distributed sensors in a distribution network and an Internet of Things terminal are implemented.

[0158] Example 4

[0159] An embodiment of the present invention provides a computer-readable storage medium on which computer instructions are stored. When the computer instructions are executed, the steps of the method for data communication between distributed sensors in a distribution network and Internet of Things terminals are executed.

[0160] Compared with the prior art, the beneficial effects of the present invention include at least:

[0161] 1. The present invention proposes a data communication method between distributed sensors in a distribution network and IoT terminals, which has the characteristics of high transmission rate and low latency and is suitable for real-time data transmission.

[0162] 2. The present invention proposes a data communication method between distributed sensors in a distribution network and IoT terminals. By selecting the optimal communication channel in a wireless network for data transmission, the method is not easily affected by electromagnetic interference, thereby improving the reliability of data transmission.

[0163] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0164] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0165] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0166] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0167] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

[0168] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A data communication method between a distributed sensor in a distribution network and an IoT terminal, characterized in that: The following steps are involved: S1: Install the distributed sensors in the distribution network system to collect the electrical quantity data in the distribution network system in real time; S2: pre-processing the collected electrical quantity data in the distribution network system; S3: compressing and encrypting the electrical quantity data in the distribution network system after preprocessing; S4: Using a secure transmission strategy, the compressed and encrypted electrical quantity data in the distribution network system is transmitted to the IoT terminal; S5: After receiving the compressed and encrypted electrical quantity data in the distribution network system, the IoT terminal decompresses the compressed and encrypted electrical quantity data in the distribution network system, and uses the same key and encryption algorithm to decrypt the decompressed encrypted electrical quantity data in the distribution network system.

2. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 1, characterized in that: The preprocessing in S2 includes: data calibration, removal of outliers and correction of missing values.

3. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 2, characterized in that: In S3, the electrical quantity data set A in the distribution network system after preprocessing is compressed according to the following formula: in, W represents the compressed electrical quantity data set in the distribution network system, μ t (j,k) represents the wavelet basis function, j represents the scale, k represents the translation parameter, N-1 represents the total translation length, a t Represents the electrical quantity data at the tth moment in the preprocessed electrical quantity data set A of the distribution network system.

4. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 3, characterized in that: In S3, the compressed electrical quantity data set W in the distribution network system is used to encrypt, and the encrypted electrical quantity data set W' in the distribution network system is obtained. In the encrypted electrical quantity data set W' in the distribution network system, m consecutive data starting from the qth position are intercepted, and a 1×m matrix T is randomly generated using a random function to transform the intercepted m data.

5. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 4, characterized in that: The specific formula for transforming the intercepted m data is: X=W′×T+C in, X represents the encrypted and compressed electrical quantity data set in the distribution network system. C represents the added noise.

6. The method for data communication between a distributed sensor in a distribution network and an IoT terminal according to any one of claims 1 to 5, characterized in that: In S4, utilizing a secure transmission strategy means selecting an optimal communication channel, and transmitting the compressed and encrypted electrical quantity data in the distribution network system to the IoT terminal via the optimal communication channel.

7. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 6, characterized in that: According to the following formula, the comprehensive priority of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated, and the max(YXJ i ) as the optimal communication channel between the distributed sensors in the distribution network and the IoT terminals: YXJ i =ω CQ ×CQ i +oh UD ×UD i +oh ST ×ST i +oh HU ×HU i in, YJ i represents the comprehensive priority of the i-th communication channel, CQ i represents the channel quality of the i-th communication channel, ST i represents the service type of the i-th communication channel, UD i represents the user demand of the i-th communication channel, HU i represents the historical usage of the i-th communication channel, ω CQ represents the weight of the channel quality of the i-th communication channel, ω UD represents the weight of the user demand of the i-th communication channel, ω ST represents the weight of the service type of the i-th communication channel, ω HU The weight representing the historical usage of the i-th communication channel.

8. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 7, characterized in that: The channel quality of the i-th communication channel from the distributed sensor in the distribution network to the IoT terminal is calculated according to the following formula: in, CQ i represents the channel quality of the i-th communication channel, SNR i represents the signal-to-noise ratio of the i-th communication channel, P represents the total number of communication channels.

9. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 7, characterized in that: The user demand for the i-th communication channel from the distributed sensor in the distribution network to the IoT terminal is calculated as follows: in, UD i represents the user demand of the i-th communication channel, D i represents the user data rate requirement of the i-th communication channel, L i represents the delay sensitivity coefficient, P represents the total number of communication channels.

10. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 7, characterized in that: The service type of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula: in, ST i represents the service type of the i-th communication channel, FWf i represents the service type priority of the i-th communication channel, P represents the total number of communication channels; The service type priority is determined based on the workload and processing efficiency of the communication channel.

11. The data communication method between the distributed sensor of the distribution network and the IoT terminal according to claim 7, characterized in that: The historical usage of the i-th communication channel from the distributed sensor of the distribution network to the IoT terminal is calculated according to the following formula: in, HU i represents the historical usage of the i-th communication channel, U i represents the historical usage value of the i-th communication channel, P represents the total number of communication channels; The historical usage value is determined based on the historical usage count of the communication channel.

12. A data communication system between a distributed sensor in a distribution network and an Internet of Things terminal, which is implemented based on the data communication method between a distributed sensor in a distribution network and an Internet of Things terminal according to any one of claims 1 to 11, characterized in that: include: Electrical quantity data acquisition module, preprocessing module, compression and encryption module, secure transmission module and decompression and decryption module; The electrical quantity data acquisition module is used for the distribution network distributed sensor to be installed in the distribution network system to collect the electrical quantity data in the distribution network system in real time; The preprocessing module is used to preprocess the collected electrical quantity data in the distribution network system; The compression and encryption module is used to compress and encrypt the electrical quantity data in the distribution network system after preprocessing; The secure transmission module is used to transmit the compressed and encrypted electrical quantity data in the distribution network system to the IoT terminal using a secure transmission strategy; The decompression and decryption module is used to decompress the compressed and encrypted electrical quantity data in the distribution network system after the Internet of Things terminal receives the compressed and encrypted electrical quantity data in the distribution network system, and use the same key and encryption algorithm to decrypt the decompressed encrypted electrical quantity data in the distribution network system.

13. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method for data communication between a distributed sensor in a distribution network and an Internet of Things terminal as described in any one of claims 1 to 11 are implemented.

14. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, the steps of the method for data communication between a distributed sensor in a distribution network and an Internet of Things terminal described in any one of claims 1 to 11 are executed.

Citation Information

Patent Citations

  • Power Internet of Things terminal control instruction encryption and decryption system and method

    CN113225371A

  • Intelligent power distribution network data secure transmission method and system and storage medium

    CN113259345A

  • Distributed intelligent sensing system and control method thereof

    CN113746905A

  • PLC module operation data transmission method and system based on data encryption

    CN117240610A