CN110245006B - Method, device, equipment and storage medium for processing block chain transaction - Google Patents

Method, device, equipment and storage medium for processing block chain transaction Download PDF

Info

Publication number
CN110245006B
CN110245006B CN201910375885.6A CN201910375885A CN110245006B CN 110245006 B CN110245006 B CN 110245006B CN 201910375885 A CN201910375885 A CN 201910375885A CN 110245006 B CN110245006 B CN 110245006B
Authority
CN
China
Prior art keywords
transaction
transaction block
processing
block
signature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910375885.6A
Other languages
Chinese (zh)
Other versions
CN110245006A (en
Inventor
褚镇飞
冯世伟
姚杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201910375885.6A priority Critical patent/CN110245006B/en
Publication of CN110245006A publication Critical patent/CN110245006A/en
Priority to PCT/CN2019/122054 priority patent/WO2020224251A1/en
Application granted granted Critical
Publication of CN110245006B publication Critical patent/CN110245006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/52Program synchronisation; Mutual exclusion, e.g. by means of semaphores
    • G06F9/526Mutual exclusion algorithms
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a processing method, a device, equipment and a storage medium of a blockchain transaction, namely, transaction blocks packed in a blockchain ordering node are obtained, and each transaction block is added to a transaction block processing queue in sequence; performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread; and when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not longer than the ending time of the verification signature of the first transaction block so as to perform parallel processing on the transaction blocks. The invention increases throughput of the block chain, reduces transaction delay, improves resource utilization rate and transaction efficiency, and solves the technical problem of low transaction efficiency of the existing block chain.

Description

Method, device, equipment and storage medium for processing block chain transaction
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a processing method, apparatus, device, and computer readable storage medium for a blockchain transaction.
Background
Blockchains are generally understood to be a distributed ledger, which is also a distributed database in nature. One of the fundamental differences between federated blockchains and common blockchains is the need to provide privacy protection mechanisms, typically implemented by signature encryption and signature verification in cryptography. Currently, blockchain transactions are sent to blockchain nodes in the form of blocks, the nodes unwrap the blocks and acquire the transactions therein, and then each transaction is checked and the commit process of the corresponding transaction is performed in sequence. Because the current block chain transaction is submitted in a sequential mode, when the system is busy and more transactions are generated, the transaction submitting speed is often delayed from the transaction generating speed, and the transaction processing efficiency is reduced.
Therefore, how to solve the problem of low transaction processing efficiency of the existing blockchain transaction is a problem that needs to be solved at present.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a computer readable storage medium for processing a blockchain transaction, which aim to solve the technical problem that the transaction processing efficiency of the existing blockchain transaction is low.
In order to achieve the above object, the present invention provides a method for processing a blockchain transaction, the method for processing a blockchain transaction comprising the steps of:
when a transaction processing instruction is received, acquiring transaction blocks packaged in a block chain ordering node, and sequentially adding each transaction block to a transaction block processing queue;
performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
and when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not longer than the ending time of the verification signature of the first transaction block so as to perform parallel processing on the transaction blocks.
Optionally, the steps of verifying signature, multi-version checking and persistence processing on the first transaction block in the transaction block processing queue through the first pipeline thread specifically include:
adding a first-stage mutual exclusion lock to a first transaction block in the transaction queue by the first pipeline thread to add a verification signature identification to the first transaction block;
Verifying and signing the first transaction block through the first pipeline thread, and unlocking a first-stage mutual exclusion lock of the first transaction block when a completion instruction of the verification and signing of the first transaction block is detected;
and when the unlocking signal of the first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread, and performing multi-version check and persistence processing on the first transaction block through the first pipeline thread.
Optionally, when the occurrence of the preset event is detected, the steps of verifying the signature, multi-version checking and persistence processing for the second transaction block in the transaction block processing queue through the second pipeline thread specifically include:
when an unlocking signal of a first-stage mutual exclusion lock of a first transaction block is detected, adding the first-stage mutual exclusion lock to a second transaction block in the transaction processing queue through the second pipeline thread so as to add a verification signature identifier to the second transaction block;
verifying the signature on the second transaction block through the second pipeline thread, and unlocking a first-stage mutual exclusion lock of the second transaction block when the completion of the verification signature on the second transaction block is detected;
When an unlocking signal of a first-stage mutual exclusion lock of the second transaction block is detected, adding a second-stage mutual exclusion lock to the second transaction block through the second pipeline thread so as to carry out multi-version check and persistence identification on the second transaction block;
and performing multi-version inspection and persistence identification on the second transaction block through the second pipeline thread, and unlocking a second-stage mutual exclusion lock of the second transaction block when a multi-version inspection and persistence completion instruction of the second transaction block is detected.
Optionally, when the unlocking signal of the first-stage mutual exclusion lock of the first transaction block is detected, the step of adding, by the first pipeline thread, the second-stage mutual exclusion lock to the first transaction block to perform multi-version check and persistence identification on the first transaction block specifically includes:
when an unlocking signal of a first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a multi-version check identifier to the first transaction block;
performing multi-version inspection on the first transaction block through the first pipeline thread, and unlocking a second-stage mutual exclusion lock of the first transaction block when a completion instruction of the multi-version inspection of the first transaction block is detected;
When an unlocking signal of a second-stage mutual exclusion lock of the first transaction block is detected, adding a third-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a lasting identification to the first transaction block;
and performing persistence processing on the first transaction block through the first pipeline thread, and unlocking a third-stage mutual exclusion lock of the first transaction block when a completion instruction of the persistence processing of the first transaction block is detected.
Optionally, when the occurrence of the preset event is detected, the steps of verifying the signature, multi-version checking and persistence processing for the second transaction block in the transaction block processing queue through the second pipeline thread specifically include:
when detecting a locking signal of a first-stage mutual exclusion lock of the first transaction block, verifying and signing a second transaction block in the transaction block processing queue through the second pipeline thread;
and when the unlocking signal of the second-stage mutual exclusion lock of the first transaction block is detected, performing multi-version check and persistence processing on the second transaction block through the second pipeline thread.
Optionally, the steps of verifying signature, multi-version check and persistence processing for the second transaction block in the transaction block processing queue through the second pipeline thread when the occurrence of the preset event is detected include:
Determining a verification signature of the first transaction block and a first processing time required by multi-version checking, determining a second processing time required by the verification signature of the second transaction block, and calculating a time difference value of the first processing time and the second processing time;
and when the processing time of the first transaction block reaches the time difference value, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread.
Optionally, the steps of verifying signature, multi-version checking and persistence processing on the first transaction block in the transaction block processing queue through the first pipeline thread specifically include:
analyzing the first transaction block, acquiring each transaction in the first transaction block, and acquiring transaction request second flow, current load condition information and a preset processing value of each transaction;
establishing a plurality of threads based on the transaction request second flow, the current load condition information and a preset processing value, and carrying out parallel signature verification and signature on each transaction through the threads;
and when the parallel signature verification and signature of each transaction are completed, collecting signature verification and signature results of each of the threads, and sequentially executing multi-version check and transaction persistence processing on each transaction according to the signature verification and signature results and the transaction processing sequence.
In addition, to achieve the above object, the present invention also provides a processing apparatus for a blockchain transaction, the processing apparatus for a blockchain transaction including:
the transaction block adding module is used for acquiring the transaction blocks packaged in the block chain ordering node when receiving the transaction processing instruction, and sequentially adding each transaction block to the transaction block processing queue;
the first processing module is used for carrying out verification signature, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
and the second processing module is used for carrying out verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread when the occurrence of a preset event is detected, wherein the occurrence time of the preset event is not more than the ending time of the verification signature of the first transaction block so as to carry out parallel processing on the transaction blocks.
In addition, to achieve the above object, the present invention also provides a processing device for a blockchain transaction, where the processing device for a blockchain transaction includes a processor, a memory, and a processing program for a blockchain transaction stored on the memory and executable by the processor, where the processing program for a blockchain transaction implements the steps of the processing method for a blockchain transaction as described above when executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a computer readable storage medium having stored thereon a processing program of a blockchain transaction, wherein the processing program of the blockchain transaction, when executed by a processor, implements the steps of the processing method of the blockchain transaction as described above.
The invention provides a processing method of a block chain transaction, namely, when a transaction processing instruction is received, transaction blocks packed in a block chain ordering node are obtained, and each transaction block is added to a transaction block processing queue in sequence; performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread; and when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not longer than the ending time of the verification signature of the first transaction block so as to perform parallel processing on the transaction blocks. By the method, each transaction block in the blockchain is distributed to the plurality of pipeline threads, so that the transaction blocks are processed in parallel through the plurality of pipeline threads, the throughput of the blockchain is increased, the transaction processing delay is reduced, the resource utilization rate and the transaction processing efficiency are improved, and the technical problem that the transaction processing efficiency of the conventional blockchain transaction is low is solved.
Drawings
FIG. 1 is a schematic diagram of a hardware architecture of a blockchain transaction processing device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for processing a blockchain transaction according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for processing a blockchain transaction according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a method for processing a blockchain transaction according to the present invention;
FIG. 5 is a functional block diagram of a first embodiment of a blockchain transaction processing device.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The processing method of the block chain transaction related to the embodiment of the invention is mainly applied to the processing equipment of the block chain transaction, and the processing equipment of the block chain transaction can be equipment with display and processing functions such as a PC, a portable computer, a mobile terminal and the like.
Referring to fig. 1, fig. 1 is a schematic hardware structure of a processing device for a blockchain transaction according to an embodiment of the present invention. In an embodiment of the invention, the processing device of the blockchain transaction may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein the communication bus 1002 is used to enable connected communications between these components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may alternatively be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware architecture shown in FIG. 1 is not limiting of the processing device for blockchain transactions, and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
With continued reference to FIG. 1, the memory 1005 of FIG. 1, which is a computer readable storage medium, may include an operating system, a network communication module, and a processing program for a blockchain transaction.
In fig. 1, the network communication module is mainly used for connecting with a server and performing data communication with the server; the processor 1001 may call a processing program of the blockchain transaction stored in the memory 1005 and execute the processing method of the blockchain transaction provided in the embodiment of the present invention.
The embodiment of the invention provides a processing method of a block chain transaction.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a processing method for a blockchain transaction according to the present invention.
In this embodiment, the processing method of the blockchain transaction includes the following steps:
step S10, when a transaction processing instruction is received, transaction blocks packaged in a block chain ordering node are obtained, and each transaction block is sequentially added to a transaction block processing queue;
In this embodiment, in order to solve the technical problem that the transaction processing efficiency of the existing blockchain transaction is low, a processing method of the blockchain transaction is provided, which is based on Pipeline technology (Pipeline), that is, a plurality of Pipeline threads are used for processing the transaction blocks in parallel, so that the resource utilization rate is improved, and the transaction processing efficiency of the blockchain transaction is improved. Pipelining repeatedly performs the same operation on the data set for each thread and passes the result of the operation to the next step other threads, where the "data element" stream is executed serially. Wherein the transaction block includes three transaction phases, namely verification signature, multi-version check, and persistence. Wherein, without considering disk performance, the processing time of verifying the signature is generally much higher than that of multi-version checking and persistence, the occupation time of verifying the signature is generally more than 50% of the processing time of the whole transaction block, and the multi-version checking of the transaction block needs to depend on the multi-version checking result of the previous transaction block. Thus, two transaction blocks may be processed in parallel based on at least two pipeline threads. Specifically, when the transaction processing is required, a packaging transaction block to be processed is obtained in a blockchain ordering node, and the transaction block is added into a preset transaction block processing queue. The transaction blocks in the transaction block processing queue are sequentially arranged according to the processing sequence.
Step S20, performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
in this embodiment, since the multi-version checking process of the next transaction block depends on the multi-version checking result of the previous transaction block, but the verification signature results of the transaction blocks are not related to each other, the verification signature operations of each transaction block can be performed simultaneously, so that the first transaction block to be processed in the transaction block processing queue is determined, and the verification signature processing is performed on the first transaction block through the first pipeline thread.
Further, the step S20 may include:
adding a first-stage mutual exclusion lock to a first transaction block in the transaction queue by the first pipeline thread to add a verification signature identification to the first transaction block;
verifying and signing the first transaction block through the first pipeline thread, and unlocking a first-stage mutual exclusion lock of the first transaction block when a completion instruction of the verification and signing of the first transaction block is detected;
and when the unlocking signal of the first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread, and performing multi-version check and persistence processing on the first transaction block through the first pipeline thread.
In this embodiment, when the conditional expression, i.e. the verification signature of the first transaction block is completed or not, is not satisfied, the first pipelined thread will still block on the first transaction block and verify the signature on said first transaction block. The specific treatment process comprises the following steps: when the first transaction block is signed by the first pipeline thread, a first mutual exclusion lock needs to be set for the first transaction block first to declare that the first pipeline thread is signed by the first transaction block, and the first transaction block is in a locking state and cannot be processed by other threads. And when the first pipeline thread completes verification signature of the first transaction block, unlocking the first mutual exclusion lock, and generating a first unlocking signal corresponding to the first mutual exclusion lock. And when the first unlocking signal is detected, continuing to add a second mutual exclusion lock to the first transaction block through the first pipeline thread so as to declare that the first pipeline thread is performing multi-version check operation on the first transaction block, and the first transaction block is in a locking state and cannot be processed by other threads. And when the first pipeline thread completes multi-version checking of the first transaction block, unlocking the second mutual exclusion lock, and generating a second unlocking signal corresponding to the second mutual exclusion lock. And when the second unlocking signal is detected, continuing to add a third mutual exclusion lock to the first transaction block through the first pipeline thread to state that the first pipeline thread is performing persistence processing operation on the first transaction block, and the first transaction block is in a locking state and cannot be processed by other threads, so that the hierarchical processing of one transaction block is realized through the mutual exclusion lock.
Further, the step S20 may further include:
analyzing the first transaction block, acquiring each transaction in the first transaction block, and acquiring transaction request second flow, current load condition information and a preset processing value of each transaction;
establishing a plurality of threads based on the transaction request second flow, the current load condition information and a preset processing value, and carrying out parallel signature verification and signature on each transaction through the threads;
and when the parallel signature verification and signature of each transaction are completed, collecting signature verification and signature results of each of the threads, and sequentially executing multi-version check and transaction persistence processing on each transaction according to the signature verification and signature results and the transaction processing sequence.
In this embodiment, the transaction block is parsed to obtain each transaction in the transaction block, a current transaction request second flow, current load condition information of a CPU of the server, and a preset processing value are obtained, a plurality of threads are built based on the current transaction request second flow, the load condition information, and the preset processing value, the transaction is distributed to the CPU to perform dynamic parallel signature verification based on the built plurality of threads, then after signature verification is completed, the transaction subjected to signature verification in the plurality of threads is collected, and multi-version inspection and transaction persistence processing are performed on the transaction subjected to signature verification. Wherein in the blockchain network, the blockchain ordering node packages each transaction pre-identified with the processing order into the form of a transaction block, and then sends the transaction block to the blockchain data node. And carrying out signature verification and signature on each transaction block by the block chain data node. The transaction is, for example, an operation related to data in the database, including a modification operation of the data, a deletion operation of the data, etc., and of course, other operations are also possible. The processing sequence corresponding to each transaction identifier may, for example, identify the transaction in the sequence of numbers "1, 2, 3 …", or identify the transaction in the sequence of letters "a, b, c …", etc., and parse the transaction block to obtain each transaction. The current load condition information of the CPU comprises a CPU working time proportion (of course, the current load condition information of the CPU can also be a CPU idle time proportion), and the larger the CPU working time proportion is, the higher the utilization rate of the CPU is; the preset processing values comprise a preset maximum value of the CPUs for checking signature and a preset checking signature time, wherein the preset maximum value of the CPUs for checking signature is 16, and the preset checking signature time is 10 seconds. Meanwhile, the current transaction request second flow, load condition information and preset processing values are considered to establish threads: when the current transaction request second flow is larger and the current CPU working time proportion is smaller, a relatively large number of threads can be established in order to enable the signature verification time to reach the preset signature verification time; when the current transaction request second flow is smaller and the current CPU working time proportion is smaller, a relatively small number of threads can be established, so that parallel signature verification and signature verification of the transaction are realized, and the speed of signature verification and signature verification is improved. The current transaction request second flow is 10000/h (10000 pieces of data per hour), the current CPU working time proportion is 20%, the preset signature verification signature time is 10 seconds, 5 threads can be established for signature verification through analysis, and the transaction is distributed to 5 CPUs for parallel signature verification based on the 5 threads. In order to make the signature verification time not greater than the preset signature verification time, the embodiment may dynamically adjust the number of threads, for example, if the current transaction request second flow is greater, the current CPU working time proportion is smaller, and the number of current threads does not exceed the preset maximum value of the CPU for signature verification under the condition that the signature verification time is greater than the preset signature verification time due to the influence of other factors. In an ideal state, one thread distributes transactions to one CPU to carry out signature verification and signature, so that the increase of the number of threads is equivalent to the adjustment of the number of the CPUs currently used for signature verification and signature. Because each transaction identifier has a processing sequence, after signature verification and signature is completed, the transactions of the threads after signature verification and signature are collected, the transactions are ordered according to the processing sequence of the transaction identifiers, multi-version inspection is carried out on the ordered transactions based on a standard processing method of a database, and then transaction persistence processing is carried out on the inspected transactions.
And step S30, when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not more than the ending time of the verification signature of the first transaction block, so as to perform parallel processing on the transaction blocks.
In this embodiment, since the time required for verifying the signature of the transaction block is far longer than the time required for the other two stages, when the first pipeline thread finishes processing the verification signature of the first transaction block, the second pipeline thread can start processing the second transaction block in the transaction block processing queue. When the verification of the signature for the second transaction block is completed by the second pipeline thread, the first pipeline thread has completed the multi-version checking and persistence of the first transaction block, since the time required to verify the signature far exceeds the time required for the other two phases. In particular, since the multi-version check of the second transaction block requires the use of the result of the multi-version check of the first transaction block, the multi-version check of the second transaction block needs to be started after the multi-version check of the second transaction block. That is, the multi-version check of the first transaction block needs to be completed before the multi-version check of the second transaction block begins. And when the occurrence of the preset time is detected, verifying the signature on the second transaction block through a second pipeline thread. The occurrence time of the preset event is not greater than the end time of the verification signature of the first transaction block, namely the ideal state is: the verification signature completion time point of the second transaction block is the same as the multi-version check completion time point of the first transaction block. Considering the instability of CPU scheduling, the machine execution is also convenient, the preset time can be the first unlocking signal of the verification signature of the first transaction block, and when the first unlocking information is detected, the second transaction block in the transaction block processing queue can be verified and signed through the second pipeline thread, so that the parallel processing of the transaction blocks can be realized, the processing time of the transaction blocks is reduced, and the processing efficiency of the transaction blocks is improved.
The embodiment provides a processing method of a blockchain transaction, namely, when a transaction processing instruction is received, transaction blocks packaged in a blockchain ordering node are obtained, and each transaction block is sequentially added to a transaction block processing queue; performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread; and when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not longer than the ending time of the verification signature of the first transaction block so as to perform parallel processing on the transaction blocks. By the method, each transaction block in the blockchain is distributed to the plurality of pipeline threads, so that the transaction blocks are processed in parallel through the plurality of pipeline threads, the throughput of the blockchain is increased, the transaction processing delay is reduced, the resource utilization rate and the transaction processing efficiency are improved, and the technical problem that the transaction processing efficiency of the conventional blockchain transaction is low is solved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of a processing method for a blockchain transaction according to the present invention.
Based on the embodiment shown in fig. 2, in this embodiment, the step S30 specifically includes:
step S31, when an unlocking signal of a first-stage mutual exclusion lock of a first transaction block is detected, the first-stage mutual exclusion lock is added to a second transaction block in the transaction processing queue through the second pipeline thread so as to add a verification signature identifier to the second transaction block;
in this embodiment, in order to improve the CPU utilization rate and facilitate scheduling of the CPU, when the verification signature of the first transaction block is completed by the first pipeline thread, the verification signature of the second transaction block is started by the second pipeline thread. I.e. upon detection of an unlocking signal of a first phase exclusive lock of the first transaction block, a verification signature of the second transaction block is started.
Since the multi-version check process of the subsequent transaction block depends on the multi-version check result of the previous transaction block, it is necessary to start the multi-version check of the second transaction block after the multi-version check of the first transaction block. Since the time for verifying the signature is much longer than the time for multi-version checking and persistence, the second transaction block starts to verify the signature when the first transaction block starts to perform multi-version checking, and the multi-version checking and persistence of the first transaction block is completed when the verification signature of the second transaction block is finished, so that the second transaction block can continue to perform multi-version checking and persistence processing. Thus, a second pipeline thread may be started to add a first stage exclusive lock to a second transaction block in the transaction queue by detecting whether the first stage exclusive lock of the first transaction block generates an unlock signal to add a verification signature identification to the second transaction block.
Step S32, verifying the signature on the second transaction block through the second pipeline thread, and unlocking a first-stage mutual exclusion lock of the second transaction block when the completion of the verification signature of the second transaction block is detected;
in this embodiment, when the first-stage exclusive lock is added to the second transaction block, the first-stage processing, that is, signature verification, may be performed on the second transaction block. And unlocking the first-stage mutual exclusion lock of the second transaction block after the second transaction block is subjected to verification signature.
Step S33, when an unlocking signal of a first-stage mutual exclusion lock of the second transaction block is detected, adding a second-stage mutual exclusion lock to the second transaction block through the second pipeline thread so as to carry out multi-version check and persistence identification on the second transaction block;
in this embodiment, when the unlock signal of the first stage of the second transaction block is detected, a second stage mutex lock is continuously added to the second transaction block by the second pipeline thread to declare that the second pipeline thread is performing a multi-version check operation on the second transaction block, and the second transaction block is currently in a locked state and cannot be processed by other threads.
Step S34, performing multi-version checking and persistence identification on the second transaction block through the second pipeline thread, and unlocking a second-stage mutual exclusion lock of the second transaction block when a multi-version checking and persistence completion instruction of the second transaction block is detected.
In this embodiment, after the second stage mutex lock is added to the second transaction block, the second transaction block may be subjected to multi-version checking and persistence identification by the second pipeline thread. And when the second pipeline thread completes multi-version checking and persistence processing of the second transaction block, unlocking the second-stage mutual exclusion lock, and generating an unlocking signal corresponding to the second-stage mutual exclusion lock.
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of a processing method for a blockchain transaction according to the present invention.
Based on the embodiment shown in fig. 3, in this embodiment, the step S30 specifically includes:
step S35, when detecting the locking signal of the mutual exclusion lock of the first stage of the first transaction block, verifying and signing a second transaction block in the transaction block processing queue through the second pipeline thread;
In this embodiment, when the unlock signal of the first-stage mutual exclusion lock of the first transaction block is detected, the specific steps of adding, by the first pipeline thread, the second-stage mutual exclusion lock to the first transaction block to perform multi-version checking and persistence identification on the first transaction block are as follows: when an unlocking signal of a first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a multi-version check identifier to the first transaction block; performing multi-version inspection on the first transaction block through the first pipeline thread, and unlocking a second-stage mutual exclusion lock of the first transaction block when a completion instruction of the multi-version inspection of the first transaction block is detected; when an unlocking signal of a second-stage mutual exclusion lock of the first transaction block is detected, adding a third-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a lasting identification to the first transaction block; and performing persistence processing on the first transaction block through the first pipeline thread, and unlocking a third-stage mutual exclusion lock of the first transaction block when a completion instruction of the persistence processing of the first transaction block is detected.
In order to further improve the processing efficiency of the transaction block, by utilizing the characteristic that the verification signature of the transaction block is far longer than the time of multi-version checking and persistence processing and the characteristic that the verification signatures of the transaction block are not associated, firstly, the corresponding verification signatures of all the transaction blocks are processed in parallel, then the verification signature results of all the transaction blocks are collected, and the multi-version checking and persistence processing of all the transactions are sequentially carried out according to the verification signature results and the transaction processing sequence. I.e. upon detection of a lock signal of a first stage mutual exclusion lock of the first transaction block, a verification signature of the second transaction span is started.
Step S36, when an unlocking signal of the second stage mutual exclusion lock of the first transaction block is detected, performing multi-version check and persistence processing on the second transaction block through the second pipeline thread.
In this embodiment, when an unlock signal of the second-stage exclusive lock of the first transaction block is detected, multi-version checking and persistence processing of the second transaction block are started.
Further, when the occurrence of the preset event is detected, the steps of verifying the signature, multi-version checking and persistence processing for the second transaction block in the transaction block processing queue through the second pipeline thread may further be:
In this embodiment, in order to maximize the CPU utilization and maximize the processing efficiency of the transaction block, the processing time of the verification signature of the first transaction block and the processing time of the multi-version check of the first transaction block may be estimated first as the first processing time according to the historical processing rate or according to the CPU processing efficiency. The processing time of the verification signature of the second transaction block is then estimated as a second processing time. And controlling the first processing time of the first pipeline thread for processing the first transaction block and the second processing time of the second pipeline thread for processing the second transaction block to be the same, namely, when the first pipeline thread processes the verification signature of the first transaction block and the multi-version check, the second pipeline thread just processes the verification signature of the second transaction block, so that the multi-version check of the second transaction block can be performed when the multi-version check of the first transaction block just ends. Specifically, determining a verification signature of the first transaction block and a first processing time required by multi-version inspection, determining a second processing time required by the verification signature of the second transaction block, and calculating a time difference value of the first processing time and the second processing time; and when the processing time of the first transaction block reaches the time difference value, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread.
In addition, the embodiment of the invention also provides a processing device of the block chain transaction.
Referring to fig. 5, fig. 5 is a functional block diagram of a first embodiment of a processing device for a blockchain transaction according to the present invention.
In this embodiment, the processing device for a blockchain transaction includes:
the transaction block adding module 10 is configured to obtain transaction blocks packaged in the blockchain ordering node when a transaction processing instruction is received, and sequentially add each transaction block to a transaction block processing queue;
a first processing module 20, configured to perform verification signature, multi-version check, and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
and the second processing module 30 is configured to perform verification signature, multi-version check and persistence processing on the second transaction block in the transaction block processing queue through a second pipeline thread when a preset event is detected, where the occurrence time of the preset event is not greater than the end time of the verification signature of the first transaction block, so as to perform parallel processing on the transaction blocks.
Further, the first processing module 20 is further configured to:
adding a first-stage mutual exclusion lock to a first transaction block in the transaction queue by the first pipeline thread to add a verification signature identification to the first transaction block;
Verifying and signing the first transaction block through the first pipeline thread, and unlocking a first-stage mutual exclusion lock of the first transaction block when a completion instruction of the verification and signing of the first transaction block is detected;
and when the unlocking signal of the first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread, and performing multi-version check and persistence processing on the first transaction block through the first pipeline thread.
Further, the first processing module 20 is further configured to:
analyzing the first transaction block, acquiring each transaction in the first transaction block, and acquiring transaction request second flow, current load condition information and a preset processing value of each transaction;
establishing a plurality of threads based on the transaction request second flow, the current load condition information and a preset processing value, and carrying out parallel signature verification and signature on each transaction through the threads;
and when the parallel signature verification and signature of each transaction are completed, collecting signature verification and signature results of each of the threads, and sequentially executing multi-version check and transaction persistence processing on each transaction according to the signature verification and signature results and the transaction processing sequence.
Further, the second processing module 30 specifically includes:
a first stage locking unit, configured to add, when an unlocking signal of a first stage exclusive lock of a first transaction block is detected, the first stage exclusive lock to a second transaction block in the transaction processing queue through the second pipeline thread, so as to add a verification signature identifier to the second transaction block;
a first stage unlocking unit, configured to verify the signature for the second transaction block through the second pipeline thread, and unlock a first stage exclusive lock of the second transaction block when the completion of the second transaction block verification signature is detected;
the second-stage locking unit is used for adding a second-stage mutual exclusion lock to the second transaction block through the second pipeline thread when an unlocking signal of the first-stage mutual exclusion lock of the second transaction block is detected, so as to carry out multi-version inspection and persistence identification on the second transaction block;
and the second stage processing unit is used for carrying out multi-version inspection and persistence identification on the second transaction block through the second pipeline thread, and unlocking a second stage mutual exclusion lock of the second transaction block when a multi-version inspection and persistence completion instruction of the second transaction block is detected.
Further, the second processing module 30 specifically further includes:
the first parallel processing unit is used for verifying and signing a second transaction block in the transaction block processing queue through the second pipeline thread when a locking signal of a first-stage mutual exclusion lock of the first transaction block is detected;
and the second parallel processing unit is used for performing multi-version check and persistence processing on the second transaction block through the second pipeline thread when the unlocking signal of the second-stage mutual exclusion lock of the first transaction block is detected.
Further, the second processing module 30 is further configured to:
determining a verification signature of the first transaction block and a first processing time required by multi-version checking, determining a second processing time required by the verification signature of the second transaction block, and calculating a time difference value of the first processing time and the second processing time;
and when the processing time of the first transaction block reaches the time difference value, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread.
The modules in the processing device of the blockchain transaction correspond to the steps in the processing method embodiment of the blockchain transaction, and the functions and the implementation process of the modules are not described herein in detail.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a processing program of a blockchain transaction, wherein the processing program of the blockchain transaction realizes the steps of the processing method of the blockchain transaction when being executed by a processor.
The method implemented when the processing program of the blockchain transaction is executed may refer to various embodiments of the processing method of the blockchain transaction of the present invention, which are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (8)

1. A method for processing a blockchain transaction, the method comprising the steps of:
When a transaction processing instruction is received, acquiring transaction blocks packaged in a block chain ordering node, and sequentially adding each transaction block to a transaction block processing queue;
performing signature verification, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
when the occurrence of a preset event is detected, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread, wherein the occurrence time of the preset event is not more than the ending time of the verification signature of the first transaction block so as to perform parallel processing on the transaction blocks;
wherein said validating signature, multi-version check, and persistence processing of a first transaction block in said transaction block processing queue by a first pipelined thread comprises:
adding a first-stage mutex lock to a first transaction block in the transaction block processing queue by the first pipeline thread to add a verification signature identification to the first transaction block;
verifying and signing the first transaction block through the first pipeline thread, and unlocking a first-stage mutual exclusion lock of the first transaction block when a completion instruction of the verification and signing of the first transaction block is detected;
When an unlocking signal of a first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread, and performing multi-version check and persistence processing on the first transaction block through the first pipeline thread;
analyzing the first transaction block, acquiring each transaction in the first transaction block, and acquiring transaction request second flow, current load condition information and a preset processing value of each transaction;
establishing a plurality of threads based on the transaction request second flow, the current load condition information and a preset processing value, and carrying out parallel signature verification and signature on each transaction through the threads;
and when the parallel signature verification and signature of each transaction are completed, collecting signature verification and signature results of each of the threads, and sequentially executing multi-version check and transaction persistence processing on each transaction according to the signature verification and signature results and the transaction processing sequence.
2. The method for processing a blockchain transaction as in claim 1, wherein the steps of verifying signature, multi-version check, and persistence processing for the second transaction block in the transaction block processing queue by the second pipeline thread upon detecting occurrence of the preset event specifically comprise:
When an unlocking signal of a first-stage mutual exclusion lock of a first transaction block is detected, adding the first-stage mutual exclusion lock to a second transaction block in the transaction block processing queue through the second pipeline thread so as to add a verification signature identifier to the second transaction block;
verifying the signature on the second transaction block through the second pipeline thread, and unlocking a first-stage mutual exclusion lock of the second transaction block when the completion of the verification signature on the second transaction block is detected;
when an unlocking signal of a first-stage mutual exclusion lock of the second transaction block is detected, adding a second-stage mutual exclusion lock to the second transaction block through the second pipeline thread so as to carry out multi-version check and persistence identification on the second transaction block;
and performing multi-version inspection and persistence identification on the second transaction block through the second pipeline thread, and unlocking a second-stage mutual exclusion lock of the second transaction block when a multi-version inspection and persistence completion instruction of the second transaction block is detected.
3. The method according to claim 1, wherein the step of adding, by the first pipeline thread, a second stage mutex to the first transaction block to perform multi-version checking and persistence identification on the first transaction block when an unlock signal of the first stage mutex is detected, specifically comprises:
When an unlocking signal of a first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a multi-version check identifier to the first transaction block;
performing multi-version inspection on the first transaction block through the first pipeline thread, and unlocking a second-stage mutual exclusion lock of the first transaction block when a completion instruction of the multi-version inspection of the first transaction block is detected;
when an unlocking signal of a second-stage mutual exclusion lock of the first transaction block is detected, adding a third-stage mutual exclusion lock to the first transaction block through the first pipeline thread so as to add a lasting identification to the first transaction block;
and performing persistence processing on the first transaction block through the first pipeline thread, and unlocking a third-stage mutual exclusion lock of the first transaction block when a completion instruction of the persistence processing of the first transaction block is detected.
4. The method for processing a blockchain transaction as in claim 3, wherein the steps of validating a signature, multi-version checking, and persistence for a second transaction block in the transaction block processing queue by a second pipeline thread upon detecting the occurrence of a preset event include:
When detecting a locking signal of a first-stage mutual exclusion lock of the first transaction block, verifying and signing a second transaction block in the transaction block processing queue through the second pipeline thread;
and when the unlocking signal of the second-stage mutual exclusion lock of the first transaction block is detected, performing multi-version check and persistence processing on the second transaction block through the second pipeline thread.
5. The method of claim 3, wherein the step of validating the signature, multi-version check, and persistence of the second transaction block in the transaction block processing queue by the second pipeline thread upon detecting the occurrence of the preset event comprises:
determining a verification signature of the first transaction block and a first processing time required by multi-version checking, determining a second processing time required by the verification signature of the second transaction block, and calculating a time difference value of the first processing time and the second processing time;
and when the processing time of the first transaction block reaches the time difference value, performing verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread.
6. A processing apparatus for a blockchain transaction, the processing apparatus comprising:
the transaction block adding module is used for acquiring the transaction blocks packaged in the block chain ordering node when receiving the transaction processing instruction, and sequentially adding each transaction block to the transaction block processing queue;
the first processing module is used for carrying out verification signature, multi-version check and persistence processing on a first transaction block in the transaction block processing queue through a first pipeline thread;
the second processing module is used for carrying out verification signature, multi-version check and persistence processing on a second transaction block in the transaction block processing queue through a second pipeline thread when a preset event is detected, wherein the occurrence time of the preset event is not more than the ending time of the verification signature of the first transaction block so as to carry out parallel processing on the transaction blocks;
wherein, the first processing module is further configured to:
adding a first-stage mutex lock to a first transaction block in the transaction block processing queue by the first pipeline thread to add a verification signature identification to the first transaction block;
verifying and signing the first transaction block through the first pipeline thread, and unlocking a first-stage mutual exclusion lock of the first transaction block when a completion instruction of the verification and signing of the first transaction block is detected;
When an unlocking signal of a first-stage mutual exclusion lock of the first transaction block is detected, adding a second-stage mutual exclusion lock to the first transaction block through the first pipeline thread, and performing multi-version check and persistence processing on the first transaction block through the first pipeline thread;
analyzing the first transaction block, acquiring each transaction in the first transaction block, and acquiring transaction request second flow, current load condition information and a preset processing value of each transaction;
establishing a plurality of threads based on the transaction request second flow, the current load condition information and a preset processing value, and carrying out parallel signature verification and signature on each transaction through the threads;
and when the parallel signature verification and signature of each transaction are completed, collecting signature verification and signature results of each of the threads, and sequentially executing multi-version check and transaction persistence processing on each transaction according to the signature verification and signature results and the transaction processing sequence.
7. A blockchain transaction processing device, characterized in that the blockchain transaction processing device comprises a processor, a memory, and a blockchain transaction processing program stored on the memory and executable by the processor, wherein the blockchain transaction processing program, when executed by the processor, implements the steps of the blockchain transaction processing method of any of claims 1 to 5.
8. A computer readable storage medium, wherein a program for processing a blockchain transaction is stored on the computer readable storage medium, wherein the program for processing a blockchain transaction, when executed by a processor, implements the steps of the method for processing a blockchain transaction as claimed in any of claims 1 to 5.
CN201910375885.6A 2019-05-07 2019-05-07 Method, device, equipment and storage medium for processing block chain transaction Active CN110245006B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910375885.6A CN110245006B (en) 2019-05-07 2019-05-07 Method, device, equipment and storage medium for processing block chain transaction
PCT/CN2019/122054 WO2020224251A1 (en) 2019-05-07 2019-11-29 Block chain transaction processing method, device, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910375885.6A CN110245006B (en) 2019-05-07 2019-05-07 Method, device, equipment and storage medium for processing block chain transaction

Publications (2)

Publication Number Publication Date
CN110245006A CN110245006A (en) 2019-09-17
CN110245006B true CN110245006B (en) 2023-05-02

Family

ID=67883744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910375885.6A Active CN110245006B (en) 2019-05-07 2019-05-07 Method, device, equipment and storage medium for processing block chain transaction

Country Status (2)

Country Link
CN (1) CN110245006B (en)
WO (1) WO2020224251A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110245006B (en) * 2019-05-07 2023-05-02 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for processing block chain transaction
US11095431B2 (en) * 2019-12-13 2021-08-17 DLT Global, Inc. Blockchain transaction manager
CN111985928A (en) * 2020-09-03 2020-11-24 深圳壹账通智能科技有限公司 Verification method, verification device, electronic equipment and storage medium
CN111984421B (en) * 2020-09-03 2022-09-16 深圳壹账通智能科技有限公司 Data processing method, device and storage medium
CN112636915B (en) * 2020-11-27 2024-03-22 杭州趣链科技有限公司 Batch signature verification method, device, equipment and medium based on SM2 cryptographic algorithm
CN113518384B (en) * 2021-07-29 2023-12-01 中移(杭州)信息技术有限公司 Distributed transaction processing method, device, equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880507A (en) * 2012-09-12 2013-01-16 科立讯通信股份有限公司 Method for applying and distributing chain structure message
CN102945278A (en) * 2012-11-09 2013-02-27 华为技术有限公司 Method and device for redoing logs of database records
CN107766127A (en) * 2016-08-23 2018-03-06 阿里巴巴集团控股有限公司 Transaction message processing method, device, equipment and system
CN109034802A (en) * 2018-08-03 2018-12-18 克洛斯比尔有限公司 Equity for block chain proves creation method, equipment and readable storage medium storing program for executing
CN109493044A (en) * 2018-11-08 2019-03-19 深圳壹账通智能科技有限公司 Block chain block delet method, device and terminal device
CN109522314A (en) * 2018-10-16 2019-03-26 平安科技(深圳)有限公司 Data archiving method and terminal device based on block chain

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9317472B2 (en) * 2013-06-07 2016-04-19 International Business Machines Corporation Processing element data sharing
US10157078B2 (en) * 2016-04-10 2018-12-18 Bank Of America Corporation System for transforming large scale electronic processing using application block chain
US10445302B2 (en) * 2017-01-03 2019-10-15 International Business Machines Corporation Limiting blockchain size to optimize performance
CN107360206B (en) * 2017-03-29 2020-03-27 创新先进技术有限公司 Block chain consensus method, equipment and system
CN106980544B (en) * 2017-03-31 2020-03-03 北京奇艺世纪科技有限公司 Thread synchronization method and thread synchronization system
CN108805561B (en) * 2017-04-27 2023-06-02 中思博安科技(北京)有限公司 Method and system for executing intelligent contract capable of accessing multiple blockchains
US10896169B2 (en) * 2017-05-12 2021-01-19 International Business Machines Corporation Distributed system, computer program product and method
US10289456B2 (en) * 2017-06-01 2019-05-14 International Business Machines Corporation Software bot conflict-resolution service agent
CN111406249B (en) * 2017-06-05 2023-09-22 平衡媒体技术有限责任公司 Platform for collaborative processing of computing tasks
CN107729137B (en) * 2017-09-04 2021-06-22 深圳壹账通智能科技有限公司 Server, block chain signature verification decryption method and storage medium
CN107992356B (en) * 2017-12-13 2021-09-14 深圳壹账通智能科技有限公司 Block chain transaction block processing method, electronic device and readable storage medium
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system
CN109344172B (en) * 2018-08-31 2022-05-17 深圳市元征科技股份有限公司 High-concurrency data processing method and device and client server
CN109271245B (en) * 2018-09-13 2021-04-27 腾讯科技(深圳)有限公司 Control method and device for block processing task
CN109684091B (en) * 2018-12-24 2021-04-27 杭州迪普科技股份有限公司 Task processing method and device
CN110245006B (en) * 2019-05-07 2023-05-02 深圳壹账通智能科技有限公司 Method, device, equipment and storage medium for processing block chain transaction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880507A (en) * 2012-09-12 2013-01-16 科立讯通信股份有限公司 Method for applying and distributing chain structure message
CN102945278A (en) * 2012-11-09 2013-02-27 华为技术有限公司 Method and device for redoing logs of database records
CN107766127A (en) * 2016-08-23 2018-03-06 阿里巴巴集团控股有限公司 Transaction message processing method, device, equipment and system
CN109034802A (en) * 2018-08-03 2018-12-18 克洛斯比尔有限公司 Equity for block chain proves creation method, equipment and readable storage medium storing program for executing
CN109522314A (en) * 2018-10-16 2019-03-26 平安科技(深圳)有限公司 Data archiving method and terminal device based on block chain
CN109493044A (en) * 2018-11-08 2019-03-19 深圳壹账通智能科技有限公司 Block chain block delet method, device and terminal device

Also Published As

Publication number Publication date
CN110245006A (en) 2019-09-17
WO2020224251A1 (en) 2020-11-12

Similar Documents

Publication Publication Date Title
CN110245006B (en) Method, device, equipment and storage medium for processing block chain transaction
CN109660356B (en) Data uplink method, device, equipment and computer readable storage medium
CN110738389A (en) Workflow processing method and device, computer equipment and storage medium
KR102044046B1 (en) Telemetry file hash and conflict detection
US20140129706A1 (en) Identifying compatible web service policies
CN107797854A (en) Transaction file processing method, device, storage medium and computer equipment
CN111191212B (en) Block chain-based digital certificate processing method, device, equipment and storage medium
CN107395623B (en) Interface access data verification method and device, computer storage medium and equipment
CN111008206A (en) Method and device for storing state data of cross-chain transaction and storage medium
CN109033818B (en) Terminal, authentication method, and computer-readable storage medium
CN110910141A (en) Transaction processing method, system, device, equipment and computer readable storage medium
CN108243005B (en) Application registration verification method, participant management system, device and medium
KR101625890B1 (en) Test automation system and test automation method for detecting change for signature of internet application traffic protocol
US8498957B2 (en) Optimal multi-factor evaluation in computing systems
CN108965335B (en) Method for preventing malicious access to login interface, electronic device and computer medium
CN111061637A (en) Interface test method, interface test device and storage medium
CN110728504A (en) Data processing method, device and equipment of block chain and readable storage medium
CN114090682A (en) Multi-channel alliance link chaining method, device, equipment and storage medium
CN113609215A (en) Data processing method, device, equipment and computer readable storage medium
CN113468564A (en) Data processing method and device, electronic equipment and storage medium
CN113360547A (en) Cross-chain query method and device, electronic equipment and readable storage medium
CN113420090A (en) Cross-chain processing method and device, electronic equipment and readable storage medium
CN113360868A (en) Application program login method and device, computer equipment and storage medium
CN111026423A (en) Software upgrading method, device, equipment and storage medium
WO2020145966A1 (en) Documented workflows

Legal Events

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