Frequency modulation method and device of energy storage system based on blockchain technology

By adopting an automated frequency modulation method based on blockchain technology in the energy storage system, the low frequency modulation efficiency and data security problems of the energy storage system are solved, and efficient and safe frequency modulation is achieved.

CN117277347BActive Publication Date: 2025-02-14BEIJING HUANENG CHANGJIANG ENVIRONMENTAL PROTECTION TECH RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311166943.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2025-02-14
Estimated Expiration
2043-09-11

AI Technical Summary

Technical Problem

The frequency regulation process of energy storage systems requires a lot of manual intervention, resulting in low frequency regulation efficiency, energy waste and data security issues.

Method used

Using the frequency modulation method based on blockchain technology, by obtaining the frequency modulation requirements parameters of the energy storage system, determining the target blockchain server, setting up a development environment, deploying smart contracts, and establishing a communication channel between the blockchain network and the energy storage system , realize automated frequency modulation.

Benefits of technology

It improves the frequency regulation efficiency and safety of the energy storage system, avoiding energy waste and data security issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117277347B_ABST
    Figure CN117277347B_ABST
Patent Text Reader

Abstract

The present application proposes a frequency modulation method and device for an energy storage system based on blockchain technology, and relates to the field of blockchain technology. The method includes: determining a target blockchain server from multiple candidate blockchain servers according to frequency modulation demand parameters; setting up a development environment based on the target blockchain server, and obtaining a target smart contract in the development environment; deploying the target smart contract in the blockchain network of the target blockchain server, and establishing a communication channel between the blockchain network and the energy storage system; obtaining a first frequency of the power network and a dispatching condition of the power network based on the communication channel, and performing frequency modulation logic processing on the first frequency and the dispatching condition according to the target smart contract, obtaining a modulated second frequency, and applying the second frequency to the energy storage system. The embodiment of the present application can improve the frequency modulation efficiency and safety of the energy storage system, and avoid energy waste and data security issues.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a frequency modulation method and device for an energy storage system based on blockchain technology. Background Art

[0002] With the rapid development of renewable energy, energy storage technology is being used more and more widely. Among related technologies, the frequency regulation of energy storage systems has always been a difficult problem due to the special nature of energy storage technology. The frequency regulation process of energy storage systems usually requires a lot of manual intervention and adjustment, which may cause abnormal problems such as untimely frequency regulation and low frequency regulation efficiency, which may lead to energy waste and data security issues in energy storage systems.

[0003] Therefore, how to improve the frequency regulation efficiency and safety of energy storage systems and avoid energy waste and data security issues has become one of the important research directions. Summary of the invention

[0004] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of the present application is to propose a frequency modulation method for an energy storage system based on blockchain technology.

[0005] The second purpose of this application is to propose a frequency regulation device for an energy storage system based on blockchain technology.

[0006] The third objective of the present application is to provide an electronic device.

[0007] A fourth object of the present application is to provide a non-transitory computer-readable storage medium.

[0008] A fifth object of the present application is to provide a computer program product.

[0009] To achieve the above objectives, the first embodiment of the present application proposes a frequency modulation method for an energy storage system based on blockchain technology, comprising:

[0010] Obtain frequency modulation requirement parameters of the energy storage system, and determine a target blockchain server from multiple candidate blockchain servers according to the frequency modulation requirement parameters, where the frequency modulation requirement parameters include at least frequency range, response time, and scalability level;

[0011] Set up a development environment based on the target blockchain server and obtain the target smart contract in the development environment;

[0012] Deploy the target smart contract in the blockchain network of the target blockchain server and establish a communication channel between the blockchain network and the energy storage system;

[0013] Obtain the first frequency of the power network and the dispatching conditions of the power network, perform frequency modulation logic processing on the first frequency and the dispatching conditions according to the target smart contract, obtain the modulated second frequency, and apply the second frequency to the energy storage system.

[0014] The embodiments of the present application can improve the frequency modulation efficiency and safety of the energy storage system, and avoid energy waste and data security issues.

[0015] To achieve the above purpose, the second embodiment of the present application proposes a frequency modulation device for an energy storage system based on blockchain technology, comprising:

[0016] A determination module is used to obtain frequency modulation requirement parameters of the energy storage system, and determine a target blockchain server from multiple candidate blockchain servers according to the frequency modulation requirement parameters, where the frequency modulation requirement parameters include at least a frequency range, a response time, and a scalability level;

