CN113379542B - Block chain transaction query method, device, medium and electronic equipment - Google Patents

Block chain transaction query method, device, medium and electronic equipment Download PDF

Info

Publication number
CN113379542B
CN113379542B CN202110591385.3A CN202110591385A CN113379542B CN 113379542 B CN113379542 B CN 113379542B CN 202110591385 A CN202110591385 A CN 202110591385A CN 113379542 B CN113379542 B CN 113379542B
Authority
CN
China
Prior art keywords
transaction
transaction information
nodes
blockchain
node
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
CN202110591385.3A
Other languages
Chinese (zh)
Other versions
CN113379542A (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.)
China Post Information Technology Beijing Co ltd
Original Assignee
China Post Information Technology Beijing Co ltd
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 China Post Information Technology Beijing Co ltd filed Critical China Post Information Technology Beijing Co ltd
Priority to CN202110591385.3A priority Critical patent/CN113379542B/en
Publication of CN113379542A publication Critical patent/CN113379542A/en
Application granted granted Critical
Publication of CN113379542B publication Critical patent/CN113379542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the application discloses a query method, a query device, a query medium and electronic equipment for blockchain transactions. Wherein the method comprises the following steps: acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers; determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node; if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client. According to the technical scheme, the effect of ensuring the authenticity of the acquired data can be achieved without connecting the client with all nodes of the blockchain.

Description

