Double confirmation setting modification method and system for relay protection device based on blockchain
Through the blockchain-based dual confirmation fixed value modification method, the problem of cumbersome and error-prone fixed value management of relay protection devices is solved, and efficient management of fixed value files and the safety and reliability of the protection device operation are realized.
Patent Information
- Application Number
- CN202111480595.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-06
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2041-12-06
AI Technical Summary
The fixed value management mode of the existing relay protection device is cumbersome and prone to errors, resulting in erroneous or refusal, affecting the safe and stable operation of the power grid.
A blockchain-based dual confirmation fixed value modification method is adopted, and a strict one-to-one correspondence relationship is established by hash encryption of fixed value template files and fixed value files, and consistency verification is used to form a dual confirmation process for remote fixed value modification.
The workflow of setting the fixed value of the protection device is simplified, manpower and material resources are saved, the possibility of errors in manually inputting the fixed value is avoided, and the safety and reliability of the operation of the protection device is improved.
Smart Images

Figure CN114169001B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of relay protection device control, and in particular to a blockchain-based double-confirmation setting value modification method and system for relay protection devices. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] The setting of relay protection device is very important, which is related to whether the protection device can work normally. Once the protection setting is wrong, the protection device may malfunction or refuse to operate, which will further affect the safe and stable operation of the power grid. In serious cases, it may cause major accidents such as power grid instability and large-scale power outages for users.
[0004] Because the protection setting is very important, the management and setting requirements of the protection setting on site are very strict. In order to avoid errors in the protection device setting, the staff is currently required to use the manual operation device to input the setting one by one on site according to the protection setting list provided by the management department, and the remote loading setting is not allowed. And when entering the setting on site, one person must operate and one person must monitor to reduce the possibility of manual operation errors. Such protection setting management and operation mode has the following problems: 1) The work process is cumbersome and the work efficiency is low. To input or change the protection setting, the personnel must first arrive at the substation site, and before the operation, the work ticket and operation ticket must be issued in accordance with the regulations. When entering the setting, one person operates and the other monitors. The operator must state the operation content and the setting value, and the supervisor must repeat it. The whole work process is cumbersome and inefficient. Statistics show that the input and modification of the protection device setting accounts for 40% to 60% of the total workload of the relevant team; 2) The manual input setting method cannot completely avoid the possibility of errors. Although the operator + guardian working mode is adopted, the possibility of error in the setting of the protection device cannot be completely avoided. In actual field, it has been found many times that the setting in the protection device is inconsistent with the setting on the setting sheet provided by the management department. Summary of the invention
[0005] In order to solve at least one technical problem existing in the above-mentioned background technology, the present invention provides a method and system for modifying the set value of a relay protection device based on blockchain. After calculating the set value for each protection device, a corresponding set value file is generated, and the set value file is sent to the corresponding protection device with the help of a communication system to automatically complete the set value setting work. While the traditional manual confirmation of whether the set value setting is correct, a consistency verification method with the help of a blockchain network is added to form a "double confirmation", which can not only greatly simplify the workflow of the set value setting of the protection device, save manpower and material resources, but also fundamentally avoid the possibility of errors in relying on manual set value setting, and improve the safety and reliability of the operation and action of the protection device.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] The first aspect of the present invention provides a method for modifying a double-confirmation setting value of a relay protection device based on blockchain, which comprises:
[0008] Establish a protection information blockchain network, regard the control cloud platform as a full node in the blockchain network, and regard the protection device as a light node in the blockchain network;
[0009] Hash-encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, and establish a one-to-one correspondence between the fixed value template file and the protection device;
[0010] The fixed value template file is uploaded to the control cloud platform through the main station. The hash value of the fixed value template file is calculated on the control cloud platform and compared with the hash value of the fixed value template file stored in the blockchain for consistency check. After the check passes, the setting calculation is performed;
[0011] The complete set value file generated after the setting calculation is hashed and encrypted, and the hash value is stored in the blockchain. At the same time, the set value file is sent to the protection device. The hash value of the set value file is calculated on the protection device side and compared with the hash value of the set value file stored in the blockchain for consistency verification. After the verification, automatic setting and manual verification are performed to complete the double confirmation of the remote set value modification.
[0012] The second aspect of the present invention provides a double confirmation setting value modification system for relay protection devices based on blockchain, which includes: a control cloud platform, a protection device and a master station, wherein the control cloud platform, the protection device and the master station constitute a protection information blockchain network, wherein the control cloud platform is a full node in the blockchain network, and the protection device is a light node in the blockchain network;
[0013] The master station has the function of online monitoring and deployment of secondary equipment, and serves as a bridge for off-chain transmission of fixed value template files and fixed value files between the protection device and the control cloud platform;
[0014] The protection device can be used to hash and encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, establish a one-to-one correspondence between the fixed value template file and the protection device, and upload the fixed value template file to the control cloud platform via the master station;
[0015] The control cloud platform can be used to calculate the hash value of the fixed value template file and compare it with the hash value of the fixed value template file stored in the blockchain to perform consistency verification, and perform setting calculation after the verification passes; perform hash encryption on the complete fixed value file generated after the setting calculation, and store the hash value in the blockchain, and send the fixed value file to the protection device at the same time;
[0016] The protection device can also be used to calculate the hash value of the fixed value file and compare it with the hash value of the fixed value file stored in the blockchain to perform consistency verification. After the verification, automatic adjustment and manual verification are performed to complete the double confirmation of the remote fixed value modification.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] (1) The present invention uses the encryption and anti-counterfeiting function of the blockchain hash algorithm to establish a strict one-to-one correspondence between the fixed value file and the protection device, fundamentally avoiding the possibility of errors in the correspondence between the fixed value file and the protection device, and improving the reliability and efficiency of fixed value file management.
[0019] (2) The present invention utilizes the encryption and anti-counterfeiting function of the blockchain hash algorithm to verify the correctness of the set value template file on the control cloud platform and to detect the correctness of the set value file on the protection device side, thereby facilitating timely detection of damage or errors in the set value template file and the set value file, and further improving the security and reliability of the set value setting of the protection device.
[0020] (3) The present invention uploads the hash value of the file as identification information to the chain. The file is "confirmed", "anchored" and "addressed" on the chain. The plain text is transmitted off-chain and mutually verified with the chain, thus achieving a balance in terms of cost, efficiency, and privacy security.
[0021] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0023] Figure 1 It is a schematic diagram of a double confirmation setting value modification method of a relay protection device based on blockchain in an embodiment of the present invention;
[0024] Figure 2 It is a flow chart of consistency check on the control cloud platform side in the double confirmation setting value modification method of the relay protection device based on blockchain in an embodiment of the present invention;
[0025] Figure 3 It is a flow chart of the consistency check on the protection device side in the blockchain-based double confirmation setting modification method of the relay protection device in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0027] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0028] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0029] Embodiment 1
[0030] In order to solve the problems mentioned in the background technology, an effective way is to automatically adjust the protection device. Obtain the set value template file from the protection device side, calculate the set value for each protection device on the control cloud platform, generate the corresponding set value file, and then send the set value file to the corresponding protection device to automatically complete the set value setting work. This can not only greatly simplify the workflow of the set value setting of the protection device and save manpower and material resources, but also fundamentally avoid the possibility of errors in manual set value setting, and improve the safety and reliability of the operation and action of the protection device.
[0031] Of course, there are certain risks in using the automatic setting method. For example, if the correspondence between the setting file and the protection device is wrong, the protection device will be set to the wrong setting, which has serious consequences. In addition, the setting file may be wrong or damaged during the remote transmission process, which may also cause the protection device to set the wrong setting or fail to automatically set, bringing greater risks to the correct operation of the protection device.
[0032] In order to improve the safety and reliability of the automatic setting of the protection device setting value, the protection setting value file must be managed efficiently and reliably to ensure that the correspondence between the setting value file and the protection device is correct, and to automatically replace the damaged setting value template file or setting value file. While relying on traditional manual confirmation of whether the setting value is correct, the present invention adds a consistency verification method with the help of the blockchain network, forming a "double confirmation".
[0033] Reference Figure 1 , a method for modifying a relay protection device's double confirmation setting value based on blockchain in this embodiment specifically includes the following steps:
[0034] Step S101: Establish a protection information blockchain network, regard the control cloud platform as a full node in the blockchain network, and regard the protection device as a light node in the blockchain network.
[0035] Among them, the control cloud platform is regarded as a full node in the blockchain network, which stores the complete data of the blockchain network; the protection device terminal is regarded as a light node in the blockchain network, which stores the data related to the protection device in the blockchain network; all nodes have identification storage and address verification functions.
[0036] Because the blockchain network has extremely strong anti-tampering, anti-error characteristics and traceability, the information stored in the blockchain can be guaranteed to be accurate; when it is necessary to obtain identification information from the blockchain network, the correctness of the information source can also be guaranteed.
[0037] Step S102: Hash-encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, and establish a one-to-one correspondence between the fixed value template file and the protection device.
[0038] Specifically, the setting template file generally contains device information, file information, and setting list information. Device information includes but is not limited to the name of the protection device, device model and software version number, manufacturer, device commissioning time, etc.; file information includes but is not limited to the name of the protected primary equipment, setting list number, file preparation date, transformer ratio parameter setting, etc.; setting list information includes but is not limited to the setting area code, setting details, including setting name, data type, setting unit, setting value range and modification step, etc.
[0039] The set value template file is generated according to the set value content of each protection device.
[0040] The set value template file uses the E file or XML file format, and the protection device outputs the set value template file in the form of soft message.
[0041] There are a large number of protection devices in the power grid, involving different manufacturers and brands. Even for protection devices from the same manufacturer and brand, the contents of the setting template files will be different due to different device models or software versions.
[0042] The MD5 algorithm is used to calculate the content in the fixed value template file to obtain a set of 128-bit hash values. The content of the fixed value template files corresponding to different protection devices will not be the same and is unique; the MD5 algorithm can ensure that the hash value corresponding to each fixed value template file is also unique. In this way, the one-to-one correspondence between the value template file and the protection device is determined, providing a guarantee for the accurate point-to-point transmission of information.
[0043] According to the data transmission protocol of the blockchain, after any block data is generated, it will be broadcast by the node that generates the data to all other nodes in the entire network. Therefore, after the hash value of the fixed value template file is uploaded to the protection device node, it will be broadcast to the control cloud platform node and stored in the control cloud platform node.
[0044] Step S103: Upload the fixed value template file to the control cloud platform via the main station, calculate the hash value of the fixed value template file on the control cloud platform side and compare it with the hash value of the fixed value template file stored in the blockchain for consistency check. After the check passes, the setting calculation is performed, such as Figure 2 shown.
[0045] Among them, the consistency check is that when the control cloud platform receives the fixed value template file, it uses the same encryption algorithm as the protection device side (such as the MD5 algorithm) to calculate the hash value of the fixed value template file, and compares it with the hash value saved in the blockchain. If the two are the same, the consistency check passes; if the two are different, it means that an error occurs in the transmission process of the fixed value template file. The control cloud platform will send a request to the protection device side to re-obtain the fixed value template file from the protection device side until the consistency check passes.
[0046] After passing the consistency check, the set value is calculated for each protection device through the setting calculation application on the control cloud platform, and the set value calculation result is filled in the set value template file provided by the corresponding protection device to generate a complete set value file; the hash value is calculated again according to the content of the set value file and stored in the blockchain as the identifier of the set value file.
[0047] Similarly, according to the data dissemination protocol of the blockchain, the hash value of the fixed value file will be broadcast to the protection device node and stored in the protection device node after it is uploaded to the control cloud platform node.
[0048] Step S104: Hash the complete setting file generated after the setting calculation, and store the hash value in the blockchain. At the same time, the setting file is sent to the protection device. The hash value of the setting file is calculated on the protection device side and compared with the hash value of the setting file stored in the blockchain for consistency verification. After the verification, automatic setting and manual verification are performed to complete the double confirmation of the remote setting modification. Figure 3 shown.
[0049] Specifically, during the consistency check on the protection device side, if the hash value of the calculated fixed value file is consistent with the hash value of the fixed value file stored in the blockchain, it indicates that the fixed value file is correct, otherwise it is considered that the fixed value file is wrong.
[0050] If there is an error in the set value file, the protection device sends a set value file transmission request to the control cloud platform through the main station. The control cloud platform responds to the request of the protection device, re-sends the set value file to the protection device, and performs consistency check on the set value file again until the set value file is correct.
[0051] The display of the protection device can also display the calculated hash value and set value items on site, which is convenient for the operator to view. When the protection device completes the automatic setting, the set value list can be printed out through the local printer, which is convenient for the operator to view and check the set value list on site to ensure that the set value is accurate and finally complete the double confirmation of the remote set value modification.
[0052] Embodiment 2
[0053] This embodiment provides a double confirmation setting value modification system for relay protection devices based on blockchain, which includes: a control cloud platform, a protection device and a master station, wherein the control cloud platform, the protection device and the master station constitute a protection information blockchain network, wherein the control cloud platform is a full node in the blockchain network, and the protection device is a light node in the blockchain network;
[0054] The master station has the function of online monitoring and deployment of secondary equipment, and serves as a bridge for off-chain transmission of fixed value template files and fixed value files between the protection device and the control cloud platform;
[0055] The protection device can be used to hash and encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, establish a one-to-one correspondence between the fixed value template file and the protection device, and upload the fixed value template file to the control cloud platform via the master station;
[0056] The control cloud platform can be used to calculate the hash value of the fixed value template file and compare it with the hash value of the fixed value template file stored in the blockchain to perform consistency verification, and perform setting calculation after the verification passes; perform hash encryption on the complete fixed value file generated after the setting calculation, and store the hash value in the blockchain, and send the fixed value file to the protection device at the same time;
[0057] The protection device can also be used to calculate the hash value of the fixed value file and compare it with the hash value of the fixed value file stored in the blockchain to perform consistency verification. After the verification, automatic adjustment and manual verification are performed to complete the double confirmation of the remote fixed value modification.
[0058] In this embodiment, the set value template file is generated according to the set value content of each protection device.
[0059] Specifically, during the consistency check on the control cloud platform side, if the hash value of the calculated fixed value template file is consistent with the hash value of the fixed value template file stored in the blockchain, it indicates that the fixed value template file is correct, otherwise it is considered that the fixed value template file is wrong.
[0060] If there is an error in the fixed value template file, the control cloud platform sends a fixed value file transmission request to the protection device through the main station. The protection device responds to the request of the control cloud platform, re-uploads the fixed value template file to the control cloud platform, and performs a consistency check on the fixed value template file again until the fixed value template file is correct.
[0061] Specifically, during the consistency check on the protection device side, if the hash value of the calculated fixed value file is consistent with the hash value of the fixed value file stored in the blockchain, it indicates that the fixed value file is correct, otherwise it is considered that the fixed value file is wrong.
[0062] If there is an error in the set value file, the protection device sends a set value file transmission request to the control cloud platform through the main station. The control cloud platform responds to the request of the protection device, re-sends the set value file to the protection device, and performs consistency check on the set value file again until the set value file is correct.
[0063] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A double confirmation setting value modification method for relay protection device based on blockchain, characterized in that: include: Establish a protection information blockchain network, with the control cloud platform as a full node in the blockchain network and the protection device as a light node in the blockchain network; Hash-encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, and establish a one-to-one correspondence between the fixed value template file and the protection device; The fixed value template file is uploaded to the control cloud platform through the main station. The hash value of the fixed value template file is calculated on the control cloud platform and compared with the hash value of the fixed value template file stored in the blockchain for consistency check. After the check passes, the setting calculation is performed; The complete set value file generated after the setting calculation is hashed and encrypted, and the hash value is stored in the blockchain. At the same time, the set value file is sent to the protection device. The hash value of the set value file is calculated on the protection device side and compared with the hash value of the set value file stored in the blockchain for consistency verification. After the verification, automatic setting and manual verification are performed to complete the double confirmation of the remote set value modification.
2. The method for modifying the double confirmation setting value of a relay protection device based on blockchain according to claim 1 is characterized in that: The set value template file is generated according to the set value content of each protection device.
3. The method for modifying the double confirmation setting value of a relay protection device based on blockchain according to claim 1 is characterized in that: During the consistency check on the control cloud platform side, if the hash value of the calculated fixed value template file is consistent with the hash value of the fixed value template file saved in the blockchain, it indicates that the fixed value template file is correct, otherwise it is considered that the fixed value template file is wrong.
4. The method for modifying the double confirmation setting value of a relay protection device based on blockchain as claimed in claim 3 is characterized in that: If there is an error in the fixed value template file, the control cloud platform sends a fixed value file transmission request to the protection device through the main station. The protection device responds to the request of the control cloud platform, re-uploads the fixed value template file to the control cloud platform, and performs a consistency check on the fixed value template file again until the fixed value template file is correct.
5. The method for modifying the double confirmation setting value of a relay protection device based on blockchain according to claim 1, characterized in that: During the consistency check on the protection device side, if the hash value of the calculated fixed value file is consistent with the hash value of the fixed value file stored in the blockchain, it indicates that the fixed value file is correct, otherwise it is considered that the fixed value file is wrong.
6. The method for modifying the double confirmation setting value of a relay protection device based on blockchain according to claim 5 is characterized in that: If there is an error in the set value file, the protection device sends a set value file transmission request to the control cloud platform through the main station. The control cloud platform responds to the request of the protection device, re-sends the set value file to the protection device, and performs consistency check on the set value file again until the set value file is correct.
7. The method for modifying the double confirmation setting value of a relay protection device based on blockchain according to claim 1 is characterized in that: All nodes in the blockchain network have identification storage and address verification functions.
8. The method for modifying the double confirmation setting value of a relay protection device based on blockchain as claimed in claim 1 is characterized in that: The set value template file uses the E file or XML file format, and the protection device outputs the set value template file in the form of soft message.
9. A double confirmation setting value modification system for relay protection device based on blockchain, characterized in that: include: A control cloud platform, a protection device and a main station, wherein the control cloud platform, the protection device and the main station constitute a protection information blockchain network, wherein the control cloud platform is a full node in the blockchain network, and the protection device is a light node in the blockchain network; The master station has the function of online monitoring and deployment of secondary equipment, and serves as a bridge for off-chain transmission of fixed value template files and fixed value files between the protection device and the control cloud platform; The protection device is used to hash and encrypt the fixed value template file, obtain the hash value of the fixed value template file and store it in the blockchain, establish a one-to-one correspondence between the fixed value template file and the protection device, and upload the fixed value template file to the control cloud platform via the master station; The control cloud platform is used to calculate the hash value of the fixed value template file and compare it with the hash value of the fixed value template file stored in the blockchain to perform consistency check, and perform setting calculation after the check passes; the complete fixed value file generated after the setting calculation is hashed and encrypted, and the hash value is stored in the blockchain, and the fixed value file is sent to the protection device at the same time; The protection device is also used to calculate the hash value of the fixed value file and compare it with the hash value of the fixed value file stored in the blockchain to perform consistency verification. After the verification, automatic adjustment and manual verification are performed to complete the double confirmation of the remote fixed value modification.
10. The blockchain-based relay protection device double confirmation setting value modification system according to claim 9, characterized in that: The set value template file is generated according to the set value content of each protection device.
Citation Information
Patent Citations
Relay protection device fixed value distant checking method
CN110165631A
Block chain-based relay protection setting value confirmation method and system
CN113592669A