[0017] The acquisition module is used to set up a development environment based on the target blockchain server and obtain the target smart contract in the development environment;

[0018] Establish a module for deploying the target smart contract in the blockchain network of the target blockchain server and establishing a communication channel between the blockchain network and the energy storage system;

[0019] The modulation module is used to obtain the first frequency of the power network and the dispatching conditions of the power network, perform frequency modulation logic processing on the first frequency and the dispatching conditions according to the target smart contract, obtain the modulated second frequency, and apply the second frequency to the energy storage system.

[0020] To achieve the above-mentioned purpose, the third aspect of the present application provides an electronic device, including:

[0021] at least one processor; and

[0022] a memory communicatively connected to at least one processor; wherein,

[0023] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute the frequency modulation method of the energy storage system based on blockchain technology provided in the embodiment of the first aspect of the present application.

[0024] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes a computer-readable storage medium on which computer instructions are stored, wherein the computer instructions are used to enable a computer to execute the frequency modulation method of the energy storage system based on blockchain technology provided in the first aspect embodiment of the present application.

[0025] To achieve the above-mentioned purpose, the fifth aspect embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the frequency modulation method of the energy storage system based on blockchain technology provided in the first aspect embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 This is a flow chart of a frequency modulation method of an energy storage system based on blockchain technology according to an embodiment of the present application;

[0027] Figure 2 This is a flow chart of a frequency modulation method of an energy storage system based on blockchain technology according to an embodiment of the present application;

[0028] Figure 3 This is a flow chart of a frequency modulation method of an energy storage system based on blockchain technology according to an embodiment of the present application;

[0029] Figure 4 This is a structural block diagram of a frequency modulation device of an energy storage system based on blockchain technology according to an embodiment of the present application;

[0030] Figure 5 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0032] The following describes the frequency modulation method and device of the energy storage system based on blockchain technology in an embodiment of the present application in conjunction with the accompanying drawings.

[0033] Figure 1 This is a flow chart of a frequency modulation method for an energy storage system based on blockchain technology according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0034] S101, obtaining a frequency regulation requirement parameter of an energy storage system, and determining a target blockchain server from a plurality of candidate blockchain servers according to the frequency regulation requirement parameter.

[0035] The frequency regulation requirement parameters of the energy storage system are obtained, where the frequency regulation requirement parameters at least include the frequency range, response time and scalability level of the energy storage system.

[0036] In an embodiment of the present application, a target blockchain server is determined from multiple candidate blockchain servers according to a frequency modulation requirement parameter. Optionally, the candidate blockchain servers may include a public chain server, a private chain server, and a consortium chain server.

[0037] In some implementations, a public chain is an open, permissionless blockchain network that anyone can participate in. Public chains usually have a higher frequency range and can handle a large number of transactions. Private chains and consortium chains focus more on transactions and data sharing between specific participants, and their frequency range can be adjusted according to the size of the network and the needs of participants.

[0038] In some implementations, the response time of public chains is affected by network topology and consensus algorithms. Since public chains require extensive consensus verification, their response time may be longer. In contrast, private and consortium chains can be faster in response time because the number of participants is limited and the network structure is more centralized, allowing for more efficient consensus mechanisms.

[0039] In some implementations, public chains often face higher scalability challenges because they have to handle a larger range of participants and transactions. Some public chains improve scalability through sharding solutions, but there are still certain limitations and do not have high scalability, that is, the scalability level is low. Private chains and consortium chains can adopt a more simplified architecture and consensus mechanism due to the limited number of participants, and have higher scalability, that is, the scalability level is high.

[0040] In summary, in the embodiment of the present application, the public chain (such as Ethereum) is an open decentralized network, which provides a high degree of transparency and security. When the frequency range is high, the response time is long, and the scalability level is low in the frequency modulation requirement parameters, the public chain server can be selected as the target blockchain server.

[0041] A private chain is a permission-controlled network, where access is limited to a specific group of participants. A consortium chain is a hybrid model of a public chain and a private chain. When the frequency range is low, the response time is short, and the scalability level is high in the frequency modulation requirement parameters, a private chain server or a consortium chain server can be selected as the target blockchain server.

