CN115334117B - Data bypass uplink system and method suitable for power demand response - Google Patents
Data bypass uplink system and method suitable for power demand response Download PDFInfo
- Publication number
- CN115334117B CN115334117B CN202210968044.8A CN202210968044A CN115334117B CN 115334117 B CN115334117 B CN 115334117B CN 202210968044 A CN202210968044 A CN 202210968044A CN 115334117 B CN115334117 B CN 115334117B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data
- server
- database
- state
- 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
- 230000004044 response Effects 0.000 title claims abstract description 202
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004891 communication Methods 0.000 claims abstract description 15
- 238000012545 processing Methods 0.000 claims description 9
- 238000012360 testing method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000008878 coupling Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 5
- 238000005859 coupling reaction Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012797 qualification Methods 0.000 description 2
- 238000012550 audit Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000003999 initiator 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
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- 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
- G06F16/2379—Updates performed during online database operations; commit processing
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a data bypass uplink system and a method suitable for power demand response, wherein the system comprises the following components: a terminal and a server which are in communication connection; after the terminal stores the terminal data and sets the state as 'send to server', the terminal data is sent to server, if the response message of the server is received, the state of the terminal data is modified as 'server returns successful'; constructing a blockchain transaction for terminal data with the state of 'server return success', sending the transaction to a blockchain network, judging whether the uplink is successful and modifying the state of the terminal data; after receiving the terminal data and returning a response message, the server stores the terminal data and sets the state as 'completing the terminal request'; and constructing a blockchain transaction for the terminal data with the state of 'completing the terminal request', sending the abstract value of the transaction to a blockchain network, and judging whether the uplink is successful and modifying the state. The invention can improve the service accuracy, timeliness and user experience of the demand response of the power system.
Description
Technical Field
The invention relates to the technical field of power, in particular to a data bypass uplink system and method suitable for power demand response.
Background
The power demand response is used as a regulating means for the power from the demand side, so that flexible resources can be provided for the power system, the consumption of renewable energy sources is promoted, and the contradiction between power supply and demand is effectively relieved.
In the prior art, the problem that the uplink scheme of the power demand response data is difficult to consider both in terms of response performance and data safety is solved, and the operation of a power service system and a blockchain have strong coupling, so that the service accuracy and user experience of the power demand response blockchain system are affected.
Disclosure of Invention
The invention aims to provide a data bypass uplink system and a data bypass uplink method suitable for power demand response, so as to solve the technical problem that the existing demand response data uplink scheme is difficult to consider both response performance and data safety.
The aim of the invention can be achieved by the following technical scheme:
a data bypass uplink system adapted for power demand response, comprising:
a terminal and a server which are in communication connection;
After the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; searching the terminal data with the state of 'server return success' in the terminal database, constructing a blockchain transaction, transmitting the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the terminal database into 'uplink success', otherwise, modifying the state of the terminal data in the terminal database into 'transmitting to a blockchain'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal;
After the server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, the terminal data is stored in a server database, and the state of the terminal data is set as 'finishing terminal request'; searching terminal data with the state of 'completing terminal request' in the server database, constructing a blockchain transaction, sending the abstract value of the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the server database into 'successful uplink', otherwise, modifying the state of the terminal data in the server database into 'sending to the blockchain'.
Optionally, the internet of things terminal includes: the system comprises a first business module, a first database and a first uplink module which are in communication connection;
The first service module collects power data and stores the abstract value of the power data in the first database, after the state of the power data is set to be 'sent to a server', the power data is sent to the server, if a response message corresponding to the power data returned by the server is received, the state of the power data is modified to be 'server return success', otherwise, the state of the power data is modified to be 'server return error';
the first database stores the power data acquired by the first service module;
The first uplink module searches the power data with the status of 'server return success' in the first database, constructs a blockchain transaction, sends the transaction to a blockchain network, changes the status of the power data in the first database into 'uplink success' if uplink is successful, and changes the status of the power data in the first database into 'send to blockchain', otherwise.
Optionally, the user terminal includes: the second business module, the second database and the second uplink module are in communication connection;
The second business module determines power demand response data, stores the abstract value of the power demand response data in the second database, sets the state of the power demand response data as 'sending to a server', and then sends the power demand response data to the server, if a response message corresponding to the power demand response data returned by the server is received, the state of the power demand response data is modified to be 'successful return of the server', otherwise, the state of the power demand response data is modified to be 'error return of the server'; the power demand response data are determined by the user terminal according to the power demand issued by the server, and the power demand is determined by the server according to the power data sent by the internet of things terminal;
the second database stores the power demand response data determined by the second service module;
The second uplink module searches the second database for the power demand response data with the status of "server returns successful" and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the status of the power demand response data in the second database is modified to be "successful", otherwise, the status of the power demand response data in the second database is modified to be "sent to a blockchain".
Optionally, the server includes: the third business module, the third database and the third uplink module are in communication connection;
After receiving the terminal data and returning a response message corresponding to the terminal data to the terminal, the third service module stores the terminal data in a server database and sets the state of the terminal data as 'finishing terminal request';
the third database stores the terminal data received by the third service module;
The third uplink module searches terminal data with the state of 'completing terminal request' in the third database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the third database into 'successful uplink', otherwise, modifies the state of the terminal data in the third database into 'sending to the blockchain'.
The invention also provides a data bypass uplink method suitable for power demand response, which is applied to a data bypass uplink system suitable for power demand response, and comprises the following steps:
After the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal;
The server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, stores the terminal data in a server database and sets the state of the terminal data as 'completing terminal request';
The terminal searches the terminal data with the state of 'server return success' in the terminal database and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the state of the terminal data in the terminal database is modified to be 'uplink successful', otherwise, the state of the terminal data in the terminal database is modified to be 'sent to a blockchain';
The server searches the terminal data with the state of 'completing terminal request' in the server database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the server database into 'successful uplink', otherwise, modifies the state of the terminal data in the server database into 'sending to the blockchain'.
Optionally, before searching the terminal data with the status of "server returns success" in the terminal database, the terminal further includes:
and the terminal searches the terminal data with the status of 'successful uplink' or 'server return error' in the terminal database and deletes the terminal data.
Optionally, the terminal data has a corresponding unique identifier, so that when the server receives the terminal data, duplicate removal verification is performed according to the unique identifier, thereby preventing duplicate processing of the same terminal data.
Optionally, before the terminal sends the transaction to the blockchain network, the terminal further includes:
Calculating the abstract value of the transaction and storing the abstract value in a terminal database
Optionally, before searching the terminal data with the status of "server returns success" in the terminal database, the terminal further includes:
The terminal searches the terminal data with the state of 'sending to a block chain' in the terminal database, inquires whether the terminal data with the state of 'sending to the block chain' already has transaction on a block chain network, if so, modifies the state of the terminal data in the terminal database into 'successful uplink', otherwise, modifies the state of the terminal data in the terminal database into 'successful server return'.
Optionally, the method further comprises:
The terminal initiates the correctness inquiry of the terminal data to a blockchain network, specifically: judging whether the abstract value of the transaction in the terminal database is the same as the abstract value of the transaction on the server, if so, the terminal data has correctness, otherwise, the terminal data does not have correctness.
The invention provides a data bypass uplink system and a method suitable for power demand response, wherein the method comprises the following steps: after the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal; the server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, stores the terminal data in a server database and sets the state of the terminal data as 'completing terminal request'; the terminal searches the terminal data with the state of 'server return success' in the terminal database and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the state of the terminal data in the terminal database is modified to be 'uplink successful', otherwise, the state of the terminal data in the terminal database is modified to be 'sent to a blockchain'; the server searches the terminal data with the state of 'completing terminal request' in the server database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the server database into 'successful uplink', otherwise, modifies the state of the terminal data in the server database into 'sending to the blockchain'.
In view of this, the beneficial effects brought by the invention are:
before the terminal sends the terminal data to the background server, namely before the user terminal sends the power demand response data and the internet of things terminal sends the power data to the server, the terminal data is stored in a terminal database, the terminal data state is set as 'sent to the server', and the state of the terminal data is modified after the response message returned by the server is received, so that the integrity of service operation can be ensured; the terminal and the background server respectively carry out uplink recording on the same terminal data, namely service operation data, so as to prevent any party from modifying the data of the other party and then carrying out uplink, thereby ensuring the correctness of a uplink data source and improving the accuracy and the data security of service operation. According to the invention, the terminal only initiates the service request to the background server, and does not directly send the service request to the blockchain, so that the decoupling of the operation of the power service system and the blockchain is realized, the service accuracy of the power system demand response blockchain system is greatly improved, and the timeliness of service response and the user experience in the power demand response scene can be ensured.
Drawings
FIG. 1 is a schematic diagram of the overall architecture of the system of the present invention;
FIG. 2is a schematic flow chart of the method of the present invention;
Fig. 3 is a schematic diagram of an initialization flow of a user terminal service module according to the present invention;
Fig. 4 is a schematic diagram of a processing flow of a user terminal service module according to the present invention;
Fig. 5 is a schematic diagram of an initialization flow of a user terminal uplink module according to the present invention;
fig. 6 is a schematic diagram of a user terminal uplink module uplink flow according to the present invention;
FIG. 7 is a schematic diagram of a conventional test deployment architecture in a uplink mode;
FIG. 8 is a schematic diagram of a test deployment architecture according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a data bypass uplink system and a data bypass uplink method suitable for power demand response, which are used for solving the technical problem that the existing demand response data uplink scheme is difficult to consider both response performance and data safety.
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Referring to fig. 1, a data bypass uplink system suitable for power demand response according to an embodiment of the present invention includes:
A terminal 1 and a server 2 which are in communication connection;
After the terminal 1 stores the terminal data in a terminal database and sets the state of the terminal data as "send to server", the terminal data is sent to the server 2, if a response message corresponding to the terminal data returned by the server 2 is received, the state of the terminal data is modified to be "server return successful", otherwise, the state of the terminal data is modified to be "server return error"; searching the terminal data with the state of 'server return success' in the terminal database, constructing a blockchain transaction, transmitting the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the terminal database into 'uplink success', otherwise, modifying the state of the terminal data in the terminal database into 'transmitting to a blockchain'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal; after receiving the terminal data and returning a response message corresponding to the terminal data to the terminal, the server 2 stores the terminal data in a server database and sets the state of the terminal data as 'completing the terminal request'; searching terminal data with the state of 'completing terminal request' in the server database, constructing a blockchain transaction, sending the abstract value of the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the server database into 'successful uplink', otherwise, modifying the state of the terminal data in the server database into 'sending to the blockchain'.
In this embodiment, the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal. Before the terminal sends the terminal data to the server, the terminal data is stored in a terminal database and the state of the terminal data is set as 'send to server'; specifically, before the internet of things terminal sends the collected power data to the server, the power data is stored in a local database of the internet of things terminal, and the state of the power data is set as 'send to the server'; before the user terminal transmits the determined power demand response data to the server, the power demand response data is stored in a local database of the user terminal and the state of the power demand response data is set to be "transmitted to the server".
If the terminal receives a response message corresponding to the terminal data returned by the server, modifying the state of the terminal data into 'server return success', otherwise, modifying the state of the terminal data into 'server return error'. Specifically, after receiving a response message corresponding to the power data returned by the server, the internet of things terminal modifies the state of the power data in the first database to be "server return success", otherwise, modifies the state of the power data in the first database to be "server return error"; or after receiving the response message corresponding to the power demand response data returned by the server, the user terminal modifies the state of the power demand response data in the second database to be 'server return success', otherwise, modifies the state of the power demand response data in the second database to be 'server return error'.
Specifically, the thing allies oneself with the terminal includes: the system comprises a first business module, a first database and a first uplink module which are in communication connection;
The first business module collects power data and stores the abstract value of the power data in the first database, the power data is sent to the server after the state of the power data is set to be 'sent to the server', if a response message corresponding to the power data returned by the server is received, the state of the power data is modified to be 'successful return of the server', otherwise, the state of the power data is modified to be 'error return of the server'; the first database stores the power data acquired by the first service module; the first uplink module searches the power data with the status of 'server returns successful' in the first database, constructs a blockchain transaction, sends the transaction to the blockchain network, and if the uplink is successful, modifies the status of the power data in the first database into 'successful uplink', otherwise, modifies the status of the power data in the first database into 'send to blockchain'.
Specifically, the user terminal includes: the second business module, the second database and the second uplink module are in communication connection;
The second business module determines the power demand response data and stores the abstract value of the power demand response data in a second database, sets the state of the power demand response data as 'sending to the server' and then sends to the server, if a response message corresponding to the power demand response data returned by the server is received, the state of the power demand response data is modified to be 'server return success', otherwise, the state of the power demand response data is modified to be 'server return error'; the power demand response data are determined by the user terminal according to the power demand issued by the server, and the power demand is determined by the server according to the power data sent by the internet of things terminal; the second database stores the power demand response data determined by the second service module; the second uplink module searches the second database for the power demand response data with the status of 'server returns successful', constructs a blockchain transaction, sends the transaction to the blockchain network, changes the status of the power demand response data in the second database into 'successful uplink' if the uplink is successful, and changes the status of the power demand response data in the second database into 'sending to the blockchain' if the uplink is successful.
Specifically, the server includes: the third business module, the third database and the third uplink module are in communication connection;
After receiving the terminal data and returning a response message corresponding to the terminal data to the terminal, the third service module stores the terminal data in a server database and sets the state of the terminal data as 'finishing the terminal request'; the third database stores terminal data received by the third service module; the third uplink module searches terminal data with the state of 'completing terminal request' in a third database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, changes the state of the terminal data in the third database into 'successful uplink' if the uplink is successful, and changes the state of the terminal data in the third database into 'sending to the blockchain', otherwise.
It is understood that the first database is the local database of the internet of things terminal, the second database is the local database of the user terminal, and the third database is the local database of the server.
The data bypass uplink system suitable for power demand response provided by the embodiment stores the terminal data in the terminal database and sets the state of the terminal data as 'send to the server', and modifies the state of the terminal data after receiving the response message returned by the server, so that the integrity of service operation can be ensured; the terminal and the background server respectively carry out uplink recording on the same terminal data, namely service operation data, so as to prevent any party from modifying the data of the other party and then carrying out uplink, thereby ensuring the correctness of a uplink data source and improving the accuracy and the data security of service operation. According to the invention, the terminal only initiates the service request to the background server, and does not directly send the service request to the blockchain, so that the decoupling of the operation of the power service system and the blockchain is realized, the service accuracy of the power system demand response blockchain system is greatly improved, and the timeliness of service response and the user experience in the power demand response scene can be ensured.
The embodiment of the invention relates to four main bodies of a user terminal APP, an Internet of things terminal, a background server and a block chain network;
The Internet of things terminal collects power data, controls power use and executes power demand response actions;
The user terminal sends a service request message to the server, receives the message returned by the server, and initiates service data correctness and proof inquiry to the blockchain network;
the server distributes power requirements, receives service request information of the user terminal, distributes the power requirements, returns information to the user terminal and sends a requirement response adjustment instruction to the Internet of things terminal;
the block chain network stores service data and provides service data correctness and proof inquiry for each user terminal.
Referring to table 1, table 1 is a user terminal APP cache database table, including: the unique identification (unique ID) uuid of the data, the data type, the additional parameter paras, the return value ret of the background server, the digest value hash_tx of the uplink transaction, the local state, etc. Wherein, the data type value comprises 0 and 1,0 represents common data, and 1 represents operation data; the additional parameter is a specific data value; the values of the local state include 0, 1,2,3 and 4,0 indicating that the background server returned to success, 1 indicating that the background server returned to success, 2 indicating that the block chain was sent to, 3 indicating that the uplink was successful, and 4 indicating that the background server returned an error.
It should be noted that, the database table cached by the internet of things terminal is very similar to that of the user terminal, and will not be described here again.
TABLE 1
Referring to table 2, table 2 is a background server cache database table, including: the unique identification, the digest value of the data uploaded by the user terminal APP, the digest value of the uplink transaction, the local state and other fields. The summary value of the uploaded data of the user terminal comprises: the digest value of 3 fields of the data type, the additional parameter, the return value of the server, i.e., hash_para=hash (data type, additional parameter, return value of the server); the values of the local state include 0, 1 and 2,0 indicating that the request of the user terminal APP is completed, 1 indicating that the request is sent to the blockchain, and 2 indicating that the uplink is successful.
TABLE 2
Referring to fig. 2, the present invention provides an embodiment of a data bypass uplink method applicable to power demand response, applied to a data bypass uplink system applicable to power demand response, the method comprising:
S100: after the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal;
s200: the server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, stores the terminal data in a server database and sets the state of the terminal data as 'completing terminal request';
S300: the terminal searches the terminal data with the state of 'server return success' in the terminal database and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the state of the terminal data in the terminal database is modified to be 'uplink successful', otherwise, the state of the terminal data in the terminal database is modified to be 'sent to a blockchain';
S400: the server searches the terminal data with the state of 'completing terminal request' in the server database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the server database into 'successful uplink', otherwise, modifies the state of the terminal data in the server database into 'sending to the blockchain'.
Referring to fig. 3, the initialization flow of the user terminal APP service module includes the following steps:
(1) After the user terminal APP is started, searching and deleting the business operation data record with the local state of 3 (successful uplink) or 4 (server return error); the user terminal APP deletes the power demand response data with the status of successful uplink or error returned by the server when being started;
(2) Then searching an operation data record (power demand response data) with the local state of 0 (sent to the server) and sending the operation data record to the background server;
(3) The background server receives power demand response data (service operation request) sent by the user terminal and returns response information corresponding to the power demand response data;
(4) If the user terminal APP successfully receives the response information returned by the background server, the power demand response data record sent in step (2) is found, and the local state of the user terminal APP is changed to 1 (i.e., the local state of the user terminal APP is set as "server returns success").
When the user terminal APP does not receive the reply of the background server, abnormal exit occurs, after the program is restarted, the user terminal APP executes the initialization flow of the service module, can perform subsequent operation on the power demand response data, and can ensure the integrity of the power demand response data.
Referring to fig. 4, the service module processing flow of the user terminal APP includes the following steps:
(1) The user terminal APP is started, a terminal response power demand data record is added in a local database of the user terminal, namely a second database, and the local state of the user terminal APP is set to 0 (namely the local state of the user terminal APP is set to be 'sent to a server');
(2) The user terminal APP sends power demand response data to the background server;
(3) The background server receives the power demand response data and replies response information corresponding to the power demand response data;
(4) If the user terminal APP receives the response message, finding the power demand response data record sent in the step (1), and changing the local state of the data record into 1 (the server returns success); otherwise, the state of the power demand response data is modified to 4 (server return error).
In this embodiment, each piece of power demand response data sent by the user terminal APP is required to reach a unique and queriable target, and each piece of power demand response data of the user terminal APP generates a unique ID. Before transmitting a specific power demand response data to the background server, the user terminal APP needs to store the power demand response data into a local database of the user terminal for later verification with the background server so as to prevent that the execution state of the background server cannot be confirmed due to sudden exit of a small program after the power demand response data is sent out; aiming at each piece of power demand response data sent by the user terminal APP, the background server performs duplicate removal verification according to the unique ID, so that the same piece of power demand response data is prevented from being executed twice, and the same result of the user terminal APP is returned for the same ID; meanwhile, the background server stores each power demand response data into a local database of the background server, and the power demand response data is searched again and used in later audit by the standby user terminal APP.
Referring to fig. 5, the initialization procedure of the second uplink module, which is the uplink module of the user terminal APP, includes the following steps:
(1) After the user terminal APP is started, searching the second database for power demand response data with the local state of 2 (sent to the blockchain);
(2) Inquiring whether the transaction corresponding to the data exists on the blockchain network;
(3) If the corresponding transaction exists, the local state of the transaction is modified to 3 in a second database (successful uplink); if there is no corresponding transaction, its local state is modified to 1 (server returns success) in the second database in order to perform the uplink flow.
Referring to fig. 6, the uplink procedure of the second uplink module, which is the uplink module of the ue APP, is as follows:
(1) The second uplink module queries a local database table of the user terminal APP at regular time to find out power demand response data with a local state of 1 (successful return of the server);
(2) The second uplink module constructs a blockchain transaction for the data;
(3) The second uplink module takes a summary value for the blockchain transaction and records the summary value into a database table field;
(4) The second uplink module transmitting the transaction to the blockchain network;
(5) If the second uplink module receives the uplink success reply returned by the block chain node, modifying the state of the power demand response data in the second database from 1 (successful return of the server) to 3 (successful uplink); if no reply is received, the local state of the power demand response data in the second database is modified from 1 (server returns success) to 2 (sent to the blockchain).
In this embodiment, because the user terminal APP uses the user, the power demand response data generated by the service module is stored in the second database local to the user terminal APP, and then the second uplink module continuously searches the second database for the power demand response data that needs to be uplink for uplink. The present embodiment adopts a design that the service and the blockchain are separated, and the service operation does not depend on the power demand response data existing on the blockchain, but adopts a mode of first occurrence and then uplink. In order to ensure the correctness of the uplink data source, the user terminal APP and the background server must respectively perform uplink recording on the same power demand response data so as to prevent any party from modifying the data of the other party and then uplink.
The user terminal APP links the operation data (power demand response data), constructs a blockchain transaction for each operation data, and sends transaction details to the blockchain network, wherein the transaction details only need to be linked in one time, and other records related to the operation data take the summary value of the details as a check value. The user terminal APP is an initiator for operating the data uplink and is responsible for sending the operation details to the link; the background server is an executor for operating the data uplink, and only needs to abstract details and record the details on the link.
In the subsequent auditing and verifying work, when auditing is performed for certain operation data, the important step is to check whether the abstract value of the transaction details in the uplink record of the user terminal (which is already stored in the second database of the user terminal) is the same as the abstract value of the transaction uplink of the background server: HASH (data type, additional parameters, return value of server) = check digest value.
The details are all message contents of the transaction sent to the blockchain network, and correspond to the summary value of the transaction.
It should be noted that, when the user terminal is started, the user terminal APP deletes the operation record of successful uplink, and deletes the operation record returned by the background server; for the background server, the requirement of the user terminal APP for later inquiry is met, so that all business operations are recorded and cannot be deleted, and a scheme of permanently reserving operation data and periodically performing cold standby storage is adopted.
In this embodiment, when the user terminal APP sends the blockchain transaction to the blockchain network, the digest value of the transaction is stored in the second database. It should be noted that, the power demand response data with the local state of 1 in the second database indicates that the data is service operation data that needs to be uploaded to the blockchain network, and 1 blockchain transaction is constructed for each piece of power demand response data that needs to be uploaded to the blockchain network.
When the user terminal APP sends the power demand response data to the background server, if the user terminal APP does not receive the reply from the background server and an abnormal exit occurs, in this case, if the service operation (that is, the sent power demand response data) is not recorded in advance, after the program is restarted, the user terminal APP can check the execution result of the service operation, but cannot perform subsequent operations on the service any more. Therefore, the invention adopts the mode of recording operation in advance and changing the local state after receiving the reply of the background server to ensure the integrity of service operation. In this embodiment, before sending the power demand response data to the background server, the user terminal APP sets the state of the power demand response data to "send to server", and modifies the state of the power demand response data to "server return success" or "server return error" according to whether a response message returned by the server is received, so that the integrity of each piece of power demand response data sent can be ensured.
When the second uplink module of the user terminal sends a transaction to the blockchain network, if the user terminal does not receive the reply of the blockchain network, the second uplink module of the user terminal can not know whether the operation data (the power demand response data with the status of 'successful return of the server') is already uplink or not after the program is restarted if the user terminal does not exit abnormally, and the service operation data can be possibly repeatedly uplink. In this regard, the present invention adopts a method of recording the abstract value of the transaction corresponding to the operation data in advance, and changing the local state after receiving the reply of the blockchain node to ensure the correctness of the uplink operation. If the user terminal APP does not receive the reply of the blockchain node and abnormally exits, after the program is restarted, the user terminal APP executes the initialization flow of the uplink module, so that whether the transaction corresponding to the power demand response data with the state of "server return success" is already uplink or not can be known, the operation data is prevented from being repeatedly uplink, and the accuracy of uplink operation can be ensured.
In this embodiment, the internet of things terminal periodically collects power data through the first service module and stores the power data in the first database, and after setting the state of the power data to "send to server", sends the power data to the server, so that the server can determine the power demand, and perform power demand distribution and settlement; and the Internet of things terminal sends the power data with the state of 'successful return of the server' to the blockchain network through the first uplink module to perform uplink operation. It should be noted that, the uplink processing flow performed by the first uplink module of the internet of things terminal is basically the same as the uplink processing flow performed by the second uplink module of the user terminal APP.
Specifically, the internet of things terminal regularly collects power data through a first service module and stores the power data in a local first database, the collected power data is added in the first database, the state of the power data is set as 'sending to a server', and then the power data is sent to the server; and the server receives the power data and returns a response message, if the response message returned by the server is successfully received by the Internet of things terminal, the state of the power data is modified to be "the server returns successfully", otherwise, the state of the power data is modified to be "the server returns errors". The method comprises the steps that an Internet of things terminal searches power data with a state of 'server return success' in a first database through a first uplink module, constructs a blockchain transaction, stores a summary value of the transaction in the first database, sends the transaction to a blockchain network to execute uplink operation, and if the uplink is successful, modifies the state of the power data in the first database into 'uplink success', otherwise, modifies the state of the power data in the first database into 'send to blockchain'; after receiving the power data of the internet of things terminal and returning response information, the server adds the power data into a third database and sets the state of the power data as a 'complete internet of things terminal request', searches the power data with the state of the 'complete internet of things terminal request' in the third database, constructs a blockchain transaction, sends the abstract value of the transaction to the blockchain network, changes the state of the power data in the third database into a 'successful uplink' if the uplink is successful, and changes the state of the power data in the third database into a 'send to blockchain' if the uplink is not successful.
It should be noted that, the initialization process of the first uplink module is executed, and the power data in the first database with the status of "successful uplink" or "error returned by the server" can be located and cleaned.
According to the method, the server determines and distributes the power demand according to the power demand and the power demand response data of the user terminal, the power demand distribution is sent to the corresponding user terminal, and the user terminal controls the Internet of things terminal to execute power demand response action according to the received power demand distribution.
The business processing flow of the third business module of the background server is as follows: after the server receives the power data sent by the Internet of things terminal and returns a response message corresponding to the power data to the Internet of things terminal, the power data is stored in a third database of the server, and the state of the power data is set as 'completing the Internet of things terminal request'; or after receiving the power demand response data sent by the user terminal and returning a response message corresponding to the power demand response data to the user terminal, storing the power demand response data in a third database of the server and setting the state of the power demand response data as 'completing the request of the internet of things terminal'.
The uplink processing flow of the third uplink module of the background server is as follows: the server searches the third database for the power data or the power demand response data with the state of 'completing the user terminal request' (with the corresponding state of 0), constructs a blockchain transaction, sends the abstract value of the transaction to the blockchain network, and if the uplink is successful, modifies the state of the power data or the power demand response data in the third database to be 'successful' (with the corresponding state of 2), otherwise, modifies the state of the power data or the power demand response data to be 'sent to the blockchain' (with the corresponding state of 1).
In this embodiment, after the power data of the internet of things terminal or the power demand response data of the user terminal APP is processed, the background server service module adds a new record in the local third database table, which is different from the user terminal APP and the internet of things terminal in that the background server does not have a link of deleting the data record of which the uplink is completed, and all the data records are to be reserved in the local database of the background server, that is, the third database.
The data bypass link method suitable for power demand response provided by the embodiment is that before the terminal sends the terminal data to the background server, namely before the user terminal sends the power demand response data and the internet of things terminal sends the power data to the server, the terminal data is stored in the terminal database and the state of the terminal data is set as 'send to the server', and the state of the terminal data is modified after the response message returned by the server is received, so that the integrity of service operation can be ensured; the terminal and the background server respectively carry out uplink recording on the same terminal data, namely service operation data, so as to prevent any party from modifying the data of the other party and then carrying out uplink, thereby ensuring the correctness of a uplink data source and improving the accuracy and the data security of service operation. According to the invention, the terminal only initiates the service request to the background server, and does not directly send the service request to the blockchain, so that the decoupling of the operation of the power service system and the blockchain is realized, the service accuracy of the power system demand response blockchain system is greatly improved, and the timeliness of service response and the user experience in the power demand response scene can be ensured.
As a specific embodiment, in order to verify the practicability and advancement of the data bypass uplink system and method scheme provided by the present invention, the method of the present invention and two conventional schemes are subjected to simulation test, and the test deployment architecture is shown in fig. 7 and 8.
Normal scene test flow, test results are shown in table 3:
1) The background server issues 1000 response demand notices;
2) After receiving the demand announcements, the user terminal APP reports the response quantity and price data to a background server, and after receiving the information reported by all the user terminals APP, the background server sequentially clears the price from low to high, distributes the demand response qualification to the user terminals APP, and finishes the distribution of 1000 response demands.
3) Recording data; the above steps were then repeated 3 times.
TABLE 3 Table 3
Abnormal scene test flow, test results are shown in table 4:
1) The background server issues 1000 response demand notices;
2) After receiving the demand announcement, the user terminal APP reports the response quantity and price data to a background server. At the mobile phone end, the APP process is immediately exited every time the user terminal APP finishes transmitting the request. And after receiving the information reported by all the user terminals APP, the background server sequentially clears the price from low to high, and distributes the demand response qualification to the user terminals APP until 1000 response demands are distributed.
3) Recording data; the above steps were then repeated 3 times.
TABLE 4 Table 4
In the first round of normal scene test, the total number of successful response demands of the user terminals in the three uplink modes is 1000, and the total number of successful response demands is consistent with the total number of the distribution demands of the background service, and no error on demand distribution exists. As can be seen from the results, the traffic accuracy and the uplink accuracy of the mode a are 100%, but the average traffic execution time and the average uplink time are significantly longer than those of the mode B and the mode C. The average service execution time and the average uplink time of the mode B are faster, but the uplink accuracy is not 100%. Mode C has 100% accuracy and fast response time.
In the second round of abnormal scene test, the total number of successful response demands of the terminals in the mode A and the mode C is 1000, the total number of three groups of demand distribution in the mode B is less than 1000, and omission and errors in service execution exist. Although the mode a still keeps 100% accuracy, the service execution time and the uplink time are greatly slowed down, which seriously affects the use of the user. Mode C still has a faster response time with 100% accuracy guaranteed.
The test results show that the service execution and the data link up-link of the system can still reach 100% accuracy even if the service system continuously exits abnormally by using the data bypass uplink scheme provided by the invention, and the high safety and loose coupling characteristics and the advancement compared with the traditional uplink provided by the invention are verified. On the other hand, the bypass uplink scheme can achieve service execution time of 100ms on average and uplink time of 200ms on average, and timeliness of service response and user experience in a power demand response scene can be guaranteed.
Compared with the existing uplink scheme, the scheme of the invention realizes that the business system keeps independent, each terminal only initiates a request to the background service and does not directly send the request to the blockchain, and if the blockchain network fails or the connection is lost, each terminal and the background service only need to remove the database and the uplink module, the system becomes a traditional business system, and normal operation can be kept. In addition, the scheme solves the existing problems of the proxy uplink mode by allowing the uplink module of each terminal to directly interact with the blockchain, eliminates the potential risk of wrongly acting on the background terminal, and ensures the correctness of service data.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed system, 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. Alternatively, 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 units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention 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 invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb 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 above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (9)
1. A data bypass uplink system adapted for power demand response, comprising:
a terminal and a server which are in communication connection;
After the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; searching the terminal data with the state of 'server return success' in the terminal database, constructing a blockchain transaction, transmitting the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the terminal database into 'uplink success', otherwise, modifying the state of the terminal data in the terminal database into 'transmitting to a blockchain'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal;
After the server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, the terminal data is stored in a server database, and the state of the terminal data is set as 'finishing terminal request'; searching terminal data with a state of 'completing terminal request' in the server database, constructing a blockchain transaction, transmitting a summary value of the transaction to a blockchain network, if the uplink is successful, modifying the state of the terminal data in the server database into 'successful uplink', otherwise, modifying the state of the terminal data in the server database into 'transmitting to a blockchain';
The terminal initiates the correctness inquiry of the terminal data to a blockchain network, specifically: judging whether the abstract value of the transaction in the terminal database is the same as the abstract value of the transaction on the server, if so, the terminal data has correctness, otherwise, the terminal data does not have correctness.
2. The data bypass uplink system adapted for power demand response of claim 1, wherein the internet of things terminal comprises: the system comprises a first business module, a first database and a first uplink module which are in communication connection;
The first service module collects power data and stores the abstract value of the power data in the first database, after the state of the power data is set to be 'sent to a server', the power data is sent to the server, if a response message corresponding to the power data returned by the server is received, the state of the power data is modified to be 'server return success', otherwise, the state of the power data is modified to be 'server return error';
the first database stores the power data acquired by the first service module;
The first uplink module searches the power data with the status of 'server return success' in the first database, constructs a blockchain transaction, sends the transaction to a blockchain network, changes the status of the power data in the first database into 'uplink success' if uplink is successful, and changes the status of the power data in the first database into 'send to blockchain', otherwise.
3. The data bypass uplink system adapted for power demand response of claim 1 wherein the user terminal comprises: the second business module, the second database and the second uplink module are in communication connection;
The second business module determines power demand response data, stores the abstract value of the power demand response data in the second database, sets the state of the power demand response data as 'sending to a server', and then sends the power demand response data to the server, if a response message corresponding to the power demand response data returned by the server is received, the state of the power demand response data is modified to be 'successful return of the server', otherwise, the state of the power demand response data is modified to be 'error return of the server'; the power demand response data are determined by the user terminal according to the power demand issued by the server, and the power demand is determined by the server according to the power data sent by the internet of things terminal;
the second database stores the power demand response data determined by the second service module;
The second uplink module searches the second database for the power demand response data with the status of "server returns successful" and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the status of the power demand response data in the second database is modified to be "successful", otherwise, the status of the power demand response data in the second database is modified to be "sent to a blockchain".
4. The data bypass uplink system adapted for power demand response of claim 1 wherein the server comprises: the third business module, the third database and the third uplink module are in communication connection;
After receiving the terminal data and returning a response message corresponding to the terminal data to the terminal, the third service module stores the terminal data in a server database and sets the state of the terminal data as 'finishing terminal request';
the third database stores the terminal data received by the third service module;
The third uplink module searches terminal data with the state of 'completing terminal request' in the third database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the third database into 'successful uplink', otherwise, modifies the state of the terminal data in the third database into 'sending to the blockchain'.
5. A data bypass uplink method applicable to power demand response, applied to a data bypass uplink system applicable to power demand response according to any one of claims 1 to 4, the method comprising:
After the terminal stores the terminal data in a terminal database and sets the state of the terminal data as 'sending to a server', the terminal data is sent to the server, if a response message corresponding to the terminal data returned by the server is received, the state of the terminal data is modified to be 'server return success', otherwise, the state of the terminal data is modified to be 'server return error'; the terminal is a user terminal or an internet of things terminal, the terminal data is power demand response data of the user terminal or power data of the internet of things terminal, and the terminal database is a database of the user terminal or a database of the internet of things terminal;
The server receives the terminal data and returns a response message corresponding to the terminal data to the terminal, stores the terminal data in a server database and sets the state of the terminal data as 'completing terminal request';
The terminal searches the terminal data with the state of 'server return success' in the terminal database and constructs a blockchain transaction, the transaction is sent to a blockchain network, if the uplink is successful, the state of the terminal data in the terminal database is modified to be 'uplink successful', otherwise, the state of the terminal data in the terminal database is modified to be 'sent to a blockchain';
The server searches the terminal data with the state of 'completing terminal request' in the server database, constructs a blockchain transaction, sends the abstract value of the transaction to a blockchain network, if the uplink is successful, modifies the state of the terminal data in the server database into 'successful uplink', otherwise, modifies the state of the terminal data in the server database into 'sending to the blockchain'.
6. The method for data bypass linking adapted for power demand response according to claim 5, wherein said terminal further comprises, before searching said terminal database for said terminal data in the status "server returned successful":
and the terminal searches the terminal data with the status of 'successful uplink' or 'server return error' in the terminal database and deletes the terminal data.
7. The data bypass uplink method according to claim 5, wherein the terminal data has a corresponding unique identifier, so that when the server receives the terminal data, a duplicate check is performed according to the unique identifier, thereby preventing duplicate processing of the same terminal data.
8. The data bypass linking method for power demand response of claim 5, wherein the terminal further comprises, prior to sending the transaction to a blockchain network:
And calculating the abstract value of the transaction, and storing the abstract value in a terminal database.
9. The method for data bypass linking adapted for power demand response according to claim 5, wherein said terminal further comprises, before searching said terminal database for said terminal data in the status "server returned successful":
The terminal searches the terminal data with the state of 'sending to a block chain' in the terminal database, inquires whether the terminal data with the state of 'sending to the block chain' already has transaction on a block chain network, if so, modifies the state of the terminal data in the terminal database into 'successful uplink', otherwise, modifies the state of the terminal data in the terminal database into 'successful server return'.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210968044.8A CN115334117B (en) | 2022-08-12 | 2022-08-12 | Data bypass uplink system and method suitable for power demand response |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210968044.8A CN115334117B (en) | 2022-08-12 | 2022-08-12 | Data bypass uplink system and method suitable for power demand response |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115334117A CN115334117A (en) | 2022-11-11 |
CN115334117B true CN115334117B (en) | 2024-05-03 |
Family
ID=83923989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210968044.8A Active CN115334117B (en) | 2022-08-12 | 2022-08-12 | Data bypass uplink system and method suitable for power demand response |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115334117B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110297822A (en) * | 2019-05-22 | 2019-10-01 | 平安科技(深圳)有限公司 | Key management method, device, equipment and storage medium towards block chain |
CN111008222A (en) * | 2018-10-08 | 2020-04-14 | 顺丰科技有限公司 | Data state query method and device |
KR20200099419A (en) * | 2019-02-14 | 2020-08-24 | 주식회사 엠블럭 | Blockchain network having a lightening node based on a cloud and a lightening node of the blockchain network |
CN112434112A (en) * | 2020-12-04 | 2021-03-02 | 中国工商银行股份有限公司 | Method and device for synchronously storing block chain data into database |
CN112751920A (en) * | 2020-12-28 | 2021-05-04 | 杭州趣链科技有限公司 | Block chain-based network interaction behavior evidence obtaining method and device and terminal |
CN113507513A (en) * | 2021-06-30 | 2021-10-15 | 电子科技大学 | Zk-snark-based ubiquitous power Internet of things transaction data management method |
CN114022151A (en) * | 2022-01-10 | 2022-02-08 | 云账户技术(天津)有限公司 | Block chain data visualization method and system, electronic device and storage medium |
-
2022
- 2022-08-12 CN CN202210968044.8A patent/CN115334117B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111008222A (en) * | 2018-10-08 | 2020-04-14 | 顺丰科技有限公司 | Data state query method and device |
KR20200099419A (en) * | 2019-02-14 | 2020-08-24 | 주식회사 엠블럭 | Blockchain network having a lightening node based on a cloud and a lightening node of the blockchain network |
CN110297822A (en) * | 2019-05-22 | 2019-10-01 | 平安科技(深圳)有限公司 | Key management method, device, equipment and storage medium towards block chain |
CN112434112A (en) * | 2020-12-04 | 2021-03-02 | 中国工商银行股份有限公司 | Method and device for synchronously storing block chain data into database |
CN112751920A (en) * | 2020-12-28 | 2021-05-04 | 杭州趣链科技有限公司 | Block chain-based network interaction behavior evidence obtaining method and device and terminal |
CN113507513A (en) * | 2021-06-30 | 2021-10-15 | 电子科技大学 | Zk-snark-based ubiquitous power Internet of things transaction data management method |
CN114022151A (en) * | 2022-01-10 | 2022-02-08 | 云账户技术(天津)有限公司 | Block chain data visualization method and system, electronic device and storage medium |
Non-Patent Citations (1)
Title |
---|
宽带用户感知质量(QoE)评测体系研究;马刚;任阔;徐海英;;互联网天地;20130215(第02期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN115334117A (en) | 2022-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109426949B (en) | Cross-chain transaction method and device | |
US7926103B2 (en) | System and method for preventing replay attacks | |
CN107491519B (en) | Method and device for inquiring block chain account book | |
CN111414389B (en) | Data processing method and device, electronic equipment and storage medium | |
CN111753016B (en) | Data processing method, device, system and computer readable storage medium | |
CN102523290B (en) | Data processing method, device and system | |
CN110196759B (en) | Distributed transaction processing method and device, storage medium and electronic device | |
CN110597887B (en) | Data management method, device and storage medium based on blockchain network | |
CN113596010B (en) | Data processing method, device, node equipment and computer storage medium | |
CN110633970A (en) | Digital asset sorting method and device, computer equipment and storage medium | |
JP5007239B2 (en) | Distributed transaction matching service | |
CN112039970A (en) | Distributed business lock service method, server, system and storage medium | |
CN110096511B (en) | Data consistency verification method, device, equipment and medium based on private chain | |
US8359601B2 (en) | Data processing method, cluster system, and data processing program | |
CN111311360A (en) | Resource return method and device, storage medium and electronic device | |
CN115334117B (en) | Data bypass uplink system and method suitable for power demand response | |
CN111741038B (en) | Data transmission method and data transmission device | |
CN114895879B (en) | Management system design scheme determining method, device, equipment and storage medium | |
JP6233846B2 (en) | Variable-length nonce generation | |
EP1839206A2 (en) | System and method for processing event predicates | |
CN113536034A (en) | Data writing method and data reading method based on bloom filter | |
CN112669002A (en) | Timing function-based data examination method, device and storage medium | |
CN111553787A (en) | Service information generation method, device, equipment and storage medium based on block chain | |
CN114500321B (en) | Message verification method, device and storage medium | |
CN114971163B (en) | Execution method and execution device for reinitiating service request |
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 |