Block chain transaction query method, device, medium and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of blockchain, in particular to a blockchain transaction query method, a blockchain transaction query device, a blockchain transaction media and electronic equipment.
Background
With the rapid development of the technology level, the blockchain technology is increasingly widely applied to various industries. The blockchain network is a system with a complex network environment of multiple types of nodes, and is a distributed consistency system for resisting Bayesian attack. Since a node may be attacked, when a certain node queries transaction information, the read data result may be falsified or tampered. A common way is to read transaction information from nodes that exceed a certain proportion, and these results are consistent, indicating that the transaction information is correct.
Currently, the node deployment of the blockchain may be designed to a plurality of organizations or organizations, so that each organization or organization may deploy only one blockchain node, and other nodes are deployed in other organizations or organizations. The client cannot access other blockchain nodes when executing transaction inquiry, and only transaction data can be acquired from the nodes of the organization, so that the risk that the nodes can be occupied and the inquiry result is wrong is caused.
Disclosure of Invention
The embodiment of the application provides a query method, a query device, a query medium and a query electronic device for blockchain transactions, which can realize the effect of ensuring the authenticity of acquired data without connecting a client with all nodes of a blockchain.
In a first aspect, an embodiment of the present application provides a method for querying a blockchain transaction, where the method is performed by a blockchain link point, where the blockchain includes at least two nodes, and at least one current node connected to a client and other nodes except the current node are included in the at least two nodes, and the method includes:
acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node;
if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client.
Further, the generating of the transaction number and the storing of the transaction information include:
generating a transaction number for each transaction in the blockchain according to a monotonically increasing sequence through a designated node, and broadcasting the transaction number to a receiving node of the blockchain;
If the number of the generated transaction numbers meets the preset number, each node carries out hash operation on the transaction information of the preset number to obtain a hash value;
each node signs the hash value by adopting the node key to obtain a signature value;
each node uses the hash value, the transaction number range corresponding to the preset number and the signature value as broadcasting contents to broadcast to the nodes on the chain; and receiving hash values broadcasted by nodes on a chain, presetting transaction number ranges corresponding to the number as receiving contents;
and if the broadcast content and the received content meet the preset conditions, storing the hash value, the transaction number range and the signature value into the account book of each node.
Further, the signature value includes the following contents: hash value, start transaction number and stop transaction number.
Further, initiating, by the current node, a transaction information acquisition request to other nodes of the blockchain to receive transaction information returned by the other nodes, including:
and initiating a transaction information acquisition request to other nodes of the blockchain through the current node so that the other nodes can query the transaction information recorded in the account book of the node, determine target transaction information and return the target transaction information to the current node.
Further, initiating, by the current node, a transaction information acquisition request to other nodes of the blockchain to receive transaction information returned by the other nodes, including:
initiating a transaction information acquisition request to other nodes of a blockchain through the current node so that other nodes can carry out hash operation on transaction information containing a transaction number range of the transaction number to obtain a target hash value, and signing the target hash value to obtain a target signature value;
receiving received contents which are returned by other nodes and comprise a target hash value, a transaction number range and a target signature value, and if the received contents meet preset conditions, storing the received contents into an account book.
Further, before initiating a transaction information acquisition request to other nodes of the blockchain by the current node, the method further includes:
determining a maximum transaction number currently generated in the blockchain;
and if the transaction number of the transaction inquiry request is smaller than the maximum transaction number, determining that the phenomenon of transaction information missing exists in the current node.
Further, after determining that the current node has the transaction information missing phenomenon, the method further includes:
And determining a missing number segment according to all transaction number ranges stored in the account book of the current node, and determining a transaction information acquisition request based on the missing number segment.
In a second aspect, an embodiment of the present application provides a query device for a blockchain transaction, where the device is configured in a blockchain node, where the blockchain includes at least two nodes, and at least one of the at least two nodes includes a current node connected to a client, and other nodes except the current node, and the device includes:
the transaction inquiry request acquisition module is used for acquiring a transaction inquiry request sent by the client according to the transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
the transaction information inquiry module is used for determining whether transaction information corresponding to the transaction inquiry request exists in the account book of the current node;
and the transaction information acquisition module is used for initiating a transaction information acquisition request to other nodes of the blockchain through the current node if the query result of the transaction information query module is nonexistent so as to receive the transaction information returned by the other nodes and returning the transaction information to the client.
The device also comprises a transaction number generation module and a transaction information storage module, and specifically:
the transaction number generation module is used for generating a transaction number for each transaction in the blockchain according to a monotonically increasing sequence through a designated node and broadcasting the transaction number to a receiving node of the blockchain;
the transaction information storage module is specifically configured to:
if the number of the generated transaction numbers meets the preset number, each node carries out hash operation on the transaction information of the preset number to obtain a hash value;
each node signs the hash value by adopting the node key to obtain a signature value;
each node uses the hash value, the transaction number range corresponding to the preset number and the signature value as broadcasting contents to broadcast to the nodes on the chain; and receiving hash values broadcasted by nodes on a chain, presetting transaction number ranges corresponding to the number as receiving contents;
and if the broadcast content and the received content meet the preset conditions, storing the hash value, the transaction number range and the signature value into the account book of each node.
Further, the signature value includes the following contents: hash value, start transaction number and stop transaction number.
Further, the transaction information acquisition module includes:
the first transaction information acquisition unit is used for initiating a transaction information acquisition request to other nodes of the blockchain through the current node so that the other nodes can query the transaction information recorded in the account book of the node, determine target transaction information and return the target transaction information to the current node.
Further, the transaction information acquisition module includes:
the second transaction information acquisition unit is specifically configured to:
initiating a transaction information acquisition request to other nodes of a blockchain through the current node so that other nodes can carry out hash operation on transaction information containing a transaction number range of the transaction number to obtain a target hash value, and signing the target hash value to obtain a target signature value;
receiving received contents which are returned by other nodes and comprise a target hash value, a transaction number range and a target signature value, and if the received contents meet preset conditions, storing the received contents into an account book.
Further, the transaction information acquisition module further includes a missing discriminating unit, configured to:
determining a maximum transaction number currently generated in the blockchain;
And if the transaction number of the transaction inquiry request is smaller than the maximum transaction number, determining that the phenomenon of transaction information missing exists in the current node.
Further, the transaction information acquisition module further includes a transaction information acquisition request generating unit configured to:
and determining a missing number segment according to all transaction number ranges stored in the account book of the current node, and determining a transaction information acquisition request based on the missing number segment.
In a third aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of querying a blockchain transaction as described in embodiments of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement a method for querying a blockchain transaction according to an embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the current node is used for acquiring a transaction inquiry request sent by a client according to a transaction number; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers; determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node; if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client. By means of the scheme, the effect of ensuring the authenticity of the acquired data can be achieved without connecting the client with all nodes of the blockchain.
Drawings
FIG. 1 is a flow chart of a method for querying a blockchain transaction according to an embodiment of the present application;
FIG. 2 is a flow chart of the generation of transaction numbers and the storage of transaction information in a second embodiment of the invention;
FIG. 3 is a block diagram illustrating a query process for blockchain transactions in accordance with a third embodiment of the present invention;
FIG. 4 is a schematic diagram of a flow of generating query results in a third embodiment of the present invention;
fig. 5 is a schematic diagram of a client query transaction flow in a third embodiment of the present invention;
fig. 6 is a schematic diagram of a Hash generation retry procedure in a third embodiment of the present invention;
FIG. 7 is a block diagram illustrating a block chain transaction query device according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings.
Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts steps as a sequential process, many of the steps may be implemented in parallel, concurrently, or with other steps. Furthermore, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example 1
Fig. 1 is a flowchart of a blockchain transaction query method according to an embodiment of the present application, where the embodiment is applicable to a scenario of querying transaction information occurring in a blockchain, and the method may be performed by a blockchain transaction query device according to an embodiment of the present application, where the device may be implemented by software and/or hardware, and may be integrated in an electronic device.
As shown in fig. 1, the query method of the blockchain transaction includes:
s110, acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers.
The method is performed by a blockchain link point, wherein the blockchain comprises at least two nodes, and at least one current node connected with a client and other nodes except the current node are included in the at least two nodes.
It will be appreciated that the blockchain may be considered an entity, each of which may be located at different locations depending on the needs or configuration of the actual scenario. The node connected with the client currently making the query can be used as the current node, and the nodes other than the node connected with the client can be used as other nodes.
In this scheme, the client may connect with only one node of the blockchain. This avoids the complexity of the network connection. Meanwhile, through the transaction information query mechanism of the scheme, a mode that the current node can obtain accurate transaction information without constructing a client to be connected with all nodes in a network can be realized.
The transaction numbers used in the inquiry in the scheme can be pre-generated, and unique transaction numbers are set for each transaction. The transaction number may be generated by monotonously increasing, for example, 1,3,5,6,7, or may be generated by monotonously continuously increasing, for example, 1,2,3,4,5, for the sake of convenience in counting. This makes it possible to determine how many transactions have been based on the transaction number, facilitating further processing.
The transaction information may be information related to the transaction, such as a transaction number and transaction content. The transaction information may be plaintext information or encrypted information, such as information obtained by encryption with a key. Further, a hash value of the transaction content may be obtained by hash calculation. This arrangement ensures both the security of the transaction and the globally unique processing of each transaction message.
In this scheme, based on the connection relationship between the client and the current node, the client may issue a transaction inquiry request according to the transaction number. The transaction inquiry request can be a specific transaction number or a number section. Such as 0330-0350. That is, the 21 transaction information with transaction numbers 0330 to 0350 need to be queried, or one or more of the 21 transaction information need to be queried.
S120, determining whether transaction information corresponding to the transaction inquiry request exists in the account book of the current node.
Wherein, it can be known that each node is provided with an account book, and the account book is used for recording transaction information of each node on the blockchain and storing the transaction information in the account book after passing through the consensus protocol. Therefore, after the current node receives the query request, it can preferentially check whether the transaction information corresponding to the transaction query request exists in the local ledger. The query may be made, for example, by whether a transaction number or a number segment of a transaction number in the transaction query request is covered by a transaction number present in the ledger.
And S130, if the transaction information does not exist, initiating a transaction information acquisition request to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client.
When the current node does not have the transaction information, a transaction information acquisition request needs to be initiated to other nodes through the current node, and the acquisition request can be sent based on a transaction number. It can be appreciated that the current node and other nodes can be directly connected, or belong to different organizations or institutions, and information interaction can be performed through the connection relation of each node in the predetermined blockchain. In the scheme, the current node can acquire the transaction information returned by other nodes in a broadcasting mode and can return to the client.
It can be understood that in order to avoid the bayer attack, after receiving the transaction information returned by each node, confirmation of a consensus mechanism may be performed on the received transaction information returned by each other node, and when the consensus is successful, the information may be considered to be accurate, and stored in a local ledger and returned to the client.
In this solution, it should be understood that, in each process of broadcasting to return information, a problem that an individual node is disconnected due to a network or a device failure is not excluded, so each node in this solution may be understood as each node that is online and capable of receiving broadcasting or returning information, and is not limited to all other nodes.
According to the technical scheme provided by the embodiment of the application, the current node is used for acquiring a transaction inquiry request sent by a client according to a transaction number; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers; determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node; if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client. By means of the scheme, the effect of ensuring the authenticity of the acquired data can be achieved without connecting the client with all nodes of the blockchain.
Example two
Fig. 2 is a flowchart of the process of generating the transaction number and storing the transaction information in the second embodiment of the present invention, and the present embodiment is optimized based on the above embodiment. The concrete optimization is as follows: the generation of the transaction number and the storage process of the transaction information comprise the following steps: generating a transaction number for each transaction in the blockchain according to a monotonically increasing sequence through a designated node, and broadcasting the transaction number to a receiving node of the blockchain; if the number of the generated transaction numbers meets the preset number, each node carries out hash operation on the transaction information of the preset number to obtain a hash value; each node signs the hash value by adopting the node key to obtain a signature value; each node uses the hash value, the transaction number range corresponding to the preset number and the signature value as broadcasting contents to broadcast to the nodes on the chain; and receiving hash values broadcasted by nodes on a chain, presetting transaction number ranges corresponding to the number as receiving contents; and if the broadcast content and the received content meet the preset conditions, storing the hash value, the transaction number range and the signature value into the account book of each node.
It can be appreciated that the execution of the present solution may be before, during or after the execution of the first solution of the embodiment, and thus, the trigger mechanism of the present solution triggers based on occurrence of transaction information, which may not conflict with the execution of the first solution of the embodiment.
As shown in fig. 2, the method of this embodiment specifically includes the following steps:
s210, generating a transaction number for each transaction in the blockchain according to a monotonically increasing sequence through a designated node, and broadcasting the transaction number to a receiving node of the blockchain.
The designated node may be one node in the blockchain, or may be a plurality of nodes, and which node is the designated node may be predetermined. The determining mode of the designated node can be determined according to the running stability of the node, and can also be determined according to the network transmission capacity of each node. In addition, the determination may be based on the node position of each node in the blockchain, for example, the node with the most connection to each organization or organization in the blockchain may be used as the designated node.
The designated node may generate a transaction number for each transaction of the blockchain in a sequential order. For example, in time series, a monotonically increasing sequence is used to generate the transaction number. Wherein the transaction number is preferably in a continuous manner. After the transaction number is obtained, the generated result of the transaction number can be carried with other receiving nodes of the blockchain of the transaction information broadcast.
S220, if the generated transaction number meets the preset number, each node carries out hash operation on the transaction information of the preset number to obtain a hash value.
The preset number may be the number of batches as hash operations, for example, every 100, 200, or every 2000, or the like. When the number of the generated transaction numbers reaches the preset number, the hash value of the current transaction information of the number can be obtained through a hash operation mode. It will be appreciated here that the nodes are still online and can perform hash operations normally.
And S230, each node signs the hash value by adopting the node key to obtain a signature value.
For example, after each node calculates its own hash value for the amount of transaction information, the key of the node, that is, the private key, may be used to sign the hash value, thereby obtaining a signed value. It can be understood that the scheme can use a private key signature, and the public key authentication mode can determine which node generates each hash value, so that the method can be used as a judging standard of whether the node is attacked. For example, by consensus, when the hash value obtained by a certain node is inconsistent, it can be determined that the node may be attacked or caused by other reasons such as data loss.
In this embodiment, optionally, the signature value includes the following contents: hash value, start transaction number and stop transaction number.
For example, the signature value is obtained by concatenating a hash value, a character string of a start transaction number and a stop transaction number, and other representations can be included, or a connection is performed between the several by fixed characters, so as to improve the readability of the signature value. By carrying the initial transaction number and the final transaction number in the signature value, it is possible to determine which transaction numbers the hash value corresponds to.
S240, each node uses the hash value, the transaction number range corresponding to the preset number and the signature value as broadcasting contents, and broadcasts the broadcasting contents to the nodes on the chain; and receiving the hash value broadcasted by the node on the chain, presetting a transaction number range corresponding to the number as the received content.
After each node obtains the hash value, the transaction number range corresponding to the preset number and the signature value, the hash value can be broadcasted to the nodes on the chain, and each piece of information broadcasted by the nodes on the face can be received.
And S250, if the broadcast content and the received content meet the preset conditions, storing the hash value, the transaction number range and the signature value into account books of all nodes.
For each node, if the broadcast content and the received content meet the consensus mechanism, it may be determined that a preset condition is met, and further, the hash value, the transaction number range, and the signature value may be stored.
It will be appreciated that each node may store the correct hash value, transaction number range, and signature value in a local ledger.
According to the technical scheme provided by the embodiment of the application, after the transaction information reaches a certain quantity, each node respectively generates the hash value and performs signature processing, and finally the transaction information with the hash value, the transaction number range and the signature value is stored in the account book of each node, so that the common storage of the transaction information can be completed. After the arrangement, the transaction information of each batch can be stored according to the transaction numbers, when the client needs to inquire the transaction information, the inquiry of the information can be realized without connecting all nodes of the whole blockchain, the information inquiry efficiency is improved, and the complexity of network connection and the network load consumption caused by network data transmission can be effectively avoided.
On the basis of the above embodiments, optionally, the step of initiating, by the current node, a transaction information acquisition request to other nodes of the blockchain to receive transaction information returned by the other nodes includes:
And initiating a transaction information acquisition request to other nodes of the blockchain through the current node so that the other nodes can query the transaction information recorded in the account book of the node, determine target transaction information and return the target transaction information to the current node.
In one case, the current node initiates a transaction information acquisition request to other nodes of the blockchain, and if the transaction information exists in the account book of the other nodes, the target transaction information can be directly acquired from the account book of the other nodes, and returned to the current node, and returned to the client by the current node. Therefore, the response speed is high, the client is not required to be connected with other nodes, and the method is simple and efficient.
On the basis of the above embodiments, optionally, the step of initiating, by the current node, a transaction information acquisition request to other nodes of the blockchain to receive transaction information returned by the other nodes includes:
initiating a transaction information acquisition request to other nodes of a blockchain through the current node so that other nodes can carry out hash operation on transaction information containing a transaction number range of the transaction number to obtain a target hash value, and signing the target hash value to obtain a target signature value;
Receiving received contents which are returned by other nodes and comprise a target hash value, a transaction number range and a target signature value, and if the received contents meet preset conditions, storing the received contents into an account book.
In another case, if the transaction information does not exist in other nodes or the other nodes have the capability of regenerating the transaction information by calculating the hash value, the hash operation can be performed again through each node to obtain the target hash value, and the respective calculated target hash values are signed respectively to obtain the target signature value. Therefore, the received content which is returned by other nodes and contains the target hash value, the transaction number range and the target signature value can be received, the judgment of the consensus mechanism is carried out, if the requirement of the consensus mechanism is met, the preset condition is determined to be met, and the received content can be stored in the account book of the current node.
By the arrangement, when the current node does not have relevant transaction information, the relevant transaction information can be obtained through recalculation. By the arrangement, network connection between the client and other nodes can be avoided while the safety of transaction information is ensured, and the method is efficient and easy to implement.
In this aspect, optionally, before initiating a transaction information acquisition request to other nodes of the blockchain through the current node, the method further includes:
determining a maximum transaction number currently generated in the blockchain;
and if the transaction number of the transaction inquiry request is smaller than the maximum transaction number, determining that the phenomenon of transaction information missing exists in the current node.
In the scheme, the relation between the transaction number which is required to be obtained currently and the largest transaction number in the blockchain or the relation between the number segment to which the transaction number which is required to be obtained currently belongs and the largest transaction number can be determined by acquiring the request sent by the client. If the transaction number is smaller than the maximum transaction number, determining that the phenomenon of transaction information missing exists in the current node. The cause of the transaction information loss phenomenon may be network disruption, power outage, or other more complex cause for the current node. Through the arrangement, the method and the device can assist in determining whether the current node operates stably or not, and meanwhile, the accurate and effective transaction information can be ensured when the returned transaction information is processed.
In the above solution, optionally, after determining that the current node has the transaction information missing phenomenon, the method further includes:
And determining a missing number segment according to all transaction number ranges stored in the account book of the current node, and determining a transaction information acquisition request based on the missing number segment.
After the phenomenon of missing transaction information occurs, the missing number segment can be determined according to the transaction number range stored in the account book. For example, if each hash value is generated in a batch of 2000, the missing number segment range may be determined according to the number segment range of the transaction information stored in the ledger, for example, if two number segments are found to be missing, a transaction information acquisition request may be further generated based on the missing number segments, so as to broadcast the request to other nodes.
By the arrangement, the method and the device can search the range of the local real number segment together and complement the result returned by other nodes while returning the transaction information, thereby being beneficial to the subsequent response capability of searching the transaction information of the current node.
Example III
This embodiment is a preferred embodiment provided on the basis of the above two embodiments.
Fig. 3 is a functional schematic diagram of a module in a query process of a blockchain transaction in the third embodiment of the present invention, as shown in fig. 3, each module may cooperate and have the following functions:
The block generation module:
a unique, continuous ID is generated for each transaction in the block, which requires continuous self-increment. For example, if the last transaction in the previous block has an ID of 3344, the transaction ID of the current block starts from 3345.
A transaction set Hash algorithm generation module:
judging whether the latest transaction number N meets a certain condition (for example, whether N is equal to a specific value or the remainder is equal to a certain value), and if so, carrying out a Hash algorithm calculation flow.
Calculating a Hash value H1 for a transaction of a specified transaction number, and signing the Hash value and a transaction ID range by using the node key to obtain a signature value Sign1, wherein a signature original is formed, including but not limited to a format of hash=xxx & idbegin=xxx & idend=xxx.
Hash result broadcasting and receiving module:
and broadcasting the generated Hash value H1, ID range and signature information Sign1 to other nodes of the block chain network, and simultaneously receiving H1, ID range and Sign1 broadcasted by other nodes.
The Hash result processing module:
the Hash value H1, the ID range and the signature information Sign1 are stored in the blockchain ledger L1, and when the collected results are consistent and exceed a certain proportion from the blockchain network, the result is marked as a final result.
The scheme provides inquiry capability for the client, and the client can inquire whether the transaction exists in the blockchain ledger L1 according to the transaction ID number. When a certain ID range is always in a missing state, hash calculation, signature and broadcasting flow of the certain ID range can be restarted in the blockchain network.
Specifically, the blockchain transaction inquiry method comprises three sub-processes, and the three sub-processes use the modules to cooperatively finish the transaction inquiry method of the scheme:
1. and generating a query result flow.
Fig. 4 is a schematic diagram of a flow of generating a query result in the third embodiment of the present invention, as shown in fig. 4, mainly including the following steps:
step 1, the new generation block contains a large number of transactions, the transaction ID of the last number is obtained, the preset condition is met, the next flow is entered, and otherwise, the process is not carried out.
And 2, after meeting the conditions, carrying out Hash calculation on all transactions from the last transaction ID of the last calculation Hash to the last transaction ID of the current calculation Hash to generate a Hash result H1, and signing the H1 and the transaction ID range by using a node secret key.
And 3, broadcasting the Hash result H1, the transaction ID range and the transaction signature to other nodes.
And 4, the node receives the transaction results broadcast by other nodes.
And 5, the node stores and compares the transaction result information broadcast by each node, and if the data of each node is consistent and exceeds a certain node number, the node indicates that the data result is consistent. And records the result to the ledger.
2. The client queries the transaction flow.
Fig. 5 is a schematic diagram of a client query transaction flow in the third embodiment of the present invention, as shown in fig. 5, mainly including the following steps:
step 1, a client queries a certain transaction detail information according to a transaction number.
And 2, searching the node account information by the Hash result processing module, and storing a consistency result. And if the Hash calculation result broadcast by each node exists, sending the Hash calculation result broadcast by each node to the client.
And step 3, if the account book does not exist, initiating a process of generating the query result, acquiring the query result and sending the query result to the client.
3. Hash generation retry flow.
Fig. 6 is a schematic diagram of a Hash generation retry flow in the third embodiment of the present invention, if a node is disconnected, the broadcasted Hash result information may be missed. Therefore, the scheme provides a retrieval mode of the Hash result. As shown in fig. 6, mainly comprises the following steps:
step 1, if the number of the last transaction of the current highest block is M, but the Hash result with the ID of p-q range is lacking locally.
And 2, broadcasting a Hash result generation request to other nodes by the node.
And step 3, after receiving the request, other nodes execute a Hash generation flow and send a Hash result to the requesting node. The request node receives the Hash results of all the nodes, and if the Hash results are consistent and exceed a certain proportion, the results are considered to be consistent.
By the arrangement, the transaction information can be quickly and efficiently inquired. The transaction hash generation flow is executed once every N transactions, and the multi-party inquiry is not performed by the transaction inquiry request, and only the transaction result condition of the node is required to be inquired when the transaction inquiry request is issued, so that the transaction inquiry time is shortened, and the inquiry efficiency is improved. In addition, the scheme can solve the problem of complex network limitation, does not need a client to access all the blockchain nodes for inquiring, ensures consistency of inquiry results and prevents Bayesian attack. In addition, the scheme stores ID information, hash information and signature information of the transaction set, transaction content and query requests are not required to be stored, and meanwhile, a plurality of transaction IDs generate one Hash and signature, so that the storage space is less in loss.
Example IV
Fig. 7 is a block diagram of a block chain transaction query device according to a fourth embodiment of the present invention, where the block chain transaction query device may execute the block chain transaction query method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 7, the apparatus may include:
a transaction inquiry request acquisition module 710, configured to acquire, by using the current node, a transaction inquiry request sent by a client according to a transaction number; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
A transaction information query module 720, configured to determine whether transaction information corresponding to the transaction query request exists in the ledger of the current node;
and the transaction information acquisition module 730 is configured to initiate a transaction information acquisition request to other nodes of the blockchain through the current node if the query result of the transaction information query module is not present, so as to receive transaction information returned by the other nodes and return the transaction information to the client.
The query method for the blockchain transaction provided by the embodiment of the application can be executed by the product, and has the corresponding functional modules and beneficial effects of the execution method.
Example five
A fifth embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a blockchain transaction query method as provided by all the embodiments of the present invention:
acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node;
If the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Example six
The sixth embodiment of the application provides an electronic device. Fig. 8 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present application. As shown in fig. 8, the present embodiment provides an electronic device 800, which includes: one or more processors 820; a storage 810 for storing one or more programs that, when executed by the one or more processors 820, cause the one or more processors 820 to implement a method for querying a blockchain transaction provided by an embodiment of the present application, the method comprising:
acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node;
if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client.
Of course, those skilled in the art will appreciate that the processor 820 may also implement the techniques of the blockchain transaction querying method provided by any embodiment of the present application.
The electronic device 800 shown in fig. 8 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 8, the electronic device 800 includes a processor 820, a storage device 810, an input device 830, and an output device 840; the number of processors 820 in the electronic device may be one or more, one processor 820 being taken as an example in fig. 8; the processor 820, the memory device 810, the input device 830, and the output device 840 in the electronic device may be connected by a bus or other means, as exemplified in fig. 8 by the bus 850.
The storage device 810 is a computer readable storage medium, and can be used to store a software program, a computer executable program, and a module unit, such as program instructions corresponding to a method for querying a blockchain transaction in the embodiments of the present application.
The storage device 810 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, storage 810 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage 810 may further include memory located remotely from processor 820, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 830 may be used to receive input numeric, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. Output device 840 may include an electronic device such as a display screen, speaker, etc.
The electronic equipment provided by the embodiment of the application can realize the effect of ensuring the authenticity of the acquired data without connecting the client with all nodes of the blockchain.
The query device, the media and the electronic equipment for the blockchain transaction provided in the above embodiments can execute the query method for the blockchain transaction provided in any embodiment of the present application, and have the corresponding functional modules and beneficial effects of executing the method. Technical details not described in detail in the above embodiments may be found in the blockchain transaction query method provided in any of the embodiments of the present application.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (10)

1. A method of querying a blockchain transaction, the method performed by a blockchain link point, the blockchain including at least two nodes including at least one current node connected to a client and other nodes than the current node, the method comprising:
acquiring a transaction inquiry request sent by a client according to a transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
determining whether transaction information corresponding to the transaction inquiry request exists in an account book of the current node;
if the transaction information is not available, a transaction information acquisition request is initiated to other nodes of the blockchain through the current node so as to receive the transaction information returned by the other nodes and return the transaction information to the client.
2. The method of claim 1, wherein the generating of the transaction number and the storing of the transaction information comprises:
generating a transaction number for each transaction in the blockchain according to a monotonically increasing sequence through a designated node, and broadcasting the transaction number to a receiving node of the blockchain;
If the number of the generated transaction numbers meets the preset number, each node carries out hash operation on the transaction information of the preset number to obtain a hash value;
each node signs the hash value by adopting the node key to obtain a signature value;
each node uses the hash value, the transaction number range corresponding to the preset number and the signature value as broadcasting contents to broadcast to the nodes on the chain; and receiving hash values broadcasted by nodes on a chain, presetting transaction number ranges corresponding to the number as receiving contents;
and if the broadcast content and the received content meet the preset conditions, storing the hash value, the transaction number range and the signature value into the account book of each node.
3. The method according to claim 2, wherein the signature value comprises the following contents: hash value, start transaction number and stop transaction number.
4. The method of claim 1, wherein initiating, by the current node, a transaction information acquisition request to other nodes of a blockchain to receive transaction information returned by the other nodes comprises:
and initiating a transaction information acquisition request to other nodes of the blockchain through the current node so that the other nodes can query the transaction information recorded in the account book of the node, determine target transaction information and return the target transaction information to the current node.
5. The method of claim 3, wherein initiating, by the current node, a transaction information acquisition request to other nodes of a blockchain to receive transaction information returned by the other nodes comprises:
initiating a transaction information acquisition request to other nodes of a blockchain through the current node so that other nodes can carry out hash operation on transaction information containing a transaction number range of the transaction number to obtain a target hash value, and signing the target hash value to obtain a target signature value;
receiving received contents which are returned by other nodes and comprise a target hash value, a transaction number range and a target signature value, and if the received contents meet preset conditions, storing the received contents into an account book.
6. The method of claim 5, wherein prior to initiating a transaction information acquisition request to other nodes of a blockchain by the current node, the method further comprises:
determining a maximum transaction number currently generated in the blockchain;
and if the transaction number of the transaction inquiry request is smaller than the maximum transaction number, determining that the phenomenon of transaction information missing exists in the current node.
7. The method of claim 6, wherein after determining that the current node has a transaction information loss phenomenon, the method further comprises:
and determining a missing number segment according to all transaction number ranges stored in the account book of the current node, and determining a transaction information acquisition request based on the missing number segment.
8. A blockchain transaction querying device, wherein the device is configured in a blockchain node, the blockchain includes at least two nodes, at least one current node connected with a client and other nodes except the current node are included in the at least two nodes, and the device includes:
the transaction inquiry request acquisition module is used for acquiring a transaction inquiry request sent by the client according to the transaction number through the current node; the transaction numbers are pre-generated according to a monotonically increasing rule, and transaction information is stored in the account book of each node of the blockchain based on the transaction numbers;
the transaction information inquiry module is used for determining whether transaction information corresponding to the transaction inquiry request exists in the account book of the current node;
and the transaction information acquisition module is used for initiating a transaction information acquisition request to other nodes of the blockchain through the current node if the query result of the transaction information query module is nonexistent so as to receive the transaction information returned by the other nodes and returning the transaction information to the client.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a method of querying a blockchain transaction as in any of claims 1-7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of querying blockchain transactions as in any of claims 1-7 when executing the computer program.
CN202110591385.3A 2021-05-28 2021-05-28 Block chain transaction query method, device, medium and electronic equipment Active CN113379542B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110591385.3A CN113379542B (en) 2021-05-28 2021-05-28 Block chain transaction query method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110591385.3A CN113379542B (en) 2021-05-28 2021-05-28 Block chain transaction query method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113379542A CN113379542A (en) 2021-09-10
CN113379542B true CN113379542B (en) 2024-01-09

Family

ID=77574786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110591385.3A Active CN113379542B (en) 2021-05-28 2021-05-28 Block chain transaction query method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113379542B (en)

Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055597A (en) * 2016-05-24 2016-10-26 布比(北京)网络技术有限公司 Digital transaction system, and account information query method therefor
CN106649632A (en) * 2016-12-07 2017-05-10 北京众享比特科技有限公司 Data synchronism method and system
CN106797389A (en) * 2016-11-18 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain network, article trading method, device and node device
CN107294709A (en) * 2017-06-27 2017-10-24 阿里巴巴集团控股有限公司 A kind of block chain data processing method, apparatus and system
CN107491519A (en) * 2017-08-15 2017-12-19 中国联合网络通信集团有限公司 The querying method and device of block chain account book
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN109189782A (en) * 2018-08-02 2019-01-11 哈尔滨工程大学 A kind of indexing means in block chain commodity transaction inquiry
CN109472602A (en) * 2018-11-23 2019-03-15 全链通有限公司 A kind of method, a kind of node and a kind of block catenary system of verifying transaction
CN109636622A (en) * 2019-01-03 2019-04-16 平安科技(深圳)有限公司 A kind of fund data sharing method, system and electronic equipment based on block chain
CN109635585A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Method, agent node and the medium of Transaction Information are inquired in block chain network
CN109741060A (en) * 2018-12-29 2019-05-10 北京金山安全软件有限公司 Information inquiry system, method, device, electronic equipment and storage medium
CN109766389A (en) * 2019-01-09 2019-05-17 华东师范大学 A kind of light client revene lookup method of block chain based on bitmap index
CN109858909A (en) * 2019-01-11 2019-06-07 平安科技(深圳)有限公司 Intellectual property method of commerce, device, equipment and storage medium based on block chain
CN110060162A (en) * 2019-03-29 2019-07-26 阿里巴巴集团控股有限公司 Data grant, querying method and device based on block chain
CN110166411A (en) * 2018-02-13 2019-08-23 华为技术有限公司 A kind of data transmission method, device and network node
CN110399373A (en) * 2019-06-26 2019-11-01 杭州慧牧科技有限公司 A kind of block chain account book storage system, storage querying method and delet method
CN110489413A (en) * 2019-07-15 2019-11-22 杭州复杂美科技有限公司 A kind of storage of transaction record, querying method and system, equipment and storage medium
CN110543488A (en) * 2019-09-11 2019-12-06 深圳市网心科技有限公司 Verification node updating method, device and equipment
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110708269A (en) * 2018-07-10 2020-01-17 北京京东尚科信息技术有限公司 Block chain data transmission method, block chain node and computer readable storage medium
WO2020029844A1 (en) * 2018-08-08 2020-02-13 华为技术有限公司 Blockchain node and transaction method
CN110851496A (en) * 2018-12-07 2020-02-28 深圳市智税链科技有限公司 Method, apparatus, accounting node and medium for querying transaction information in blockchain network
CN111340530A (en) * 2020-02-17 2020-06-26 深圳市二十一天网络科技有限公司 Block chain-based digital rights and interests system
CN111612468A (en) * 2017-03-24 2020-09-01 创新先进技术有限公司 Method and device for sending transaction information and consensus verification
CN111813788A (en) * 2020-05-20 2020-10-23 北京金山云网络技术有限公司 Information query method and device and information synchronization method and device
CN111815454A (en) * 2020-08-21 2020-10-23 支付宝(杭州)信息技术有限公司 Data uplink method and device, electronic equipment and storage medium
WO2021036702A1 (en) * 2019-08-27 2021-03-04 深圳前海微众银行股份有限公司 Consensus method and device employing blockchain system
WO2021047445A1 (en) * 2019-09-12 2021-03-18 腾讯科技(深圳)有限公司 Data processing method and apparatus in blockchain network, storage medium, and computer device
CN112732803A (en) * 2021-04-06 2021-04-30 北京万物智链科技有限公司 Consensus block chain transaction query verification method and system
CN112732720A (en) * 2021-01-11 2021-04-30 杭州复杂美科技有限公司 Data storage method, data query method, computer device and storage medium