[0042] In some implementations, since the design and implementation of specific public chains, private chains, and consortium chains can vary greatly, some private chains and consortium chains may adopt consensus mechanisms and scalability solutions similar to public chains to meet specific needs. Therefore, other factors such as security, privacy, participant control, and governance model can also be considered when choosing the appropriate blockchain type.

[0043] S102, setting up a development environment based on a target blockchain server, and obtaining a target smart contract in the development environment.

[0044] In the embodiment of the present application, the smart contract is not just a computer program that can be executed automatically, but also a system participant that can respond to received information, receive and store information, and send information to the outside.

[0045] In some implementations, the development environment is set up based on the target blockchain server, and optionally, the software development tools and frameworks required for smart contract development are installed on the selected blockchain platform, that is, the target blockchain server. The software development tools and frameworks required for smart contract development include programming languages ​​and corresponding development frameworks. It should be noted that smart contract development also involves other tools and libraries for compiling, deploying, testing and debugging contracts, and interacting with the blockchain network.

[0046] Develop smart contracts based on a preset programming language in the development environment. In some implementations, directly obtain the preset target smart contract in the current development environment. The smart contract can be a source file code pre-written based on a preset programming language. To automate the frequency modulation process. The smart contract will define the rules and conditions for adjusting the output frequency of the energy storage system according to the frequency fluctuations of the power network.

[0047] S103, deploying the target smart contract in the blockchain network of the target blockchain server, and establishing a communication channel between the blockchain network and the energy storage system.

[0048] In some implementations, the target smart contract is tested based on the test case. If the target smart contract passes the test, it is deployed to the blockchain network to facilitate the subsequent interaction between the energy storage system and the deployment tool of the blockchain platform.

[0049] In an embodiment of the present application, specification parameters, functional parameters and interface parameters of the energy storage system are obtained, and the data points to be integrated are determined according to the specification parameters, functional parameters and interface parameters; the protocol and format of data exchange between the target blockchain server and the energy storage system are determined; according to the protocol and format of data exchange, frequency modulation function and logical parameters, the interface or function of the target blockchain server is deployed, and a communication channel between the target blockchain server and the energy storage system is established to support obtaining parameter information of the data points to be integrated from the energy storage system.

[0050] S104, obtaining a first frequency of the power network and a dispatching condition of the power network, and performing frequency modulation logic processing on the first frequency and the dispatching condition according to the target smart contract, obtaining a modulated second frequency, and applying the second frequency to the energy storage system.

[0051] In some implementations, the energy storage system is integrated with the power network infrastructure, and the server collects real-time frequency data from the power network and verifies it through a consensus algorithm within the blockchain network. This data will be used as input for energy storage frequency regulation.

[0052] Optionally, in the embodiment of the present application, the dispatch condition may be a dispatch command or dispatch rule of the power network, and the target smart contract needs to be able to parse and extract the input first frequency and dispatch condition, such as power grid frequency data, dispatch command or dispatch rule, implement the corresponding frequency modulation algorithm, calculate the modulated second frequency according to the input data and conditions, and apply the calculated modulated second frequency to the actual energy system or equipment. This involves communication or control operations with an external system to achieve frequency modulation.

[0053] In the embodiment of the present application, a target blockchain server is determined from multiple candidate blockchain servers according to the frequency modulation demand parameters; a development environment is set based on the target blockchain server, and a target smart contract is obtained under the development environment; the target smart contract is deployed in the blockchain network of the target blockchain server, and a communication channel between the blockchain network and the energy storage system is established; the first frequency of the power network and the dispatching conditions of the power network are obtained based on the communication channel, and the first frequency and the dispatching conditions are subjected to frequency modulation logic processing according to the target smart contract, a modulated second frequency is obtained, and the second frequency is applied to the energy storage system. The embodiment of the present application can improve the frequency modulation efficiency and safety of the energy storage system, and avoid energy waste and data security issues.

[0054] In some implementations, the performance of smart contracts is monitored regularly and any issues or necessary updates are addressed. If changes or improvements are needed in the future, an upgrade mechanism may be considered.

[0055] In some implementations, after the target smart contract is deployed in the blockchain network of the target blockchain server, it also includes: developing a client application or interface to interact with the deployed target smart contract. Developing a client application or interface can allow the energy storage system, the grid operator, or other host / slave computers to interact with the target smart contract and call its functions according to the frequency modulation requirements.

[0056] In some implementations, a security audit is performed on the target smart contract code, the audit results are obtained, and the target smart contract is updated according to the audit results, so as to facilitate the identification and resolution of vulnerabilities in the candidate smart contract. Optionally, best practices for secure coding can be adopted, such as input validation and protection against common attack vectors (such as reentry or overflow).

[0057] Among them, input validation is the process of ensuring that input data conforms to the expected format, range, and conditions. By validating input data, smart contracts can avoid accepting untrusted or malicious input, thereby preventing potential security vulnerabilities. For example, type checking, range checking, boundary checking, permission verification, etc. on input data can prevent malicious users or attackers from trying to exploit incorrect input to undermine the security of the contract. Protection against common attack vectors refers to taking preventive measures to prevent common security vulnerabilities and attacks on smart contracts, such as reentry attacks, integer overflows, replay attacks, etc.

[0058] Figure 2 This is a flow chart of a frequency modulation method for an energy storage system based on blockchain technology according to an embodiment of the present application. Figure 2 As shown, setting up a development environment based on the target blockchain server and obtaining the target smart contract in the development environment also includes the following steps:

[0059] S201, installing preset software development tools and frameworks on the target blockchain server to set up a development environment.

[0060] First, set up the development environment and install the software development tools and frameworks required for smart contract development on the selected blockchain platform. For example, for Ethereum, you can use tools such as the Ethereum smart contract programming language (Solidity) and the Truffle framework.

[0061] Get the code of the smart contract written in a preset programming language (such as Solidity). Implement the necessary functions and logic, including the frequency modulation function and frequency modulation logic in terms of the contract's goals, interaction methods, data structures, and logical judgments, so as to further realize frequency modulation based on input frequency data and scheduling conditions. For example, assuming that the target smart contract is used for frequency modulation of the energy storage system, the smart contract contains a public variable currentFrequency for recording the current frequency. Receive input frequency data inputData and scheduling condition condition, implement frequency modulation logic, and apply the modulated frequency to the energy storage system or device.

[0062] S202, in the development environment, obtain test cases and candidate smart contracts based on preset frequency modulation functions and logical parameters.

[0063] The purpose of obtaining test cases is to test the target smart contract and determine whether the frequency modulation logic and frequency modulation functions implemented by it meet expectations. Use online integrated development environment and other tools to test the smart contract code and conduct comprehensive tests on different scenarios and boundary conditions to ensure the reliability and security of the contract.

[0064] S203, perform testing based on the test case, obtain test results, and modify the candidate smart contract according to the test results to obtain the target smart contract.

[0065] Test based on test cases, obtain test results, and compare the test results with the preset expected results. If the test results are inconsistent with the expected results, modify the candidate smart contract and obtain the target smart contract.

[0066] In the embodiment of the present application, the blockchain is a decentralized system that reduces the cost of frequency modulation and reduces dependence on a single entity, providing a highly secure frequency modulation environment with a high degree of automation and reliability.

[0067] Figure 3 This is a flow chart of a frequency modulation method for an energy storage system based on blockchain technology according to an embodiment of the present application. Figure 3 As shown, establishing a communication channel between the blockchain network and the energy storage system also includes the following steps:

[0068] S301, obtaining specification parameters, functional parameters and interface parameters of the energy storage system, and determining data points to be integrated according to the specification parameters, functional parameters and interface parameters.

[0069] Gain in-depth understanding of the specifications, functions, and interfaces of the energy storage system. Obtaining the specifications, functions, and interfaces of the energy storage system can ensure that the subsequent design of the blockchain platform and smart contracts meets actual needs and determine the relevant data points that need to be integrated, such as power output, state of charge, and frequency measurement.

[0070] Assume that the energy storage system is a battery energy storage system with the following specifications and functions. In this case, in order to achieve the frequency regulation of the energy storage system, an in-depth understanding of the specifications, functions and interfaces of the energy storage system is required to ensure smooth integration with the blockchain platform.

[0071] Specifications may be: 100kWh capacity, 400V rated voltage, 90% charge / discharge efficiency. Understanding the capacity, rated voltage, and charge / discharge efficiency of a storage system helps determine the performance and available energy range of the storage system.

[0072] Functional parameters can be: support charging and discharging operations, and the ability to adjust the charging and discharging power through control commands. Understanding the charging and discharging operations supported by the energy storage system and the ability to adjust the charging and discharging power through control commands can be used to design the frequency modulation algorithm and corresponding scheduling logic in the smart contract.

[0073] Interface parameters can be: have a communication interface, data exchange and control can be performed through communication protocols. Understand the communication interface and supported protocols of the energy storage system, such as Modbus. Helps design smart contracts for data exchange and control with the energy storage system. You can write smart contract code to read the status information of the energy storage system, send dispatch commands, and receive feedback data from the energy storage system.

[0074] S302, determining the protocol and format of data exchange between the target blockchain server and the energy storage system.

[0075] Determine the protocol and format for data exchange between the blockchain system and the energy storage system. This may involve the use of standard communication protocols such as MQTT or RESTful API.

[0076] Determining the data exchange protocol and format between the target blockchain server and the energy storage system requires comprehensive consideration of factors such as support, interoperability, security, and standardization. The selection should be based on specific application requirements and system characteristics.

[0077] Among them, the selected data exchange protocol and format should be able to meet the communication requirements of the target blockchain server and energy storage system. The protocol and format should support functions such as data transmission, command interaction and status update, and enable reliable data exchange between the two systems. The selected protocol and format should have good interoperability, so that the blockchain system and the energy storage system can understand and interpret the transmitted data with each other, ensuring that the data exchange between the two systems is accurate and consistent. The selected protocol and format should consider the security of the data, including confidentiality, integrity and authentication. Especially in the energy field, it is crucial to protect the security of energy data and transaction information.

[0078] S303, deploy the interface or function of the target blockchain server according to the data exchange protocol and format, frequency modulation function and logical parameters, and establish a secure communication channel between the target blockchain server and the energy storage system to support obtaining parameter information of the data points to be integrated from the energy storage system.

[0079] According to the data exchange protocol and format, frequency modulation function and logical parameters, deploy interfaces or functions for operations / functions such as querying energy storage system status, scheduling frequency modulation operations, setting energy storage capacity, and querying energy storage system data.

[0080] In some implementations, parameter information of data points to be integrated is collected from the power network based on a secure communication channel between the target blockchain server and the energy storage system. For example, based on deployed sensors, metering instruments, or data acquisition systems, relevant parameter information is monitored and input into the blockchain network through a secure communication channel to ensure the confidentiality and integrity of the exchanged data.

[0081] The process of seamlessly connecting and interacting the energy storage system with the blockchain platform or smart contract to achieve functional interoperability and data exchange. This integration of the energy storage system and the target blockchain server can be achieved by developing corresponding interfaces, functions and protocols. Ensure that the integration meets the compatibility requirements of the energy storage system and complies with industry or regulatory standards.

[0082] In some implementations, a transaction management mechanism is established based on the target smart contract, and frequency modulation transactions are recorded and verified according to the transaction management mechanism. Depending on the blockchain platform, consensus algorithms such as proof of work (PoW), proof of stake (PoS), or Byzantine fault tolerance (PBFT) can be used to verify and confirm transactions. Transaction refers to the use of smart contracts to process frequency modulation transaction operations.

[0083] In some implementations, an access control mechanism is established based on cryptography technology and digital signatures to restrict the objects that perform frequency modulation transactions, verify the identities of the participants involved in the transaction, and ensure the integrity and authenticity of the transaction.

[0084] In some implementations, transaction information is obtained and stored in a target blockchain server, the transaction information including at least transaction confirmation information, transaction history, and transaction exception information, transaction throughput, latency, and scalability of frequency modulation transactions, thereby ensuring that transaction data is easily retrievable for audit and reporting purposes.

[0085] In some implementations, a user interface or application programming interface API can also be developed to allow the host / slave computer to initiate frequency modulation transactions and interact with smart contracts. Transactions are executed by calling appropriate smart contract functions, and transaction details are recorded on the blockchain to ensure transparency and immutability.

[0086] In some implementations, the status and progress of a transaction is tracked, including real-time monitoring of transaction confirmations, transaction history, and any exceptions or errors that may have occurred.

[0087] In some implementations, cryptographic techniques may be employed to protect the integrity and confidentiality of data stored in the blockchain.

[0088] In some implementations, the frequency regulation performance of the energy storage system is monitored, and the target smart contract is iteratively improved based on the changing needs of the power network and the energy storage system.

[0089] Figure 4 is a structural diagram of a frequency modulation device of an energy storage system based on blockchain technology according to an embodiment of the present disclosure, such as Figure 4 As shown, the frequency modulation device 400 of the energy storage system based on blockchain technology includes:

