Block chain-based power system edge calculation decision method and system, and medium
By using the edge computing method of blockchain technology and reinforcement learning model in the power system, the problems of high latency and lack of real-time analysis capabilities under traditional data processing methods are solved, and real-time data processing and security risk management and control of the power system are realized. Ensure safe production and decision-making efficiency on site.
Patent Information
- Application Number
- CN202410785242.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-03
AI Technical Summary
Traditional data processing methods have high latency and lack of real-time data analysis capabilities, resulting in on-site violations that cannot be corrected in time, resulting in a lack of supervision and out-of-control management, which cannot meet the needs of explosive massive data processing and real-time safety risk management and control.
Adopt a blockchain-based power system edge computing decision-making method to integrate edge computing devices, sensors and cameras into block nodes to form a blockchain network, and use collaborative decision-making reinforcement learning models and local decision-making reinforcement learning models for data processing and decision-making , combined with AI recognition models and reflection strategies, realizes real-time perception and decision-making of data, and ensures the legality and authenticity of transactions through the blockchain.
It achieves timeliness of data processing and real-time analysis capabilities, reduces the pressure on the cloud computing center, avoids congestion caused by excessive data transmission, and ensures timely management and control of on-site safety risks and accuracy of decision-making.
Smart Images

Figure CN118585334A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of edge computing technology, and in particular to a blockchain-based power system edge computing decision-making method, system and medium. Background Art
[0002] State Grid Corporation of China has always insisted on taking production safety as the company's "lifeline". At present, the power grid is in a period of rapid development. There are many operation sites and a large number of participants. The number of high-risk operations has increased sharply. The site points are numerous and wide, and the environment is complex and changeable. The pressure of safety management and control is huge. Under the background that production safety is the top priority, the inability to achieve real-time control, controllability, and control of on-site operation risks is a pain point that has never been solved in on-site production safety monitoring. New technologies are urgently needed to create an intelligent safety monitoring site with the characteristics of "observable, perceptible, measurable, and intelligent", so that there is no blind spot in safety supervision, and the production site can control the safety quality in real time, so as to achieve the control effect of "risk control through the front line, one-click access to production operation, and integrated decision-making and command". In actual on-site work, the production scene of the production site, the operation behavior of the operators and other related information data are collected and uploaded to the data center with the help of safety control balls. The volume of data generated on site is huge. When there are violations and risks on site, it is impossible to automatically identify and intervene in real time, and the processing speed has a great lag. Cloud computing cannot meet the explosive demand for massive data processing. With the integration of the Internet and various industries, especially after the popularization of Internet of Things technology, computing needs have exploded, and traditional cloud computing architecture will not be able to meet this, which puts enormous pressure on data processing centers. Cloud computing cannot meet the demand for real-time data processing. The purpose of this project is to solve the current situation of high latency and lack of real-time data analysis capabilities under traditional data processing methods, and the inability to correct violations on site in a timely manner, lack of supervision, and out-of-control management. It thoroughly solves the drawbacks of high latency and lack of real-time data analysis capabilities under traditional data processing methods, unifies standards, and ensures that safety protection and technical characteristics meet relevant standards and specifications, so as to achieve all-round intelligent and digital safety risk management and control at the production site. Summary of the invention
[0003] In order to solve the above technical problems or at least partially solve the above technical problems, the present invention provides a blockchain-based power system edge computing decision-making method, system and medium.
[0004] In the first aspect, the present invention provides a power system edge computing decision-making method based on blockchain, which integrates edge computing devices, sensors and cameras, and actuators of the power system into block nodes, and the block nodes are interconnected to form a blockchain network, including:
[0005] In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator, and the global collaborative decision of the power system is regulated and uploaded to the chain. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node;
[0006] A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0007] Furthermore, for simple or emergency situations where the response action can be directly determined based on the sensor data, a reflection strategy is constructed, which records the mapping relationship between the sensor data and the response action, and the emission strategy sends the response action obtained based on the sensor data to the actuator for execution.
[0008] Furthermore, the AI recognition models deployed in the sensors, cameras and edge computing devices of each block node are integrated into a sensor for perceiving the local environment of the power system, wherein the AI recognition model obtains data collected by the sensors and / or cameras to generate further perception of the local environment, and the AI recognition model adopts the YOLO recognition model and the FastRcnn recognition model;
[0009] The sensor of each block node uploads the collected local environment perception information to the chain to form the global environment perception information of the power system.
[0010] Furthermore, the reinforcement learning collaborative decision-making AGENT of each block node generates collaborative decisions for local executors based on global environmental perception information and collaborative rewards, forming a collaborative decision-making blockchain.
[0011] Furthermore, the block nodes create collaborative decision-making on-chain transactions or environmental perception information on-chain transactions;
[0012] The block node as the creator signs the collaborative decision-making on-chain transaction or environmental perception information on-chain transaction initiated by the private key to ensure the legitimacy and authenticity of the collaborative decision-making on-chain transaction or environmental perception information on-chain transaction;
[0013] After collaborative decision-making transactions or environmental perception information are signed, they are broadcast to the blockchain network and propagated to each block node on the blockchain network.
[0014] After receiving a new transaction, the block node in the blockchain network verifies the legitimacy and authenticity of the collaborative decision-making chain transaction or the environmental perception information chain transaction by checking the validity of the transaction digital signature and the correctness of the transaction format;
[0015] Put the verified collaborative decision-making transactions or environmental perception information transactions on the chain into the transaction pool, waiting to be packaged into the block. The transaction pool is used to temporarily store the collaborative decision-making transactions or environmental perception information transactions that have not been put on the chain.
[0016] The block node, which is a miner or a validator, selects transactions from the transaction pool and packages them into a new block. In the block, the transaction information is added to the block header and transaction list.
[0017] When a new block is successfully created and verified by the consensus mechanism, the block node acting as a miner broadcasts the new block to the entire blockchain network and notifies other block nodes;
[0018] After receiving a new block, other block nodes will verify the validity of the block, including the legitimacy of the transaction and compliance with consensus rules;
[0019] If the block is accepted and verified by the majority of nodes, it is added to the end of the blockchain.
[0020] Furthermore, the block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain, and the corresponding executors of each block node execute the following:
[0021] Configure the digital twin power system model in the cloud computing center.
[0022] When a new collaborative decision-making block is generated, the first trigger smart contract triggers the cloud computing center to initiate a collaborative decision-making transaction to the blockchain network as a customer;
[0023] Execute the collaborative decision-making transaction to obtain the collaborative decision. The cloud computing center controls the operation of the digital twin power system model according to the parameters of the collaborative decision to verify the feasibility of the collaborative decision. When feasible, the block node is triggered by the second trigger smart contract to obtain the collaborative decision execution.
[0024] Furthermore, the reinforcement learning local decision-making agent and the reinforcement learning collaborative decision-making agent are integrated into a decision generator, and the decision generator also receives the decision sent by the cloud computing center. The decision generator sends the generated or received decision to the executor for execution.
[0025] In the second aspect, the present invention provides a power system edge computing decision-making system based on blockchain, including: a block node integrated by edge computing devices, sensors and cameras, and actuators of the power system, the block nodes are interconnected to form a blockchain network, and the blockchain network is connected to a cloud computing center; the block node and the cloud computing center cooperate to implement the power system edge computing decision-making method based on blockchain, including:
[0026] In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system based on the global environmental perception information of the power system obtained from the environmental perception information blockchain, and calculates the collaborative reward. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the global collaborative decision of the power system. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node;
[0027] A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system based on the local environmental perception information of the power system, and calculates the local reward. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0028] Furthermore, the AI recognition models deployed in the sensors, cameras and edge computing devices of each block node are integrated into sensors for perceiving the local environment of the power system; the reinforcement learning local decision-making agent, the reinforcement learning collaborative decision-making agent and the decision receiving module of the cloud computing center are integrated into a decision generator.
[0029] In a third aspect, the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the blockchain-based power system edge computing decision-making method.
[0030] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art:
[0031] For large-scale power systems, this application integrates edge computing devices, sensors and cameras, and actuators of the power system into block nodes. Most of the processes of data collection, data analysis, and decision-making based on data and data analysis results are implemented by block nodes, with on-site detection and on-site decision-making. The computing power of each block node is sufficient to avoid the busyness generated when concentrating on data analysis and decision-making in the cloud computing center, and ensure the timeliness of the decision. In this application, the cloud computing center verifies collaborative decisions without the need to synchronously transmit large amounts of data to the cloud computing center, reducing the amount of data transmission between edge computing devices and the cloud computing center and avoiding congestion in the cloud computing center.
[0032] For situations involving coordination between sub-power systems, the collaborative decision-making reinforcement learning model of this application calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator, which regulates the global collaborative decision of the power system and uploads it to the chain. The block nodes participating in the coordination obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node. The coordination between sub-power systems is realized to serve the global decision of the power system.
[0033] For local decision-making, the local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates local decisions for local regulation of the power system, which are executed by the corresponding actuator. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 A schematic diagram of a blockchain-based power system edge computing decision-making method provided by an embodiment of the present invention;
[0037] Figure 2 A flowchart of uploading environmental perception information and collaborative decision-making to the chain provided by an embodiment of the present invention;
[0038] Figure 3 A flowchart of collaborative decision-making for verification of a cloud computing center provided by an embodiment of the present invention;
[0039] Figure 4 A schematic diagram of a blockchain-based power system edge computing decision-making system provided by an embodiment of the present invention;
[0040] Figure 5 A schematic diagram of a blockchain-based power system edge computing decision-making device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0043] Example 1
[0044] The present invention integrates edge computing devices, sensors, cameras, and actuators of the power system into block nodes, and the block nodes are interconnected to form a blockchain network, wherein the edge computing device includes: a Jetson development board and a wireless image transmission two-way communication module, the edge computing device is configured with a Linux operating system and multiple artificial intelligence algorithm libraries, the Jetson development board is provided with multiple concurrent AI reasoning pipelines, and the high-speed interface provides support for multiple sensors. It can realize data processing, intelligent analysis, real-time response, lightweight AI applications and other functions at the edge.
[0045] like Figure 1 As shown, the technology of the present invention implements a blockchain-based power system edge computing decision-making method, which is implemented based on the above-mentioned blockchain network and includes:
[0046] The AI recognition models deployed in the sensors, cameras and edge computing devices of each block node are integrated into a sensor for perceiving the local environment of the power system, wherein the AI recognition model obtains data collected by the sensors and / or cameras to generate further perception of the local environment. The AI recognition model adopts the YOLO recognition model and the FastRcnn recognition model.
[0047] The sensor of each block node uploads the collected local environment perception information to the chain to form the global environment perception information of the power system.
[0048] like Figure 2 As shown in FIG. 1 , the process of uploading local environmental perception information to form global environmental perception information of the power system includes:
[0049] The block node creates an environmental perception information chain transaction; the block node as the creator signs the initiated environmental perception information chain with a private key to ensure the legitimacy and authenticity of the environmental perception information chain transaction; after the environmental perception information chain signature is completed, it is broadcast to the blockchain network and propagated to each block node on the blockchain network; after receiving the new transaction, the block node in the blockchain network verifies the legitimacy and authenticity of the environmental perception information chain transaction by checking the validity of the transaction digital signature and the correctness of the transaction format; the verified collaborative decision-making chain transaction or environmental perception information chain is put into the transaction pool, waiting to be packaged into the block, where the transaction pool uses The transaction is temporarily stored in the environmental perception information chain; the block node as a miner or verification node selects the transaction from the transaction pool and packages it into a new environmental block. In the environmental block, the transaction information is added to the block header and the transaction list; when the new environmental block is successfully created and verified by the consensus mechanism, the block node as a miner broadcasts the new environmental block to the entire blockchain network and notifies other block nodes; after receiving the new environmental block, other block nodes will verify the validity of the new environmental block, including the legitimacy of the transaction and compliance with the consensus rules; if the new environmental block is accepted and verified by the majority of nodes, it will be added to the end of the environmental perception information blockchain.
[0050] Each different block node will upload the detected local environmental perception information to the environmental perception information blockchain, thereby converging into the global environmental perception information of the power system.
[0051] In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the collaborative decision of the global power system. The collaborative decision-making reinforcement learning model is used in the situation where the power subsystems responsible for multiple edge computing devices cooperate with each other.
[0052] The reinforcement learning collaborative decision-making AGENT of each block node generates collaborative decisions for local actuators based on global environmental perception information and collaborative rewards, forming a collaborative decision-making blockchain. Figure 2 As shown in the figure, the process of collaborative decision-making on the chain includes:
[0053] The block node creates the collaborative decision-making on-chain transaction; the block node as the creator signs the initiated collaborative decision-making on-chain transaction with the private key to ensure the legitimacy and authenticity of the collaborative decision-making on-chain transaction; after the collaborative decision-making on-chain transaction is signed, it is broadcast to the blockchain network and propagated to each block node on the blockchain network; after receiving the new transaction, the block node in the blockchain network verifies the legitimacy and authenticity of the collaborative decision-making on-chain transaction by checking the validity of the transaction digital signature and the correctness of the transaction format; the verified collaborative decision-making on-chain transaction is placed in the transaction pool, waiting to be packaged into the block, where the transaction pool is used to temporarily store the collaborative decision-making on-chain transactions that have not been on the chain. Easy; the block node acting as a miner or verification node selects the collaborative decision-making on-chain transactions from the transaction pool and packages them into a new collaborative decision-making block. In the collaborative decision-making block, the transaction information is added to the block header and the transaction list; when the new collaborative decision-making block is successfully created and verified by the consensus mechanism, the block node acting as a miner broadcasts the new collaborative decision-making block to the entire blockchain network and notifies other block nodes; after receiving the new collaborative decision-making block, other block nodes will verify the validity of the collaborative decision-making block, including the legitimacy of the transaction and compliance with the consensus rules; if the collaborative decision block is accepted and verified by the majority of nodes, it will be added to the end of the collaborative decision-making blockchain.
[0054] like Figure 3 As shown, the block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain, and then the corresponding executors of each block node execute it, including:
[0055] Configure the digital twin power system model in the cloud computing center;
[0056] When a new collaborative decision-making block is generated, the first trigger smart contract triggers the cloud computing center to initiate a collaborative decision-making transaction to the blockchain network as a customer;
[0057] Execute the collaborative decision-making transaction to obtain the collaborative decision. The cloud computing center controls the operation of the digital twin power system model according to the collaborative decision parameters to verify the feasibility of the collaborative decision.
[0058] When verification is feasible, the second trigger smart contract triggers the block node to obtain the verified collaborative decision execution.
[0059] A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0060] In one embodiment, the reinforcement learning local decision-making agent and the reinforcement learning collaborative decision-making agent are integrated into a decision generator, which also receives decisions sent by a cloud computing center. The decision generator sends the generated or received decisions to an executor for execution.
[0061] In addition, for simple or emergency situations where the response action can be directly determined based on the sensor data, a reflection strategy is constructed, which records the mapping relationship between the sensor data and the response action, and the emission strategy sends the response action obtained based on the sensor data to the actuator for execution.
[0062] Example 2
[0063] The embodiment of the present invention provides a power system edge computing decision-making system based on blockchain, including: a block node integrated by edge computing devices, sensors and cameras, and actuators of the power system, the block nodes are interconnected to form a blockchain network, and the blockchain network is connected to a cloud computing center; the block node and the cloud computing center cooperate to implement the power system edge computing decision-making method based on blockchain, including:
[0064] In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system based on the global environmental perception information of the power system obtained from the environmental perception information blockchain, and calculates the collaborative reward. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the global collaborative decision of the power system. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node;
[0065] A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system based on the local environmental perception information of the power system, and calculates the local reward. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0066] Integrate the AI recognition models deployed in the sensors, cameras and edge computing devices of each block node into a sensor for perceiving the local environment of the power system; integrate the reinforcement learning local decision-making agent, the reinforcement learning collaborative decision-making agent and the decision receiving module of the cloud computing center into a decision generator.
[0067] Example 3
[0068] See also Figure 4 As shown, an embodiment of the present invention provides a device for implementing a blockchain-based power system edge computing decision method, including: at least one processing unit, the processing unit is connected to a storage unit via a bus unit, the bus unit is connected to a collection unit and an execution unit, and the storage unit is a computer-readable storage medium that can be used to store software programs, computer executable programs, and modules, such as the software programs, computer executable programs, and modules corresponding to a blockchain-based power system edge computing decision method in an embodiment of the present invention. The processing unit implements the above-mentioned blockchain-based power system edge computing decision method by running the software programs, computer executable programs, and modules stored in the storage unit, including:
[0069] Arrange a collaborative decision-making reinforcement learning model, which calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the global collaborative decision of the power system. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node;
[0070] A local decision reinforcement learning model is arranged locally. The local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0071] Of course, the computer program stored in the storage unit of the device for implementing the blockchain-based power system edge computing decision-making method provided by an embodiment of the present invention is not limited to the method operations described above, but can also execute related operations in the blockchain-based power system edge computing decision-making method provided by any embodiment of the present invention.
[0072] Example 4
[0073] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed, the blockchain-based power system edge computing decision method is implemented, including:
[0074] In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the global collaborative decision of the power system. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node.
[0075] A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
[0076] A computer-readable storage medium provided in an embodiment of the present invention stores a computer program that is not limited to the method operations described above, but can also execute related operations in a blockchain-based power system edge computing decision-making method provided in any embodiment of the present invention.
[0077] In the embodiments provided by the present invention, it should be understood that the disclosed structures and methods can be implemented in other ways. For example, the structural embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, structures or units, which can be electrical, mechanical or other forms.
[0078] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0079] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A power system edge computing decision-making method based on blockchain, which integrates edge computing devices, sensors and cameras, and actuators of the power system into block nodes, and the block nodes are interconnected to form a blockchain network, characterized in that: include: In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system and the collaborative reward based on the global environmental perception information of the power system obtained from the environmental perception information blockchain. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator, and the global collaborative decision of the power system is regulated and uploaded to the chain. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node; A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system and the local reward based on the local environmental perception information of the power system. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
2. The power system edge computing decision-making method based on blockchain according to claim 1 is characterized in that: For simple or emergency situations where the response action can be directly determined based on the sensor data, a reflection strategy is constructed to record the mapping relationship between the sensor data and the response action. The emission strategy sends the response action obtained based on the sensor data to the actuator for execution.
3. The power system edge computing decision-making method based on blockchain according to claim 1 is characterized in that: Integrate the AI recognition models deployed in the sensors, cameras and edge computing devices of each block node into a sensor for perceiving the local environment of the power system, wherein the AI recognition model obtains data collected by the sensors and / or cameras to generate further perception of the local environment, and the AI recognition model adopts the YOLO recognition model and the FastRcnn recognition model; The sensor of each block node uploads the collected local environment perception information to the chain to form the global environment perception information of the power system.
4. The power system edge computing decision-making method based on blockchain according to claim 1 is characterized in that: The reinforcement learning collaborative decision-making AGENT of each block node generates collaborative decisions for local actuators based on global environment perception information and collaborative rewards, forming a collaborative decision-making blockchain.
5. The power system edge computing decision-making method based on blockchain according to claim 3 or 4 is characterized in that: Block nodes create collaborative decision-making on-chain transactions or environmental perception information on-chain transactions; The block node as the creator signs the initiated collaborative decision-making on-chain transaction or environmental perception information on-chain transaction through the private key to ensure the legitimacy and authenticity of the collaborative decision-making on-chain transaction or environmental perception information on-chain transaction; After the collaborative decision-making chain transaction or the environmental perception information chain transaction is signed, it is broadcast to the blockchain network and propagated to each block node on the blockchain network; After receiving a new transaction, the block node in the blockchain network verifies the legitimacy and authenticity of the collaborative decision-making chain transaction or the environmental perception information chain transaction by checking the validity of the transaction digital signature and the correctness of the transaction format; Put the verified collaborative decision-making on-chain transactions or environmental perception information on-chain transactions into the transaction pool, waiting to be packaged into the block. The transaction pool is used to temporarily store the collaborative decision-making on-chain transactions or environmental perception information on-chain transactions that have not been put on the chain; The block node, which is a miner or a validator, selects transactions from the transaction pool and packages them into a new block. In the block, the transaction information is added to the block header and transaction list. When a new block is successfully created and verified by the consensus mechanism, the block node acting as a miner broadcasts the new block to the entire blockchain network and notifies other block nodes; After receiving a new block, other block nodes will verify the validity of the block, including the legitimacy of transactions and compliance with consensus rules; if the block is accepted and verified by the majority of nodes, it will be added to the end of the corresponding blockchain.
6. The power system edge computing decision-making method based on blockchain according to claim 1 is characterized in that: The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain, and the corresponding executors of each block node execute the decision, including: Configure the digital twin power system model in the cloud computing center. When a new collaborative decision-making block is generated, the first trigger smart contract triggers the cloud computing center to initiate a collaborative decision-making transaction to the blockchain network as a customer; Execute the collaborative decision-making transaction to obtain the collaborative decision. The cloud computing center controls the operation of the digital twin power system model according to the parameters of the collaborative decision to verify the feasibility of the collaborative decision. When feasible, the block node is triggered by the second trigger smart contract to obtain the collaborative decision execution.
7. The power system edge computing decision-making method based on blockchain according to claim 1 is characterized in that: The reinforcement learning local decision-making agent and the reinforcement learning collaborative decision-making agent are integrated into a decision generator. The decision generator also receives the decision sent by the cloud computing center. The decision generator sends the generated or received decision to the executor for execution.
8. A blockchain-based power system edge computing decision-making system, characterized in that: include: Block nodes are integrated from edge computing devices, sensors and cameras, and actuators of power systems. Block nodes are interconnected to form a blockchain network, which is connected to the cloud computing center. The block node and the cloud computing center cooperate to implement the blockchain-based power system edge computing decision-making method described in any one of claims 1 to 7, including: In the edge computing device, a collaborative decision-making reinforcement learning model is arranged. The collaborative decision-making reinforcement learning model calculates the global state of the power system based on the global environmental perception information of the power system obtained from the environmental perception information blockchain, and calculates the collaborative reward. Under the guidance of the global state of the power system and the collaborative reward, the reinforcement learning collaborative decision AGENT of the collaborative decision-making reinforcement learning model is generated and executed by the local actuator to regulate the global collaborative decision of the power system. The block nodes participating in the collaboration obtain the collaborative decision verified by the cloud computing center from the collaborative decision blockchain and then executed by the corresponding actuator of each block node; A local decision reinforcement learning model is arranged locally on the edge computing device. The local decision reinforcement learning model calculates the local state of the power system based on the local environmental perception information of the power system, and calculates the local reward. Under the guidance of the local state of the power system and the local reward, the reinforcement learning local decision AGENT of the local decision reinforcement learning model generates a local decision for locally regulating the power system, which is executed by the corresponding actuator.
9. The blockchain-based power system edge computing decision-making system according to claim 8 is characterized in that:Integrate the AI recognition models deployed in the sensors, cameras and edge computing devices of each block node into a sensor for perceiving the local environment of the power system; integrate the reinforcement learning local decision-making agent, the reinforcement learning collaborative decision-making agent and the decision receiving module of the cloud computing center into a decision generator.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the blockchain-based power system edge computing decision-making method as described in any one of claims 1 to 7 is implemented.
