WO2024041505A1 - 数据获取方法、装置和设备 - Google Patents
数据获取方法、装置和设备 Download PDFInfo
- Publication number
- WO2024041505A1 WO2024041505A1 PCT/CN2023/114179 CN2023114179W WO2024041505A1 WO 2024041505 A1 WO2024041505 A1 WO 2024041505A1 CN 2023114179 W CN2023114179 W CN 2023114179W WO 2024041505 A1 WO2024041505 A1 WO 2024041505A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transaction
- block
- data
- target
- event
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/22—Payment schemes or models
- G06Q20/223—Payment schemes or models based on the use of peer-to-peer networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
- G06Q20/3678—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
Definitions
- the present disclosure relates to the field of Internet technology, and in particular, to a data acquisition method, device and equipment.
- Blockchain is a way for everyone to participate in accounting and has the characteristics of decentralization and trustlessness. Clients can conduct transactions through any blockchain node, and transaction data is stored in blocks in the blockchain in the form of electronic records.
- the transaction mode in the blockchain is the unspent transaction output (UTXO) mode, that is, the output data in the transaction data of one transaction event is stored in the block and used as the transaction data in the subsequent transaction event. Input data.
- UXO unspent transaction output
- inventions of the present disclosure provide a data acquisition method, including: creating a target database.
- the target database is a database that stores transaction data corresponding to transaction identifiers of multiple transaction events in the blockchain.
- the transaction data includes input data and output data; receiving a first request message requesting acquisition of target transaction data of a target transaction event, the first request message including: a target transaction identifier of the target transaction event; responding to the first A request message, using the target transaction identifier as an index, obtains the target transaction data from the target database; and sends the target transaction data.
- the target database includes: a first corresponding relationship of one-to-one correspondence between the transaction identifiers of the multiple transaction events and the transaction data of the multiple transaction events; the data acquisition method also includes: acquiring The transaction identifier of the first transaction event stored in the first block, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event, the first transaction event is For any one of the multiple transaction events, the first block is a block in the blockchain that stores the output data of the first transaction event; according to the corresponding previous transaction of the first transaction event The transaction identifier of the event determines the second block that stores the input data of the first transaction event; determines the output data of the second transaction event stored in the second block as the input of the first transaction event data, the second transaction event is the previous transaction event of the first transaction event; the input data of the first transaction event and the output data of the first transaction event are determined as the first transaction event.
- the transaction identifier of the transaction event includes: calling the target interface to obtain the block data of the first block.
- the block data of the first block includes: the transaction identifier of the first transaction event, the first The output data of the transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event, and the target interface includes a remote procedure call RPC interface.
- the target database further includes: a second correspondence relationship between block identifiers of multiple blocks and block data of the multiple blocks, where the multiple blocks include the The first block, the block data of the first block also includes: the block identifier of the first block; the data acquisition method further includes: creating the block identifier of the first block and The second correspondence relationship between the block data of the first block.
- calling the target interface to obtain the block data of the first block includes: calling the target interface to obtain the block identifier of the first block; and reading the third block. 2.
- calling the target interface to obtain the block identifier of the first block includes: calling the target interface, traversing multiple blocks in the blockchain, and obtaining the multiple blocks. The block ID for each block in the block.
- the data acquisition method further includes: receiving a second request message requesting acquisition of target block data of the target block, and the second request message includes: the target area a target block identifier of the block; in response to the second request message, obtain the target block data from the target database using the target block identifier as an index; and send the target block data.
- the target database includes a transaction database configured to store a first correspondence and a block database configured to store a second correspondence.
- the transaction database and the block database are key-value databases.
- the target database stores the correspondence in a target format, including a comma separated values (CSV) format.
- CSV comma separated values
- the transaction identifier includes: at least one of a transaction hash value, a transaction number, or a transaction index value.
- the transaction mode in the blockchain is an unspent transaction output UTXO mode.
- some embodiments of the present disclosure provide a data acquisition device, including: a communication unit and a processing unit; the processing unit is configured to create a target database, the target database is to store multiple transaction events in the blockchain a database of transaction data corresponding to the transaction identifier, the transaction data including input data and output data; the communication unit is configured to receive a first request message requesting acquisition of target transaction data of a target transaction event , the first request message includes: the target transaction identifier of the target transaction event; the processing unit is further configured to respond to the first request message, using the target transaction identifier as an index, from the target The target transaction data is obtained from the database; the communication unit is also configured to send the target transaction data.
- some embodiments of the present disclosure provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements the first aspect data acquisition method.
- some embodiments of the present disclosure provide a computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium. When executed by a processor, the computer program implements the data acquisition method of the first aspect.
- Figure 1 is a composition diagram of a data acquisition system according to one or more embodiments
- Figure 2 is a structural diagram of a blockchain node according to one or more embodiments
- Figure 3 is a flow chart of a data acquisition method according to one or more embodiments.
- Figure 4 is a flow chart of another data acquisition method according to one or more embodiments.
- Figure 5 is an index diagram of transaction data according to one or more embodiments.
- Figure 6 is a flow chart of yet another data acquisition method according to one or more embodiments.
- Figure 7 is a flow chart of yet another data acquisition method according to one or more embodiments.
- Figure 8 is a composition diagram of a target database according to one or more embodiments.
- Figure 9 is a flow chart of yet another data acquisition method according to one or more embodiments.
- Figure 10 is a flow chart of yet another data acquisition method according to one or more embodiments.
- Figure 11 is a composition diagram of another target database according to one or more embodiments.
- Figure 12 is a structural diagram of a data acquisition device according to one or more embodiments.
- Figure 13 is a structural diagram of another data acquisition device according to one or more embodiments.
- Blockchain technology also known as distributed ledger technology, is an emerging technology in which several computing devices jointly participate in "bookkeeping" (that is, record transaction data) and jointly maintain a complete distributed database. . Since blockchain technology has the characteristics of decentralization (that is, there is no central node), openness and transparency, each computing device can participate in database records, and data can be synchronized quickly between computing devices, blockchain technology has been widely used in Widely used in many fields.
- a blockchain system may include multiple blockchain nodes.
- Blockchain nodes are devices with communication functions and storage functions, such as devices that store blockchain.
- nodes are used to represent blockchain nodes. That is to say, the nodes involved in the embodiments of this disclosure can all be used to represent blockchain nodes.
- Each node can both receive and generate information. Different nodes maintain communication by maintaining a common blockchain. In some embodiments, in the blockchain system, any node can generate a new block based on transaction-related data sent by the client, and notify other nodes in the form of broadcast, and other nodes can perform operations on this block. verify. When all nodes in the blockchain system reach consensus, new blocks can be added to the blockchain.
- a node may be a physical device, such as a server or terminal device.
- the node can be a virtual computer; a virtual computer Virtual computer is a general term for the running environment virtualized by software in all types of virtualization devices. This concept includes virtual machines and containers.
- the node can be a process or a thread; a thread is the smallest unit that the operating system can perform calculation scheduling. A thread is included in a process and is the actual operating unit in the process; a process is a computer
- the program in is a running activity on a certain data collection and is the basic unit for resource allocation and scheduling in the system.
- Blocks are generated one by one in chronological order. Each block records all transactions that occurred during its creation. All blocks are aggregated to form a chained record collection. Since the throughput rates of nodes are different in different blockchain systems, the block size may also be different in different blockchain systems.
- each blockchain may not be exactly the same, but a block usually includes a block header and a block body.
- the block header is mainly used to record the characteristic value of the current block, which can include the identification of the current block (such as the block number), the hash value of the block body in the current block, and the timestamp (used to represent the block's Generation time), transaction number (transaction count) and random number (nonce) and other information.
- the block header can also include the hash value of the previous block (specifically, the block header in the previous block hash value).
- the block header includes multiple feature values.
- the block body can include multiple transaction data.
- the block body also includes information such as the client's certificate (used to describe the initiator of the transaction), the certificate of the endorsing node, and the signature of the endorsing node for the transaction.
- the block body may also include the signature of the ordering node (or consensus node) for the transaction.
- the signatures here are used to represent the authentication of the transaction by the device corresponding to the signature, and the certificates are used to represent the identity.
- the above data such as signatures and certificates are used to verify transaction data, and these data usually occupy 70% of the storage space in the block body.
- Table 1 shows one structural form of a block.
- the structure of the block is not limited to what is shown in Table 1, and the values of each structure are not limited to what is shown in Table 1.
- the transactions involved in the embodiments of this disclosure refer to the process in which users create and publish data through any node to the distributed database of the blockchain.
- This transaction can be divided into narrow transaction and broad transaction.
- a transaction in a narrow sense refers to a value transfer issued by a user to the blockchain; for example, in the traditional Bitcoin blockchain network, a transaction can be a transfer initiated by the user in the blockchain.
- a broad transaction refers to a user releasing an arbitrary piece of data to the blockchain: for example, the operator can build a consortium chain based on actual business needs, and rely on the consortium chain to deploy some online businesses (for example, rental business, vehicle dispatching business, Insurance claims business, credit services, medical services, etc.), and in this type of alliance chain, the transaction can be a business message or business request with business intention published by the user in the alliance chain; for another example, the transaction can also be Users send data (such as account balances, etc.) to the blockchain to change the user's account status.
- some online businesses for example, rental business, vehicle dispatching business, Insurance claims business, credit services, medical services, etc.
- the transaction can be a business message or business request with business intention published by the user in the alliance chain
- the transaction can also be Users send data (such as account balances, etc.) to the blockchain to change the user's account status.
- the client can be deployed on any electronic device and implemented through the corresponding software development kit (SDK) of the blockchain system.
- SDK software development kit
- the electronic device communicates with nodes in the blockchain network to achieve the corresponding functions of the client.
- the data involved in the embodiments of this disclosure may be data authorized by the user or fully authorized by all parties.
- the blockchain node needs to call multiple interfaces to obtain the transaction data in multiple blocks respectively, and the entire process requires multiple interfaces.
- the call takes a long time, resulting in low data acquisition efficiency in the blockchain.
- embodiments of the present disclosure provide a data acquisition method.
- the blockchain node After receiving the first request message, the blockchain node can respond to the first request message and obtain the target from the pre-created target database using the target transaction identifier as an index. Transaction data. Subsequently, the blockchain node can send the target transaction data. In this way, since the transaction data stored in the database includes input data and output data, the blockchain node only needs to access the target database, which can improve the efficiency of data acquisition.
- Figure 1 is a composition diagram of a data acquisition system according to one or more embodiments.
- the data acquisition system may include: a client 110 and multiple blockchain nodes in the blockchain 120 (Including blockchain node 121).
- Client 110 can access blockchain 120 through blockchain node 121.
- the blockchain node 121 may be any one of multiple blockchain nodes.
- the blockchain 120 includes multiple blocks, and the block data stored in each block includes transaction data of transaction events occurring within a time period.
- the transaction mode in the blockchain 120 may be a UTXO mode, that is, only unspent outputs are recorded.
- the block data includes: the transaction identifier of the transaction event, the input data in the transaction data of the transaction event, Output data and the corresponding transaction identifier of the previous transaction event.
- Table 2 shows a storage format of block data.
- the storage format of block data is not limited to what is shown in Table 2, and the values of each structure are not limited to what is shown in Table 2.
- the client 110 can implement functions such as creating chain codes and initiating transactions.
- the client 110 can be deployed on any electronic device and implemented through the corresponding software development tool kit of the blockchain system.
- the electronic device communicates with the blockchain node 121 to realize the corresponding functions of the client 110 .
- the embodiments of this disclosure do not limit the implementation of the client 110.
- multiple blockchain nodes in the blockchain 120 are devices with communication functions and storage functions, and may be a single server, or may also be a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster. The embodiments of this disclosure also do not limit the implementation of multiple blockchain nodes in the blockchain 120.
- client 110 and multiple blockchain nodes in the blockchain 120 can all be called electronic devices.
- FIG 2 is a structural diagram of a blockchain node according to one or more embodiments.
- the blockchain node 121 may include: a block database 210 and a transaction database 220.
- the block database 210 is used to store the transaction data of each block in a plurality of blocks in the blockchain 120 .
- the block database 210 may be a key-value (KV) database. At this time, the corresponding relationship between the block identifier and the block data is stored in the block database 210.
- KV key-value
- the transaction database 220 is used to store transaction data of multiple transactions in the blockchain 120 .
- the transaction database 220 may be a KV database. At this time, the corresponding relationship between the transaction identifier and the transaction data is stored in the transaction database 220.
- the key is the transaction identifier of a transaction event
- the value is the transaction data of the transaction event.
- the transaction identifier may include: a transaction hash value of the transaction event, a transaction number of the transaction event, a transaction index value of the transaction event, and other unique identifiers of the transaction event.
- the transaction data may include: input data of the target transaction event, such as input address and input amount, and may also include output data of the target transaction event, such as output address and output amount.
- Table 3 shows a storage format for a transaction database.
- the data acquisition method provided by the embodiment of the present disclosure can be applied to the blockchain node 121 in the application scenario shown in Figure 1.
- the data acquisition method may include: steps 301 to 304.
- Step 301 The blockchain node creates a target database.
- the target database is used to store transaction data corresponding to transaction identifiers of multiple transaction events in the blockchain.
- the target database stores data in the target format.
- the target format may be CSV format.
- the target database may include: a first correspondence between transaction identifiers of multiple transaction events and transaction data of multiple transaction events, and block identifiers of multiple blocks and block identifiers of multiple blocks.
- the second correspondence relationship is one-to-one correspondence between block data.
- Block data for multiple blocks may include transaction data for multiple transaction events.
- the target database may include: at least one of the block database 210 or the transaction database 220.
- the transaction data may include: input data of the transaction event, such as input address and input amount, and may also include output data of the transaction event, such as output address and output. amount.
- the transaction identifier may include: the transaction hash value of the transaction event (transaction hash, Tx hash), the transaction number of the transaction event, the transaction index value of the transaction event (transaction index, Tx index) and other unique transaction events. logo.
- Step 302 The blockchain node receives the first request message.
- the first request message is used to request acquisition of target transaction data of the target transaction event.
- the first request message includes: the target transaction identifier of the target transaction event.
- the method for the blockchain node to receive the first request message may include: the client sends the first request message to the blockchain node.
- a transaction event on the blockchain When a transaction event on the blockchain is completed, a block is generated on the blockchain to store the transaction data of this transaction event.
- the client can receive the receipt message sent by the blockchain node.
- the receipt message includes the transaction identifier of this transaction event.
- data synchronization can be achieved based on the blockchain, and the client can send the first request message to any blockchain node.
- Step 303 The blockchain node responds to the first request message and obtains the target transaction data from the target database using the target transaction identifier as an index.
- the blockchain node Since the target database stores transaction data corresponding to the transaction identifiers of multiple transaction events, after receiving the request message, the blockchain node uses the target transaction identifier as an index to obtain the target transaction data from the target database.
- Step 304 The blockchain node sends the target transaction data.
- the technical solution provided by the above embodiments at least brings the following beneficial effects: It can be seen from steps 301 to 304 that after the blockchain node receives the first request message, it can respond to the first request message and use the target transaction identifier as an index to Obtain target transaction data from the pre-created target database. Subsequently, the blockchain node can send the target Standard transaction data. In this way, since the transaction data stored in the database includes input data and output data, the blockchain node only needs to access the target database, which can provide data acquisition efficiency.
- the data acquisition method also includes: step 401 to step 405.
- Step 401 The blockchain node obtains the transaction identifier of the first transaction event stored in the first block, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event.
- the first transaction event is any event among multiple transaction events.
- the first block is a block in the blockchain used to store the output data of the first transaction event.
- the first transaction event may also be the latest transaction event in the blockchain.
- the block can store the transaction identifier of the current transaction event, the output data of the current transaction event, and the transaction identifier of the previous transaction event.
- the blockchain node can traverse the data stored in multiple blocks on the blockchain to obtain the transaction identifier of the first transaction event, the output data of the first transaction event, and the corresponding previous transaction of the first transaction event.
- the transaction ID of the transaction event is the transaction ID of the transaction event.
- the transaction identifier of the previous transaction event may include: a spend hash value (spent hash) and a spend index value (spent index).
- Step 402 The blockchain node determines the second block that stores the input data of the first transaction event based on the transaction identifier of the previous transaction event corresponding to the first transaction event.
- the blockchain node After the blockchain node obtains the transaction identifier of the previous transaction event corresponding to the first transaction event, it can traverse the data stored in multiple blocks. When there is a transaction identifier of the current transaction event stored in the block and the transaction identifier of the first transaction event. When the transaction identifiers of the corresponding previous transaction events are the same, it means that the current transaction event stored in the block is the corresponding previous transaction event of the first transaction event. At this time, the block can be determined as the input to store the first transaction event. The second block of data.
- Step 403 The blockchain node determines the output data of the second transaction event stored in the second block as the input data of the first transaction event.
- the second transaction event is a transaction event preceding the first transaction event.
- the blockchain node can add the data in the second block to the previous transaction event.
- the stored output data of the second transaction event is determined as the input data of the first transaction event.
- Step 404 The blockchain node determines the input data of the first transaction event and the output data of the first transaction event as the transaction data of the first transaction event.
- Step 405 The blockchain node determines the corresponding relationship between the transaction identifier of the first transaction event and the transaction data of the first transaction event as the first corresponding relationship of the first transaction event.
- the blockchain node can obtain the transaction hash value of transaction event B as "y” from the data stored in the block.
- Transaction event B includes: the transaction sequence number is “0”", the input with the transaction sequence number "1” and the input with the transaction sequence number "2", and the output with the transaction sequence number "0", the transaction sequence number "1” and the transaction sequence number "2” Output.
- Inputs with transaction sequence number "1” include: corresponding to transaction event B The transaction identifier of the previous transaction event A (the spend hash value is "x" and the spend index value is "0").
- the blockchain node traverses the data stored in multiple blocks and obtains the transaction event A with the transaction hash value "x", including: input with the transaction sequence number "0", input with the transaction sequence number "1” and transaction Input with sequence number "2", and output with transaction sequence number "0", transaction sequence number "1” and output with transaction sequence number "2".
- the output data corresponding to the transaction sequence number "0" that is the same as the spending index value "0" includes: address and amount.
- the blockchain node can determine the address and amount, as well as the input data with the transaction sequence number "1" in transaction event B, as the transaction data of transaction event B, and store the transaction hash value "y" and the value of transaction event B Correspondence of transaction data.
- the blockchain node can determine the transaction identifier of each transaction event based on the data of each transaction event stored in each block. The first correspondence with transaction data. Subsequently, when the client queries the transaction data stored in different blocks, the blockchain node can directly read the first correspondence to obtain the transaction data without accessing the data stored in multiple blocks.
- the blockchain node obtains the transaction identifier of the first transaction event stored in the first block, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event.
- this embodiment provides a possible implementation.
- the blockchain node obtains the transaction identifier of the first transaction event stored in the first block, the output data of the first transaction event, and the corresponding data of the first transaction event.
- the method of identifying the transaction of the previous transaction event includes: step 601.
- Step 601 The blockchain node calls the target interface to obtain the block data of the first block.
- the block data (block info) of the first block includes: the transaction identifier of the first transaction event, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event.
- the target interface may include a remote procedure call.
- the block data of the first block also includes: the block identifier corresponding to the first block
- the block data of the first block may include block header data and block body data.
- Block header data includes the block identifier.
- the block body data includes the transaction identifier of the first transaction event, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event.
- the blockchain node calls the target interface
- the method of obtaining the block data of the first block may include: the blockchain node calls the target interface, traverses multiple blocks in the blockchain, Get the block data for each block in multiple blocks.
- the blockchain node can call the target interface to obtain the block data of the first block, so that subsequent blocks can be based on the block data of the first block.
- the data determines the transaction data and transaction identifier of the first transaction event.
- the data acquisition method also includes: step 701.
- Step 701 The blockchain node creates a second corresponding relationship between the block identifier of the first block and the block data of the first block.
- the target database includes: a one-to-one second correspondence relationship between block identifiers of multiple blocks and block data of multiple blocks.
- a plurality of blocks includes the first block.
- the target database includes a block database 210.
- the block database 210 is a KV database
- the key is the block identifier of a block
- the value is the block data of the block.
- the block identifier may include: a hash value of the block, a block number, and other unique identifiers of the block.
- the blockchain node can create a second corresponding relationship between the block identifier of the first block and the block data of the first block. Later, when the block data needs to be queried, the blockchain node can directly read the target database to obtain the block data, without the need for an interface to obtain the block data stored on the block.
- step 601 the blockchain node calls the target interface to obtain the block data of the first block, including: step 702-step 703.
- Step 702 The blockchain node calls the target interface to obtain the block identifier of the first block.
- the blockchain node calls the target interface
- the method of obtaining the block identifier of the first block may include: the blockchain node calls the target interface, traverses multiple blocks in the blockchain, Get the block ID of each block in multiple blocks.
- Step 703 The blockchain node reads the second correspondence relationship and obtains the block data of the first block corresponding to the block identifier of the first block.
- the blockchain node can access the second corresponding relationship from the block database 210 .
- the second correspondence relationship stored in the target database may include: block data 0 stored in the block corresponding to block ID 0, and block data stored in the block corresponding to block ID 1.
- Data 1 stored in the block corresponding to block identifier n.
- the blockchain node can call the target interface to obtain the block identifier of the first block, and then read the second corresponding relationship to obtain The block data of the first block corresponding to the block identifier of the first block.
- the blockchain node does not need to request block data from the block, which reduces the amount of data obtained by calling the interface and effectively improves the efficiency of data acquisition.
- the data acquisition method also includes: steps 901 to 903.
- Step 901 The blockchain node receives the second request message.
- the second request message is used to request to obtain the target block data of the target block.
- the second request message includes: the target block identifier of the target block.
- the method for the blockchain node to receive the second request message may include: the client sends the second request message to the blockchain node, or any blockchain node on the blockchain performs When the business service needs to obtain block data, it can generate a second request message.
- Step 902 The blockchain node responds to the second request message and obtains the target block data from the target database using the target block identifier as an index.
- the blockchain node Since the target database stores block data corresponding to the block identifiers of multiple blocks, after receiving the request message, the blockchain node uses the target block identifier as an index to obtain the target block data from the target database.
- Step 903 The blockchain node sends the target block data.
- the technical solution provided by the above embodiments at least brings the following beneficial effects: It can be seen from steps 901 to 903 that after the blockchain node receives the second request message, it can respond to the second request message, using the target block identifier as the index, Get the target block data from the pre-created target database. Subsequently, the blockchain node can send the target block data. In this way, the blockchain node only needs to access the target database to obtain block data, which can improve the efficiency of data acquisition.
- the data acquisition method includes: step 1001-step 1008.
- Step 1001 The blockchain node synchronizes the block data in the blockchain.
- the blockchain nodes on the blockchain can synchronize block data after running.
- Step 1002 The blockchain node obtains block data and block identification.
- Step 1003 The blockchain node creates a second correspondence between block data and block identification, and stores the second correspondence in the target database.
- Step 1004 The blockchain node obtains the transaction identifier of the first transaction event, the output data of the first transaction event, and the transaction identifier of the previous transaction event corresponding to the first transaction event from the block database.
- Step 1005 The blockchain node uses the transaction identifier of the previous transaction event corresponding to the first transaction event as an index, determines the output data of the previous transaction event from the target database as the input data of the first transaction event, and determines the first transaction event.
- the input data of the transaction event and the output data of the first transaction event are transaction data of the first transaction event.
- Step 1006 The blockchain node creates a first correspondence between the transaction identifier of the first transaction event and the transaction data of the first transaction event.
- Step 1007 The blockchain node determines whether the target database includes transaction data of all transaction events in the blockchain.
- steps 1002 to 1007 are repeatedly executed.
- step 1008 is executed.
- Step 1008 The blockchain node stores the transaction data in the target database in the target format.
- the target database created by the blockchain node also includes: transaction data 0 of the transaction event corresponding to the transaction identifier 0, transaction data 1 of the transaction event corresponding to the transaction identifier 1, ... transaction events corresponding to the transaction identifier m transaction data m.
- the data acquisition device described in the embodiment of the present disclosure may include one or more hardware structures and/or software modules for implementing the aforementioned corresponding data acquisition methods. These execution hardware structures and/or software modules Modules can form an electronic device.
- the embodiments of the present disclosure may be implemented based on hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving the hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementations should not be considered to be beyond the scope of the disclosed embodiments.
- FIG. 12 is a structural diagram of a data acquisition device according to one or more embodiments.
- the data acquisition device package It includes: communication unit 1201 and processing unit 1202.
- the communication unit 1201 is configured to receive the request message.
- the processing unit 1202 is configured to respond to the request message and obtain the target transaction data from the target database using the target transaction identifier as an index.
- the communication unit 1201 is also configured to send target transaction data.
- the processing unit 1202 is also configured to obtain the transaction identifier of the first transaction event stored in the first block, the output data of the first transaction event, and the corresponding previous transaction event of the first transaction event.
- transaction identifier According to the transaction identifier of the previous transaction event corresponding to the first transaction event, the second block storing the input data of the first transaction event is determined; the output data of the second transaction event stored in the second block is determined as the second block.
- Input data for a transaction event The input data of the first transaction event and the output data of the first transaction event are determined as the transaction data of the first transaction event, and the corresponding relationship between the transaction identifier of the first transaction event and the transaction data of the first transaction event is determined as the first transaction.
- the first correspondence of events According to the transaction identifier of the previous transaction event corresponding to the first transaction event, the second block storing the input data of the first transaction event is determined; the output data of the second transaction event stored in the second block is determined as the second block.
- Input data for a transaction event
- the processing unit 1202 is configured to call the target interface to obtain the block data of the first block.
- the processing unit 1202 is further configured to create a second corresponding relationship between the block identifier of the first block and the block data of the first block.
- the processing unit 1202 is configured to call the target interface, obtain the block identifier of the first block, read the second correspondence relationship, and obtain the block identifier of the first block corresponding to the first block. block data.
- the processing unit 1202 is configured to call the target interface, traverse multiple blocks in the blockchain, and obtain the block identifier of each block in the multiple blocks.
- the communication unit 1201 is also configured to receive a second request message, respond to the second request message, obtain the target block data from the target database using the target block identifier as an index, and send the target block data. .
- embodiments of the present disclosure can divide blockchain nodes into functional modules according to the above method examples.
- the above integrated modules can be implemented in the form of hardware or software function modules.
- the division of modules in the embodiment of the present disclosure is schematic and is only a logical function division. In actual implementation, there may be other division methods.
- each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module.
- FIG. 13 is a structural diagram of another data acquisition device according to one or more embodiments.
- the data acquisition device may include at least one processor 221, a communication bus 222, a memory 223 and at least one communication interface 224.
- the processor 221 may be a processor (central processing units, CPU), a microprocessing unit, an ASIC, or one or more integrated circuits used to control program execution of the disclosed solution. In conjunction with FIG. 13 , the processor 221 is configured to perform operations performed by the processing unit 1202 .
- Communication bus 222 may include a path for communicating information between the above-mentioned components.
- the communication interface 224 uses any device such as a transceiver for communicating with other devices or communication networks, such as electronic devices, Ethernet, radio access network (RAN), wireless local area networks, WLAN) etc. In conjunction with FIG. 13 , the communication interface 224 is used to perform operations performed by the communication unit 1201 .
- RAN radio access network
- WLAN wireless local area networks
- Memory 223 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory (RAM)) or other type that can store information and instructions. Dynamic storage device, it can also be electrically erasable programmable read-only memory (EEPROM), read-only optical disk
- CD-ROM compact disc read-only memory
- optical disc storage including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
- magnetic disk storage media or other magnetic storage devices, or can be used without limitation, any other medium that carries or stores the desired program code in the form of instructions or data structures that can be accessed by a computer.
- the memory can exist independently and be connected to the processing unit through a bus. The memory can also be integrated with the processing unit.
- the memory 223 is used to store application program code for executing the disclosed solution, and is controlled by the processor 221 for execution.
- the processor 221 is used to execute the application program code stored in the memory 223, thereby realizing the functions in the disclosed method.
- processor 221 may include one or more CPUs, such as Processor 0 and Processor 1 in Figure 13 .
- the data acquisition device may include multiple processors, such as processor 221 and processor 225 in FIG. 13 .
- processors may be a single-CPU processor or a multi-CPU processor.
- a processor here may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
- the data acquisition device may also include an input device 226 and an output device 227.
- the input device 226 communicates with the output device 227 and can accept user input in a variety of ways.
- the input device 226 may be a mouse, a keyboard, a touch screen device, a sensing device, or the like.
- the output device 227 communicates with the processor 221 and can display information in a variety of ways.
- the output device 227 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, etc.
- LCD liquid crystal display
- LED light emitting diode
- Figure 13 does not constitute a limitation on the data acquisition device, and may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.
- Embodiments of the present disclosure also provide a computer-readable storage medium including instructions. Instructions are stored on the computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of a data acquisition device, , so that the data acquisition device can execute the data acquisition method provided by the embodiment shown above.
- the computer-readable storage medium may be a memory 223 including instructions, and the instructions may be executed by the processor 221 of the data acquisition device to complete the above method.
- the computer-readable storage medium may be a non-transitory computer-readable storage medium.
- the non-transitory computer-readable storage medium may include a hard disk drive (HDD), a floppy disk drive , flash memory, optical disk, magneto-optical disk, tape or universal serial bus (USB) drive or a combination of two or more of these.
- the computer-readable storage medium may include removable or non-removable (or fixed) media, or the computer-readable storage medium may be non-volatile solid-state memory.
- the computer-readable storage medium may be internal to or external to the data acquisition device.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Databases & Information Systems (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Computational Linguistics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (15)
- 一种数据获取方法,包括:创建目标数据库,所述目标数据库是存储区块链中多个交易事件的交易标识对应的交易数据的数据库,所述交易数据包括输入数据和输出数据;接收第一请求消息,所述第一请求消息请求获取目标交易事件的目标交易数据,所述第一请求消息包括:所述目标交易事件的目标交易标识;响应于所述第一请求消息,以所述目标交易标识为索引,从所述目标数据库中获取所述目标交易数据;以及发送所述目标交易数据。
- 根据权利要求1所述的数据获取方法,其中,所述目标数据库包括:所述多个交易事件的交易标识和所述多个交易事件的交易数据一一对应的第一对应关系;所述数据获取方法,还包括:获取第一区块中存储的第一交易事件的交易标识、所述第一交易事件的输出数据、以及所述第一交易事件的对应的前一交易事件的交易标识,所述第一交易事件为所述多个交易事件中的任意一个事件,所述第一区块为所述区块链中存储所述第一交易事件的输出数据的区块;根据所述第一交易事件的对应的前一交易事件的交易标识,确定存储所述第一交易事件的输入数据的第二区块;将所述第二区块中存储的第二交易事件的输出数据,确定为所述第一交易事件的输入数据,所述第二交易事件为所述第一交易事件的前一交易事件;将所述第一交易事件的输入数据和所述第一交易事件的输出数据确定为所述第一交易事件的交易数据;以及将所述第一交易事件的交易标识和所述第一交易事件的交易数据的对应关系确定为所述第一交易事件的第一对应关系。
- 根据权利要求2所述的数据获取方法,其中,所述获取所述第一区块中存储的第一交易事件的交易标识、所述第一交易事件的输出数据、以及所述第一交易事件的对应的前一交易事件的交易标识,包括:调用目标接口,获取所述第一区块的区块数据,所述第一区块的区块数据包括:所述第一交易事件的交易标识、所述第一交易事件的输出数据、以及所述第一交易事件的对应的前一交易事件的交易标识,所述目标接口包括远程过程调用RPC接口。
- 根据权利要求3所述的数据获取方法,其中,所述目标数据库还包括:多个区块的区块标识和所述多个区块的区块数据一一对应的第二对应关系,所述多个区块包括所述第一区块,所述第一区块的区块数据还包括:所述第一区块的区块标识;所述数据获取方法,还包括:创建所述第一区块的区块标识与所述第一区块的区块数据的第二对应关系。
- 根据权利要求4所述的数据获取方法,其中,所述调用目标接口,获取所述第一区块的区块数据,包括:调用所述目标接口,获取所述第一区块的区块标识;以及读取所述第二对应关系,获取所述第一区块的区块标识对应的所述第一区块的区 块数据。
- 根据权利要求5所述的数据获取方法,其中,所述调用所述目标接口,获取所述第一区块的区块标识,包括:调用所述目标接口,遍历所述区块链中的多个区块,获取所述多个区块中每个区块的区块标识。
- 根据权利要求4-6中任一项所述的数据获取方法,还包括:接收第二请求消息,所述第二请求消息请求获取目标区块的目标区块数据,所述第二请求消息包括,所述目标区块的目标区块标识;响应于所述第二请求消息,以所述目标区块标识为索引,从所述目标数据库中获取所述目标区块数据;以及发送所述目标区块数据。
- 根据权利要求4-7中任一项所述的数据获取方法,其中,所述目标数据库包括交易数据库和区块数据库,所述交易数据库被配置为存储所述第一对应关系,所述区块数据库被配置为存储所述第二对应关系。
- 根据权利要求8所述的数据获取方法,其中,所述交易数据库和所述区块数据库为键值数据库。
- 根据权利要求1-9中任一项所述的数据获取方法,其中,所述目标数据库以目标格式存储对应关系,所述目标格式包括字符分隔值CSV格式。
- 根据权利要求1-10中任一项所述的数据获取方法,其中,所述交易标识包括:交易哈希值、交易号或交易索引值中的至少一个。
- 根据权利要求1-11中任一项所述的数据获取方法,其中,所述区块链中的交易模式为未花费的交易输出UTXO模式。
- 一种数据获取装置,包括:通信单元和处理单元;所述处理单元,被配置为创建目标数据库,所述目标数据库是存储区块链中多个交易事件的交易标识对应的交易数据的数据库,所述交易数据包括输入数据和输出数据;所述通信单元,被配置为接收第一请求消息,所述第一请求消息请求获取目标交易事件的目标交易数据,所述第一请求消息包括:所述目标交易事件的目标交易标识;所述处理单元,还被配置为响应于所述第一请求消息,以所述目标交易标识为索引,从所述目标数据库中获取所述目标交易数据;所述通信单元,还被配置为发送所述目标交易数据。
- 一种电子设备,包括:存储器,处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序在被所述处理器执行时,实现如权利要求1至12中任一项所述的数据获取方法。
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序在被处理器执行时,实现如权利要求1至12中任一项所述的数据获取方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23856595.6A EP4550167A4 (en) | 2022-08-22 | 2023-08-22 | DATA ACQUISITION METHOD AND APPARATUS, AND DEVICE |
| US19/100,357 US20260044509A1 (en) | 2022-08-22 | 2023-08-22 | Data Acquisition Method and Apparatus, and Device |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211007893.3 | 2022-08-22 | ||
| CN202211007893.3A CN115422184A (zh) | 2022-08-22 | 2022-08-22 | 一种数据获取方法、装置、设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024041505A1 true WO2024041505A1 (zh) | 2024-02-29 |
Family
ID=84197897
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/114179 Ceased WO2024041505A1 (zh) | 2022-08-22 | 2023-08-22 | 数据获取方法、装置和设备 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20260044509A1 (zh) |
| EP (1) | EP4550167A4 (zh) |
| CN (1) | CN115422184A (zh) |
| WO (1) | WO2024041505A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115422184A (zh) * | 2022-08-22 | 2022-12-02 | 中国人民银行数字货币研究所 | 一种数据获取方法、装置、设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106503053A (zh) * | 2016-09-26 | 2017-03-15 | 江苏通付盾科技有限公司 | Utxo查询方法及装置 |
| CN113222752A (zh) * | 2019-04-12 | 2021-08-06 | 创新先进技术有限公司 | 基于区块链的数据处理系统、方法、计算设备及存储介质 |
| CN113450223A (zh) * | 2021-07-13 | 2021-09-28 | 成都质数斯达克科技有限公司 | 基于utxo模型的交易处理方法、装置、设备及存储介质 |
| CN114860806A (zh) * | 2022-05-11 | 2022-08-05 | 金蝶软件(中国)有限公司 | 区块链的数据查询方法、装置、计算机设备和存储介质 |
| CN115422184A (zh) * | 2022-08-22 | 2022-12-02 | 中国人民银行数字货币研究所 | 一种数据获取方法、装置、设备及存储介质 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| AU2009249272B2 (en) * | 2008-05-18 | 2014-11-20 | Google Llc | Secured electronic transaction system |
| AU2018278351A1 (en) * | 2017-06-01 | 2020-01-23 | Schvey, Inc. d/b/a/ Axoni | Distributed privately subspaced blockchain data structures with secure access restriction management |
| US20190378119A1 (en) * | 2018-06-12 | 2019-12-12 | Fressets Inc. | Wallet device for cryptocurrency and method of signature for the use thereof |
| US10929473B2 (en) * | 2018-09-27 | 2021-02-23 | Palo Alto Research Center Incorporated | Integrated index blocks and searching in blockchain systems |
| US10795874B2 (en) * | 2019-07-29 | 2020-10-06 | Alibaba Group Holding Limited | Creating index in blockchain-type ledger |
| CN112529647B (zh) * | 2019-09-19 | 2023-05-26 | 上海哔哩哔哩科技有限公司 | 基于区块链的商品交易方法、装置、计算机设备 |
| CN111339106B (zh) * | 2020-05-18 | 2020-08-28 | 杭州趣链科技有限公司 | 一种区块链数据索引的方法 |
| CN113268345A (zh) * | 2021-04-07 | 2021-08-17 | 北京邮电大学 | 基于区块链系统的交易方法、装置以及存储介质 |
| CN113641649B (zh) * | 2021-10-18 | 2022-02-18 | 杭州趣链科技有限公司 | 数据获取方法、装置、设备和存储介质 |
-
2022
- 2022-08-22 CN CN202211007893.3A patent/CN115422184A/zh active Pending
-
2023
- 2023-08-22 WO PCT/CN2023/114179 patent/WO2024041505A1/zh not_active Ceased
- 2023-08-22 US US19/100,357 patent/US20260044509A1/en active Pending
- 2023-08-22 EP EP23856595.6A patent/EP4550167A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106503053A (zh) * | 2016-09-26 | 2017-03-15 | 江苏通付盾科技有限公司 | Utxo查询方法及装置 |
| CN113222752A (zh) * | 2019-04-12 | 2021-08-06 | 创新先进技术有限公司 | 基于区块链的数据处理系统、方法、计算设备及存储介质 |
| CN113450223A (zh) * | 2021-07-13 | 2021-09-28 | 成都质数斯达克科技有限公司 | 基于utxo模型的交易处理方法、装置、设备及存储介质 |
| CN114860806A (zh) * | 2022-05-11 | 2022-08-05 | 金蝶软件(中国)有限公司 | 区块链的数据查询方法、装置、计算机设备和存储介质 |
| CN115422184A (zh) * | 2022-08-22 | 2022-12-02 | 中国人民银行数字货币研究所 | 一种数据获取方法、装置、设备及存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4550167A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115422184A (zh) | 2022-12-02 |
| US20260044509A1 (en) | 2026-02-12 |
| EP4550167A1 (en) | 2025-05-07 |
| EP4550167A4 (en) | 2025-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112153085B (zh) | 一种数据处理方法、节点及区块链系统 | |
| TWI724574B (zh) | 基於區塊鏈的記帳方法及裝置、電子設備 | |
| CN107786642B (zh) | 用于数据流通的区块链构建方法及装置、存储介质、服务器 | |
| WO2019042101A1 (zh) | 一种跨链交易方法及装置 | |
| WO2020001370A1 (zh) | 一种多链并发交易方法 | |
| WO2020082892A1 (zh) | 基于区块链的交易处理方法及装置、电子设备 | |
| WO2020082893A1 (zh) | 基于区块链的交易处理方法及装置、电子设备 | |
| US9372879B1 (en) | Balanced append tree data structure | |
| US11418342B2 (en) | System and methods for data exchange using a distributed ledger | |
| EP3618352A1 (en) | Virtual machine management | |
| CN106354544A (zh) | 虚拟机创建方法、系统以及主机 | |
| CN111400112A (zh) | 分布式集群的存储系统的写入方法、装置及可读存储介质 | |
| JP2024539911A (ja) | 分散型ブロックチェーン機能のための方法およびシステム | |
| US9262241B2 (en) | Computer system, computer-implemented method and computer program product for sequencing incoming messages for processing at an application | |
| CN113315630A (zh) | 区块链、量子密钥分发方法和装置 | |
| CN109951374A (zh) | 一种虚拟资源对象分配的方法及设备 | |
| CN106559453A (zh) | 云互通的外部资源管理方法、装置及系统 | |
| WO2024041505A1 (zh) | 数据获取方法、装置和设备 | |
| CN114331428A (zh) | 一种非同质化通证分配方法及装置 | |
| CN116723246A (zh) | 多云资源数据的处理方法、装置、设备及存储介质 | |
| CN111932239A (zh) | 业务处理方法、装置、节点设备及存储介质 | |
| CN111209263A (zh) | 数据存储方法、装置、设备及存储介质 | |
| CN113656411B (zh) | 用于图数据入库的方法及其装置 | |
| CN112181599B (zh) | 模型训练方法、装置及存储介质 | |
| CN113516476B (zh) | 对账处理方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23856595 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023856595 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023856595 Country of ref document: EP Effective date: 20250203 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023856595 Country of ref document: EP |