[0090] A determination module 410 is used to obtain a frequency modulation requirement parameter of the energy storage system, and determine a target blockchain server from a plurality of candidate blockchain servers according to the frequency modulation requirement parameter, wherein the frequency modulation requirement parameter includes at least a frequency range, a response time, and a scalability level;

[0091] An acquisition module 420 is used to set up a development environment based on a target blockchain server and acquire a target smart contract in the development environment;

[0092] Establishing module 430, for deploying the target smart contract in the blockchain network of the target blockchain server, and establishing a communication channel between the blockchain network and the energy storage system;

[0093] The modulation module 440 is used to obtain the first frequency of the power network and the dispatching conditions of the power network, and perform frequency modulation logic processing on the first frequency and the dispatching conditions according to the target smart contract, obtain the modulated second frequency, and apply the second frequency to the energy storage system.

[0094] In some implementations, the acquisition module 420 is further configured to:

[0095] Install the preset software development tools and frameworks on the target blockchain server to set up the development environment;

[0096] In the development environment, obtain test cases and candidate smart contracts based on preset frequency modulation functions and logical parameters;

[0097] Test based on test cases, obtain test results, and modify candidate smart contracts according to the test results to obtain the target smart contract.

[0098] In some embodiments, the establishment module 430 is further configured to:

[0099] Develop client applications or interfaces to interact with the deployed target smart contracts; and / or

[0100] Conduct a security audit on the target smart contract code, obtain the audit results, and update the target smart contract based on the audit results.

[0101] In some embodiments, the establishment module 430 is further configured to:

[0102] Obtain specification parameters, functional parameters and interface parameters of the energy storage system, and determine the data points to be integrated based on the specification parameters, functional parameters and interface parameters;

[0103] Determine the protocol and format for data exchange between the target blockchain server and the energy storage system;

[0104] According to the data exchange protocol and format, frequency modulation function and logical parameters, the interface or function of the target blockchain server is deployed, and a communication channel between the target blockchain server and the energy storage system is established to support the acquisition of parameter information of the data points to be integrated from the energy storage system.

[0105] In some embodiments, the frequency modulation device 400 of the energy storage system based on blockchain technology further includes a processing module 450 for:

[0106] Establishing a transaction management mechanism based on the target smart contract, and recording and verifying the frequency modulation transactions according to the transaction management mechanism; or

[0107] Establishing access control mechanisms based on cryptography and digital signatures to restrict the parties that can perform frequency modulation transactions; or

[0108] The transaction information is obtained and stored in the target blockchain server, wherein the transaction information includes at least transaction confirmation information, transaction history records, and transaction exception information, transaction throughput, latency, and scalability of frequency modulation transactions.

[0109] The embodiments of the present application can improve the frequency modulation efficiency and safety of the energy storage system, and avoid energy waste and data security issues.

[0110] Based on the same application concept, an embodiment of the present application also provides an electronic device.

[0111] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown, the electronic device 500 includes a memory 501, a processor 502, and a computer program product stored in the memory 501 and executable on the processor 502. When the processor executes the computer program, the frequency modulation method of the energy storage system based on blockchain technology is implemented.

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

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

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

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

[0116] Based on the same application concept, an embodiment of the present application also provides a computer-readable storage medium on which computer instructions are stored, wherein the computer instructions are used to enable a computer to execute the frequency modulation method of the energy storage system based on blockchain technology in the above embodiment.

[0117] Based on the same application concept, an embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the frequency modulation method of the energy storage system based on blockchain technology in the above embodiment.

[0118] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0119] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0120] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0121] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A frequency modulation method for an energy storage system based on blockchain technology, characterized in that: include: Obtain frequency modulation requirement parameters of the energy storage system, and determine a target blockchain server from a plurality of candidate blockchain servers according to the frequency modulation requirement parameters, wherein the frequency modulation requirement parameters include at least a frequency range, a response time, and a scalability level; Setting up a development environment based on the target blockchain server and obtaining a target smart contract in the development environment; Deploy the target smart contract in the blockchain network of the target blockchain server, and establish a communication channel between the blockchain network and the energy storage system; Acquire a first frequency of the power network and a dispatch condition of the power network, perform frequency modulation logic processing on the first frequency and the dispatch condition according to the target smart contract, acquire a modulated second frequency, and apply the second frequency to the energy storage system; The step of setting up a development environment based on the target blockchain server and obtaining a target smart contract under the development environment includes: Installing preset software development tools and frameworks on the target blockchain server to set up the development environment; In the development environment, obtaining test cases and candidate smart contracts based on preset frequency modulation functions and logic parameters; Performing a test based on the test case, obtaining a test result, and modifying the candidate smart contract according to the test result to obtain the target smart contract; The establishing of a communication channel between the blockchain network and the energy storage system comprises: Acquiring specification parameters, functional parameters and interface parameters of the energy storage system, and determining data points to be integrated according to the specification parameters, the functional parameters and the interface parameters; Determine the protocol and format of data exchange between the target blockchain server and the energy storage system; According to the protocol and format of the data exchange, the frequency modulation function and the logical parameters, the interface or function of the target blockchain server is deployed, and a communication channel between the target blockchain server and the energy storage system is established to support the acquisition of parameter information of the data point to be integrated from the energy storage system; Among them, the dispatch condition is the dispatch command or dispatch rule of the power network. The target smart contract calculates the modulated second frequency based on the input first frequency and the dispatch condition, and applies the calculated modulated second frequency to the actual energy system or equipment.

2. The method according to claim 1, characterized in that After deploying the target smart contract in the blockchain network of the target blockchain server, the process further includes: Develop client applications or interfaces to interact with the deployed target smart contracts; and / or Perform a security audit on the target smart contract code, obtain the audit results, and update the target smart contract according to the audit results.

3. The method according to claim 1, characterized in that Also includes: Establishing a transaction management mechanism based on the target smart contract, and recording and verifying frequency modulation transactions according to the transaction management mechanism; or Establishing an access control mechanism based on cryptography and digital signatures to restrict the objects that can perform the frequency modulation transactions; or Transaction information is obtained and stored in the target blockchain server, wherein the transaction information includes at least transaction confirmation information, transaction history records, and transaction exception information, transaction throughput, latency, and scalability of the frequency modulation transaction.

4. A frequency modulation device for an energy storage system based on blockchain technology, characterized in that: include: A determination module, configured to obtain frequency modulation requirement parameters of the energy storage system, and determine a target blockchain server from a plurality of candidate blockchain servers according to the frequency modulation requirement parameters, wherein the frequency modulation requirement parameters include at least a frequency range, a response time, and a scalability level; An acquisition module, used to set up a development environment based on the target blockchain server and acquire a target smart contract in the development environment; An establishment module is used to deploy the target smart contract in the blockchain network of the target blockchain server and establish a communication channel between the blockchain network and the energy storage system; A modulation module, used to obtain a first frequency of the power network and a dispatching condition of the power network, and perform frequency modulation logic processing on the first frequency and the dispatching condition according to the target smart contract, obtain a modulated second frequency, and apply the second frequency to the energy storage system, wherein the dispatching condition is a dispatching command or dispatching rule of the power network, and the target smart contract calculates the modulated second frequency according to the input first frequency and the dispatching condition, and applies the calculated modulated second frequency to the actual energy system or equipment; The acquisition module is further used for: Installing preset software development tools and frameworks on the target blockchain server to set up the development environment; In the development environment, obtaining test cases and candidate smart contracts based on preset frequency modulation functions and logic parameters; Performing a test based on the test case, obtaining a test result, and modifying the candidate smart contract according to the test result to obtain the target smart contract; The establishment module is also used for: Acquiring specification parameters, functional parameters and interface parameters of the energy storage system, and determining data points to be integrated according to the specification parameters, the functional parameters and the interface parameters; Determine the protocol and format of data exchange between the target blockchain server and the energy storage system; According to the protocol and format of the data exchange, the frequency modulation function and the logical parameters, the interface or function of the target blockchain server is deployed, and a communication channel between the target blockchain server and the energy storage system is established to support the acquisition of parameter information of the data points to be integrated from the energy storage system.

5. The device according to claim 4, characterized in that The establishment module is also used for: Develop client applications or interfaces to interact with the deployed target smart contracts; and / or Perform a security audit on the target smart contract code, obtain the audit results, and update the target smart contract according to the audit results.

6. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 3.

7. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the steps of the method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Service processing method and device, block chain gateway, block chain node and storage medium

    CN113283987A

  • Block chain-based energy storage participation power system distributed frequency modulation method

    CN115864430A