Blockchain-based data processing methods and toolkits, devices, readable storage media, and software products.
Patent Information
- Application Number
- TH2301006739
- Authority / Receiving Office
- TH · TH
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-06
- Filing Date
- 2022-06-17
- Publication Date
- 2026-11-16
Smart Images

Figure 2301006739_DRAWING_01 
Figure 2301006739_DRAWING_02 
Figure 2301006739_DRAWING_03
Abstract
Claims
DEPCT67 1. A blockchain-based data processing method applied to computing devices structured as consensus nodes in a blockchain network. The method comprises: using consensus nodes to determine which transaction data points share the same group identifier and form a transaction group; enclosing each transaction group packet in the offer block; processing each transaction group data point in the offer block to receive the transaction result; re-adjusting the transaction result corresponding to each transaction group data point to a failed transaction if the completed transaction result includes a failed transaction; and re-adjusting the offer block based on the failed transaction results corresponding to each transaction group data point to receive the target offer block.And the processing of accounting tasks on the target proposal block and the resulting failure to execute transactions corresponding to each group transaction data in the case that the target proposal block passes the consensus 2. The method according to claim 1, where the use of a consensus node to determine that multiple transaction data with the same group identifier in a transaction group are group transaction data, consists of: using a consensus node to retrieve transaction data from the transaction group, where the transaction data consists of the group identifier and the group transaction volume; adding the transaction data to the group evacuation queue corresponding to the group identifier to enter the adjusted group evacuation queue; determining that the transaction data in the adjusted group evacuation queue is group transaction data in the case that the volume of transaction data in the adjusted group evacuation queue equals the group transaction volume;And the retrieval of new transaction data incorporating group identifiers from the transaction group in the case where the transaction volume in the adjusted group evacuation queue is less than the group transaction volume.
3. The method under claim 2, where the retrieval of new transaction data incorporating group identifiers from the transaction group in the case where the transaction volume in the adjusted group evacuation queue is less than the group transaction volume, shall consist of: The retrieval of new transaction data incorporating group identifiers from the transaction group in the case where the transaction volume in the adjusted group evacuation queue is less than the group transaction volume and the current time is within the evacuation period;The method also includes: re-placing transaction data in the re-evaluating bulk transaction queue back into the bulk transaction group if the volume of transaction data in the re-evaluating bulk transaction queue is less than the bulk transaction volume and the current time exceeds the escape period, and completely removing the re-evaluating bulk transaction queue.
4. Method according to claim 1, where each bulk transaction data is comprised of an execution order identifier; and the packing of each bulk transaction data packet into the proposal block includes: sorting each bulk transaction data according to the execution order identifier comprised in each bulk transaction data to receive the sorted bulk transaction data; and packing the sorted bulk transaction data packet into the proposal block.
5. Method according to claim 1, where the bulk transaction data volume is S and S is a positive integer greater than 1;The operations performed on each transaction group in the proposal block to acquire the corresponding transaction result will include: retrieving transaction group k in the proposal block and operating on transaction group k to acquire the transaction result corresponding to transaction group k, where k is a sequentially increasing positive integer and k is less than S; operating on transaction group (k+1) in the proposal block if the transaction result corresponding to transaction group k is successful; and determining the sequential transaction results corresponding to transaction groups (k+1) up to transaction group s in the proposal block as failed if the transaction result corresponding to transaction group k is a failed transaction.And the treatment of transaction outcomes corresponding to each group of transaction data as completed transaction outcomes; 6. The method under Claim 1, where the offer block is reworked based on transaction failures corresponding to each group of transaction data to access the target offer block, includes: the creation of a Merkle tree resulting from transaction failures corresponding to each group of transaction data, where the resulting Merkle tree contains hash values; and the addition of hash values to the block header of the offer block to access the target offer block; 7. The method under Claim 1, which also includes: broadcasting the offer block to communicative concurrency nodes in the concurrency network, where the communicative concurrency nodes are configured to process each group of transaction data in the offer block and rework the offer block based on transaction outcomes corresponding to each group of transaction data to access the communicative target offer block;The process of receiving the blockchain hash value of a communicative target block proposal passed by a communicative consensus node, and determining the blockchain hash value of the communicative target block proposal as the matching blockchain hash; and determining whether the target block proposal passes consensus if the quantity of matching blockchain hash values that match the target block hash exceeds the consensus threshold.
8. A blockchain-based data processing method applied to computing devices mapped as service nodes in the blockchain network, which includes: using a service node to receive transaction requests for multilateral transactions passed by an end device; determining the group identifier corresponding to the multilateral transaction based on the transaction request; and generating transaction data containing the group identifier based on the group identifier corresponding to the multilateral transaction and the transaction request, and adding the transaction data to the transaction group;Where a transaction group contains multiple transaction data entries with the same group identifier; where the transaction data is used for the agreement node to be determined as the group transaction data; and where the agreement node is configured to packet each group transaction data entry into the proposal block and process each group transaction data entry in the proposal block to receive the executed transaction result; and where the agreement node is also configured to re-configure the transaction result corresponding to each group transaction data entry to a failed transaction if the executed transaction result includes a failed transaction.
9. Method under claim 8 where a transaction request carries signature data, and the signature data is obtained after the endpoint processes the signature on the transaction request via the private key; and the method also includes: seeking the public key corresponding to the endpoint; performing signature verification on the signature data via the public key to receive the signature verification result;and the operation to determine the group identifier corresponding to the multiparty collaborative transaction on the transaction request in the event that the signature verification result is a successful signature verification.
10. Method according to claim 8, where there are multiple transaction requests, and each transaction request contains an execution sequence identifier; and the decision to determine the group identifier corresponding to the multiparty collaborative transaction on the transaction requests consists of: the decision to assign the highest priority transaction request as the group identifier request in the event that the transaction request with the highest priority execution sequence identifier is retrieved; and the hash processing operation on the group identifier request to retrieve the request hash value; and the decision to assign the request hash value as the group identifier corresponding to the multiparty collaborative transaction.
11. Method according to claim 8, where the transaction request contains a collaborative transaction initiator object that initiates a multiparty collaborative transaction;The determination of the group identifier corresponding to the multi-party collaborative transaction based on the transaction request will include: searching for the collaborative transaction initiator object from the transaction request; searching for the corresponding identifier of the collaborative transaction initiator object in the identifier library; and generating the group identifier corresponding to the multi-party collaborative transaction based on identifier 12. The method under claim 8, which also includes: searching for a request to provide an identifier for the multi-party collaborative transaction initiated by the collaborative transaction initiator object, where the request to provide an identifier includes the transaction objects participating in the multi-party collaborative transaction; generating an existing group identifier for the multi-party collaborative transaction based on the identifier request; and passing the existing group identifier to the end device corresponding to the transaction object, where the end device corresponding to the transaction object that generated the transaction request includes the existing group identifier;Where the determination of the group identifier corresponding to a multiparty collaborative transaction based on a transaction request consists of: Determining the group identifier present in the transaction request as the group identifier corresponding to the multiparty collaborative transaction; 13. A blockchain-based data processing suite consisting of: A group determination module configured to determine that multiple transaction data entries with the same group identifier in a transaction group are group transaction data; a packet handling module configured to package each group transaction data packet into the offer block; a block execution module configured to package each group transaction data packet into the offer block and process each group transaction data entry in the offer block to receive the executed transaction result; a result reassessment module configured to reassess the transaction result corresponding to each group transaction data entry to a failed transaction if the executed transaction result includes a failed transaction;The blockchain-based data processing suite comprises: a request module configured to rebuild block proposals based on transaction failures corresponding to each group transaction data set to receive the target block proposal; and an accounting module configured to process accounting tasks on the target block proposal and transaction failures corresponding to each group transaction data set in the event that the target block proposal is agreed upon.
14. The blockchain-based data processing suite comprises: a request module configured to receive transaction requests for multiparty transactions submitted by the end device; an identifier determination module configured to determine the group identifier corresponding to the multiparty transaction based on the transaction request; and an add module configured to generate transaction data containing the group identifier based on the group identifier corresponding to the multiparty transaction and the transaction request, and add the transaction data to the transaction group.Where a transaction group contains multiple transaction pieces with the same group identifier, where the transaction piece is used for agreement nodes which are determined by the group transaction piece, and where agreement nodes are configured to encapsulate each group transaction piece packet into the proposal block and process each group transaction piece in the proposal block to receive the executed transaction results; and agreement nodes are also configured to refactor the transaction results corresponding to each group transaction piece to a failed transaction if the executed transaction results include a failed transaction.
15. Computer equipment consisting of: processor, memory, and network interface;Where the processor is connected to memory and a network interface; where the network interface is configured to provide data communication functions; where the memory is configured to store program code; and where the processor is configured to execute the program code to perform any of the methods of claims 1 through 12; 16. Computer-readable storage media where the computer-readable storage media stores computer programs; and where the computer programs are suitable to be loaded by the processor and execute any of the methods of claims 1 through 12; 17. Computer program products which consist of computer instructions that are executed by the processor to perform any of the methods of claims 1 through 12;
