WO2021164321A1 - 区块处理方法、基于区块链的数据查询方法及装置 - Google Patents
区块处理方法、基于区块链的数据查询方法及装置 Download PDFInfo
- Publication number
- WO2021164321A1 WO2021164321A1 PCT/CN2020/126458 CN2020126458W WO2021164321A1 WO 2021164321 A1 WO2021164321 A1 WO 2021164321A1 CN 2020126458 W CN2020126458 W CN 2020126458W WO 2021164321 A1 WO2021164321 A1 WO 2021164321A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- target
- chain
- sub
- blockchain
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 230000004044 response Effects 0.000 claims abstract description 65
- 238000013500 data storage Methods 0.000 claims description 114
- 238000004590 computer program Methods 0.000 claims description 40
- 230000015654 memory Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 17
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000010276 construction Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012550 audit Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012954 risk control Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3297—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/50—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- 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
Definitions
- the present disclosure relates to the field of blockchain technology, and in particular to a block processing method, a blockchain-based data query method, device, computer equipment, and storage medium.
- Blockchain is essentially a decentralized database consisting of multiple blocks connected in series.
- the consensus blocks are connected in the order of generation time to form a block chain. New blocks are generated, and after consensus, they can be connected to the end of the block chain.
- the embodiments of the present disclosure provide a block processing method, a block chain-based data query method, device, computer equipment, and storage medium.
- the technical scheme is as follows:
- a block processing method includes:
- the sub-chain that meets the target condition is determined as the target sub-chain;
- the block is added to the target sub-chain of the target blockchain.
- a blockchain-based data query method includes:
- a block index table of the target block chain is obtained, the query instruction carries the transaction occurrence time of the transaction in the target block, and the data in the block index table
- the storage unit is used to record the storage location information of the block in the target blockchain, and one data storage unit corresponds to a time stamp;
- the target block is searched in the target blockchain.
- a block processing device which includes:
- the obtaining module is used to obtain the time interval stored in the root block of the target blockchain in response to the generation of any block;
- the sub-chain determination module is used to determine the sub-chain that meets the target condition from the first target number of sub-chains connected to the root block in response to the transaction occurrence time of the transaction contained in the block being within the time interval Is the target sub-chain;
- the adding module is used to add the block to the target sub-chain of the target blockchain in response to the consensus of the block.
- the first target number is determined based on the average consensus duration of the blocks in the blockchain system to which the target blockchain belongs and the block generation period.
- the sub-chain determination module is used to:
- the sub-chain containing the least number of blocks is determined as the target sub-chain
- one sub-chain is randomly determined as the target sub-chain.
- the add module is used to:
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain.
- the number is used to indicate the storage location of the block in the target blockchain;
- the block carrying the block number is added to the target sub-chain.
- the add module is used to:
- the sub-chain number of the target sub-chain and the sequence number of the block are spliced to obtain the block number of the block in the target block chain.
- the device further includes:
- Block determination module used to determine the previous block of the block as a candidate block
- the comparison module is used for re-determining the adding position of the block in response to the sequence number of the candidate block and the sequence number of the block not increasing continuously, and executing the step of adding the block to the target sub-chain.
- the device further includes:
- the information storage module is used to store the storage location information of the block in the block index table of the target blockchain, and the block index table is used to record the block information of each block in the target blockchain.
- the block index table includes a second target number of data storage units, and one data storage unit corresponds to one time identifier.
- the information storage module is used to:
- the storage location information of the block is stored in the target data storage unit of the block index table, and the time identifier of the target data storage unit matches the transaction occurrence time of the transaction contained in the block.
- a block chain-based data query device which includes:
- the obtaining module is used to obtain the block index table of the target block chain in response to the query instruction on the target block in the target block chain.
- the query instruction carries the transaction occurrence time of the transaction data in the target block.
- the data storage unit in the block index table is used to record the storage location information of the block in the target blockchain, and one data storage unit corresponds to a time identifier;
- the determining module is used to determine a target data storage unit from the block index table, and the time identifier of the target data storage unit matches the time when the transaction occurs;
- the search module is used to search for the target block in the target blockchain based on the storage location information in the target data storage unit.
- the determining module is used to:
- the data storage unit is determined as the target data storage unit.
- a computer device in one aspect, includes one or more processors and one or more memories, and at least one computer program is stored in the one or more memories. Multiple processors are loaded and executed to implement the operations performed by the block processing method or the blockchain-based data query method.
- a computer-readable storage medium is provided, and at least one computer program is stored in the computer-readable storage medium.
- the at least one computer program is loaded and executed by a processor to implement the block processing method or is based on a blockchain. The operation performed by the data query method.
- FIG. 1 is a schematic diagram of a blockchain system 100 provided by an embodiment of the present disclosure
- Figure 2 is a functional architecture diagram of a node device provided by an embodiment of the present disclosure
- FIG. 3 is a flowchart of a block processing method provided by an embodiment of the present disclosure
- FIG. 4 is a schematic diagram of a target blockchain provided by an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of a target blockchain data structure provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a target blockchain and a block index table provided by an embodiment of the present disclosure
- FIG. 7 is a flowchart of a data query method based on blockchain provided by an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a block processing device provided by an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a block chain-based data query device provided by an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- the blockchain is essentially a decentralized database, which is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify the validity of the information. (Anti-counterfeiting) and generate the next block.
- the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
- the underlying platform of the blockchain can include processing modules such as user management, basic services, smart contracts, and operation monitoring.
- the user management module is responsible for the identity information management of all blockchain participants, including the maintenance of public and private key generation (account management), key management, and maintenance of the correspondence between the user’s real identity and the blockchain address (authority management), etc.
- authorization supervise and audit certain real-identity transactions, and provide risk control rule configuration (risk control audit); basic service modules are deployed on all blockchain node devices to verify the validity of business requests, After completing the consensus on the valid request, it is recorded on the storage.
- the basic service For a new business request, the basic service first performs interface adaptation analysis and authentication processing (interface adaptation), and then encrypts the business information through the consensus algorithm (consensus management), After encryption, it is completely and consistently transmitted to the shared ledger (network communication), and recorded and stored; the smart contract module is responsible for contract registration and issuance, contract triggering and contract execution.
- interface adaptation interface adaptation
- consensus algorithm consensus algorithm
- the smart contract module is responsible for contract registration and issuance, contract triggering and contract execution.
- the operation monitoring module is mainly responsible for the deployment of the product release process , Configuration modification, contract settings, cloud adaptation, and visual output of real-time status during product operation, such as: alarms, monitoring network conditions, monitoring node equipment health status, etc.
- the platform product service layer provides basic capabilities and implementation frameworks for typical applications. Based on these basic capabilities, developers can superimpose business characteristics to complete the blockchain implementation of business logic.
- the application service layer provides application services based on the blockchain solution for business participants to use.
- the embodiment of the present disclosure provides a blockchain system 100 implemented based on blockchain technology.
- the system architecture of the blockchain system will be introduced below.
- FIG. 1 is a schematic diagram of a blockchain system 100 provided by an embodiment of the present disclosure.
- the blockchain system 100 may include multiple node devices 101.
- the blockchain system 100 may also include at least one Client.
- the node device 101 may be any form of computing device in the network, such as a server, a host, a user terminal, and so on.
- the node device 101 and the node device 101 can share data.
- the node devices 101 may establish a P2P network based on a peer-to-peer (Peer To Peer, P2P) protocol.
- P2P protocol is an application layer protocol that runs on top of the Transmission Control Protocol (TCP) protocol.
- the device type of the node device 101 may include a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, and MP4 (Moving Picture Experts) Group Audio Layer IV, the dynamic image expert compresses the standard audio layer 4) At least one of a player, a laptop computer or a desktop computer.
- each node device 101 can receive input information, and maintain the shared data in the blockchain system based on the received input information.
- there may be an information connection between each node device in the blockchain system and the node devices may transmit information through the above-mentioned information connection.
- the node devices may transmit information through the above-mentioned information connection.
- other node devices in the blockchain system can also obtain the input information, and store the input information as data in the shared data, so that the block The data stored on all node devices in the chain system are consistent.
- FIG. 2 is a functional architecture diagram of a node device provided by an embodiment of the present disclosure.
- the node device 101 can be functionally divided into a hardware layer, an intermediate layer, an operating system layer, and an application layer.
- the specific functions involved can be as follows :
- Routing the basic function of node devices, used to support communication between node devices.
- node devices can also have the following functions:
- the services implemented by the application include:
- Wallet used to provide the function of electronic currency transactions, including initiating transactions (that is, sending the transaction records of the current transaction to other node devices in the blockchain system, and after other node devices are successfully verified, it will be regarded as an acknowledgement that the transaction is valid
- the transaction record data is written into the temporary block of the blockchain; of course, the wallet also supports querying the remaining electronic money in the electronic money address.
- Shared ledger used to provide functions such as storage, query and modification of account data, and send the record data of the operation of the account data to other node devices in the blockchain system. After other node devices are validated, they will be used as A response that acknowledges that the account data is valid, writes the record data into a temporary block, and can also send a confirmation to the node device that initiated the operation.
- Smart contracts can execute the terms of a certain contract, implemented by the code deployed on the shared ledger for execution when certain conditions are met, and the code is used to complete automated transactions according to actual business requirements. For example, query the logistics status of the goods purchased by the buyer, and transfer the buyer’s electronic currency to the merchant’s address after the buyer signs for the goods; Contract processed.
- Blockchain includes a series of blocks that are connected to each other in the order of generation. Once a block is added to the block chain, it will not be removed. The block chain system is recorded in the block. Record data submitted by the mid-node device.
- a node device which is a computer device, including but not limited to a server or a terminal.
- FIG. 3 is a flowchart of a block processing method provided by an embodiment of the present disclosure.
- the method is applied to the node device in the above-mentioned blockchain system as an example for description.
- the method may specifically include the following steps:
- the node device obtains the time interval stored in the root block of the target blockchain in response to the generation of any new block.
- the “new block” involved in the embodiments of the present disclosure refers to the block generated at the latest moment in the blockchain system. Any block is called a “new block” when it is just generated.
- the implementation of the present disclosure The "root block” involved in the example refers to the first block generated in the blockchain system, also known as the "creation block”. Therefore, the above step 301 is that the node device obtains the time interval stored in the root block of the target blockchain in response to the generation of any block.
- the node device may be any node device in the blockchain system, and the node device may be a terminal, a server, etc., which is not limited in the embodiment of the present disclosure.
- the target block chain belongs to the block chain system. Of course, the block chain system may also include other block chains, which is not limited in the embodiment of the present disclosure.
- Figure 4 is a schematic diagram of a target blockchain provided by an embodiment of the present disclosure.
- the target blockchain 401 has a tree structure, that is, the target blockchain 401 includes a root block 402 and The multiple sub-chains connected to the root block 402, as shown in FIG.
- the root block 402 may be connected to the sub-chain 403, the sub-chain 404, and the sub-chain 405, and one sub-chain may include at least one block.
- the blockchain system may include at least one blockchain, and the structure of each blockchain is the same as the structure of the target blockchain.
- a time interval is stored in the root block of the target blockchain, and the time interval can be used to limit the transaction occurrence time of each block in the target blockchain.
- the transaction occurrence time is The transaction data in this time interval can be stored in the target blockchain.
- the blockchain system can generate blocks according to the block generation cycle, and a new block can be generated in each block generation cycle.
- Each block generation cycle can correspond to a transaction period.
- the transactions that occur during the transaction period are all recorded in the same block. For example, transactions that occur within the first second are recorded in one block, and transactions that occur within the second second are recorded in another block.
- the block generation period can be used to indicate the packaging period of transaction data in the blockchain system. For example, if the transaction data generated per second is packaged into one block, the block generation period is to generate one block per second.
- the block generation period can be set by the developer, which is not limited in the embodiment of the present disclosure.
- the root block may not store transaction data. Therefore, in the blockchain system, the root block of each blockchain can be generated in a pre-generated manner, that is, in a root zone. Before the time interval corresponding to the block arrives, just generate this root block. For example, when the time interval corresponding to the root block is from 23:00 to 24:00, the blockchain system can generate this root block any time before 23:00. Among them, the any time can be determined randomly or based on the operating status of the blockchain system. For example, the root block can be generated when the data processing pressure is low. The generation time is not limited.
- the node device traverses the first target number of sub-chains connected to the root block to determine the number of blocks included in each sub-chain.
- the first target quantity may be determined based on the average consensus duration of the blocks in the blockchain system to which the target blockchain belongs and the block generation period.
- the first target number can be determined based on the calculation result of dividing the average consensus duration of the block by a block generation period.
- the average consensus duration of the block can be determined by statistics on the duration of each block in the blockchain system through consensus.
- the number of blocks included in the sub-chain can be determined based on the block number of each block.
- Each block in the target blockchain can correspond to a block number, which can be used to indicate the storage location of the block in the target blockchain, and the block number of a block can be determined by the block number.
- the sub-chain number of the sub-chain to which the block belongs and the sequence number of the block in the sub-chain to which it belongs, and the sequence number is the sequence of the block in the sub-chain to which it belongs.
- the block number of a block can be 2.3, then the sub-chain number of the sub-chain to which the block belongs is 2, and the block is the third block on the sub-chain to which it belongs.
- the node device when the node device traverses each sub-chain, it can obtain the block number of the last block in each sub-chain, and determine each sub-chain based on the sequence number in the block number of the last block. The number of included blocks. Wherein, the maximum value of the sub-chain number is equal to the first target quantity.
- a blockchain may include multiple sub-chains, and blocks can be added to each sub-chain, which can improve the efficiency of adding blocks and improve the concurrent processing capability of the system.
- the node device determines the target sub-chain based on the number of blocks contained in each sub-chain.
- the sub-chain containing the least number of blocks is determined as the target sub-chain; if the number of blocks contained in each sub-chain is If they are the same, in each of the sub-chains, one of the sub-chains is randomly determined as the target sub-chain.
- the sub-chain containing the least number of blocks that is, the sub-chain with the shortest length, is taken as the target sub-chain, and the subsequent block addition steps are performed on the target sub-chain to balance each of the target blockchains.
- the length of the sub-chain from a longer time period, can achieve the effect of basically the same length of each sub-chain.
- the node device determines the sub-chain containing the smallest number of blocks as the target sub-chain; or, in response to the node device having the same number of blocks contained in each sub-chain, One of the sub-chains is randomly selected as the target sub-chain.
- the above steps 302 and 303 if the transaction time of the transaction contained in the new block is within the time interval, the first target number of sub-chains connected to the root block will be traversed, and the target condition will be met.
- This sub-chain is used as the step of the target sub-chain. Since the new block refers to any block generated in the blockchain system at the latest moment, in other words, the above steps 302-303 are the node device's response to the transaction contained in any block.
- the transaction occurrence time is within the time interval, and from the first number of target sub-chains connected to the root block, the sub-chain that meets the target condition is taken as a possible implementation of the target sub-chain.
- the target condition can be set by the developer, which is not limited in the embodiment of the present disclosure.
- the target condition can be set to the minimum number of blocks included in the sub-chain.
- the sub-chain is screened based on the target conditions, and a target sub-chain is determined to add a new block. Through this method of determining the target sub-chain, the structure of the blockchain can be made more reasonable. For example, when the When the target condition is that the number of blocks included in the sub-chain is the smallest, the length of each sub-chain in the blockchain can be in a more balanced state.
- the node device In response to the consensus of the new block, the node device adds the new block to the target sub-chain of the target blockchain.
- the above step 304 is that the node device, in response to the consensus of any block, adds any block to the target blockchain Of the target sub-chain.
- the node device in the blockchain system can determine the block number of the new block based on the sub-chain number of the target sub-chain and the sequence number of the block in the target sub-chain, and it will carry the area.
- the new block with the block number is added to the target sub-chain.
- the node device may be the leader node device in the consensus node device.
- the node device determines any block based on the sub-chain number of the target sub-chain and the sequence number of the block in the target sub-chain The block number of, any block carrying the block number will be added to the target sub-chain.
- the node device may add a block number to the new block.
- the node device may add one to the sequence number of the block with the highest block height in the target sub-chain as the sequence number of the new block; the sub-chain number of the target sub-chain and the sequence number of the new block Perform splicing to obtain the block number of the new block in the target blockchain.
- the node device adds one to the sequence number of the block with the highest block height in the target sub-chain to obtain the sequence of any block Number; splicing the sub-chain number of the target sub-chain and the sequence number of any block to obtain the block number of any block in the target block chain.
- the block number of the new block may be 2.4.
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain
- the block number is used to indicate the storage location of the new block in the target blockchain.
- the consensus node device in the blockchain system can verify the block number of each block based on the generation rule of the block number. It should be noted that the foregoing description of the block number construction method is only an exemplary description, and the embodiment of the present disclosure does not limit which block number construction method is specifically adopted.
- Figure 5 is a schematic diagram of a target blockchain data structure provided by an embodiment of the present disclosure.
- the target blockchain shown in Figure 5 is taken as an example to illustrate the generation process of the block number.
- a time interval is stored in the root block 500.
- the block generation period in the blockchain system is set to 1 second and the average consensus duration of the block is 3 seconds
- the first target number corresponding to the target blockchain is 3 , That is, the number of sub-chains is 3.
- the first block 501 When the first block 501 is generated in this time interval, except for the root block, there is no other block in the target block chain on the chain, then the first block 501 can be shared with the root zone
- the blocks are connected to form a sub-chain, the sub-chain number is 1, and the block number of the first block 501 is 1.1; when the consensus of the second block 502 is completed, the first block 501 has been on the chain , And the number of sub-chains in the target blockchain does not reach the first target number, then the second block 502 can be connected with the root block to form a sub-chain whose sub-chain number is 2, and the second block 502
- the block number of each block 502 is 2.1; the chaining process of the third block 503 is the same as the chaining process of the second block 502, and will not be repeated here.
- the target block chain already includes the target number of sub-chains, and the number of blocks in each sub-chain is the same, then the fourth block 504 can randomly select a sub-chain to complete the chain Steps, for example, the fourth block 504 can select a sub-chain with a sub-chain number of 1, and a block number of 1.2; the on-chain process of the fifth block 505 is the same as the on-chain process of the fourth block 504 I won’t go into details here.
- the shortest length is the sub-chain number 3
- the sixth block 506 needs to be added to the sub-chain number 3 after the consensus is completed Because the consensus process of the sixth block 506 takes a long time on the sub-chain of
- the shortest length is still the sub-chain with sub-chain number 3
- the seventh block 507 is first completed on the chain and connected to the sub-chain with sub-chain number 3
- the block number of the seventh block 507 is 3.2
- the sixth block 506 completes the consensus, and is also connected to the sub-chain with the sub-chain number 3
- the block number of the sixth block 506 is 3.3 .
- the new block is added to the end of the target sub-chain, that is, after the new block is connected with the block with the highest block height in the target sub-chain, the new block can also be Add a location for verification.
- the node device can determine the previous block of the new block as a candidate block; compare the sequence number of the candidate block with the sequence number of the new block; The sequence number and the sequence number of the new block are not continuously increasing, that is, the new block is not connected to the end of the target sub-chain, then the adding position of the new block is re-determined, and the new block is added to the Steps on the target sub-chain.
- This verification mechanism can ensure that the sequence number of each block in the sub-chain is sequentially increasing, avoiding bifurcation of the sub-chain and avoiding block disorder.
- the verification mechanism of the node device refers to: determining the previous block of any block as a candidate block; responding to the candidate block
- the sequence number of the block and the sequence number of any block are not continuously increasing, and the adding position of the any block is re-determined, and the step of adding the any block to the target sub-chain is performed.
- the technical solution provided by the embodiment of the present disclosure obtains the time interval stored in the root block of the target blockchain by responding to the generation of any new block; if the transaction occurrence time of the transaction contained in the new block is within the time interval , Then traverse the first target number of sub-chains connected to the root block, and use the sub-chain that meets the target conditions as the target sub-chain; in response to the consensus of the new block, add the new block to the target block chain. On the target sub-chain.
- the block is connected to the blockchain according to the time when the block passes the consensus. There is no need to wait for the previously generated block to complete the consensus, and the blockchain is constructed as a tree structure consisting of multiple sub-chains. Each sub-chain can add blocks at the same time, which improves the efficiency of adding blocks, enables blocks to be chained in time, and ensures the normal operation of the blockchain system.
- each block chain is constructed as a tree structure containing a root block and multiple sub-chains. Through the time interval stored in the root block of each block chain, each block chain can be flexibly controlled. The number of blocks in the blockchain prevents too many blocks stored in a blockchain, which increases the difficulty of data query, and ensures the good operation of the system.
- each root block can also be indexed, that is, a root block index table can be maintained in the blockchain system for recording the storage location, time interval and other information of each root block.
- the embodiment of the present disclosure does not limit the specific construction method of the root block index table.
- the foregoing embodiment mainly introduces a method for constructing a block chain.
- the blockchain system can maintain a block index table that is linked to the target blockchain, and the block index table can record each block in the target blockchain
- the storage location information is convenient for data query on the target blockchain.
- the node device in response to the consensus of the new block, can store the storage location information of the new block in the block index table of the target blockchain, and the block index table is used to record the target.
- Block information of each block in the blockchain may be a block number.
- the node device Since the new block refers to any block generated in the blockchain system at the latest time, in other words, the node device stores the storage location information of any block in the block index table of the target blockchain.
- the block index table includes a second target number of data storage units, one data storage unit corresponds to a time stamp, and one data storage unit can store fixed-length data, and the fixed-length data Block information such as storage location information of the block can be recorded in the block.
- Block information such as storage location information of the block can be recorded in the block.
- the specific value of the second target quantity can be set by the developer, and the fixed length can be set by the developer, which is not limited in the embodiment of the present disclosure.
- the second target number can be set to 60.
- a block index table includes 60 data storage units, that is, the blocks generated every minute are stored in the same A block index table.
- the node device determines that any data storage unit is the target Data storage unit; storing the storage location information of the new block in the target data storage unit of the block index table.
- the node device Since a new block refers to any block generated in the blockchain system at the latest moment, in other words, the node device stores the storage location information of any block in the target data storage unit of the block index table, where the The time identifier of the target data storage unit matches the transaction occurrence time of the transaction contained in any block.
- the time identifier may be a time offset relative to the start time of the time interval. For example, when the time interval is from 23:00 to 24:00, the time identifier is 00:01, that is, relative When the time offset at 23:00 is 00:01, the transaction time 23:01 can match the time identifier, and the storage location information of the block storing the transaction data generated at 23:01 can be recorded in The time identifier is in the data storage unit corresponding to 00:01. Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a target blockchain and a block index table provided by an embodiment of the present disclosure.
- the data storage unit of the block index table 601 When the time interval is from 23:00 to 24:00, the data storage unit of the block index table 601 The storage location information of the block 603 generated at 23:01 can be stored in 602. It should be noted that the foregoing description of the method for storing block information in the block index table is only an exemplary description, and the embodiment of the present disclosure does not limit the specific storage method used. It should be noted that the time mark may also be set to a certain moment in the time interval, for example, it may be set to 23:01, etc. The specific form of the time mark is not limited in the embodiment of the present disclosure.
- the data storage unit can also store other data information of the block, for example, the hash value of the block, which is not limited in the embodiment of the present disclosure.
- the block information of each block can be recorded in the order of the transaction occurrence time of the transactions contained in the block, for example, the storage location of the block, so that the block chain system can easily check each block. Block query and verification.
- FIG. 7 is a flowchart of a blockchain-based data query method provided by an embodiment of the present disclosure. Referring to FIG. 7, in a possible implementation manner, the method may specifically include the following steps:
- the node device obtains a block index table of the target block chain in response to a query instruction for the target block in the target block chain.
- the query instruction can carry the transaction time of the transaction contained in the target block, and each data storage unit in the block index table is used to record the storage of each block in the target blockchain For location information, one data storage unit corresponds to a time stamp.
- each data storage unit in the block index table is used to record the storage of each block in the target blockchain For location information, one data storage unit corresponds to a time stamp.
- the node device matches the time identifier of each data storage unit with the transaction occurrence time, and determines the data storage unit corresponding to the time identifier that successfully matches the transaction occurrence time as the target data storage unit.
- step 702 is also a possible implementation manner in which the node device determines the target data storage unit from the block index table, wherein the time identifier of the target data storage unit matches the time when the transaction occurs.
- the time identifier may be set as a time offset relative to the start time of the time interval.
- the node device can obtain the time interval stored in the root block of the target blockchain; determine the time when the transaction occurrence time is relative to the start time of the time interval Offset; when any time indicator is the same as the time offset, it is determined that any time indicator matches the generation time successfully; the data storage unit corresponding to any time indicator is determined as the target data storage unit.
- the node device obtains the time interval stored in the root block of the target blockchain; determines the time offset of the transaction occurrence time relative to the start time of the time interval; responds to any data storage
- the time identifier of the unit is the same as the time offset, and any data storage unit is determined as the target data storage unit.
- a data storage unit may store data of a fixed length, wherein the specific value of the fixed length can be set by the developer.
- the block information of each block is stored in the order of the transaction occurrence time of the transaction contained in the block.
- the node device can determine that the transaction occurrence time is relative to The time offset of the start time of the time interval is multiplied by the fixed length to determine the storage location of the block information of the target block in the block index table, that is, to determine the storage The target data storage unit with the block information.
- a data storage unit stores the block information of a block, and the data storage unit is located by the transaction occurrence time of the transaction contained in the block, which can ensure the accuracy of the obtained block information. That is, it can ensure that the storage location of the block is accurately obtained, and the accuracy of the data query result can be improved.
- the node device searches for the target block in the target blockchain based on the storage location information in the target data storage unit.
- the storage location information can be expressed as a block number, that is, after the node device obtains the block number, it can determine the sub-chain to which the target block belongs based on the sub-chain number in the block number , Determining the sequence of the target block in the sub-chain based on the sequence number in the block number, thereby locating the target block in the sub-chain, and obtaining data information in the target block.
- the data storage unit may also store the hash value of the target block, etc., and the node device may verify the target block based on the hash value and the data information in the target block.
- the storage location of the block is recorded by the block index table associated with the block chain, which can effectively avoid the problem of data difficulty caused by the disorder of the block in the block chain, and improve the data query Efficiency and accuracy.
- FIG. 8 is a schematic structural diagram of a block processing device provided by an embodiment of the present disclosure. Referring to FIG. 8, the device includes:
- the obtaining module 801 is configured to obtain the time interval stored in the root block of the target blockchain in response to the generation of any new block;
- the obtaining module 801 is used to obtain the time interval stored in the root block of the target blockchain in response to the generation of any block;
- the sub-chain determination module 802 is configured to, if the transaction occurrence time of the transaction contained in the new block is within the time interval, traverse the first target number of sub-chains connected to the root block, and determine the sub-chain that meets the target condition Is the target sub-chain;
- the sub-chain determination module 802 is used to respond to the transaction occurrence time of the transaction contained in the block within the time interval, and from the first target number of sub-chains connected to the root block, the The sub-chain of the target condition is determined as the target sub-chain;
- the adding module 803 is configured to add the new block to the target sub-chain of the target blockchain in response to the consensus of the new block;
- the adding module 803 is configured to add the block to the target sub-chain of the target blockchain in response to the consensus of the block.
- the first target number is determined based on the average consensus duration of the blocks in the blockchain system to which the target blockchain belongs and the block generation period.
- sub-chain determination module 802 is used to:
- the sub-chain containing the least number of blocks is determined as the target sub-chain
- each sub-chain If the number of blocks included in each sub-chain is the same, in each sub-chain, one of the sub-chains is randomly determined as the target sub-chain.
- sub-chain determination module 802 is used to:
- the sub-chain containing the least number of blocks is determined as the target sub-chain
- one sub-chain is randomly determined as the target sub-chain.
- the adding module 803 is used to:
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain.
- the number is used to indicate the storage location of the new block in the target blockchain;
- the new block carrying the block number is added to the target sub-chain.
- the adding module 803 is used to:
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain.
- the number is used to indicate the storage location of the block in the target blockchain;
- the block carrying the block number is added to the target sub-chain.
- the adding module 803 is used to:
- the sub-chain number of the target sub-chain and the sequence number of the new block are spliced together to obtain the block number of the new block in the target block chain.
- the adding module 803 is used to:
- the sub-chain number of the target sub-chain and the sequence number of the block are spliced to obtain the block number of the block in the target block chain.
- the device further includes:
- Block determination module used to determine the previous block of the new block as a candidate block
- the block determination module is used to determine the previous block of the block as a candidate block
- the comparison module is used to compare the sequence number of the candidate block with the sequence number of the new block; if the sequence number of the candidate block and the sequence number of the new block are not continuously increasing, re-determine the sequence number of the new block Add location, perform the steps of adding the new block to the target sub-chain;
- the comparison module is used to re-determine the adding position of the block in response to the sequence number of the candidate block and the sequence number of the block not increasing continuously, and execute adding the block to the target Steps on the child chain.
- the device further includes:
- the information storage module is used to store the storage location information of the new block in the block index table of the target blockchain, and the block index table is used to record the block information of each block in the target blockchain.
- the information storage module is used to store the storage location information of the block in the block index table of the target blockchain, and the block index table is used to record each area in the target blockchain.
- the block information of the block is used to record each area in the target blockchain.
- the block index table includes a second target number of data storage units, and one data storage unit corresponds to one time identifier.
- the information storage module is used to:
- any data storage unit in the block index table matches the transaction occurrence time of the transaction contained in the new block, then any data storage unit is determined as the target data storage unit;
- the storage location information of the new block is stored in the target data storage unit of the block index table.
- the information storage module is used for:
- the storage location information of the block is stored in the target data storage unit of the block index table, and the time identifier of the target data storage unit matches the transaction occurrence time of the transaction contained in the block.
- the device provided by the embodiment of the present disclosure obtains the time interval stored in the root block of the target blockchain by responding to the generation of any new block; if the transaction occurrence time of the transaction contained in the new block is within the time interval, Then traverse the first target number of sub-chains connected to the root block, and use the sub-chain that meets the target conditions as the target sub-chain; in response to the consensus of the new block, add the new block to the target of the target blockchain Sub-chain.
- the block is connected to the blockchain according to the time when the block passes the consensus, without waiting for the previously generated block to complete the consensus, and the blockchain is composed of multiple sub-chains, and multiple sub-chains can add blocks at the same time , Improve the efficiency of adding blocks, make the blocks can be chained in time, and ensure the normal operation of the block chain system.
- the block processing device provided in the above embodiment only uses the division of the above functional modules for example during block processing.
- the above functions can be allocated by different functional modules according to needs.
- the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
- the block processing device and the block processing method embodiment provided in the foregoing embodiment belong to the same concept. For the specific implementation process, please refer to the block processing method embodiment, which will not be repeated here.
- FIG. 9 is a schematic structural diagram of a block chain-based data query device provided by an embodiment of the present disclosure. Referring to FIG. 9, the device includes:
- the obtaining module 901 is configured to obtain a block index table of the target block chain in response to a query instruction for a target block in the target block chain.
- the query instruction carries the transaction occurrence time of the transaction data in the target block.
- Each data storage unit in the block index table is used to record the storage location information of each block in the target blockchain, and one data storage unit corresponds to a time stamp; that is, the data storage unit in the block index table
- the data storage unit is used to record the storage location information of the blocks in the target blockchain;
- the matching module 902 is configured to match the time identifier of each data storage unit with the time when the transaction occurred;
- the determining module 903 is configured to determine the data storage unit corresponding to the time identifier that successfully matches the transaction time as the target data storage unit;
- the determining module 903 is configured to determine a target data storage unit from the block index table, and the time identifier of the target data storage unit matches the time when the transaction occurs;
- the searching module 904 is configured to search for the target block in the target blockchain based on the storage location information in the target data storage unit.
- the matching module 902 is used to:
- any time identifier is the same as the time offset, it is determined that the any time identifier matches the generation time successfully.
- the determining module 803 is used for:
- the data storage unit is determined as the target data storage unit.
- the data query device based on the blockchain provided in the above embodiment performs data query based on the blockchain
- only the division of the above-mentioned functional modules is used as an example.
- the above-mentioned Function allocation is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
- the block chain-based data query device provided in the above embodiment belongs to the same concept as the block chain-based data query method embodiment. For the specific implementation process, please refer to the block chain-based data query method embodiment. Go into details.
- FIG. 10 is a schematic structural diagram of a terminal provided by an embodiment of the present disclosure.
- the terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compressing standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressing standard audio Level 4) Player, laptop or desktop computer.
- the terminal 1000 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.
- the terminal 1000 includes: one or more processors 1001 and one or more memories 1002.
- the processor 1001 may include one or more processing cores, such as a 4-core processor, a 10-core processor, and so on.
- the processor 1001 may adopt at least one hardware form among DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array, Programmable Logic Array). accomplish.
- the processor 1001 may also include a main processor and a coprocessor.
- the main processor is a processor used to process data in the wake-up state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
- the processor 1001 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
- the processor 1001 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computing operations related to machine learning.
- AI Artificial Intelligence
- the memory 1002 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one computer program, and the at least one computer program is used to be executed by the processor 1001 to implement the methods provided in the method embodiments of the present disclosure.
- the terminal 1000 optionally further includes: a peripheral device interface 1003 and at least one peripheral device.
- the processor 1001, the memory 1002, and the peripheral device interface 1003 may be connected through a bus or a signal line.
- Each peripheral device can be connected to the peripheral device interface 1003 through a bus, a signal line, or a circuit board.
- the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera component 1006, an audio circuit 1007, a positioning component 1008, and a power supply 1009.
- the peripheral device interface 1003 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1001 and the memory 1002.
- the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one of the processor 1001, the memory 1002, and the peripheral device interface 1003 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
- the radio frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
- the radio frequency circuit 1004 communicates with a communication network and other communication devices through electromagnetic signals.
- the radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
- the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
- the radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol.
- the wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity, wireless fidelity) networks.
- the radio frequency circuit 1004 may also include a circuit related to NFC (Near Field Communication), which is not limited in the present disclosure.
- the display screen 1005 is used to display a UI (User Interface, user interface).
- the UI can include graphics, text, icons, videos, and any combination thereof.
- the display screen 1005 also has the ability to collect touch signals on or above the surface of the display screen 1005.
- the touch signal can be input to the processor 1001 as a control signal for processing.
- the display screen 1005 may also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the display screen 1005 there may be one display screen 1005, which is provided with the front panel of the terminal 1000; in other embodiments, there may be at least two display screens 1005, which are respectively arranged on different surfaces of the terminal 1000 or in a folded design; In some embodiments, the display screen 1005 may be a flexible display screen, which is arranged on a curved surface or a folding surface of the terminal 1000. Furthermore, the display screen 1005 can also be set as a non-rectangular irregular pattern, that is, a special-shaped screen.
- the display screen 1005 may be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode), etc.
- the camera assembly 1006 is used to capture images or videos.
- the camera assembly 1006 includes a front camera and a rear camera.
- the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
- the camera assembly 1006 may also include a flash.
- the flash can be a single-color flash or a dual-color flash. Dual color temperature flash refers to a combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.
- the audio circuit 1007 may include a microphone and a speaker.
- the microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input to the processor 1001 for processing, or input to the radio frequency circuit 1004 to implement voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively set in different parts of the terminal 1000.
- the microphone can also be an array microphone or an omnidirectional collection microphone.
- the speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves.
- the speaker can be a traditional thin-film speaker or a piezoelectric ceramic speaker.
- the speaker When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into human audible sound waves, but also convert the electrical signal into human inaudible sound waves for distance measurement and other purposes.
- the audio circuit 1007 may also include a headphone jack.
- the positioning component 1008 is used to locate the current geographic location of the terminal 1000 to implement navigation or LBS (Location Based Service, location-based service).
- the positioning component 1008 may be a positioning component based on the GPS (Global Positioning System, Global Positioning System) of the United States, the Beidou system of China, the Granus system of Russia, or the Galileo system of the European Union.
- the power supply 1009 is used to supply power to various components in the terminal 1000.
- the power source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries.
- the rechargeable battery may support wired charging or wireless charging.
- the rechargeable battery can also be used to support fast charging technology.
- the terminal 1000 further includes one or more sensors 1010.
- the one or more sensors 1010 include, but are not limited to: an acceleration sensor 1011, a gyroscope sensor 1012, a pressure sensor 1013, a fingerprint sensor 1014, an optical sensor 1015, and a proximity sensor 1016.
- the acceleration sensor 1011 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal 1000.
- the acceleration sensor 1011 can be used to detect the components of gravitational acceleration on three coordinate axes.
- the processor 1001 may control the display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1011.
- the acceleration sensor 1011 may also be used for the collection of game or user motion data.
- the gyroscope sensor 1012 can detect the body direction and rotation angle of the terminal 1000, and the gyroscope sensor 1012 can cooperate with the acceleration sensor 1011 to collect the user's 3D actions on the terminal 1000. Based on the data collected by the gyroscope sensor 1012, the processor 1001 can implement the following functions: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
- the pressure sensor 1013 may be disposed on the side frame of the terminal 1000 and/or the lower layer of the display screen 1005.
- the processor 1001 performs left and right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1013.
- the processor 1001 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1005.
- the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
- the fingerprint sensor 1014 is used to collect the user's fingerprint.
- the processor 1001 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user's identity according to the collected fingerprint.
- the processor 1001 authorizes the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings.
- the fingerprint sensor 1014 may be provided on the front, back or side of the terminal 1000. When a physical button or a manufacturer logo is provided on the terminal 1000, the fingerprint sensor 1014 can be integrated with the physical button or the manufacturer logo.
- the optical sensor 1015 is used to collect the ambient light intensity.
- the processor 1001 may control the display brightness of the display screen 1005 according to the intensity of the ambient light collected by the optical sensor 1015. Optionally, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is decreased. In another embodiment, the processor 1001 may also dynamically adjust the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1015.
- the proximity sensor 1016 also called a distance sensor, is usually arranged on the front panel of the terminal 1000.
- the proximity sensor 1016 is used to collect the distance between the user and the front of the terminal 1000.
- the processor 1001 controls the display screen 1005 to switch from the on-screen state to the off-screen state; when the proximity sensor 1016 detects When the distance between the user and the front of the terminal 1000 gradually increases, the processor 1001 controls the display screen 1005 to switch from the rest screen state to the bright screen state.
- FIG. 10 does not constitute a limitation on the terminal 1000, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
- FIG. 11 is a schematic structural diagram of a server provided by an embodiment of the present disclosure.
- the server 1100 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1101 and one Or multiple memories 1102, wherein at least one computer program is stored in the one or more memories 1102, and the at least one computer program is loaded and executed by the one or more processors 1101 to implement the methods provided in the foregoing various method embodiments method.
- the server 1100 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output.
- the server 1100 may also include other components for implementing device functions, which are not described here.
- the aforementioned node device refers to a computer device that includes one or more processors and one or more memories, and at least one computer program is stored in the one or more memories.
- the computer program is loaded and executed by the one or more processors to realize the following operations:
- the block is added to the target sub-chain of the target blockchain.
- the first target number is determined based on the average consensus duration of blocks in the blockchain system to which the target blockchain belongs and the block generation period.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the sub-chain containing the least number of blocks is determined as the target sub-chain
- one sub-chain is randomly determined as the target sub-chain.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain.
- the number is used to indicate the storage location of the block in the target blockchain;
- the block carrying the block number is added to the target sub-chain.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the sub-chain number of the target sub-chain and the sequence number of the block are spliced to obtain the block number of the block in the target block chain.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the adding position of the block is re-determined, and the step of adding the block to the target sub-chain is performed.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the storage location information of the block is stored in a block index table of the target blockchain, and the block index table is used to record the block information of each block in the target blockchain.
- the block index table includes a second target number of data storage units, and one data storage unit corresponds to one time identifier.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the storage location information of the block is stored in the target data storage unit of the block index table, and the time identifier of the target data storage unit matches the transaction occurrence time of the transaction contained in the block.
- the aforementioned node device refers to a computer device that includes one or more processors and one or more memories, and at least one computer program is stored in the one or more memories.
- a computer program is loaded and executed by the one or more processors to achieve the following operations:
- a block index table of the target block chain is obtained, the query instruction carries the transaction occurrence time of the transaction in the target block, and the data in the block index table
- the storage unit is used to record the storage location information of the block in the target blockchain, and one data storage unit corresponds to a time stamp;
- the target block is searched in the target blockchain.
- the at least one computer program is loaded and executed by the one or more processors to implement the following operations:
- the data storage unit is determined as the target data storage unit.
- a computer-readable storage medium such as a memory including at least one computer program. Block chain data query method.
- the computer-readable storage medium may be Read-Only Memory (ROM), Random Access Memory (RAM), Compact Disc Read-Only Memory (CD-ROM), Magnetic tapes, floppy disks and optical data storage devices, etc.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the block is added to the target sub-chain of the target blockchain.
- the first target number is determined based on the average consensus duration of blocks in the blockchain system to which the target blockchain belongs and the block generation period.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the sub-chain containing the least number of blocks is determined as the target sub-chain
- one sub-chain is randomly determined as the target sub-chain.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the sequence number is used to indicate the sequence of the blocks in the target sub-chain.
- the number is used to indicate the storage location of the block in the target blockchain;
- the block carrying the block number is added to the target sub-chain.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the sub-chain number of the target sub-chain and the sequence number of the block are spliced to obtain the block number of the block in the target block chain.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the adding position of the block is re-determined, and the step of adding the block to the target sub-chain is performed.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the storage location information of the block is stored in a block index table of the target blockchain, and the block index table is used to record the block information of each block in the target blockchain.
- the block index table includes a second target number of data storage units, and one data storage unit corresponds to one time identifier.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the storage location information of the block is stored in the target data storage unit of the block index table, and the time identifier of the target data storage unit matches the transaction occurrence time of the transaction contained in the block.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- a block index table of the target block chain is obtained, the query instruction carries the transaction occurrence time of the transaction in the target block, and the data in the block index table
- the storage unit is used to record the storage location information of the block in the target blockchain, and one data storage unit corresponds to a time stamp;
- the target block is searched in the target blockchain.
- the at least one computer program is loaded and executed by the processor to implement the following operations:
- the data storage unit is determined as the target data storage unit.
- a computer program or computer program product including at least one piece of program code is also provided, which when it runs on a computer device, causes the computer device to execute the block processing method provided by the foregoing various embodiments or based on the region. Any possible implementation of the block chain data query method will not be repeated here.
- the computer program can be stored in a computer-readable storage medium.
- the storage medium mentioned can be a read-only memory, a magnetic disk or an optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Fuzzy Systems (AREA)
- Computational Linguistics (AREA)
- Probability & Statistics with Applications (AREA)
- Mathematical Physics (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Bioethics (AREA)
- Health & Medical Sciences (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Description
Claims (17)
- 一种区块处理方法,其中,所述方法包括:响应于任一个区块的生成,获取目标区块链的根区块所存储的时间区间;响应于所述区块所包含交易的交易发生时间位于所述时间区间内,从所述根区块所连接的第一目标数量个子链中,将符合目标条件的所述子链确定为目标子链;响应于所述区块通过共识,将所述区块添加至所述目标区块链的所述目标子链上。
- 根据权利要求1所述的方法,其中,所述第一目标数量基于所述目标区块链所属的区块链系统中区块平均共识时长以及区块生成周期确定。
- 根据权利要求1所述的方法,其中,所述从所述根区块所连接的第一目标数量个子链中,将符合目标条件的所述子链确定为目标子链,包括:确定各个所述子链所包含区块的数目;响应于各个所述子链所包含区块的数目不同,将包含区块数目最少的所述子链确定为所述目标子链;响应于各个所述子链所包含区块的数目相同,在各个所述子链中,随机确定一个所述子链作为所述目标子链。
- 根据权利要求1所述的方法,其中,所述响应于所述区块通过共识,将所述区块添加至所述目标区块链的所述目标子链上,包括:基于所述目标子链的子链编号以及所述目标子链中区块的顺序号,确定所述区块的区块编号,所述顺序号用于指示所述目标子链中区块的排列次序,所述区块编号用于指示所述区块在所述目标区块链中的存储位置;将携带所述区块编号的所述区块,添加在所述目标子链上。
- 根据权利要求4所述的方法,其中,所述基于所述目标子链的子链编号以及所述目标子链中区块的顺序号,确定所述区块的区块编号,包括:将所述目标子链中区块高度最高的区块的顺序号加一,得到所述区块的顺 序号;将所述目标子链的子链编号以及所述区块的顺序号进行拼接,得到所述区块在所述目标区块链中的区块编号。
- 根据权利要求5所述的方法,其中,所述方法还包括:将所述区块的前一个区块确定为候选区块;响应于所述候选区块的顺序号与所述区块的顺序号不是连续递增的,重新确定所述区块的添加位置,执行将所述区块添加至所述目标子链上的步骤。
- 根据权利要求1所述的方法,其中,所述方法还包括:将所述区块的存储位置信息存储至所述目标区块链的区块索引表中,所述区块索引表用于记录所述目标区块链中各个区块的区块信息。
- 根据权利要求7所述的方法,其中,所述区块索引表包括第二目标数量个数据存储单元,一个数据存储单元对应于一个时间标识。
- 根据权利要求8所述的方法,其中,所述将所述区块的存储位置信息存储至所述目标区块链的区块索引表中,包括:将所述区块的存储位置信息存储至所述区块索引表的目标数据存储单元中,所述目标数据存储单元的时间标识与所述区块所包含交易的交易发生时间相匹配。
- 一种基于区块链的数据查询方法,其中,所述方法包括:响应于对目标区块链中目标区块的查询指令,获取所述目标区块链的区块索引表,所述查询指令携带所述目标区块中交易的交易发生时间,所述区块索引表中的数据存储单元用于记录所述目标区块链中区块的存储位置信息,一个所述数据存储单元对应于一个时间标识;从所述区块索引表中确定目标数据存储单元,所述目标数据存储单元的时间标识与所述交易发生时间相匹配;基于所述目标数据存储单元中的存储位置信息,在所述目标区块链中查找 所述目标区块。
- 根据权利要求10所述的方法,其中,所述从所述区块索引表中确定目标数据存储单元,包括:获取所述目标区块链的根区块中存储的时间区间;确定所述交易发生时间相对于所述时间区间的开始时间的时间偏移量;响应于任一数据存储单元的时间标识与所述时间偏移量相同,将所述数据存储单元确定为所述目标数据存储单元。
- 一种区块处理装置,其中,所述装置包括:获取模块,用于响应于任一个区块的生成,获取目标区块链的根区块所存储的时间区间;子链确定模块,用于响应于所述区块所包含交易的交易发生时间位于所述时间区间内,从所述根区块所连接的第一目标数量个子链中,将符合目标条件的所述子链确定为目标子链;添加模块,用于响应于所述区块通过共识,将所述区块添加至所述目标区块链的所述目标子链上。
- 一种基于区块链的数据查询装置,其中,所述装置包括:获取模块,用于响应于对目标区块链中目标区块的查询指令,获取所述目标区块链的区块索引表,所述查询指令携带所述目标区块中交易的交易发生时间,所述区块索引表中的数据存储单元用于记录所述目标区块链中区块的存储位置信息,一个所述数据存储单元对应于一个时间标识;确定模块,用于从所述区块索引表中确定目标数据存储单元,所述目标数据存储单元的时间标识与所述交易发生时间相匹配;查找模块,用于基于所述目标数据存储单元中的存储位置信息,在所述目标区块链中查找所述目标区块。
- 一种计算机设备,其中,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述 至少一条计算机程序由所述一个或多个处理器加载并执行以实现如权利要求1至权利要求9中任一项所述的区块处理方法所执行的操作。
- 一种计算机设备,其中,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述至少一条计算机程序由所述一个或多个处理器加载并执行以实现如权利要求10或权利要求11所述的基于区块链的数据查询方法所执行的操作。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有至少一条计算机程序,所述至少一条计算机程序由处理器加载并执行以实现如权利要求1至权利要求9中任一项所述的区块处理方法所执行的操作。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质中存储有至少一条计算机程序,所述至少一条计算机程序由处理器加载并执行以实现如权利要求10或权利要求11所述的基于区块链的数据查询方法所执行的操作。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20919567.6A EP4009187A4 (en) | 2020-02-18 | 2020-11-04 | BLOCK PROCESSING METHOD AND DEVICE AND DATA REQUEST METHOD AND DEVICE BASED ON A BLOCKCHAIN |
JP2022527689A JP7441311B2 (ja) | 2020-02-18 | 2020-11-04 | ブロック処理方法、ブロックチェーンに基づくデータ検索方法および装置 |
KR1020227015836A KR20220074968A (ko) | 2020-02-18 | 2020-11-04 | 블록 프로세싱 방법 및 장치, 및 블록체인에 기초한 데이터 질의 방법 및 장치 |
US17/675,511 US20220171776A1 (en) | 2020-02-18 | 2022-02-18 | Block processing method and apparatus, and blockchain-based data query method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010099538.8A CN111339086B (zh) | 2020-02-18 | 2020-02-18 | 区块处理方法、基于区块链的数据查询方法及装置 |
CN202010099538.8 | 2020-02-18 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/675,511 Continuation US20220171776A1 (en) | 2020-02-18 | 2022-02-18 | Block processing method and apparatus, and blockchain-based data query method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021164321A1 true WO2021164321A1 (zh) | 2021-08-26 |
Family
ID=71181702
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/126458 WO2021164321A1 (zh) | 2020-02-18 | 2020-11-04 | 区块处理方法、基于区块链的数据查询方法及装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20220171776A1 (zh) |
EP (1) | EP4009187A4 (zh) |
JP (1) | JP7441311B2 (zh) |
KR (1) | KR20220074968A (zh) |
CN (1) | CN111339086B (zh) |
WO (1) | WO2021164321A1 (zh) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111339086B (zh) * | 2020-02-18 | 2021-04-20 | 腾讯科技(深圳)有限公司 | 区块处理方法、基于区块链的数据查询方法及装置 |
CN111865611B (zh) * | 2020-07-17 | 2023-09-01 | 卓尔智联(武汉)研究院有限公司 | 一种数据上链定序的方法、装置及电子设备 |
CN111914429A (zh) * | 2020-08-12 | 2020-11-10 | 国网河北省电力有限公司培训中心 | 基于区块链的电力仿真培训学习数据管理系统及方法 |
CN112364371B (zh) * | 2020-10-16 | 2024-04-16 | 杭州甘道智能科技有限公司 | 基于区块链的疫苗转移监控的装置及方法 |
CN112487094B (zh) * | 2020-12-08 | 2024-01-19 | 深圳供电局有限公司 | 能源区块数据的同步方法、装置、计算机设备和存储介质 |
CN113343292A (zh) * | 2021-05-28 | 2021-09-03 | 网易(杭州)网络有限公司 | 交易编号处理方法、装置、存储介质及计算机设备 |
CN114244853A (zh) * | 2021-11-29 | 2022-03-25 | 国网北京市电力公司 | 大数据共享方法、装置以及大数据共享系统 |
CN116760632B (zh) * | 2023-08-10 | 2023-11-03 | 腾讯科技(深圳)有限公司 | 数据处理方法、装置、设备及可读存储介质 |
CN117319422B (zh) * | 2023-11-28 | 2024-02-02 | 天津市城市规划设计研究总院有限公司 | 一种城市规划领域物联网数据的区块链成块方法及系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712491A (zh) * | 2018-05-17 | 2018-10-26 | 易链科技(深圳)有限公司 | 区块链节点、交易信息处理方法、终端设备和介质 |
CN108960823A (zh) * | 2018-03-30 | 2018-12-07 | 杭州复杂美科技有限公司 | 一种区块链多链并发交易系统 |
CN109213797A (zh) * | 2018-09-30 | 2019-01-15 | 中国联合网络通信集团有限公司 | 一种区块链的查询方法及装置 |
US20190197474A1 (en) * | 2004-06-29 | 2019-06-27 | United Parcel Service Of America, Inc. | Data Synchronization For Offline Processing |
CN110245190A (zh) * | 2019-06-11 | 2019-09-17 | 南京荣链科技有限公司 | 一种区块数据分段存储方法、终端及介质 |
CN111339086A (zh) * | 2020-02-18 | 2020-06-26 | 腾讯科技(深圳)有限公司 | 区块处理方法、基于区块链的数据查询方法及装置 |
Family Cites Families (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3323080B1 (en) | 2015-07-14 | 2020-11-04 | Fmr Llc | Computationally efficient transfer processing, auditing, and search apparatuses, methods and systems |
US10805393B2 (en) * | 2015-12-02 | 2020-10-13 | Olea Networks, Inc. | System and method for data management structure using auditable delta records in a distributed environment |
CN108304475B (zh) | 2017-12-28 | 2020-11-10 | 比特大陆科技有限公司 | 数据查询方法、装置及电子设备 |
CN108647963B (zh) * | 2018-05-02 | 2020-05-12 | 百度在线网络技术(北京)有限公司 | 区块链主链的确定方法、装置、服务器和存储介质 |
CN108830712A (zh) * | 2018-05-17 | 2018-11-16 | 易链科技(深圳)有限公司 | 区块生成的方法、装置、设备和介质 |
CN111899005A (zh) * | 2018-05-29 | 2020-11-06 | 创新先进技术有限公司 | 基于区块链的交易处理方法及装置、电子设备 |
US20190394267A1 (en) | 2018-06-26 | 2019-12-26 | Anami Holdings, Inc. | Dynamic voting nodes in blockchain networks |
CN208781225U (zh) | 2018-07-12 | 2019-04-23 | 中国科学院深圳先进技术研究院 | 一种区块链时空数据查询系统及电子设备 |
CN109522362B (zh) * | 2018-10-17 | 2020-09-15 | 北京瑞卓喜投科技发展有限公司 | 基于区块链数据的非完全数据同步方法、系统及设备 |
CN109471905B (zh) | 2018-11-16 | 2020-08-25 | 华东师范大学 | 一种支持时间范围和属性范围复合查询的区块链索引方法 |
WO2019072312A2 (en) * | 2018-12-29 | 2019-04-18 | Alibaba Group Holding Limited | SYSTEM AND METHOD FOR DETECTING REJECTION ATTACK |
US10681083B2 (en) * | 2018-12-29 | 2020-06-09 | Alibaba Group Holding Limited | System and method for detecting replay attack |
CN110365493B (zh) * | 2019-08-22 | 2020-09-11 | 电子科技大学 | 多形态可派生的环状区块链构建方法 |
CN110601856B (zh) * | 2019-09-24 | 2022-04-29 | 腾讯科技(深圳)有限公司 | 一种基于区块链网络的数据交互方法及装置 |
CN110830260B (zh) * | 2019-09-27 | 2021-09-24 | 电子科技大学 | 一种基于区块链的数字签名的时间戳生成方法 |
CN110689471A (zh) * | 2019-09-30 | 2020-01-14 | 浙江水利水电学院 | 一种基于区块链的水资源监测系统及方法 |
CN110727737B (zh) * | 2019-10-29 | 2022-10-18 | 南京邮电大学 | 基于多层次区块链体系架构的智慧医疗数据存储方法 |
CN110738497B (zh) * | 2019-12-19 | 2020-03-31 | 腾讯科技(深圳)有限公司 | 一种数据处理方法、装置、节点设备及存储介质 |
-
2020
- 2020-02-18 CN CN202010099538.8A patent/CN111339086B/zh active Active
- 2020-11-04 JP JP2022527689A patent/JP7441311B2/ja active Active
- 2020-11-04 KR KR1020227015836A patent/KR20220074968A/ko unknown
- 2020-11-04 WO PCT/CN2020/126458 patent/WO2021164321A1/zh unknown
- 2020-11-04 EP EP20919567.6A patent/EP4009187A4/en active Pending
-
2022
- 2022-02-18 US US17/675,511 patent/US20220171776A1/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190197474A1 (en) * | 2004-06-29 | 2019-06-27 | United Parcel Service Of America, Inc. | Data Synchronization For Offline Processing |
CN108960823A (zh) * | 2018-03-30 | 2018-12-07 | 杭州复杂美科技有限公司 | 一种区块链多链并发交易系统 |
CN108712491A (zh) * | 2018-05-17 | 2018-10-26 | 易链科技(深圳)有限公司 | 区块链节点、交易信息处理方法、终端设备和介质 |
CN109213797A (zh) * | 2018-09-30 | 2019-01-15 | 中国联合网络通信集团有限公司 | 一种区块链的查询方法及装置 |
CN110245190A (zh) * | 2019-06-11 | 2019-09-17 | 南京荣链科技有限公司 | 一种区块数据分段存储方法、终端及介质 |
CN111339086A (zh) * | 2020-02-18 | 2020-06-26 | 腾讯科技(深圳)有限公司 | 区块处理方法、基于区块链的数据查询方法及装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4009187A4 * |
Also Published As
Publication number | Publication date |
---|---|
CN111339086A (zh) | 2020-06-26 |
CN111339086B (zh) | 2021-04-20 |
EP4009187A4 (en) | 2023-02-08 |
KR20220074968A (ko) | 2022-06-03 |
JP7441311B2 (ja) | 2024-02-29 |
EP4009187A1 (en) | 2022-06-08 |
JP2023505412A (ja) | 2023-02-09 |
US20220171776A1 (en) | 2022-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021164321A1 (zh) | 区块处理方法、基于区块链的数据查询方法及装置 | |
KR102350462B1 (ko) | 서명 생성 방법, 전자 장치 및 저장 매체 | |
CN109615516B (zh) | 资源转移方法、装置、电子设备及存储介质 | |
CN110674022B (zh) | 行为数据获取方法、装置及存储介质 | |
CN111245745B (zh) | 消息发送方法、装置、节点设备及存储介质 | |
CN111340482B (zh) | 冲突检测方法、装置、节点设备及存储介质 | |
CN111080443B (zh) | 基于区块链的业务处理方法、装置、设备及存储介质 | |
CN108805560B (zh) | 数值整合方法、装置、电子设备及计算机可读存储介质 | |
CN111090687B (zh) | 数据处理方法及装置、系统、计算机可读存储介质 | |
WO2020258748A1 (zh) | 银行卡绑定的系统、方法、装置、设备及存储介质 | |
CN111241115B (zh) | 数据同步方法、装置、设备及存储介质 | |
CN110555780B (zh) | 基于区块链的保险数据处理方法、装置、设备及存储介质 | |
CN111192005A (zh) | 政务业务处理方法、装置、计算机设备及可读存储介质 | |
CN111260347A (zh) | 基于区块链的资源处理方法、装置、设备及存储介质 | |
CN111667371B (zh) | 基于区块链的资源聚合方法、系统、设备及存储介质 | |
CN110851510A (zh) | 基于区块链的交易系统的数据处理方法及装置 | |
CN110543502A (zh) | 基于区块链的信用数据处理方法、装置、设备及存储介质 | |
CN111212074B (zh) | 基于区块链的资格认定方法、装置、设备及存储介质 | |
CN110290191B (zh) | 资源转移结果处理方法、装置、服务器、终端及存储介质 | |
CN113506086A (zh) | 任务发布方法、装置、计算机设备及介质 | |
CN110597840B (zh) | 基于区块链的伴侣关系建立方法、装置、设备及存储介质 | |
CN110727894B (zh) | 目标素材设置方法、装置、设备及存储介质 | |
CN110659975B (zh) | 基于区块链的资源转移方法、装置、设备及存储介质 | |
CN112991069A (zh) | 资源处理方法、装置、设备及存储介质 | |
KR102651730B1 (ko) | 미디어 데이터의 재생 방법, 장치, 시스템, 기기 및 저장 매체 |
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: 20919567 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020919567 Country of ref document: EP Effective date: 20220302 |
|
ENP | Entry into the national phase |
Ref document number: 20227015836 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2022527689 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |