A method and system for secure storage of power system zones 1 and 3 based on blockchain technology
Patent Information
- Application Number
- CN202511310669.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-15
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2045-09-15
AI Technical Summary
其不足之处在于只考虑的数据的交互过程,未考虑数据传输过程中数据的完整性、安全性
[0041] Compared with the prior art, the beneficial effects of the present invention include at least the following:
Smart Images

Figure CN121233666B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power system data storage and information security technology. More specifically, it relates to a method and system for storing a three-zone model of a power system using blockchain technology, ensuring model storage consistency, security, and cross-zone transmission accuracy. Background Technology
[0002] In power systems, the division into three zones (Zone 1 and Zone 3) is crucial for ensuring the safety and functionality of system operation. Zone 1, as the production control zone, directly involves the real-time control and monitoring of power production, and its data security and real-time requirements are extremely high. Zone 3, as the management information zone, is mainly responsible for the management and operation-related affairs of the power company. Traditional power system model storage management methods have many problems in a Zone 1-3 environment. For example, the transmission of model data from Zone 3 to Zone 1 faces the complexity of format conversion and security verification; the consistency of model data between different zones is difficult to guarantee; and in a distributed storage environment, data is vulnerable to risks such as unauthorized access, tampering, and chaotic version management. The distributed ledger, encryption algorithms, and consensus mechanisms of blockchain technology provide a new opportunity to solve these problems.
[0003] Prior art document 1 (CN102097859A) discloses a method, system, and medium for intelligent interaction between the three zones of a power grid control system. Its shortcoming is that it only considers the data interaction process and does not address the integrity and security of data during data transmission. Summary of the Invention
[0004] To address the shortcomings of existing technologies, this invention provides a power system zone I-III model storage management method based on blockchain technology. This method enables secure and efficient transmission and storage of the model from zone I to zone III, ensuring the consistency of the zone I-III models and improving the overall reliability and security of power system model management.
[0005] The present invention adopts the following technical solution.
[0006] The first aspect of this invention provides a method for secure storage of power systems in three zones based on blockchain technology, comprising:
[0007] Set up a unified model data structure for Zone I and Zone III of the power system, and use blockchain node software to configure the node parameters and network link relationships for Zone I and Zone III.
[0008] The model in Zone I is converted into a specified format, and the attributes of the model in Zone I and the specified format of the model in Zone I are packaged together to form a model package of Zone I to be transmitted and sent to the Zone I sending node of the blockchain transmission channel.
[0009] The model package of Zone I is encrypted by the sending node of Zone I and broadcast to the blockchain network. The blockchain network verifies the data package through a smart contract. If the verification fails, the blockchain network generates a failure report and sends it to Zone I through the blockchain transmission channel. If the verification passes, the consensus mechanism reaches the approval of most nodes and then records the model package of Zone I to the blockchain ledger and pushes the model package of Zone I to the receiving node of Zone III.
[0010] The model in Zone III is updated based on the model package in Zone I, and the consistency of the models in Zone I and Zone III is checked and corrected based on the blockchain ledger, resulting in a data-consistent model in Zone I and a model in Zone III.
[0011] Preferably, the unified model data structure for setting up power system Zone I and Zone III includes:
[0012] The unified model for Zone I and Zone III of the power system is divided into multiple sub-models;
[0013] Set the properties of each sub-model, set the format conversion tool for each sub-model, and set the data check code calculation tool;
[0014] Set global identifier generation rules that adapt to the regional characteristics of Zone I and Zone III, and generate a unique global identifier for each sub-model based on the global identifier generation rules.
[0015] Preferably, configuring the node parameters and network link relationships in Zone I and Zone III using blockchain node software includes:
[0016] Deploy blockchain node software in the networks of Zone I and Zone III. Configure node parameters and adjust attributes in each sub-model according to the different security levels and functional requirements of Zones I and III.
[0017] By setting up blockchain node software, nodes are configured in the corresponding sub-models of the blockchain transmission channel between Zone I and Zone III. The identities and permissions of the nodes are set, and encrypted transmission channels and network links between the nodes are established.
[0018] Preferably, the step of converting the model of Zone I into a specified format, packaging the attributes of the model of Zone I and the model of Zone I in the specified format to form a model package of Zone I to be transmitted, and sending it to the Zone I sending node of the blockchain transmission channel includes:
[0019] The data check code is calculated using the data check code calculation tool set for each sub-model of the model in Zone I, thus obtaining the data check code for each sub-model in Zone I;
[0020] The format conversion tool set for each sub-model of the model in area I is used to convert the data corresponding to each sub-model into the specified format, thus obtaining the model of area I in the specified format;
[0021] Simultaneously, the attributes, global identifiers, and data check codes of each sub-model in Zone I are associated and packaged with the models in Zone I in the specified format. During the packaging process, the identification information of Zone I is added to form a data packet to be transmitted.
[0022] The data packets to be transmitted are pre-verified locally to obtain the model packets of Zone I. Then, the model packets of Zone I are sent to the Zone I sending node of the blockchain transmission channel.
[0023] Preferably, the step of encrypting the model packet of zone I through the zone I sending node and broadcasting it to the blockchain network, and the blockchain network verifying the data packet through a smart contract, includes:
[0024] In Zone I, the sending node performs integrity encryption and signature on the model package in Zone I and encapsulates it into a blockchain data packet;
[0025] Blockchain data packets are transmitted unidirectionally to the blockchain network through a forward isolation device. Nodes in the blockchain network use smart contracts to verify the received data packets according to preset verification rules and obtain the verification results.
[0026] Preferably, the step of generating a failure report via the blockchain network and sending it to Zone I via the blockchain transmission channel includes:
[0027] The blockchain network sends a failure report generated by a smart contract to Zone I, notifying Zone I to correct the data and resend the data. At the same time, the current state of the model in Zone III is recorded in the blockchain ledger to maintain the existing state of the model in Zone III until the anomaly is resolved. If either the process of correcting and resending data in Zone I exceeds a set time or the process of correcting and resending data in Zone I exceeds a set number of times, the smart contract will automatically determine that the anomaly is ongoing and switch the data transmission between Zone I and Zone III to the backup data transmission channel.
[0028] Preferably, updating the model in region III based on the model package in region I includes:
[0029] After receiving the model packet from Zone I pushed by the blockchain network, the receiving node in Zone III unpacks the model packet from Zone I and extracts the model from Zone I.
[0030] Based on the global identifier, check if the corresponding model in zone I exists locally, and then select the model in zone III to update or store the model in zone I.
[0031] After updating the model in Zone III or adding a model in Zone I, Zone III recalculates the checksum of the model in Zone I and compares it with the checksum in the model package in Zone I. If the checksums match, the local attributes of the model in Zone III are updated, and the source of the model update in Zone III is recorded as Zone I. If the checksums do not match, the exception handling process is initiated, and the original model package in Zone I is retrieved from the blockchain ledger for re-verification.
[0032] Preferably, the step of searching for the existence of a model in region I locally based on the global identifier, selecting the model in region III to update or store the model in region I, includes:
[0033] If a model for the corresponding area I exists locally, the local model data is compared with the version number of the extracted model in area I. If the version number of the model in area I is higher than the version number of the local model data and the verification code of the model in area I passes the verification, the model in area III is updated according to the model in area I. If the model in area I does not exist, the model in area I is stored in the model in area III according to the local data structure.
[0034] Preferably, the step of performing consistency checks and corrections on the models of Zone I and Zone III based on the blockchain ledger includes:
[0035] The models in Zone I and Zone III are checked for consistency based on the blockchain ledger. If the data of the models in Zone I and Zone III are found to be inconsistent, the smart contract is automatically triggered to execute the synchronization adjustment process. The models in Zone I and Zone III are compared based on the historical data recorded in the blockchain ledger. Using the model data in Zone I as a benchmark, the correct model in Zone I is pushed to Zone III through the blockchain network to correct the model in Zone III.
[0036] The second aspect of the present invention provides a three-zone secure storage system for a power system based on blockchain technology, which operates the three-zone secure storage method for a power system based on blockchain technology described in the first aspect, comprising:
[0037] The model setting module for Zone I / III is used to set the unified model data structure for Zone I and Zone III of the power system, and uses blockchain node software to configure the node parameters and network link relationships for Zone I and Zone III.
[0038] The model acquisition module of Zone I is used to convert the models of Zone I into a specified format, package the attributes of the models of Zone I and the models of Zone I in the specified format, form a model package of Zone I to be transmitted, and send it to the Zone I sending node of the blockchain transmission channel.
[0039] The blockchain transmission module is used to encrypt the model package of Zone I and broadcast it to the blockchain network through the sending node of Zone I. The blockchain network verifies the data package through a smart contract. If the verification fails, the blockchain network generates a failure report and sends it to Zone I through the blockchain transmission channel. If the verification passes, the consensus mechanism reaches the approval of most nodes and then records the model package of Zone I to the blockchain ledger and pushes the model package of Zone I to the receiving node of Zone III.
[0040] The consistency correction module is used to update the model in zone III based on the model package in zone I, and to perform consistency checks and corrections on the models in zone I and zone III based on the blockchain ledger, so as to obtain data-consistent models in zone I and zone III.
[0041] Compared with the prior art, the beneficial effects of the present invention include at least the following:
[0042] This invention records data in Zone I and Zone III by combining an immutable blockchain ledger established by a blockchain network with multi-node consensus verification, thereby achieving immutable cross-zone data storage. The immutable blockchain ledger ensures data consistency between Zone I and Zone III, improves the reliability of model synchronization, and reduces the risk of data tampering.
[0043] By verifying the cryptographic signature of data packets and Zone I permissions through smart contracts on the blockchain network, the rate of illegal access to data in Zones I and III is reduced, thereby improving the security of data stored in Zones I and III of the power system.
[0044] End-to-end encryption of model transmission is achieved through blockchain nodes, which improves encryption efficiency and reduces transmission latency.
[0045] This invention enables secure and efficient transmission and storage of models from Zone I to Zone III, ensuring consistency between the models in Zones I and III, and improving the overall reliability and security of power system model management. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of the process of secure storage in a power system based on blockchain technology in accordance with an embodiment of the present invention;
[0047] Figure 2 This is a schematic diagram of the verification process of the model package in region I provided according to an embodiment of the present invention. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this invention. The described embodiments are merely some embodiments of this invention, and not all embodiments. Based on the spirit of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this invention.
[0049] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for secure storage of power systems in three zones based on blockchain technology, comprising the following steps:
[0050] Step 1: Set up a unified model data structure for Zone I and Zone III of the power system, and use blockchain node software to configure the node parameters and network link relationships for Zone I and Zone III.
[0051] In a preferred but non-limiting embodiment of the present invention, step 1 includes:
[0052] Step 1.1: Set up a unified model data structure for power system zone I and zone III.
[0053] More preferably, step 1.1 includes:
[0054] Step 1.1.1: Divide the unified model of power system zone I and zone III into multiple sub-models. These sub-models include, but are not limited to, a power grid topology model, an equipment parameter model, an operating status model, and a data acquisition model. The power grid topology model includes primary equipment models, connection node models, and topology relationship data based on IEEE 61970. The equipment parameter model includes detailed parameters of primary equipment. The operating status model includes real-time operating data, such as, but not limited to, bus voltage, frequency, and active and reactive power of lines and transformers. The data acquisition model includes information such as the IP address and connection port of substations.
[0055] Step 1.1.2: Set each sub-model to include attributes such as the corresponding sub-model name, version number, creation time, update time, data source region, access control field, and sub-model data content; set a format conversion tool for each sub-model data to convert between CIME format or other specified formats; and a data checksum calculation tool.
[0056] Step 1.1.3 sets global identifier generation rules to adapt to the regional characteristics of Zone I and Zone III, generating a unique global identifier for each sub-model for the attributes set in Step 1.1.2.
[0057] More preferably, step 1.1.3 includes:
[0058] Set up global identifier generation rules that adapt to the regional characteristics of Zone I and Zone III. Generate a unique global identifier for each sub-model that sets the attributes in step 1.1.2. The unique global identifier is, for example, but not limited to, a hash value based on the key attributes of the model. The unique global identifier is consistent in the corresponding sub-models of Zone I and Zone III, and is used to accurately identify and associate the same model in different regions.
[0059] Step 1.2: Using blockchain node software, configure the node parameters and network link relationships required for blockchain node transmission in Zones I and III according to the security level and functional requirements of Zones I and III.
[0060] More preferably, step 1.2 includes:
[0061] Step 1.2.1: Deploy blockchain node software in the unified model of Zone I and Zone III of the power system. Configure node parameters in the blockchain node software according to the different security levels and functional requirements of Zone I and Zone III. The parameters include, but are not limited to, network connection parameters, encryption algorithm parameters, and consensus mechanism parameters. Adjust the attributes in each sub-model, such as, but not limited to, access control fields, for regional adaptability.
[0062] Among them, network connection parameters include, but are not limited to, node name, node name and connection port; encryption algorithm parameters include different encryption algorithm types, such as, but not limited to, general encryption algorithms and national cryptographic encryption algorithms; consensus mechanism parameters include signature method type and certificate storage location.
[0063] Step 1.2.2: Data from different sub-models may be stored on different nodes. Different network link relationships need to be configured for different sub-models. The blockchain node software is used to set the nodes of the blockchain transmission channel between the corresponding sub-models in Zone I and Zone III. The nodes include relay nodes and supervisory nodes. The identity and permissions of the nodes are set, and encrypted communication links between the nodes are established.
[0064] Step 2: Convert the model of Zone I into a format suitable for receiving in Zone III, and send the attributes of the model of Zone I and the model of Zone I suitable for receiving in Zone III to the Zone I sending node of the blockchain transmission channel.
[0065] In a preferred but non-limiting embodiment of the present invention, step 2 includes:
[0066] Step 2.1: When updating or creating a model in Zone I, the data check code is calculated using the data check code calculation tool set for each sub-model of the model in Zone I to ensure data integrity and obtain the data check code for each sub-model in Zone I.
[0067] Step 2.2: Use the format conversion tool set for each sub-model of the model in Zone I to convert the data corresponding to each sub-model into the CIME format or other specified format suitable for Zone III reception, and obtain the Zone I model in the specified format.
[0068] Step 2.3: Simultaneously, associate and package the attributes, global identifiers, and data verification codes of each sub-model in Zone I obtained in Step 2.1 with the Zone I model in the specified format obtained in Step 2.2. During the packaging process, add Zone I-specific identification information so that Zone III can perform source identification and security verification upon reception, forming a data packet to be transmitted.
[0069] Step 2.4: Perform local pre-verification on the data packet to be transmitted in Step 2.3 to ensure that the data format is correct and the checksum is valid, obtain the model packet of Zone I, and then send the model packet of Zone I to the Zone I sending node of the blockchain transmission channel.
[0070] Step 3: The model packet from Zone I is broadcast to the blockchain network via the sending node in Step 2. The blockchain network verifies the data packet through a smart contract. If verification fails, the blockchain network generates a failure report and sends a request for corrected data and retransmission to Zone I through the blockchain transmission channel. If verification succeeds, a consensus mechanism is established to reach a majority of nodes' approval before the model packet from Zone I is recorded in the immutable blockchain ledger and pushed to the receiving nodes in Zone III. A majority of nodes is defined as a set number of nodes. The blockchain transmission channel employs a strict encrypted communication protocol to ensure the confidentiality of data during transmission.
[0071] In a preferred but non-limiting embodiment of the present invention, step 3 includes:
[0072] Step 3.1: The sending node in Zone I performs integrity encryption and signature on the model packet in Zone I and encapsulates it into a blockchain data packet;
[0073] Step 3.2: Blockchain data packets are transmitted unidirectionally to the blockchain network via a forward isolation device. Relay / monitoring nodes in the blockchain network use smart contracts to verify the received data packets according to preset verification rules, obtaining the verification result, such as... Figure 2 As shown.
[0074] The verification process includes verifying the signature of the data packet, the integrity encryption verification, the correctness of the data check code, whether the data format conforms to the CIME specification, and the legitimacy of the sender's identity. The legitimacy of the sender's identity is verified by using a smart contract to check the access permissions of the I-zone node to ensure that it has the authority to transmit data to the III-zone. The nodes in the blockchain network include specific relay nodes or supervisory nodes in the I-zone and the III-zone.
[0075] When the verification results of steps 3.3 and 3.2 are passed, the verified data packet is recorded in the blockchain ledger. The consensus mechanism ensures that all nodes in the blockchain network recognize the data packet. At the same time, the blockchain network pushes the data packet to the receiving node in Zone III through an encrypted transmission channel. If the verification result is failed, the exception handling process is initiated, and an error report is sent to Zone I, requesting Zone I to correct the data and resend it.
[0076] The blockchain network records the process of transmitting the model from Zone I to Zone III, including information such as the sending time of the data packet, the sender, the receiving time, the receiver, the hash value of the data packet content, and the verification result. This forms an immutable blockchain ledger record and establishes a cross-zone audit mechanism. Authorized auditors or system administrators can trace the cross-zone transmission history of model data based on the blockchain ledger record and view the details of any model transmission from Zone I to Zone III, including the processing information of all intermediate nodes during the data transmission process, so as to troubleshoot and determine responsibility when problems occur.
[0077] Any anomalies occurring during data transmission, verification, and updating, such as but not limited to checksum mismatch, version number corruption, data format errors, and blockchain network communication failures, will immediately trigger an anomaly handling process, which includes:
[0078] The blockchain network sends an anomaly report generated by a smart contract to Zone I, notifying Zone I to correct the data and resend the data. At the same time, the current state of the model in Zone III is recorded in the blockchain ledger to maintain the existing state of the model in Zone III until the anomaly is resolved. If either the process of correcting and resending data in Zone I exceeds a set time or the process of correcting and resending data in Zone I exceeds a set number of times, the smart contract will automatically determine that the anomaly is ongoing and switch the data transmission between Zone I and Zone III to a backup data transmission channel or require manual intervention.
[0079] The consensus mechanism is maintained by the master node, which organizes the data packets to be confirmed into proposals and broadcasts them to all backup nodes. The backup nodes verify the data packets in the proposals and send "prepare", "confirm", and "commit" messages respectively. When more than 2 / 3 of the nodes have sent "commit" messages, it is determined that the data packets have reached a consensus and are recognized by the entire network.
[0080] Step 4: Update the model of Zone III based on the model packet of Zone I pushed by the blockchain network to the receiving node of Zone III, and perform consistency checks and corrections on the models of Zone I and Zone III based on the blockchain ledger to obtain the data-consistent models of Zone I and Zone III, thereby realizing secure storage of power system Zone I and Zone III based on blockchain technology.
[0081] In a preferred but non-limiting embodiment of the present invention, step 4 includes:
[0082] Step 4.1: Update the model of Zone III based on the model packet of Zone I pushed by the blockchain network to the receiving node of Zone III.
[0083] More preferably, step 4.1 includes:
[0084] Step 4.1.1: After receiving the model packet from the blockchain network, the receiving node in Zone III unpacks the model packet from Zone I and extracts the model from Zone I.
[0085] Step 4.1.2: Based on the global identifier, check if the corresponding model in area I exists locally, select the model in area III, or store the model in area I.
[0086] More preferably, step 4.1.2 includes:
[0087] The system checks if the model corresponding to area I extracted in step 4.1 exists locally based on the global identifier. If it exists, the system compares the version number of the local model data with that of the model in area I extracted in step 4.1. If the version number of the model in area I is higher than the version number of the local model data, and the verification code of the model in area I passes the verification, the model in area III is updated based on the model in area I. If it does not exist, the model in area I is directly stored in the model in area III according to the local data structure.
[0088] Step 4.1.3: After updating the model in Zone III or storing the model in Zone I, Zone III recalculates the checksum of the model in Zone I and compares it with the checksum in the model package in Zone I to ensure data consistency. At the same time, the local version number and update time of the model in Zone III are updated, and the source of the model update in Zone III is recorded as Zone I. If the checksums are inconsistent, the exception handling process is initiated, and the original model package in Zone I is retrieved from the blockchain ledger for re-verification. If the original model package in Zone I cannot be retrieved from the blockchain ledger, Zone I is requested to resend the data.
[0089] Step 4.2: Perform a consistency check and correction on the models in Zone I and Zone III based on the blockchain ledger.
[0090] More preferably, step 4.2 includes:
[0091] Regular consistency checks are performed on the models in Zone I and Zone III based on the blockchain ledger. If inconsistencies are found between the models in Zone I and Zone III, a smart contract is automatically triggered to execute a synchronization adjustment process, ensuring secure data consistency for the power system's Zone I and Zone III models based on blockchain technology. The synchronization adjustment process compares and repairs historical data recorded in the blockchain ledger, using the model data in Zone I as a benchmark (considering its security and importance). Correct model data is then pushed to Zone III via the blockchain network, or Zone I is guided to correct its data, ensuring consistency between the models in Zones I and III.
[0092] Embodiment 2 of the present invention provides a secure storage system for a power system based on blockchain technology, which implements the secure storage method for a power system based on blockchain technology described in Embodiment 1, including:
[0093] The model setting module for Zone I / III is used to set the unified model data structure for Zone I and Zone III of the power system. Then, the unified model data structure for Zone I and Zone III is configured using blockchain node software to obtain the models for Zone I and Zone III.
[0094] The model acquisition module of Zone I is used to convert the models of Zone I into a specified format, package the attributes of the models of Zone I and the models of Zone I in the specified format, form a model package of Zone I to be transmitted, and send it to the Zone I sending node of the blockchain transmission channel.
[0095] The blockchain transmission module is used to encrypt the model package of Zone I and broadcast it to the blockchain network through the sending node of Zone I. The blockchain network verifies the data package through a smart contract. If the verification fails, the blockchain network generates a failure report and sends it to Zone I through the blockchain transmission channel. If the verification passes, the consensus mechanism reaches the approval of most nodes and then records the model package of Zone I to the blockchain ledger and pushes the model package of Zone I to the receiving node of Zone III.
[0096] The consistency correction module is used to update the model in zone III based on the model package in zone I, and to perform consistency checks and corrections on the models in zone I and zone III based on the blockchain ledger, so as to obtain data-consistent models in zone I and zone III.
[0097] Compared with the prior art, the beneficial effects of the present invention include at least the following:
[0098] This invention records data in Zone I and Zone III by combining an immutable blockchain ledger established by a blockchain network with multi-node consensus verification, thereby achieving immutable cross-zone data storage. The immutable blockchain ledger ensures data consistency between Zone I and Zone III, improves the reliability of model synchronization, and reduces the risk of data tampering.
[0099] By verifying the cryptographic signature of data packets and Zone I permissions through smart contracts on the blockchain network, the rate of illegal access to data in Zones I and III is reduced, thereby improving the security of data stored in Zones I and III of the power system.
[0100] End-to-end encryption of model transmission is achieved through blockchain nodes, which improves encryption efficiency and reduces transmission latency.
[0101] This invention enables secure and efficient transmission and storage of models from Zone I to Zone III, ensuring consistency between the models in Zones I and III, and improving the overall reliability and security of power system model management.
[0102] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.
Claims
1. A method for secure storage of power systems in three zones based on blockchain technology, characterized in that: A unified model data structure is set up for Zone 1 and Zone 3 of the power system, and blockchain node software is used to configure the node parameters and network link relationships of Zone 1 and Zone 3. The model of Zone 1 is converted into a specified format, and the attributes of Zone 1 model and the specified format Zone 1 model are packaged to form a Zone 1 model package to be transmitted and sent to the Zone 1 sending node of the blockchain transmission channel. The model package of Zone 1 is encrypted by the sending node of Zone 1 and broadcast to the blockchain network. The blockchain network verifies the data package through a smart contract. If the verification fails, the blockchain network generates a failure report and sends it to Zone 1 through the blockchain transmission channel. If the verification passes, the consensus mechanism reaches the approval of most nodes and then records the model package of Zone 1 to the blockchain ledger and pushes the model package of Zone 1 to the receiving node of Zone 3. Update the model of Zone 3 based on the model package of Zone 1, and perform consistency checks and corrections on the models of Zone 1 and Zone 3 based on the blockchain ledger to obtain a data-consistent model of Zone 1 and model of Zone 3. The process of encrypting the model packet of Zone 1 through a Zone 1 sending node and broadcasting it to the blockchain network, and the blockchain network verifying the data packet through a smart contract, includes: In Zone 1, the sending node performs integrity encryption and signature on the model package of Zone 1 and encapsulates it into a blockchain data packet; Blockchain data packets are transmitted unidirectionally to the blockchain network through a forward isolation device. Nodes in the blockchain network use smart contracts to verify the received data packets according to preset verification rules and obtain the verification results. The process of generating a failure report via the blockchain network and sending it to Zone 1 via the blockchain transmission channel includes: The blockchain network sends a failure report generated by a smart contract to Zone 1, notifying Zone 1 to correct the data and resend the data. At the same time, the blockchain ledger records the current state of the model in Zone 3 to maintain the existing state of the model in Zone 3 until the anomaly is resolved. If either the process of correcting and resending data in Zone 1 exceeds a set time or the process of correcting and resending data in Zone 1 exceeds a set number of times, the smart contract automatically determines that the anomaly is ongoing and switches the data transmission between Zone 1 and Zone 3 to a backup data transmission channel.
2. The method for secure storage of power systems in three zones based on blockchain technology according to claim 1, characterized in that: The unified model data structure for setting up power system zone one and zone three includes: The unified models of the power system in Zone 1 and Zone 3 are divided into multiple sub-models; Set the properties of each sub-model, set the format conversion tool for each sub-model, and set the data check code calculation tool; Set global identifier generation rules that adapt to the regional characteristics of Zone 1 and Zone 3, and generate a unique global identifier for each sub-model based on the global identifier generation rules.
3. A method for secure storage of power systems in three zones based on blockchain technology according to claim 1 or 2, characterized in that: The configuration of node parameters and network link relationships in Zone 1 and Zone 3 using blockchain node software includes: Deploy blockchain node software in the networks of Zone 1 and Zone 3. Configure node parameters and adjust attributes in each sub-model according to the different security levels and functional requirements of Zone 1 and Zone 3. By setting up blockchain node software, nodes are configured in the corresponding sub-models of the blockchain transmission channels between Zone 1 and Zone 3. The identities and permissions of the nodes are set, and encrypted transmission channels and network links between the nodes are established.
4. The method for secure storage of power systems in three zones based on blockchain technology according to claim 1, characterized in that: The step of converting the model of Zone 1 into a specified format, packaging the attributes of Zone 1 model with the specified format Zone 1 model to form a Zone 1 model package to be transmitted, and sending it to the Zone 1 sending node of the blockchain transmission channel includes: The data check code is calculated using the data check code calculation tool set for each sub-model of the model in Zone 1, and the data check codes for each sub-model in Zone 1 are obtained. The format conversion tool set for each sub-model of the first zone model is used to convert the data corresponding to each sub-model into the specified format, thus obtaining the first zone model in the specified format; At the same time, the attributes, global identifiers, and data check codes of each sub-model in Zone 1 are associated with and packaged with the models in Zone 1 in the specified format. During the packaging process, the identification information of Zone 1 is added to form a data packet to be transmitted. The data packets to be transmitted are pre-verified locally to obtain the model packets of Zone 1, and then the model packets of Zone 1 are sent to the Zone 1 sending node of the blockchain transmission channel.
5. A method for secure storage of power systems in three zones based on blockchain technology according to claim 1, characterized in that: The step of updating the model of region three based on the model package of region one includes: After receiving the model package of Zone 1 pushed by the blockchain network, the receiving node of Zone 3 unpacks the model package of Zone 1 and extracts the model of Zone 1. The model is searched locally based on the global identifier to determine whether a corresponding model exists in zone 1, so as to choose to update the model in zone 3 or store the model in zone 1. After updating the model in Zone 3 or adding a model in Zone 1, Zone 3 recalculates the checksum of the model in Zone 1 and compares it with the checksum in the model package in Zone 1. If the checksums match, the local attributes of the model in Zone 3 are updated, and the source of the model update in Zone 3 is recorded as Zone 1. If the checksums do not match, the exception handling process is initiated, and the original model package in Zone 1 is retrieved from the blockchain ledger for re-verification.
6. A method for secure storage of power systems in three zones based on blockchain technology according to claim 5, characterized in that: The step of checking whether a model corresponding to Zone 1 exists locally based on a global identifier, and then selecting the model in Zone 3 to update or store the model in Zone 1 includes: If a model for Zone 1 exists locally, the local model data is compared with the version number of the extracted Zone 1 model. If the version number of the Zone 1 model is higher than the version number of the local model data and the verification code of the Zone 1 model passes the verification, the Zone 3 model is updated based on the Zone 1 model. If the model does not exist, the Zone 1 model is stored in the Zone 3 model according to the local data structure.
7. A method for secure storage of power systems in three zones based on blockchain technology according to claim 1, characterized in that: The process of performing consistency checks and corrections on the models of Zone 1 and Zone 3 based on the blockchain ledger includes: The consistency check of the models in Zone 1 and Zone 3 is performed based on the blockchain ledger. If the data of the models in Zone 1 and Zone 3 is found to be inconsistent, the smart contract is automatically triggered to execute the synchronization adjustment process. The models in Zone 1 and Zone 3 are compared based on the historical data recorded in the blockchain ledger. Using the model data in Zone 1 as a benchmark, the correct model in Zone 1 is pushed to Zone 3 through the blockchain network to correct the model in Zone 3.
8. A three-zone secure storage system for a power system based on blockchain technology, operating the three-zone secure storage method for a power system based on blockchain technology as described in any one of claims 1-7, characterized in that: The model setting module for Zone 1 and Zone 3 is used to set the unified model data structure for Zone 1 and Zone 3 of the power system, and uses blockchain node software to configure the node parameters and network link relationships for Zone 1 and Zone 3. The model acquisition module of Zone 1 is used to convert the models of Zone 1 into a specified format, package the attributes of the models of Zone 1 and the models of Zone 1 in the specified format, form a model package of Zone 1 to be transmitted, and send it to the Zone 1 sending node of the blockchain transmission channel; The blockchain transmission module is used to encrypt the model package of Zone 1 through the sending node of Zone 1 and broadcast it to the blockchain network. The blockchain network verifies the data package through a smart contract. If the verification fails, the blockchain network generates a failure report and sends it to Zone 1 through the blockchain transmission channel. If the verification passes, the consensus mechanism reaches the approval of most nodes and then records the model package of Zone 1 to the blockchain ledger and pushes the model package of Zone 1 to the receiving node of Zone 3. The consistency correction module is used to update the model of Zone 3 based on the model package of Zone 1, and to perform consistency checks and corrections on the models of Zone 1 and Zone 3 based on the blockchain ledger, so as to obtain the models of Zone 1 and Zone 3 with consistent data.
Citation Information
Patent Citations
Power grid dispatching intelligentized and instruction informationized working platform
CN102097859A
Power grid model data management system and method
CN118822450A