CN115033645B - Power data storage method and system based on block chain technology - Google Patents
Power data storage method and system based on block chain technology Download PDFInfo
- Publication number
- CN115033645B CN115033645B CN202210786646.1A CN202210786646A CN115033645B CN 115033645 B CN115033645 B CN 115033645B CN 202210786646 A CN202210786646 A CN 202210786646A CN 115033645 B CN115033645 B CN 115033645B
- Authority
- CN
- China
- Prior art keywords
- data
- power
- node
- storage
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000013500 data storage Methods 0.000 title claims abstract description 23
- 238000005516 engineering process Methods 0.000 title claims abstract description 19
- 230000001360 synchronised effect Effects 0.000 claims description 18
- 238000012790 confirmation Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000012163 sequencing technique Methods 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/06—Electricity, gas or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The application provides a power data storage method and system based on a block chain technology. Acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first description information, the access information and the first hash value to be generated; generating a second storage request, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node; the client sends the first power encryption data and the endorsement result to the ordering node, and the ordering node packages the first power encryption data into block data, updates the block data and broadcasts the block data to the submitting node; the submitting node receives the update block and stores the valid first power encryption data to the database. The traditional cloud storage method based on the block chain is improved to be suitable for power data storage, and data security and performance are improved.
Description
Technical Field
The application relates to the field of data storage, in particular to a power data storage method and system based on a blockchain technology.
Background
As economies develop, the data volume of power data exhibits explosive growth. In the prior art, storing data on a network server requires not only expensive additional equipment, such as host bus adapters, disk arrays, but also additional sites and energy consumption. The prior art is based on block chain storage, and is suitable for the poor safety and synchronism control of power data. Therefore, it is needed to propose a scheme for improving the data security and the synchronization performance of storage, and having better applicability and expandability in the cloud storage scene.
Disclosure of Invention
In view of the above, an object of the embodiments of the present application is to provide a storage scheme for improving data security and storage synchronization performance for power data.
A first aspect of the present application provides a method of power data storage based on blockchain technology, the method comprising:
s1, acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
s2, generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node;
s3, determining whether the endorsement result accords with an endorsement policy, if so, transmitting the first electric power encryption data and the endorsement result to a sequencing node by the client, packaging the first electric power encryption data into block data by the sequencing node, updating the block data and broadcasting the block data to a submitting node;
s4, the submitting node receives the updating block and stores the effective first power encryption data into a database.
Further, triggering the first power data to be encrypted according to the first request to generate first power encrypted data, including:
s11, calculating a hash value of first power data, and performing symmetric encryption on the first power data based on a random number K to acquire first power encryption data; simultaneously, encrypting the random number K to obtain second random number encryption data;
and S12, transmitting the first power encryption data and the second random number encryption data to a cloud for storage.
Further, the block data is stored in a chain manner on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the sorting node packages the first power encryption data into block data and updates the block data and broadcasts to a submitting node, and the sorting node further comprises:
s01, receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents packet loss rate, A is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
s02, determining the time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
Further, selecting a time interval t, and calculating a time period Ts for requesting updating storage again;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
Further, the first description information is used for describing attribute information of the first power data; the method comprises the steps of recording time information and sharable authority information according to a power distribution network ID corresponding to power data;
the generating a second storage request according to the first description information, the access information and the first hash value includes:
writing the first description information, the access information and the first hash value into a second storage request;
and the endorsement node verifies the signature as the endorsement of the preset user, and returns an endorsement result to the client.
A second aspect of the present application provides a power data storage system based on blockchain technology, the system comprising:
the first request module is used for acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
the second request module is used for generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node;
the confirmation and transmission module is used for determining whether the endorsement result accords with an endorsement policy, if so, the client side sends the first electric power encryption data and the endorsement result to the ordering node, and the ordering node packages the first electric power encryption data into block data, updates the block data and broadcasts the block data to the submitting node;
and the storage module is used for receiving the update block by the submitting node and storing the effective first power encryption data into the database.
Further, the block data is stored in a chain manner on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the confirmation and transmission module is further configured to:
receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents packet loss rate, A is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
and determining the time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
Further, the confirmation and transmission module is further configured to:
selecting a time interval t, and calculating a time period Ts for requesting updating storage again;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
A third aspect of the present application provides a storage medium storing a computer program; the program is loaded and executed by a processor to implement the power data storage method steps based on blockchain technology as described above.
In the scheme of the application, a first storage request of a user is obtained, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule; generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node; determining whether the endorsement result accords with an endorsement policy, if so, transmitting the first power encryption data and the endorsement result to a sequencing node by the client, and packaging the first power encryption data into block data by the sequencing node, updating the block data and broadcasting the block data to a submitting node by the sequencing node; the submitting node receives the update block and stores the valid first power encryption data to the database. The traditional cloud storage method based on the blockchain is suitable for electric power data storage, improves data security and storage synchronization performance, and has better applicability and expandability in cloud storage scenes.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow diagram of a method for storing power data based on a blockchain technique according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a power data storage system based on blockchain technology in accordance with an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the application may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The implementation details of the technical scheme of the embodiment of the application are described in detail below:
referring to fig. 1, fig. 1 is a flowchart of a power data storage method based on a blockchain technique according to an embodiment of the present application. As shown in fig. 1, a power data storage method based on a blockchain technology according to an embodiment of the present application includes:
s1, acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
s2, generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node;
s3, determining whether the endorsement result accords with an endorsement policy, if so, transmitting the first electric power encryption data and the endorsement result to a sequencing node by the client, packaging the first electric power encryption data into block data by the sequencing node, updating the block data and broadcasting the block data to a submitting node;
s4, the submitting node receives the updating block and stores the effective first power encryption data into a database.
Further, triggering the first power data to be encrypted according to the first request to generate first power encrypted data, including:
s11, calculating a hash value of first power data, and performing symmetric encryption on the first power data based on a random number K to acquire first power encryption data; simultaneously, encrypting the random number K to obtain second random number encryption data;
and S12, transmitting the first power encryption data and the second random number encryption data to a cloud for storage.
Further, the block data is stored in a chain manner on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the sorting node packages the first power encryption data into block data and updates the block data and broadcasts to a submitting node, and the sorting node further comprises:
s01, receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents packet loss rate, A is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
s02, determining the time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
Further, selecting a time interval t, and calculating a time period Ts for requesting updating storage again;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
Further, the first description information is used for describing attribute information of the first power data; the method comprises the steps of recording time information and sharable authority information according to a power distribution network ID corresponding to power data;
the generating a second storage request according to the first description information, the access information and the first hash value includes:
writing the first description information, the access information and the first hash value into a second storage request;
and the endorsement node verifies the signature as the endorsement of the preset user, and returns an endorsement result to the client.
Referring to fig. 2, a second aspect of the present embodiment provides a power data storage system based on blockchain technology, the system including:
a first request module 10, configured to obtain a first storage request of a user, where the first storage request includes first power data to be uploaded; triggering the first power data to be encrypted according to the first request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
the second request module 20 is configured to generate a second storage request according to the first description information, the access information and the first hash value, send the second storage request to an endorsement node, and return an endorsement result to the client from the endorsement node;
the confirmation and transmission module 30 is configured to determine whether the endorsement result accords with an endorsement policy, if yes, the client sends the first power encryption data and the endorsement result to a sorting node, and the sorting node packages the first power encryption data into block data, updates the block data, and broadcasts the block data to a submitting node;
the storage module 40 is configured to store the valid first power encryption data to the database when the submitting node receives the update block.
Further, the block data is stored in a chain manner on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the confirmation and transmission module 30 is further configured to:
receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents packet loss rate, A is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
and determining the time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
Further, the confirmation and transmission module 30 is further configured to:
selecting a time interval t, and calculating a time period Ts for requesting updating storage again;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
In addition, the embodiment of the application also discloses an electronic device, which comprises: one or more processors, memory for storing one or more computer programs; wherein the computer program is configured to be executed by the one or more processors, the program comprising power data storage method steps for performing blockchain technology as described above.
Furthermore, the embodiment of the application also provides a storage medium, wherein the storage medium stores a computer program; the program is loaded and executed by a processor to implement the power data storage method steps based on blockchain technology as described above.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices, or elements, or may be an electrical, mechanical, or other form of connection.
The elements described as separate components may or may not be physically separate, and as such, those skilled in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, where the elements and steps of the examples are generally described functionally in the foregoing description of the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a grid device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the application, and is not meant to limit the scope of the application, but to limit the application to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the application are intended to be included within the scope of the application.
Claims (7)
1. A method of power data storage based on blockchain technology, the method comprising:
s1, acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first storage request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
s2, generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node;
s3, determining whether the endorsement result accords with an endorsement policy, if so, transmitting the first electric power encryption data and the endorsement result to a sequencing node by the client, packaging the first electric power encryption data into block data by the sequencing node, updating the block data and broadcasting the block data to a submitting node;
s4, the submitting node receives the updating block and stores the effective first power encryption data into a database;
the block data is stored in a chain mode on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the sorting node packages the first power encryption data into block data and updates the block data and broadcasts to a submitting node, and the sorting node further comprises:
s01, receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents the packet loss rate and is used to determine the packet loss rate,a is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
s02, determining a time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
2. The blockchain technology based power data storage method of claim 1, wherein triggering the encryption of the first power data to generate first power encrypted data according to the first storage request includes:
s11, calculating a hash value of first power data, and performing symmetric encryption on the first power data based on a random number K to acquire first power encryption data; simultaneously, encrypting the random number K to obtain second random number encryption data;
and S12, transmitting the first power encryption data and the second random number encryption data to a cloud for storage.
3. The blockchain technology based power data storage method of claim 1, wherein a time interval t is selected, and a time period Ts for requesting updating storage again is calculated;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
4. The blockchain technology-based power data storage method of claim 1, wherein the first description information is used to describe attribute information of the first power data; the method comprises the steps of recording time information and sharable authority information according to a power distribution network ID corresponding to power data;
the generating a second storage request according to the first description information, the access information and the first hash value includes:
writing the first description information, the access information and the first hash value into a second storage request;
and the endorsement node verifies the signature as the endorsement of the preset user, and returns an endorsement result to the client.
5. A power data storage system based on blockchain technology, the system comprising:
the first request module is used for acquiring a first storage request of a user, wherein the first storage request comprises first power data to be uploaded; triggering the first power data to be encrypted according to the first storage request to generate first power encrypted data, and triggering the first power encrypted data to generate first description information, access information and a first hash value; the access information comprises a preset access rule, and the first hash value is used for acquiring the preset access rule;
the second request module is used for generating a second storage request according to the first description information, the access information and the first hash value, sending the second storage request to an endorsement node, and returning an endorsement result to the client by the endorsement node;
the confirmation and transmission module is used for determining whether the endorsement result accords with an endorsement policy, if so, the client side sends the first electric power encryption data and the endorsement result to the ordering node, and the ordering node packages the first electric power encryption data into block data, updates the block data and broadcasts the block data to the submitting node;
the storage module is used for receiving the update block by the submitting node and storing the effective first power encryption data into the database;
the block data is stored in a chain mode on the nodes; executing random memory access of the block data according to the delay synchronization mechanism;
the confirmation and transmission module is further configured to:
receiving an update request, and acquiring a synchronization characteristic value R between current confirmation blocks according to the update request:
wherein the said、/>Representing compensation parameters; b is the average bandwidth of the current node, and T represents the network delay between the current node and other connected nodes; l represents packet loss rate, A is the maximum value of the synchronous characteristic value; n is the request times of the current node in unit time;
and determining the time period for requesting to update the storage again according to the synchronous characteristic value R and the maximum value A of the synchronous characteristic value.
6. The blockchain technology based power data storage system of claim 5, wherein the acknowledgement and transmission module is further configured to:
selecting a time interval t, and calculating a time period Ts for requesting updating storage again;
;
and storing the block data to be updated into a buffer memory, and deleting the corresponding buffer memory for the block data after the updating is completed.
7. A storage medium storing a computer program; wherein the program is loaded and executed by a processor to implement the power data storage method steps based on blockchain technology as claimed in claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210786646.1A CN115033645B (en) | 2022-07-06 | 2022-07-06 | Power data storage method and system based on block chain technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210786646.1A CN115033645B (en) | 2022-07-06 | 2022-07-06 | Power data storage method and system based on block chain technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115033645A CN115033645A (en) | 2022-09-09 |
CN115033645B true CN115033645B (en) | 2023-11-21 |
Family
ID=83129582
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210786646.1A Active CN115033645B (en) | 2022-07-06 | 2022-07-06 | Power data storage method and system based on block chain technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115033645B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800598A (en) * | 2018-12-29 | 2019-05-24 | 中链科技有限公司 | Certificate administration method, apparatus, electronic equipment and storage medium based on block chain |
CN110162992A (en) * | 2019-05-31 | 2019-08-23 | 联想(北京)有限公司 | Data processing method, data processing equipment and computer system |
CN110399424A (en) * | 2018-04-23 | 2019-11-01 | 百度在线网络技术(北京)有限公司 | Block generation method, device, block chain node and storage medium |
CN110708170A (en) * | 2019-12-13 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Data processing method and device and computer readable storage medium |
CN110912990A (en) * | 2019-11-21 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Method and related equipment for updating consensus period |
CN112053153A (en) * | 2020-08-27 | 2020-12-08 | 中信银行股份有限公司 | Endorsement signature data storage method and device, electronic equipment and readable storage medium |
CN112835977A (en) * | 2021-01-20 | 2021-05-25 | 中国科学院信息工程研究所 | Database management method and system based on block chain |
CN113779607A (en) * | 2021-09-16 | 2021-12-10 | 北京易华录信息技术股份有限公司 | Industrial data asset management method, system and equipment |
CN114090682A (en) * | 2021-10-27 | 2022-02-25 | 润联软件系统(深圳)有限公司 | Multi-channel alliance link chaining method, device, equipment and storage medium |
CN114500069A (en) * | 2022-02-10 | 2022-05-13 | 福建福链科技有限公司 | Method and system for storing and sharing electronic contract |
-
2022
- 2022-07-06 CN CN202210786646.1A patent/CN115033645B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399424A (en) * | 2018-04-23 | 2019-11-01 | 百度在线网络技术(北京)有限公司 | Block generation method, device, block chain node and storage medium |
CN109800598A (en) * | 2018-12-29 | 2019-05-24 | 中链科技有限公司 | Certificate administration method, apparatus, electronic equipment and storage medium based on block chain |
CN110162992A (en) * | 2019-05-31 | 2019-08-23 | 联想(北京)有限公司 | Data processing method, data processing equipment and computer system |
CN110912990A (en) * | 2019-11-21 | 2020-03-24 | 腾讯科技(深圳)有限公司 | Method and related equipment for updating consensus period |
CN110708170A (en) * | 2019-12-13 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Data processing method and device and computer readable storage medium |
CN112053153A (en) * | 2020-08-27 | 2020-12-08 | 中信银行股份有限公司 | Endorsement signature data storage method and device, electronic equipment and readable storage medium |
CN112835977A (en) * | 2021-01-20 | 2021-05-25 | 中国科学院信息工程研究所 | Database management method and system based on block chain |
CN113779607A (en) * | 2021-09-16 | 2021-12-10 | 北京易华录信息技术股份有限公司 | Industrial data asset management method, system and equipment |
CN114090682A (en) * | 2021-10-27 | 2022-02-25 | 润联软件系统(深圳)有限公司 | Multi-channel alliance link chaining method, device, equipment and storage medium |
CN114500069A (en) * | 2022-02-10 | 2022-05-13 | 福建福链科技有限公司 | Method and system for storing and sharing electronic contract |
Also Published As
Publication number | Publication date |
---|---|
CN115033645A (en) | 2022-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4002181A1 (en) | A consensus method and framework for a blockchain system | |
CN114730420A (en) | System and method for generating signatures | |
US8718283B2 (en) | System and method for processing a shared secret | |
US20180183592A1 (en) | Public key rollup for merkle tree signature scheme | |
CN110597824A (en) | Data storage method and device based on block chain network | |
WO2019110399A1 (en) | Two-party signature device and method | |
CN105721156A (en) | General Encoding Functions For Modular Exponentiation Encryption Schemes | |
CN105450641A (en) | Verification method, verification device and verification system | |
CN115499249B (en) | File storage method and system based on block chain distributed encryption | |
EP3920464A1 (en) | Method for storing transaction that represents asset transfer to distributed network and program for the same | |
CN116032667B (en) | Online trace query method, system and related equipment supporting efficient update | |
CN105279217A (en) | Reconstructable content objects | |
CN112866299B (en) | Encrypted data deduplication and sharing device and method for mobile edge computing network | |
CN114127724A (en) | Integrity audit for multi-copy storage | |
CN115033645B (en) | Power data storage method and system based on block chain technology | |
GB2587541A (en) | A consensus method and framework for a blockchain system | |
CN111292722B (en) | Model training method, terminal, server and storage device of asynchronous joint architecture | |
CN110784318B (en) | Group key updating method, device, electronic equipment, storage medium and communication system | |
CN116170142B (en) | Distributed collaborative decryption method, device and storage medium | |
CN114697142B (en) | Communication data encryption method and device, electronic equipment and storage medium | |
KR20220170773A (en) | Dynamic merkle tree-based message stream generation apparatus, message streaming method and message streaming network system | |
CN114650188A (en) | Data secure transmission method and device based on proxy node | |
CN114826614B (en) | Distributed storage method and device for authenticatable password library file and electronic equipment | |
Langute et al. | Survey: Identity-based encryption in cloud computing | |
CN112887089B (en) | Ciphertext similarity calculation method, device and system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |