A method for transmitting abnormal data of distribution network equipment

By using location information to generate changing encryption keys and packet transmission methods in abnormal data transmission of distribution network equipment, the problem of insecure data transmission is solved, the security and privacy of data are improved, and information leakage is prevented.

CN115348050BActive Publication Date: 2024-08-23STATE GRID ZHEJIANG ELECTRIC POWER CO LTD JIAXING POWER SUPPLY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210730978.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-24
Publication Date
2024-08-23
Estimated Expiration
2042-06-24

AI Technical Summary

Technical Problem

The existing distribution network equipment anomaly detection data transmission lacks effective protection, which can easily lead to information leakage and affect the normal operation of the power grid.

Method used

By performing on-site verification of the device, a first encryption key based on location information and a second encryption key that changes accordingly are generated, the data packet is encrypted, and the packet transmission method is used for LAN transmission through the intranet base station. Ensure the security of data transmission.

Benefits of technology

It improves the security and privacy of data transmission, prevents information leakage, enhances the randomness and difficulty of cracking the key, and ensures the integrity of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348050B
    Figure CN115348050B
Patent Text Reader

Abstract

The present invention discloses a method for transmitting abnormal data of distribution network equipment, comprising the following steps: performing on-site verification on the equipment to determine whether the equipment is abnormal; marking the abnormal equipment to obtain a data packet after the equipment abnormality is integrated; setting a first encryption key based on the location information of the abnormal equipment, and setting a second encryption key through the first encryption key; encrypting the data packet with the second encryption key; and transmitting the encrypted data packet to a remote server; the present invention sets a first key and a second key, wherein the first key changes with the number of abnormal equipment and the location of the abnormal equipment, and the second key changes with the change of the first key, so that the randomness of the key is higher and it is more difficult to be cracked by the thief, thereby improving the security of the data; data transmission is performed in the form of setting the first data packet and the second data board, and even if the data is stolen midway, the data packet cannot be restored, thereby further improving the security of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power distribution networks, and in particular to a method for abnormal data transmission of power distribution network equipment. Background Art

[0002] As the terminal of intelligent information perception, the Internet of Things (Sensor Network) has become an important technical means to promote the development of smart grids. The Internet of Things integrates information collection, transmission and processing, and integrates sensor technology, embedded computing technology, wireless communication technology and distributed information processing technology. By deploying a large number of sensors in the monitoring area and forming a multi-hop, self-organizing network system through various communication methods, it can effectively perceive, collect and process perceptible object information in the network coverage area, and send it to the user terminal device for further processing and application, realizing the connection between the physical world, the information world and behavioral cognition.

[0003] However, sensors are often deployed in open and uninhabited areas. After a long period of working, various faults are prone to occur, resulting in inaccurate monitoring data. The comprehensive replacement of sensors requires a lot of time and manpower costs. Therefore, in order to improve the effectiveness and accuracy of sensor data collection, it is necessary to detect the status of the sensor itself. However, the transmission of data often leads to information theft, which seriously endangers the normal operation of the power grid. Therefore, it is necessary to effectively protect the transmitted detection data to prevent data leakage.

[0004] For example, Chinese patent CN202110276995.4 discloses a regional distribution network equipment management platform and its operation method. The first comparison module compares the received equipment operation node data with the corresponding normal data from the equipment information registration unit to determine the abnormal data information and the abnormal source location. Then the fault type prediction module determines the fault type of the equipment based on the abnormal data information and the abnormal source location. The fault level differentiation module determines the fault risk level of the equipment based on the fault type of the equipment. The second comparison module compares the fault risk level of the equipment with the entered fault risk threshold. When the fault risk level is greater than the fault risk threshold, the information is output to the receiving end through the fault risk information transmission module for alarm reminder. This application cannot accurately monitor the abnormalities of the equipment, and does not provide confidential protection for the information transmission of abnormal data, which is prone to information leakage. Summary of the invention

[0005] The present invention mainly solves the problem in the prior art that the lack of effective protection during the transmission of abnormal detection data of power grid equipment leads to easy information leakage; and provides a method for transmitting abnormal data of distribution network equipment to improve the security of data transmission and prevent information leakage.

[0006] The above technical problems of the present invention are mainly solved by the following technical solutions: A method for transmitting abnormal data of distribution network equipment, comprising the following steps: performing on-site verification of the equipment to determine whether the equipment is abnormal; marking the abnormal equipment to obtain a data packet after the equipment abnormality is integrated; setting a first encryption key based on the location information of the abnormal equipment, and setting a second encryption key through the first encryption key; encrypting the data packet using the second encryption key; and transmitting the encrypted data packet to a remote server. By encrypting the data packet, the data transmitted to the server is prevented from being intercepted midway, thereby improving the security of data transmission.

[0007] Preferably, the content of the data packet includes the location information of the device, the type of device failure, the time when the device failure occurred, the duration of the device failure, and the data information collected by the faulty device. The data content includes a variety of information, so that after receiving the transmitted data, the staff can respond to the faulty device in the first time, thereby improving work efficiency.

[0008] Preferably, the method for generating the first encryption key is:

[0009] S11: Obtaining coordinate information of each abnormal device according to the marking information of the abnormal device;

[0010] S12: Obtaining coordinate information of the communication base station and a straight-line distance r between the abnormal device closest to the communication base station and the communication base station;

[0011] S13: according to the number m of abnormal devices, a communication circle is set with the communication base station as the circle point and m×r as the radius;

[0012] S14: The coordinates of abnormal devices within the communication circle are included in set A, and the coordinates of abnormal devices outside the communication circle are included in set B;

[0013] S15: If the number of elements N in set A is greater than the number of elements M in set B, N is converted into binary and used as the first encryption key, otherwise, M is converted into binary and used as the first encryption key. When the number of abnormal devices changes or the distance of abnormal devices changes, the first key changes, making the key more secure.

[0014] Preferably, the second key is generated by:

[0015] S21: Obtain the number of "1"s in the first encryption key, denoted as H;

[0016] S22: Generate a second key using the RSA algorithm. The second key changes with the change of the first key, improving the randomness of the key, making the key more difficult to obtain and more secure.

[0017] Preferably, the method for performing on-site calibration of the equipment includes:

[0018] S31: Acquire collection items Y of the same type of equipment within time T, and construct a T×Y relationship matrix;

[0019] S32: Obtain data information of the current detection device, divide the detection interval based on the time window function, compare the data information in the detection interval with the corresponding elements of the relationship matrix, and if it exceeds the threshold range, mark it as an abnormal device, otherwise it is a normal device.

[0020] Preferably, an intranet base station is further included, and after the data packet is transmitted to the intranet base station in a packet-by-packet manner, the intranet base station verifies and reintegrates the data packet and then sends the data packet to the remote server via a local area network.

[0021] Preferably, the method for packet subpackaging includes: the intranet base station transmits the data transmission instruction of the remote server and sends the subpackaging instruction at the same time, the subpackaging instruction carries the subpackaging key G, G is a string of binary codes, and the data packet is split and processed according to the number of "1" in the binary code to form a number of first data packets; the data sender supplements the second data packet according to the number of "0" in the binary code, and sends the first data packet and the second data packet in sequence according to the order of the binary code; the intranet base station obtains all the first data packets and the second data packets, and removes the second data packet according to the key G to obtain a complete data packet. By setting the first data packet and the second data board for data transmission, even if the data is stolen in the middle, the data packet cannot be restored, which further improves the security of data transmission.

[0022] The beneficial effects of the present invention are: (1) by setting a first key and a second key, the first key changes with the change of the number and location of abnormal devices, and the second key changes with the change of the first key, so that the key is more random and more difficult to be cracked by thieves, thereby improving the security of data; (2) by setting an intranet base station, data transmission is converted from external network transmission to internal LAN transmission, thereby improving privacy and security; (3) by setting a first data packet and a second data board for data transmission, even if the data is stolen in the middle, the data packet cannot be restored, thereby further improving the security of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a flowchart of a data transmission method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0025] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution in the embodiments of the present invention is further described in detail through the following embodiments and in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the invention.

[0026] Embodiment: A method for transmitting abnormal data of distribution network equipment, such as Figure 1 As shown, the following steps are included:

[0027] S1: Perform on-site calibration on the equipment to determine whether the equipment is abnormal. The method of performing on-site calibration on the equipment includes:

[0028] S31: Acquire collection items Y of the same type of equipment within time T, and construct a T×Y relationship matrix;

[0029] S32: Obtain data information of the current detection device, divide the detection interval based on the time window function, compare the data information in the detection interval with the corresponding elements of the relationship matrix, and if it exceeds the threshold range, mark it as an abnormal device, otherwise it is a normal device.

[0030] S2: Mark the abnormal devices and obtain a data packet after the device abnormality is integrated; the content of the data packet includes the location information of the device, the fault type of the device, the time when the device fault occurred, the duration of the device fault, and the data information collected by the faulty device.

[0031] S3: Setting a first encryption key based on the location information of the abnormal device, and setting a second encryption key by using the first encryption key; the first encryption key is generated by:

[0032] S11: Obtaining coordinate information of each abnormal device according to the marking information of the abnormal device;

[0033] S12: Obtaining coordinate information of the communication base station and a straight-line distance r between the abnormal device closest to the communication base station and the communication base station;

[0034] S13: according to the number m of abnormal devices, a communication circle is set with the communication base station as the circle point and m×r as the radius;

[0035] S14: The coordinates of abnormal devices within the communication circle are included in set A, and the coordinates of abnormal devices outside the communication circle are included in set B;

[0036] S15: If the number of elements N in set A is greater than the number of elements M in set B, N is converted into binary and used as the first encryption key; otherwise, M is converted into binary and used as the first encryption key.

[0037] The second key is generated as follows:

[0038] S21: Obtain the number of "1"s in the first encryption key, denoted as H;

[0039] S22: Generate a second key using the RSA algorithm.

[0040] S4: Encrypt the data packet using the second encryption key; when encrypting using the second key, add the timestamp of the key package to the data packet, so that the information of the data packet can be easily understood through the timestamp during subsequent decryption, and the data packet can be easily found during subsequent search.

[0041] S5: passing the encrypted data packet to the remote server; setting an intranet base station between the communication base station and the remote server, after the data packet is passed to the intranet base station in a packet-by-packet manner, the intranet base station verifies and reintegrates the data packet and then sends the data packet to the remote server via the local area network, and the data packet packet subpacketization method includes: the intranet base station transmits the data transmission instruction of the remote server and simultaneously issues a subpacketization instruction, the subpacketization instruction carries a subpacketization key G, G is a string of binary codes, and the data packet is split and processed according to the number of "1"s in the binary code to form a plurality of first data packets; the data sender supplements the second data packet according to the number of "0"s in the binary code, and sends the first data packet and the second data packet in sequence according to the order of the binary code; the intranet base station obtains all the first data packets and the second data packets, and removes the second data packet according to the key G to obtain a complete data packet.

[0042] The device can be verified at the concentrator or device gateway. After verification, the device gateway records and marks the abnormal situation of the device. When each device gateway transmits the data of the abnormal device, it transmits it through the normal cycle gap of collected data. For example, the device gateway under normal conditions transmits the collected data of the sensor once every 5S. Then, the data of the abnormal device in the transmission gap does not occupy the normal communication. The data can be transmitted without hindering the transmission of regular data, making the data transmission faster and preventing channel congestion.

[0043] The present invention sets a first key and a second key. The first key changes with the number and location of abnormal devices, and the second key changes with the first key, so that the key has higher randomness and is more difficult to be cracked by thieves, thereby improving data security. By setting an intranet base station, data transmission is converted from external network transmission to internal LAN transmission, thereby improving privacy and security. By setting a first data packet and a second data board for data transmission, even if the data is stolen in the middle, the data packet cannot be restored, thereby further improving the security of data transmission.

[0044] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.

Claims

1. A method for transmitting abnormal data of distribution network equipment, characterized in that: The following steps are involved: Perform on-site verification on the device to determine whether the device is abnormal; mark the abnormal device to obtain a data packet after the device abnormality is integrated; set a first encryption key based on the location information of the abnormal device, and set a second encryption key through the first encryption key; use the second encryption key to encrypt the data packet; transmit the encrypted data packet to the remote server; the first encryption key is generated by: Obtaining coordinate information of each abnormal device according to the marking information of the abnormal device; Obtain the coordinate information of the communication base station and the straight-line distance r between the abnormal device closest to the communication base station and the communication base station; According to the number of abnormal devices m, a communication circle is set with the communication base station as the circle point and m×r as the radius; The coordinates of abnormal devices within the communication circle are included in set A, and the coordinates of abnormal devices outside the communication circle are included in set B; If the number of elements N in set A is greater than the number of elements M in set B, N is converted into binary and used as the first encryption key; otherwise, M is converted into binary and used as the first encryption key.

2. A method for transmitting abnormal data of distribution network equipment according to claim 1, characterized in that: The content of the data packet includes the location information of the device, the fault type of the device, the time when the device fault occurred, the duration of the device fault, and the data information collected by the faulty device.

3. A method for transmitting abnormal data of distribution network equipment according to claim 1, characterized in that: The second encryption key is generated by: S21: Obtain the number of "1"s in the first encryption key, denoted as H; S22: Generate a second encryption key using the RSA algorithm.

4. A method for transmitting abnormal data of distribution network equipment according to claim 1 or 2, characterized in that: Methods for on-site calibration of equipment include: S31: Acquire collection items Y of the same type of equipment within time T, and construct a T×Y relationship matrix; S32: Obtain data information of the current detection device, divide the detection interval based on the time window function, compare the data information in the detection interval with the corresponding elements of the relationship matrix, and if it exceeds the threshold range, mark it as an abnormal device, otherwise it is a normal device.

5. A method for transmitting abnormal data of distribution network equipment according to claim 1, characterized in that: It also includes an intranet base station. After the data packet is transmitted to the intranet base station in a packet-by-packet manner, the intranet base station verifies and reintegrates the data packet and then sends the data packet to a remote server via a local area network.

6. A method for transmitting abnormal data of distribution network equipment according to claim 5, characterized in that: The method for data packet subpackaging includes: an intranet base station transmits a data transmission instruction of a remote server and simultaneously issues a subpackaging instruction, the subpackaging instruction carries a subpackaging key G, G is a string of binary codes, and the data packet is split and processed according to the number of "1"s in the binary code to form a plurality of first data packets; a data sender supplements a second data packet according to the number of "0"s in the binary code, and sends the first data packet and the second data packet in sequence according to the order of the binary code; the intranet base station obtains all the first data packets and the second data packets, and removes the second data packet according to the key G to obtain a complete data packet.