CN113515534B - Concurrent transaction data processing method, device, equipment and medium based on blockchain - Google Patents

Concurrent transaction data processing method, device, equipment and medium based on blockchain Download PDF

Info

Publication number
CN113515534B
CN113515534B CN202110538512.3A CN202110538512A CN113515534B CN 113515534 B CN113515534 B CN 113515534B CN 202110538512 A CN202110538512 A CN 202110538512A CN 113515534 B CN113515534 B CN 113515534B
Authority
CN
China
Prior art keywords
data
identification
proposal
identifier
synchronous
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
Application number
CN202110538512.3A
Other languages
Chinese (zh)
Other versions
CN113515534A (en
Inventor
张沛昌
胡帅
林宏斌
黄磊
钱恭斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen University
Original Assignee
Shenzhen University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen University filed Critical Shenzhen University
Priority to CN202110538512.3A priority Critical patent/CN113515534B/en
Publication of CN113515534A publication Critical patent/CN113515534A/en
Application granted granted Critical
Publication of CN113515534B publication Critical patent/CN113515534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
    • G06F16/2343Locking methods, e.g. distributed locking or locking implementation details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a concurrent transaction data processing method, a device, equipment and a medium based on a blockchain, wherein the method comprises the following steps: and verifying the input data transaction according to the identification database, if the verification result is processing, adding the data identification into the identification database, executing the data transaction to obtain a data processing result, feeding back, updating the identification database, judging whether the synchronous database contains a proposal synchronous identification matched with the data identification according to the data identification of the input proposal information, if so, generating a newly added proposal synchronous identification, adding the newly added proposal synchronous identification into the synchronous database, synchronizing the data to be synchronized according to the arrangement sequence of the proposal synchronous identification, and unlocking the data identification when the synchronous processing of a plurality of proposal synchronous identifications of the same data identification is completed. By the method, conflicts generated in the execution process of concurrent data transaction transactions can be avoided, and concurrent conflicts when synchronizing data information to be synchronized can also be avoided.

Description

Concurrent transaction data processing method, device, equipment and medium based on blockchain
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a blockchain-based concurrent transaction data processing method, apparatus, device, and medium.
Background
The blockchain technology is an emerging technology, has the characteristics of decentralization, point-to-point transmission, transparency, traceability, non-falsification, data security and the like, and has a very wide effect in the future. Blockchain technology is essentially a ledger technique, similar to traditional decentralized databases, but is more secure and transparent than traditional databases. However, the inventor finds that if a plurality of users process the same data information in the existing blockchain network at the same time, transaction conflict is easy to occur, so that the processing speed of the data information is slower, even an error processing result is obtained after the data information is processed, and the processing efficiency and reliability of the blockchain on the data information are affected. Therefore, the block chain in the prior art method has the problem of low data information processing efficiency and reliability.
Disclosure of Invention
The embodiment of the invention provides a concurrent transaction data processing method, device, equipment and medium based on a blockchain, which aim to solve the problem that the efficiency and reliability of data information processing of the blockchain in the prior art method are not high.
In a first aspect, an embodiment of the present invention provides a concurrent transaction data processing method based on a blockchain, where the method is applied to a cloud server deployed in the blockchain, and the cloud server is simultaneously connected with a plurality of user terminals through a network to transmit data information, and the method includes:
if a data transaction input by the user terminal is received, verifying the data identification of the data transaction according to a preset identification database to obtain a verification result of whether to process the data transaction;
if the verification result is processing, adding the data identification of the data transaction into the identification database;
executing the data transaction to process transaction data matched with the data identifier to obtain a data processing result and feeding back the data processing result to the user terminal;
updating the identification information contained in the identification database according to the data processing result;
if proposal information input by the user terminal is received, judging whether a preset synchronous database contains a proposal synchronous identifier matched with the data identifier of the proposal information or not;
if the synchronous database contains a proposal synchronous identifier matched with the data identifier, generating a newly added proposal synchronous identifier according to the proposal synchronous identifier and the proposal information and adding the newly added proposal synchronous identifier into the synchronous database;
According to the arrangement sequence of a plurality of proposal synchronization identifiers corresponding to the same data identifier in the synchronization database, synchronizing transaction data to be synchronized with each proposal synchronization identifier into an account book of the blockchain network in sequence;
and if the synchronization processing is finished by a plurality of proposal synchronization identifiers of the same data identifier, unlocking the data identifier.
In a second aspect, an embodiment of the present invention provides a blockchain-based concurrent transaction data processing device, including:
the data transaction verification unit is used for verifying the data identification of the data transaction according to a preset identification database if the data transaction input by the user terminal is received, so as to obtain a verification result of whether the data transaction is processed;
a data identifier adding unit, configured to add a data identifier of the data transaction to the identifier database if the verification result is processing;
the data processing result feedback unit is used for executing the data transaction to process the transaction data matched with the data identifier to obtain a data processing result and feeding back the data processing result to the user terminal;
an identification database updating unit, configured to update identification information included in the identification database according to the data processing result;
The data identification judging unit is used for judging whether a preset synchronous database contains a proposal synchronous identification matched with the data identification of the proposal information or not if the proposal information input by the user terminal is received;
a proposal synchronization identifier adding unit, configured to generate a new proposal synchronization identifier according to the proposal synchronization identifier and the proposal information and add the new proposal synchronization identifier to the synchronization database if the synchronization database contains a proposal synchronization identifier that is matched with the data identifier;
the synchronous processing unit is used for sequentially synchronizing transaction data to be synchronized with each proposal synchronous identifier into an account book of the blockchain network according to the arrangement sequence of a plurality of proposal synchronous identifiers corresponding to the same data identifier in the synchronous database;
and the unlocking unit is used for unlocking the data identifier if the plurality of proposal synchronous identifiers of the same data identifier all complete synchronous processing.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the blockchain-based concurrent transaction data processing method according to the first aspect when the processor executes the computer program.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program when executed by a processor causes the processor to perform the blockchain-based concurrent transaction data processing method according to the first aspect.
The embodiment of the invention provides a concurrent transaction data processing method, device, equipment and medium based on a blockchain. And verifying the data transaction input by the user terminal according to the identification database, if the verification result is processing, adding the data identification in the identification database, executing the data transaction to obtain a data processing result and feeding back the data processing result to the user terminal, updating the identification database, judging whether the synchronous database contains a proposal synchronous identification matched with the data identification according to the data identification of the input proposal information, if so, generating a newly added proposal synchronous identification and adding the newly added proposal synchronous identification into the synchronous database, synchronizing data information to be synchronized according to the arrangement sequence of the proposal synchronous identification, and if the synchronous processing of a plurality of proposal synchronous identifications of the same data identification is completed, unlocking the data identification. By the method, conflicts generated in the execution process of concurrent data transaction transactions can be avoided, concurrent conflicts when data information to be synchronized is synchronized can also be avoided, and the efficiency and reliability of data information processing are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a block chain based concurrent transaction data processing method according to an embodiment of the present invention;
fig. 2 is an application scenario schematic diagram of a concurrent transaction data processing method based on blockchain according to an embodiment of the present invention;
FIG. 3 is a schematic sub-flowchart of a concurrent transaction data processing method based on blockchain according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of a block chain based concurrent transaction data processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another sub-flowchart of a blockchain-based concurrent transaction data processing method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another flow chart of a block chain based concurrent transaction data processing method according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another sub-flowchart of a blockchain-based concurrent transaction data processing method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another flow chart of a block chain based concurrent transaction data processing method according to an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a blockchain-based concurrent transaction data processing device provided by an embodiment of the present invention;
fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Referring to fig. 1 and fig. 2, fig. 1 is a flow chart of a concurrent transaction data processing method based on blockchain according to an embodiment of the present invention; fig. 2 is an application scenario schematic diagram of a concurrent transaction data processing method based on blockchain according to an embodiment of the present invention; the blockchain-based concurrent transaction data processing method is applied to a cloud server 10 deployed in a blockchain 30, the blockchain-based concurrent transaction data processing method is executed through application software installed in the cloud server 10, the cloud server 10 is simultaneously connected with a plurality of user terminals 20 through a network to transmit data information, the user terminals 20 are terminal devices for processing and storing the data information, such as desktop computers, notebook computers, tablet computers or mobile phones, and the like, the cloud server 10 is a server for executing the blockchain-based concurrent transaction data processing method to calculate, transmit and store the data information, such as a server constructed by an enterprise or a government department, and the blockchain network 30 is a data processing network formed by a plurality of user terminals and the cloud server based on intelligent contracts in the internet. As shown in fig. 1, the method includes steps S110 to S180.
And S110, if the data transaction input by the user terminal is received, verifying the data identification of the data transaction according to a preset identification database, and obtaining a verification result of whether to process the data transaction.
And if the data transaction input by the user terminal is received, verifying the data identification of the data transaction according to a preset identification database to obtain a verification result of whether to process the data transaction. In this embodiment, the blockchain network may be a distributed data processing network built based on a federated chain (Hyperledger Fabric). If transaction data stored in the blockchain network is required to be processed, the corresponding transaction data is required to be processed in a mode of inputting data transaction transactions, and any user terminal in the blockchain network can send the data transaction transactions to the blockchain network. Specifically, the data transaction at least comprises channel information, transaction data link code information, a time stamp, a user terminal signature, transaction calculation information and the like. The cloud server is preconfigured with an identification database, wherein the identification database is a database for storing data identifications, and the identification database can be a Redis database. The data identifier corresponding to the data transaction can be obtained, and the verification result of whether the data transaction is processed or not can be verified according to the identifier information contained in the identifier database.
In one embodiment, as shown in FIG. 3, step S110 includes sub-steps S111 and S112.
S111, generating a data identifier corresponding to the data transaction according to a preset data identifier generation rule.
Specifically, the corresponding data identifier can be generated according to the information contained in the data transaction, the data identifier can be summary information obtained through hash operation, specifically, basic information in the data transaction is obtained, the basic information is information shared by a plurality of data transaction transactions for processing the same transaction data, namely, the basic information in the data transaction transactions for processing the same transaction data in different modes is kept unchanged. The basic information may include channel information, transaction data chain code information, etc., where the blockchain network includes different storage channels, where the storage channels are composed of multiple Peer nodes, the channel information is specific information of the storage channel where the transaction data is located, the transaction data is stored in the Peer nodes of the storage channel in a linked list manner, the transaction data chain code information is specific information in the storage channel that identifies the linked list location where the transaction data is located, and hash operation is performed on the basic information of the transaction data according to hash operation to obtain corresponding summary information, where the hash operation is a secure hash algorithm 256.
In this embodiment, hash (basic information) =digest information, that is, hash operation is performed on the basic information to obtain a digest information, and for any length (calculated according to bits), SHA256 (secure Hash algorithm 256) generates a 32-byte length data, and SHA256 always processes the information as a bit string. The same basic information adopts abstract information obtained by carrying out hash operation, if two different basic information are respectively subjected to hash operation, the obtained two abstract information are also different, so that the abstract information can be used for verifying whether data are changed, namely, the integrity of a received file.
In a specific embodiment, the user terminal may also generate a corresponding original data identifier based on the basic information in the data transaction and add the original data identifier to the data transaction, where the data transaction received by the cloud server includes the original data identifier, and the cloud server may again generate the verification data identifier based on the basic information in the data transaction, verify the original data identifier included in the data transaction based on the verification data identifier, and if the verification result verification data identifier is the same as the original data identifier, execute a subsequent processing step; if the verification results are different, the basic information is changed in the transmission process of the data transaction, and the cloud service does not execute the subsequent processing steps and feeds back prompt information of verification errors to the user terminal.
S112, judging whether the identification database does not contain the identification information matched with the data identification so as to obtain a verification result of whether the data transaction is processed.
The identification database stores data identifications, each data identification contained in the identification database corresponds to one piece of identification information, whether the identification database contains identification information matched with the data identifications or not can be judged, specifically, whether the data identifications are identical to each piece of identification information in the identification database or not is judged, if the data identifications are identical to the identification information, the identification database is judged to contain identification information matched with the data identifications, at the moment, the identification information matched with the data identifications in the identification database is one piece and only one piece of identification information is contained, and the verification result is that the data transaction is not processed; if any of the identification information is different from the data identification, judging that the identification database does not contain the identification information matched with the data identification, and processing the data transaction as a verification result.
In addition to verifying the data identifier in the data transaction, the data transaction verification process further comprises a conventional verification process required to be performed on the data transaction in the blockchain network, wherein the conventional verification process comprises the following steps: and verifying whether the format of the data transaction is correct, whether the data transaction is repeatedly submitted, whether the client signature in the data transaction is valid, whether the corresponding user of the client signature has corresponding processing authority in a storage channel and the like.
And S120, if the verification result is processing, adding the data identification of the data transaction into the identification database.
And if the verification result is processing, adding the data identification of the data transaction into the identification database. If the verification result is processing, the data identifier of the data transaction is first added to the identifier database, specifically, the data identifier in the identifier database may be stored in a Key-Value manner, the Key-Value pair may include a Key and a Value, the data identifier may be stored as a Key in the Key-Value pair, the Value may be used to store other information related to the data identifier, for example, the adding time of the data identifier in the identifier database may be stored as a Value in the Key-Value pair.
In an embodiment, as shown in fig. 4, step S120 further includes step S1201.
And S1201, if the verification result is that the data is not processed, feeding back prompt information which cannot be processed to the user terminal which sends the data transaction.
If the verification result is that the transaction data is not processed, the fact that transaction data corresponding to the data transaction is being processed at the moment is indicated, the data transaction conflicts with other data transaction transactions, at the moment, the cloud server cannot process the data transaction, and therefore prompt information which cannot be processed can be fed back to a user terminal sending the data transaction.
And S130, executing the data transaction to process transaction data matched with the data identification to obtain a data processing result and feeding back the data processing result to the user terminal.
And executing the data transaction to process transaction data matched with the data identifier to obtain a data processing result and feeding back the data processing result to the user terminal. Specifically, transaction data corresponding to the block chain network can be determined according to basic information in the data transaction, transaction calculation information in the data transaction comprises information such as a calling chain code function, a function parameter, calling attribute configuration information and the like, the transaction data matched with the basic information can be calculated based on the function, the parameter and the attribute configuration information contained in the transaction calculation information to obtain a corresponding calculation result, and the calculation process is a specific process for processing the transaction data, and finally the obtained data processing result at least comprises the calculation result of the transaction data.
In addition, the process of processing the transaction data may also be performed in a terminal device of the blockchain network, for example, if the verification result of the data transaction by the cloud server is the process, the cloud server may feed back the verification result to the terminal device that sends the data transaction, where the user terminal includes a peer node corresponding to the data transaction, and the peer node stores the transaction data corresponding to the data transaction. After the terminal device obtains the verification result, the transaction data can be processed according to the data transaction to obtain a data processing result, at this time, the user terminal can feed back the data processing result to the cloud server, and the cloud server updates the identification information contained in the identification database according to the data processing result, that is, step S140 is executed.
And S140, updating the identification information contained in the identification database according to the data processing result.
And updating the identification information contained in the identification database according to the data processing result. Specifically, the data processing result also includes a data identifier corresponding to the basic information of the data transaction, and the identification information included in the identification database can be updated according to the data processing result.
In one embodiment, as shown in FIG. 5, step S140 includes sub-steps S141 and S142.
S141, acquiring identification information matched with the data identification of the data processing result in the identification database as target identification information.
The identification information identical to the data identification can be obtained from the identification database according to the data identification contained in the data processing result, and then the identification information identical to the data identification is only one piece and is taken as the target identification information.
S142, deleting the target identification information from the identification database so as to update the identification information contained in the identification database.
And deleting the target identification information from the identification database, so that the processing procedure of updating the identification information contained in the identification database can be realized.
And S150, if the proposal information input by the user terminal is received, judging whether a preset synchronous database contains a proposal synchronous identification matched with the data identification of the proposal information.
If the proposal information input by the user terminal is received, judging whether a preset synchronous database contains a proposal synchronous identification matched with the data identification of the proposal information. The peer node of the user terminal stores the original transaction data matched with the data transaction, and after the user terminal receives the data processing result, the user terminal can synchronously update the original transaction data stored in the user terminal based on the data processing result. In this case, only the original transaction data stored by the user terminal in the blockchain network is updated, in order to update the original transaction data stored in other peer nodes in the blockchain network, the user terminal may send proposal information to the cloud server, where the proposal information is information for synchronously updating corresponding transaction data included in the entire blockchain network, and at least includes a calculation result obtained by calculating the original transaction data and a corresponding data identifier. Because a large amount of transaction data needs to be synchronized in the cloud server, a synchronization database is configured in the cloud server, wherein the synchronization database is a database for storing proposal synchronization identifiers, and the cloud server can perform synchronization processing on corresponding transaction data based on the proposal synchronization identifiers stored in the synchronization database, wherein the synchronization database can be a Redis database.
Judging whether the proposal synchronization identification matched with the data identification of the proposal information is contained in the synchronization database, judging whether the data identification of the proposal information is identical with the data identification contained in each proposal synchronization identification or not, if the data identification of the proposal information is identical with the data identification contained in the proposal synchronization identification, judging that the proposal information is matched with the proposal synchronization identification, otherwise, judging that the proposal information is not matched with the proposal synchronization identification.
In an embodiment, as shown in fig. 6, step S1501 is further included after step S150.
S1501, if the synchronous database does not contain proposal synchronous identification matched with the data identification, locking the data identification of the proposal information, generating a newly added proposal synchronous identification according to the proposal information, and adding the newly added proposal synchronous identification into the synchronous database.
If the proposal synchronization information matched with the data identification information is not contained in the synchronization database, the identification information contained in the proposal information can be locked first, if the data identification is locked, the transaction data corresponding to the data identification is indicated to be in the process of being updated, then a newly added proposal synchronization identification is generated according to the proposal information, and the newly added proposal synchronization identification is added into the synchronization database. Specifically, the newly added proposal synchronization identifier may be stored in the synchronization database in a key value opposite way, and the proposal synchronization identifier T may be composed of K and V, where K is a data identifier in the proposal information, V is a calculation result corresponding to the data identifier, V is to-be-synchronized transaction data in the proposal synchronization identifier, T is a code value obtained by combining K and V and then performing coding, and the code value T may be used as identification information uniquely corresponding to the proposal synchronization identifier. The generated proposal synchronization identification can be added into a synchronization database for storage, and at the moment, there is one and only one proposal synchronization identification matched with the data identification of the proposal information in the synchronization database.
For example, the code value T may be a code value obtained by adding hexadecimal K and hexadecimal V, and then base64 encoding or ASCII encoding the obtained added value; the code value T may be a code value obtained by sequentially splicing hexadecimal K and hexadecimal V, and then base64 encoding or ASCII encoding the spliced value.
And S160, if the synchronous database contains a proposal synchronous identifier matched with the data identifier, generating a newly added proposal synchronous identifier according to the proposal synchronous identifier and the proposal information, and adding the newly added proposal synchronous identifier into the synchronous database.
If the synchronous database contains the proposal synchronous identification matched with the data identification, generating a new proposal synchronous identification according to the proposal synchronous identification and the proposal information and adding the new proposal synchronous identification into the synchronous database. If the proposal synchronization identifier matched with the data identifier is included in the synchronization database, a corresponding newly added proposal synchronization identifier is required to be generated according to the proposal synchronization identifier matched with the data identifier and the proposal information, and the newly added proposal synchronization identifier is added into the synchronization database to be stored, and the data identifiers corresponding to the proposal synchronization identifiers added into the synchronization database are all in a locked state. If the number of proposal synchronization identifiers matched with the data identifiers in the synchronization database is S, after the newly added proposal synchronization identifiers are added into the synchronization database, the number of proposal synchronization identifiers matched with the data identifiers of the proposal information in the synchronization database is S+1.
In one embodiment, as shown in FIG. 7, step S160 includes sub-steps S161, S162, and S163.
And S161, acquiring one proposal synchronous identifier which is latest generated in the synchronous database and corresponds to the data identifier as a target synchronous identifier.
Specifically, a plurality of proposal synchronization identifiers corresponding to the data identifiers in the synchronization database are sequentially arranged in sequence, and the proposal synchronization identifiers in the synchronization database follow the principle of first-in first-out, then one proposal synchronization identifier at the tail of the arrangement is the latest proposal synchronization identifier, and the one proposal synchronization identifier at the tail of the arrangement can be used as the target synchronization identifier corresponding to the data identifier.
For example, if a plurality of proposal synchronization identifiers corresponding to a certain data identifier in the synchronization database are in order: t (T) 1 、T 2 And T 3 ,T 1 From K 1 And V 1 Composition, T 2 From K 2 And V 2 Composition, where K 2 Comprises K 1 And T 1 ,T 3 From K 3 And V 3 Composition, where K 3 Comprises K 1 And T 2 The three proposal synchronization identifications all comprise the same data identification K 1 At this time, the proposal synchronization mark T at the end of the arrangement 3 Namely, the data identifier K is 1 And corresponding target synchronous identification.
S162, combining the target synchronous identification with the data identification and then combining the target synchronous identification with the transaction data to be synchronized of the proposal information to generate a newly added proposal synchronous identification.
In the process of generating the newly added proposal synchronous mark, the target synchronous mark is needed to be firstly identifiedCompounding with the data identification. For example, the target sync is identified as T 3 Data identification K 1 Compounding the target synchronous mark and the data mark to obtain K 4 ,K 4 Comprises K 1 And T 3 Will K 4 To-be-synchronized transaction data V in the proposal information 4 Is combined and according to K 4 And V 4 Obtaining corresponding code value T 4 As the identification information of the proposal synchronization identification, the newly added proposal synchronization identification which is finally generated can be expressed as T 4 ,T 4 The information contained in the data is composed of K 4 And V 4 Composition, where K 4 Comprises K 1 And T 3
S163, adding the newly added proposal synchronization identifier to the position after the target synchronization identifier in the synchronization database for arrangement.
And arranging the positions of the newly added proposal synchronous identifiers after the target synchronous identifiers, namely adding the newly added proposal synchronous identifiers into a synchronous database.
For example, a plurality of proposal synchronization identifiers obtained after adding the newly added proposal synchronization identifiers are sequentially arranged as follows: t (T) 1 、T 2 、T 3 、T 4
S170, according to the arrangement sequence of a plurality of proposal synchronous identifiers corresponding to the same data identifier in the synchronous database, synchronizing the transaction data to be synchronized with each proposal synchronous identifier into an account book of the blockchain network in sequence.
And according to the arrangement sequence of a plurality of proposal synchronous identifiers corresponding to the same data identifier in the synchronous database, synchronizing the transaction data to be synchronized with each proposal synchronous identifier into an account book of the blockchain network in sequence. Specifically, the synchronous database includes an arrangement sequence of a plurality of proposal synchronous identifiers corresponding to each data identifier, the transaction data to be synchronized of the first proposal synchronous identifier in the arrangement sequence is obtained and synchronized to an account book of the blockchain network, the account book is a storage channel for storing the transaction data in the blockchain network, the processing process is to synchronously update the original transaction data stored in a linked list position corresponding to the corresponding data identifier in the blockchain network according to the transaction data to be synchronized, after the transaction data to be synchronized of the first proposal synchronous identifier in the arrangement sequence is updated, if the next proposal synchronous identifier still exists in the arrangement sequence of the data identifier, the transaction data to be synchronized of the next proposal synchronous identifier is continuously updated synchronously.
And S180, if all the proposal synchronous identifiers of the same data identifier finish synchronous processing, unlocking the data identifier.
And if the synchronization processing is finished by a plurality of proposal synchronization identifiers of the same data identifier, unlocking the data identifier. If the synchronization processing is completed by the plurality of proposal synchronization identifiers of the data identifier, unlocking the data identifier, and at the moment, indicating that the transaction data corresponding to the data identifier is not in the updated process.
In an embodiment, as shown in fig. 8, the blockchain-based concurrent transaction data processing method further includes steps S181, S182 and S183, and the specific processing procedures of steps S181, S182 and S183 in the specific application scenario may not be limited, that is, steps S181, S182 and S183 may be performed before or after any of steps S110 to S180.
S181, if the data query information input by the user terminal is received, judging whether the identification database contains identification information matched with the data identification of the data query information; s182, if the identification database does not contain the identification information matched with the data identification, judging whether the data identification is locked or not; s183, if the data identification is not locked, transaction data corresponding to the data identification in the account book is acquired and fed back to the user terminal.
The user can input data query information through the user terminal to query transaction data stored in the blockchain network, specifically, the data query information comprises a data identifier, whether the identifier database comprises the identifier information matched with the data identifier of the data query information or not can be judged, and if the identifier information is contained, prompt information which cannot be subjected to data query is fed back to the user terminal; if the data identification is not contained, continuing to judge whether the data identification is locked, if the data identification is not locked, retrieving transaction data corresponding to the data identification from an account book of a blockchain network, feeding back the transaction data to a user terminal, and acquiring the transaction data corresponding to the data identification from any peer node of a corresponding storage channel of the blockchain network; if the data identifier is locked, the transaction data corresponding to the data identifier is indicated to be in the updated process, and prompt information that the data query cannot be performed can be fed back to the user terminal.
In the concurrent transaction data processing method based on the blockchain, the data transaction input by the user terminal is verified according to the identification database, if the verification result is processing, the data identification is added in the identification database, the data transaction is executed to obtain a data processing result and fed back to the user terminal, the identification database is updated, whether the synchronous database contains the proposal synchronous identification matched with the data identification is judged according to the data identification of the input proposal information, if so, a newly added proposal synchronous identification is generated and added in the synchronous database, synchronous data information is sequentially processed according to the arrangement sequence of the proposal synchronous identification, and if synchronous processing is completed by a plurality of proposal synchronous identifications of the same data identification, the data identification is unlocked. By the method, conflicts generated in the execution process of concurrent data transaction transactions can be avoided, concurrent conflicts when data information to be synchronized is synchronized can also be avoided, and the efficiency and reliability of data information processing are greatly improved.
The embodiment of the invention also provides a concurrent transaction data processing device based on the blockchain, which can be configured in a cloud server of a blockchain network and is used for executing any embodiment of the concurrent transaction data processing method based on the blockchain. In particular, referring to fig. 9, fig. 9 is a schematic block diagram of a block chain-based concurrent transaction data processing apparatus according to an embodiment of the present invention.
As shown in fig. 9, the blockchain-based concurrent transaction data processing device 100 includes a data transaction verification unit 110, a data identification adding unit 120, a data processing result feedback unit 130, an identification database updating unit 140, a data identification judging unit 150, a proposal synchronization identification adding unit 160, a synchronization processing unit 170, and an unlocking unit 180.
And the data transaction verification unit 110 is configured to verify the data identifier of the data transaction according to a preset identifier database if the data transaction input by the user terminal is received, so as to obtain a verification result of whether to process the data transaction.
In one embodiment, the data transaction verification unit 110 includes a subunit: the data identifier generating unit is used for generating a data identifier corresponding to the data transaction according to a preset data identifier generating rule; and the judging unit is used for judging whether the identification database does not contain the identification information matched with the data identification so as to obtain a verification result of whether the data transaction is processed.
And the data identifier adding unit 120 is configured to add the data identifier of the data transaction to the identifier database if the verification result is processing.
In an embodiment, the blockchain-based concurrent transaction data processing device 100 further includes: and the prompt information feedback unit is used for feeding back the prompt information which cannot be processed to the user terminal which sends the data transaction if the verification result is not processed.
And the data processing result feedback unit 130 is configured to execute the data transaction to process the transaction data matched with the data identifier to obtain a data processing result, and feed back the data processing result to the user terminal.
And an identifier database updating unit 140, configured to update the identifier information included in the identifier database according to the data processing result.
In an embodiment, the identification database updating unit 140 includes a subunit: a target identification information obtaining unit, configured to obtain, as target identification information, identification information in the identification database that matches with the data identification of the data processing result; and the target identification information deleting unit is used for deleting the target identification information from the identification database so as to update the identification information contained in the identification database.
And the data identifier judging unit 150 is configured to judge whether a preset synchronization database contains a proposal synchronization identifier matched with a data identifier of the proposal information if the proposal information input by the user terminal is received.
In an embodiment, the blockchain-based concurrent transaction data processing device 100 further includes: and the synchronous identification adding unit is used for locking the data identification of the proposal information and generating a newly added proposal synchronous identification according to the proposal information and adding the newly added proposal synchronous identification into the synchronous database if the synchronous database does not contain the proposal synchronous identification matched with the data identification.
And a proposal synchronization identifier adding unit 160, configured to generate a new proposal synchronization identifier according to the proposal synchronization identifier and the proposal information and add the new proposal synchronization identifier to the synchronization database if the synchronization database contains the proposal synchronization identifier matched with the data identifier.
In an embodiment, the proposal synchronization identification adding unit 160 includes a subunit: and the target synchronous identifier acquisition unit is used for acquiring one proposal synchronous identifier which is latest generated in the synchronous database and corresponds to the data identifier as a target synchronous identifier. And the identifier generating unit is used for combining the target synchronous identifier with the data identifier and then combining the target synchronous identifier with the transaction data to be synchronized of the proposal information to generate a newly added proposal synchronous identifier. And the identifier adding unit is used for adding the newly added proposal synchronous identifier to the position after the target synchronous identifier in the synchronous database for arrangement.
And the synchronization processing unit 170 is configured to synchronize the transaction data to be synchronized with each proposal synchronization identifier to the ledger of the blockchain network in sequence according to the arrangement sequence of the plurality of proposal synchronization identifiers corresponding to the same data identifier in the synchronization database.
And the unlocking unit 180 is configured to unlock the data identifier if the synchronization processing is completed by the plurality of proposal synchronization identifiers of the same data identifier.
In an embodiment, the blockchain-based concurrent transaction data processing device 100 further includes: the first judging unit is used for judging whether the identification database contains identification information matched with the data identification of the data query information or not if the data query information input by the user terminal is received; the second judging unit is used for judging whether the data identifier is locked or not if the identifier database does not contain the identifier information matched with the data identifier; and the transaction data feedback unit is used for acquiring transaction data corresponding to the data identifier in the account book and feeding back the transaction data to the user terminal if the data identifier is not locked.
The blockchain-based concurrent transaction data processing device provided by the embodiment of the invention is applied to the blockchain-based concurrent transaction data processing method, the data transaction input by the user terminal is verified according to the identification database, if the verification result is processing, the data identification is added in the identification database, the data transaction is executed to obtain a data processing result and fed back to the user terminal, the identification database is updated, whether the synchronous database contains the proposal synchronous identification matched with the data identification is judged according to the data identification of the input proposal information, if so, a newly added proposal synchronous identification is generated and added in the synchronous database, synchronous data information is orderly processed according to the arrangement sequence of the proposal synchronous identification, and if the synchronous processing of a plurality of proposal synchronous identifications of the same data identification is completed, the data identification is unlocked. By the method, conflicts generated in the execution process of concurrent data transaction transactions can be avoided, concurrent conflicts when data information to be synchronized is synchronized can also be avoided, and the efficiency and reliability of data information processing are greatly improved.
The blockchain-based concurrent transaction data processing apparatus described above may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 10.
Referring to fig. 10, fig. 10 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device may be a cloud server for performing a blockchain-based concurrent transaction data processing method to process transaction data.
With reference to fig. 10, the computer device 500 includes a processor 502, a memory, and a network interface 505, which are connected by a system bus 501, wherein the memory may include a storage medium 503 and an internal memory 504.
The storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a blockchain-based concurrent transaction data processing method, wherein the storage medium 503 may be a volatile storage medium or a non-volatile storage medium.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a blockchain-based concurrent transaction data processing method.
The network interface 505 is used for network communication, such as providing for transmission of data information, etc. It will be appreciated by those skilled in the art that the structure shown in FIG. 10 is merely a block diagram of some of the structures associated with the present inventive arrangements and does not constitute a limitation of the computer device 500 to which the present inventive arrangements may be applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or may have a different arrangement of components.
The processor 502 is configured to execute a computer program 5032 stored in a memory to implement the corresponding functions in the blockchain-based concurrent transaction data processing method.
Those skilled in the art will appreciate that the embodiment of the computer device shown in fig. 10 is not limiting of the specific construction of the computer device, and in other embodiments, the computer device may include more or less components than those shown, or certain components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may include only a memory and a processor, and in such embodiments, the structure and function of the memory and the processor are consistent with the embodiment shown in fig. 10, and will not be described again.
It should be appreciated that in an embodiment of the invention, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a volatile or nonvolatile computer readable storage medium. The computer readable storage medium stores a computer program which when executed by a processor implements the steps involved in the blockchain-based concurrent transaction data processing method described above.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus, device and unit described above may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein. 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 invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, and for example, the division of the units is merely a logical function division, there may be another division manner in actual implementation, or units having the same function may be integrated into one unit, for example, multiple units or components may be combined or may be 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 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 embodiment of the present invention.
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 is essentially or part of what contributes 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 computer-readable storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, 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 computer-readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (10)

1. The method is applied to a cloud server deployed in a blockchain, and the cloud server is simultaneously connected with a plurality of user terminals through a network to transmit data information, and is characterized by comprising the following steps:
if any data transaction input by the user terminal is received, verifying the data identification of the data transaction according to a preset identification database to obtain a verification result of whether the data transaction is processed or not;
if the verification result is processing, adding the data identification of the data transaction into the identification database;
executing the data transaction to process transaction data matched with the data identifier to obtain a data processing result and feeding back the data processing result to the user terminal;
Updating the identification information contained in the identification database according to the data processing result;
if any proposal information input by the user terminal is received, judging whether a preset synchronous database contains a proposal synchronous identifier matched with the data identifier of the proposal information or not;
if the synchronous database contains a proposal synchronous identifier matched with the data identifier, generating a newly added proposal synchronous identifier according to the proposal synchronous identifier and the proposal information and adding the newly added proposal synchronous identifier into the synchronous database;
according to the arrangement sequence of a plurality of proposal synchronous identifiers corresponding to the same data identifier in the synchronous database, synchronizing transaction data to be synchronized with each proposal synchronous identifier into an account book of a blockchain network in sequence;
and if the synchronization processing is finished by a plurality of proposal synchronization identifiers of the same data identifier, unlocking the data identifier.
2. The blockchain-based concurrent transaction data processing method according to claim 1, wherein verifying the data identifier of the data transaction according to a preset identifier database to obtain a verification result of whether to process the data transaction comprises:
Generating a data identifier corresponding to the data transaction according to a preset data identifier generation rule;
judging whether the identification database does not contain the identification information matched with the data identification so as to obtain a verification result of whether to process the data transaction, wherein if the identification database does not contain the identification information matched with the data identification, the verification result is processing.
3. The blockchain-based concurrent transaction data processing method according to claim 1, wherein the verifying the data identifier of the data transaction according to a preset identifier database, after obtaining a verification result of whether to process the data transaction, further comprises:
and if the verification result is not processed, feeding back prompt information which cannot be processed to the user terminal which sends the data transaction.
4. The blockchain-based concurrent transaction data processing method according to claim 1, wherein the updating the identification information contained in the identification database according to the data processing result includes:
acquiring identification information matched with the data identification of the data processing result in the identification database as target identification information;
Deleting the target identification information from the identification database to update the identification information contained in the identification database.
5. The blockchain-based concurrent transaction data processing method according to claim 1, wherein after determining whether a preset synchronization database contains a proposal synchronization identifier that matches a data identifier of the proposal information, further comprising:
and if the synchronous database does not contain the proposal synchronous identifier matched with the data identifier, locking the data identifier of the proposal information, generating a newly added proposal synchronous identifier according to the proposal information, and adding the newly added proposal synchronous identifier into the synchronous database.
6. The blockchain-based concurrent transaction data processing method according to claim 1, wherein the generating and adding the newly added proposal synchronization identifier to the synchronization database according to the proposal synchronization identifier and the proposal information includes:
acquiring a proposal synchronization identifier which is latest generated in the synchronization database and corresponds to the data identifier as a target synchronization identifier;
combining the target synchronous identification with the data identification and then combining the target synchronous identification with to-be-synchronized transaction data of the proposal information to generate a newly added proposal synchronous identification;
And adding the newly added proposal synchronous identification to the position after the target synchronous identification in the synchronous database for arrangement.
7. The blockchain-based concurrent transaction data processing method of claim 1, further comprising:
if the data query information input by the user terminal is received, judging whether the identification database contains identification information matched with the data identification of the data query information or not;
if the identification database does not contain the identification information matched with the data identification, judging whether the data identification is locked or not;
and if the data identification is not locked, acquiring transaction data corresponding to the data identification in the account book and feeding back the transaction data to the user terminal.
8. A blockchain-based concurrent transaction data processing device, the device comprising:
the data transaction verification unit is used for verifying the data identification of the data transaction according to a preset identification database if the data transaction input by the user terminal is received, so as to obtain a verification result of whether the data transaction is processed or not;
a data identifier adding unit, configured to add a data identifier of the data transaction to the identifier database if the verification result is processing;
The data processing result feedback unit is used for executing the data transaction to process the transaction data matched with the data identifier to obtain a data processing result and feeding back the data processing result to the user terminal;
an identification database updating unit, configured to update identification information included in the identification database according to the data processing result;
the data identification judging unit is used for judging whether a preset synchronous database contains a proposal synchronous identification matched with the data identification of the proposal information or not if the proposal information input by the user terminal is received;
a proposal synchronization identifier adding unit, configured to generate a new proposal synchronization identifier according to the proposal synchronization identifier and the proposal information and add the new proposal synchronization identifier to the synchronization database if the synchronization database contains a proposal synchronization identifier that is matched with the data identifier;
the synchronous processing unit is used for sequentially synchronizing transaction data to be synchronized with each proposal synchronous identifier into an account book of a blockchain network according to the arrangement sequence of a plurality of proposal synchronous identifiers corresponding to the same data identifier in the synchronous database;
and the unlocking unit is used for unlocking the data identifier if the plurality of proposal synchronous identifiers of the same data identifier all complete synchronous processing.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the blockchain-based concurrent transaction data processing method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the blockchain-based concurrent transaction data processing method according to any of claims 1 to 7.
CN202110538512.3A 2021-05-18 2021-05-18 Concurrent transaction data processing method, device, equipment and medium based on blockchain Active CN113515534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110538512.3A CN113515534B (en) 2021-05-18 2021-05-18 Concurrent transaction data processing method, device, equipment and medium based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110538512.3A CN113515534B (en) 2021-05-18 2021-05-18 Concurrent transaction data processing method, device, equipment and medium based on blockchain

Publications (2)

Publication Number Publication Date
CN113515534A CN113515534A (en) 2021-10-19
CN113515534B true CN113515534B (en) 2023-09-01

Family

ID=78064638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110538512.3A Active CN113515534B (en) 2021-05-18 2021-05-18 Concurrent transaction data processing method, device, equipment and medium based on blockchain

Country Status (1)

Country Link
CN (1) CN113515534B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114862589B (en) * 2022-07-07 2022-09-09 中国长江三峡集团有限公司 Transaction data processing method and device based on block chain and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543525A (en) * 2019-09-10 2019-12-06 腾讯科技(深圳)有限公司 Block chain network control method, device, equipment and storage medium
CN110599069A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Application evaluation method and device based on block chain network
CN110933108A (en) * 2019-09-26 2020-03-27 腾讯科技(深圳)有限公司 Data processing method and device based on block chain network, electronic equipment and storage medium
CN111047319A (en) * 2019-09-03 2020-04-21 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN111694852A (en) * 2020-05-28 2020-09-22 平安科技(深圳)有限公司 Data processing method, device, terminal and storage medium based on distributed transaction

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111047319A (en) * 2019-09-03 2020-04-21 腾讯科技(深圳)有限公司 Transaction processing method of block chain network and block chain network
CN110543525A (en) * 2019-09-10 2019-12-06 腾讯科技(深圳)有限公司 Block chain network control method, device, equipment and storage medium
CN110933108A (en) * 2019-09-26 2020-03-27 腾讯科技(深圳)有限公司 Data processing method and device based on block chain network, electronic equipment and storage medium
CN110599069A (en) * 2019-09-29 2019-12-20 腾讯科技(深圳)有限公司 Application evaluation method and device based on block chain network
CN111694852A (en) * 2020-05-28 2020-09-22 平安科技(深圳)有限公司 Data processing method, device, terminal and storage medium based on distributed transaction

Also Published As

Publication number Publication date
CN113515534A (en) 2021-10-19

Similar Documents

Publication Publication Date Title
CN110869967B (en) System and method for parallel processing of blockchain transactions
CN110263035B (en) Block chain-based data storage and query method and device and electronic equipment
TWI763710B (en) Nuts: encrypted userdata transit and storage
EP3701412B1 (en) Data storage and verification
CN110334152B (en) Data synchronization method and device and server
US8635266B2 (en) Method and system for data synchronization, and apparatus thereof
US20190288847A1 (en) Industrial data verification using secure, distributed ledger
WO2016100920A1 (en) Distributed device management and directory resolution
CN111201519A (en) Immutable data storage for low latency reading and writing of large data sets
CN110059089B (en) Data synchronization method and device, storage medium and electronic equipment
US20210157942A1 (en) Authenticating data for use using a data storage system and distributed electronic ledger system
JP2021528883A (en) Indexing and restoration of coded blockchain data
CN114424182A (en) Block chain database management system
EP4002786A1 (en) Distributed ledger system
JP6062551B2 (en) Differential data transfer system and method
Kleppmann Making crdts byzantine fault tolerant
CN110224984A (en) A kind of multi-party authorization method and device based on block chain technology
CN113515534B (en) Concurrent transaction data processing method, device, equipment and medium based on blockchain
Mo et al. Enabling non-repudiable data possession verification in cloud storage systems
JP2023547716A (en) merkle proof entity
CN113656384B (en) Data processing method, distributed database system, electronic device and storage medium
CN115885497A (en) Digital signature
CN115943609A (en) Block propagation for poisoned transactions in block chain networks
US10992748B1 (en) Verification of event-based synchronization
CN114416874A (en) Synchronous verification method, device, equipment and storage medium of database

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