Block chain data chaining method of resource-constrained device and energy storage system

By marking resource-constrained devices as special marking nodes and sharding the blockchain data, the problem that resource-constrained devices in the energy storage system is difficult to participate in the blockchain, and the blockchain deployment and operation of all devices in the energy storage system is realized, reducing resource requirements and maintaining security.

CN119807303APending Publication Date: 2025-04-11CHINA THREE GORGES TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411899580.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

Resource-constrained devices in energy storage systems are difficult to afford the overhead of blockchain consensus process and storing blockchain ledgers, making it difficult to fully deploy blockchain technology in energy storage systems.

Method used

Mark resource-constrained devices as specially marked nodes and are only responsible for verifying and forwarding transactions or storing data related to themselves. By sharding the blockchain data, special marking nodes only process sharding data related to themselves, and introduce optimization measures such as breakpoint continuous transmission mechanism and pre-computation cache.

Benefits of technology

It significantly reduces the amount of data processing of resource-constrained devices participating in blockchain, allowing them to effectively participate in blockchain, realizes the blockchain deployment and operation of all devices in the energy storage system, while maintaining decentralization and security.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

In order to solve the defects in the prior art, the invention provides a block chain data chaining method of a resource-constrained device and an energy storage system, and the method comprises the steps: marking the resource-constrained device as a special mark node, and the special mark node does not need to participate in the consensus process of a block chain and is only responsible for verification and forwarding transactions, so that the resource-constrained device is not required to be identified; or only data related to itself is stored and verified. And carrying out fragmentation processing on the block chain data based on the transaction information or the state information, so that the special mark node only verifies and processes fragmented data related to the special mark node or fragmented data of a specific part. The special mark node does not synchronize the whole block chain in real time, and only when a certain specific transaction or block needs to be verified, the special mark node requests the fragment data related to the specific transaction or block. According to the method, decentration and security of the block chain technology are maintained, and meanwhile, the resource demand on the specific node is remarkably reduced, so that the resource-constrained equipment can be added into the block chain technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain data uploading method and an energy storage system for resource-constrained devices. Background Art

[0002] With the rapid development of renewable energy, energy storage systems are being used more and more widely. However, the security risks of energy storage systems have also increased accordingly, among which data security has gradually become a key part of the security risks of energy storage systems. The use of blockchain technology can effectively improve the data security of energy storage systems, but blockchain technology itself has a large demand for resources, and many devices in energy storage systems are resource-constrained devices, that is, computing, storage, bandwidth and other resources are not abundant, and it is difficult for them to afford the overhead brought by the blockchain consensus process and the storage of blockchain ledgers. This makes it difficult to fully deploy blockchain technology in energy storage systems, and blockchains that only partially cover devices with abundant resources cannot solve the problem of data security well. Summary of the invention

[0003] In order to solve the deficiencies in the prior art, one of the purposes of the present invention is to provide a method for uploading blockchain data of a resource-constrained device, comprising:

[0004] Resource-constrained devices are marked as special marked nodes. Special marked nodes do not need to participate in the consensus process of the blockchain, but are only responsible for verifying and forwarding transactions, or only storing and verifying data related to themselves.

[0005] The blockchain data is sharded based on transaction information or status information, so that special marked nodes only verify and process the shard data related to themselves, or a specific part of the shard data.

[0006] Specially marked nodes do not synchronize the entire blockchain in real time. Only when a specific transaction or block needs to be verified, the specially marked nodes request the shard data related to the specific transaction or block.

[0007] Furthermore, sharding the blockchain data based on transaction information means dividing the transaction data into multiple parts, each shard containing a part of the transaction data.

[0008] Furthermore, the specially marked node only verifies and processes transactions in the shard data assigned to this node, without having to process all transactions on the blockchain.

[0009] Furthermore, sharding blockchain data based on state information means: dividing the global state into multiple shards, each shard contains a part of the state information.

[0010] Furthermore, the special marked node only stores and processes the state fragmentation information related to the node, and does not process the global state information.

[0011] Furthermore, when the specially marked node is synchronized, only the relevant shard data that has changed since the last synchronization is downloaded, rather than re-downloading all the relevant shard data.

[0012] Furthermore, a breakpoint-resume transmission mechanism is introduced to allow specially marked nodes to perform breakpoint-resume transmission during data synchronization.

[0013] Furthermore, for frequently queried data, specially marked nodes use pre-calculation to complete data processing in advance, cache the processing results, and respond with the cached processing results when responding.

[0014] Furthermore, for tasks that do not require immediate processing, specially marked nodes use offline computing to process data, and only submit offline computing results to the chain when a response result is required.

[0015] In addition, the present invention also provides an energy storage system, in which data is transmitted between modules through blockchain, and the resource-constrained device is connected to the blockchain using the blockchain data uploading method for resource-constrained devices as described above.

[0016] The beneficial effect of the present invention is that the present invention enables blockchain technology to significantly reduce the resource requirements for specific nodes while maintaining decentralization and security, so that resource-constrained devices can be added to blockchain technology to achieve blockchain deployment and operation of all devices in the energy storage system. DETAILED DESCRIPTION

[0017] The present invention will now be further described in detail with reference to specific embodiments.

[0018] Example 1

[0019] A method for uploading blockchain data of a resource-constrained device, comprising:

[0020] Resource-constrained devices are marked as special marked nodes. Special marked nodes do not need to participate in the consensus process of the blockchain, but are only responsible for verifying and forwarding transactions, or only storing and verifying data related to themselves.

[0021] The blockchain data is sharded based on transaction information or status information, so that special marked nodes only verify and process the shard data related to themselves, or a specific part of the shard data.

[0022] Specially marked nodes do not synchronize the entire blockchain in real time. Only when a specific transaction or block needs to be verified, the specially marked nodes request the shard data related to the specific transaction or block.

[0023] The present invention processes blockchain data in shards, so that resource-constrained devices can only participate in the verification and processing of shard data related to themselves in the blockchain, or the verification and processing of specified shard data, which can significantly reduce the amount of data processing of resource-constrained devices participating in the blockchain, so that resource-constrained devices can effectively participate in the blockchain. In addition, the present invention also improves the way resource-constrained devices synchronize data, further reducing the amount of data processing of resource-constrained devices, so that they can meet the processing and response requirements of the blockchain.

[0024] Example 2

[0025] A method for uploading blockchain data to a resource-constrained device based on Example 1, wherein sharding the blockchain data based on transaction information refers to: dividing the transaction data into multiple parts, each shard containing a part of the transaction data.

[0026] The specially marked node only verifies and processes transactions in the shard data assigned to this node, without having to process all transactions on the blockchain.

[0027] This method allows resource-constrained devices to process only necessary data related to themselves, without having to process other irrelevant data. This can significantly reduce the amount of data processing when resource-constrained devices participate in the blockchain without affecting the normal operation of the blockchain.

[0028] Example 3

[0029] A method for uploading blockchain data to a resource-constrained device based on Example 1, wherein sharding the blockchain data based on state information refers to: dividing the global state into multiple shards, each shard containing a portion of state information.

[0030] The special marked node only stores and processes the status fragmentation information related to the node, and does not process the global status information.

[0031] This method allows resource-constrained devices to process only part of the data in the blockchain, rather than all of the data. This can also significantly reduce the amount of data processing when resource-constrained devices participate in the blockchain without affecting the normal operation of the blockchain.

[0032] Example 4

[0033] Based on the blockchain data uploading method for resource-constrained devices in Example 1, when the special marked node is synchronized, only the relevant shard data that has changed since the last synchronization is downloaded, rather than re-downloading all the relevant shard data. In this way, the amount of data received by the resource-constrained device during data synchronization can be significantly reduced, the processing capacity requirements of the resource-constrained device can be significantly reduced, and the time and bandwidth required for synchronization can be significantly reduced.

[0034] Example 5

[0035] Based on the blockchain data uploading method for resource-constrained devices in Example 1, a breakpoint resume mechanism is introduced to allow special marked nodes to perform breakpoint resume during data synchronization. Existing blockchain technology often requires breakpoint data to be retransmitted, but for resource-constrained devices, their network environment is often unstable. In such an environment with unstable network connection, the synchronization process may be interrupted. Designing a breakpoint resume mechanism allows nodes to continue synchronization from the last successfully synchronized point after an interruption instead of starting over, which can help improve the responsiveness of resource-constrained devices.

[0036] Example 6

[0037] Based on the blockchain data uploading method of resource-constrained devices in Example 1, for frequently queried data, special marked nodes use pre-calculation to complete data processing in advance, cache the processing results, and respond with the cached processing results when responding. This method can use spare time to pre-process part of the data, so that the computing resources of resource-constrained devices can be fully utilized, so that they can respond in time when they need to respond, meeting the response requirements of the blockchain.

[0038] Example 7

[0039] Based on the blockchain data upload method for resource-constrained devices in Example 1, for tasks that do not require immediate processing, special marked nodes use offline calculations to process data, and only submit offline calculation results to the chain when response results are required. This method can significantly reduce the amount of data interaction, process part of the data offline, and improve the responsiveness of resource-constrained devices.

[0040] Example 8

[0041] A energy storage system, in which data is transmitted between modules via blockchain, and the resource-constrained device is connected to the blockchain using the blockchain data uploading method for the resource-constrained device as in the above embodiment.

[0042] The present invention enables blockchain technology to significantly reduce the resource requirements for specific nodes while maintaining decentralization and security, allowing resource-constrained devices to be added to blockchain technology and realizing blockchain deployment and operation of all devices in the energy storage system.

[0043] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A method for uploading blockchain data of resource-constrained devices, characterized in that: include: Mark resource-constrained devices as special-marked nodes. Special-marked nodes do not need to participate in the consensus process of the blockchain and are only responsible for verifying and forwarding transactions, or only storing and verifying data related to themselves. Shard blockchain data based on transaction information or status information, so that special marked nodes only verify and process shard data related to themselves, or a specific part of shard data; Specially marked nodes do not synchronize the entire blockchain in real time. Only when a specific transaction or block needs to be verified, the specially marked nodes request the shard data related to the specific transaction or block.

2. According to the method for uploading blockchain data of resource-constrained devices according to claim 1, it is characterized in that: Sharding blockchain data based on transaction information means dividing the transaction data into multiple parts, with each shard containing a part of the transaction data.

3. According to the method for uploading blockchain data of resource-constrained devices in claim 2, it is characterized in that: The specially marked node only verifies and processes transactions in the shard data assigned to this node, without having to process all transactions on the blockchain.

4. The method for uploading blockchain data of resource-constrained devices according to claim 1, characterized in that: Sharding blockchain data based on state information means dividing the global state into multiple shards, each of which contains a part of the state information.

5. The method for uploading blockchain data of resource-constrained devices according to claim 4 is characterized in that: The special marked node only stores and processes the status fragmentation information related to the node, and does not process the global status information.

6. The method for uploading blockchain data of resource-constrained devices according to claim 1, characterized in that: When the specially marked node is synchronized, only the relevant shard data that has changed since the last synchronization is downloaded, rather than re-downloading all the relevant shard data.

7. The method for uploading blockchain data of resource-constrained devices according to claim 1, characterized in that: A breakpoint-resume transmission mechanism is introduced to allow specially marked nodes to perform breakpoint-resume transmission during data synchronization.

8. The method for uploading blockchain data of resource-constrained devices according to claim 1, characterized in that: For frequently queried data, specially marked nodes use pre-calculation to complete data processing in advance, cache the processing results, and respond with the cached processing results when responding.

9. The method for uploading blockchain data of resource-constrained devices according to claim 1, characterized in that: For tasks that do not require immediate processing, specially marked nodes use offline computing to process data, and only submit offline computing results to the chain when a response result is required.

10. An energy storage system, characterized in that: Data is transmitted between modules through blockchain, and the resource-constrained device is connected to the blockchain using the blockchain data uploading method for resource-constrained devices as described in any one of claims 1 to 9.