Patent Citations (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055597A (en) * 2016-05-24 2016-10-26 布比(北京)网络技术有限公司 Digital transaction system, and account information query method therefor
CN106797389A (en) * 2016-11-18 2017-05-31 深圳前海达闼云端智能科技有限公司 Block chain network, article trading method, device and node device
CN106649632A (en) * 2016-12-07 2017-05-10 北京众享比特科技有限公司 Data synchronism method and system
CN111612468A (en) * 2017-03-24 2020-09-01 创新先进技术有限公司 Method and device for sending transaction information and consensus verification
CN107294709A (en) * 2017-06-27 2017-10-24 阿里巴巴集团控股有限公司 A kind of block chain data processing method, apparatus and system
CN107491519A (en) * 2017-08-15 2017-12-19 中国联合网络通信集团有限公司 The querying method and device of block chain account book
CN110166411A (en) * 2018-02-13 2019-08-23 华为技术有限公司 A kind of data transmission method, device and network node
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN110708269A (en) * 2018-07-10 2020-01-17 北京京东尚科信息技术有限公司 Block chain data transmission method, block chain node and computer readable storage medium
CN109189782A (en) * 2018-08-02 2019-01-11 哈尔滨工程大学 A kind of indexing means in block chain commodity transaction inquiry
WO2020029844A1 (en) * 2018-08-08 2020-02-13 华为技术有限公司 Blockchain node and transaction method
CN109472602A (en) * 2018-11-23 2019-03-15 全链通有限公司 A kind of method, a kind of node and a kind of block catenary system of verifying transaction
CN109635585A (en) * 2018-12-07 2019-04-16 深圳市智税链科技有限公司 Method, agent node and the medium of Transaction Information are inquired in block chain network
CN110851496A (en) * 2018-12-07 2020-02-28 深圳市智税链科技有限公司 Method, apparatus, accounting node and medium for querying transaction information in blockchain network
CN109741060A (en) * 2018-12-29 2019-05-10 北京金山安全软件有限公司 Information inquiry system, method, device, electronic equipment and storage medium
CN109636622A (en) * 2019-01-03 2019-04-16 平安科技(深圳)有限公司 A kind of fund data sharing method, system and electronic equipment based on block chain
CN109766389A (en) * 2019-01-09 2019-05-17 华东师范大学 A kind of light client revene lookup method of block chain based on bitmap index
CN109858909A (en) * 2019-01-11 2019-06-07 平安科技(深圳)有限公司 Intellectual property method of commerce, device, equipment and storage medium based on block chain
CN110060162A (en) * 2019-03-29 2019-07-26 阿里巴巴集团控股有限公司 Data grant, querying method and device based on block chain
CN110399373A (en) * 2019-06-26 2019-11-01 杭州慧牧科技有限公司 A kind of block chain account book storage system, storage querying method and delet method
CN110489413A (en) * 2019-07-15 2019-11-22 杭州复杂美科技有限公司 A kind of storage of transaction record, querying method and system, equipment and storage medium
WO2021036702A1 (en) * 2019-08-27 2021-03-04 深圳前海微众银行股份有限公司 Consensus method and device employing blockchain system
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110543488A (en) * 2019-09-11 2019-12-06 深圳市网心科技有限公司 Verification node updating method, device and equipment
WO2021047445A1 (en) * 2019-09-12 2021-03-18 腾讯科技(深圳)有限公司 Data processing method and apparatus in blockchain network, storage medium, and computer device
CN111340530A (en) * 2020-02-17 2020-06-26 深圳市二十一天网络科技有限公司 Block chain-based digital rights and interests system
CN111813788A (en) * 2020-05-20 2020-10-23 北京金山云网络技术有限公司 Information query method and device and information synchronization method and device
CN111815454A (en) * 2020-08-21 2020-10-23 支付宝(杭州)信息技术有限公司 Data uplink method and device, electronic equipment and storage medium
CN112732720A (en) * 2021-01-11 2021-04-30 杭州复杂美科技有限公司 Data storage method, data query method, computer device and storage medium
CN112732803A (en) * 2021-04-06 2021-04-30 北京万物智链科技有限公司 Consensus block chain transaction query verification method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
优化可扩展的拜占庭容错共识算法;韩嗣诚;朱晓荣;张秀贤;;物联网学报(第02期);全文 *
区块链节点存储优化方案;江云超;何小卫;崔一举;;应用科学学报(第01期);全文 *

Also Published As

Publication number Publication date
CN113379542A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
EP3639465B1 (en) Improved hardware security module management
CN108681965B (en) Block chain network transaction processing method and device for offline node
JP6985576B2 (en) Business process systems, business data processing methods and equipment
CN108961052B (en) Verification method, storage method, device, equipment and medium of block chain data
US20210027289A1 (en) Asset transaction method, storage medium, and computer device
CN109522330B (en) Cloud platform data processing method, device, equipment and medium based on block chain
US11469891B2 (en) Expendable cryptographic key access
CN108648084B (en) Data processing method, device and equipment of block chain network and storage medium
CN111163182B (en) Block chain-based device registration method and apparatus, electronic device, and storage medium
CN110535970B (en) Evidence storing and processing method, device, equipment and medium of judicial chain
CN108769230B (en) Transaction data storage method, device, server and storage medium
CN110597918B (en) Account management method, account management device and computer readable storage medium
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN110689349A (en) Transaction hash value storage and search method and device in block chain
CN111885050B (en) Data storage method and device based on block chain network, related equipment and medium
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
CN109951546A (en) Transactions requests processing method, device, equipment and medium based on intelligent contract
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN110597922A (en) Data processing method, device, terminal and storage medium
CN110910110B (en) Data processing method and device and computer storage medium
CN110619022B (en) Node detection method, device, equipment and storage medium based on block chain network
CN111327680B (en) Authentication data synchronization method, device, system, computer equipment and storage medium
CN113379542B (en) Block chain transaction query method, device, medium and electronic equipment
EP4287102A1 (en) Cross-chain transaction processing method and apparatus, electronic device, and storage medium
CN110597886A (en) Data processing method and device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant