CN109508337A - A kind of transaction is parallel to execute method, apparatus, electronic equipment and system - Google Patents
A kind of transaction is parallel to execute method, apparatus, electronic equipment and system Download PDFInfo
- Publication number
- CN109508337A CN109508337A CN201811342611.9A CN201811342611A CN109508337A CN 109508337 A CN109508337 A CN 109508337A CN 201811342611 A CN201811342611 A CN 201811342611A CN 109508337 A CN109508337 A CN 109508337A
- Authority
- CN
- China
- Prior art keywords
- transaction
- implementing result
- execution
- parallel
- module
- 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.)
- Pending
Links
Classifications
-
- 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
Abstract
This specification embodiment is related to a kind of parallel execution method, apparatus, electronic equipment and system of trading, it include: after transaction in block to be distributed to transaction execution module and is executed parallel, collision detection is carried out to transaction implementing result, later, transaction implementing result is merged according to collision detection result and exported.To, promote and ensure that the performance that transaction executes parallel, and, solves parallel Dependence Problem of trading in block, at the same time it can also realize that multi-core parallel concurrent executes and distributed deployment executes parallel, the concurrency and scalability of execution of trading in block are effectively improved.
Description
Technical field
This specification embodiment is related to block chain technical field more particularly to a kind of parallel execution method, apparatus, electricity of transaction
Sub- equipment and system.
Background technique
Block chain technology is the basis of decentralization application, and the direct shadow of execution performance bottleneck of trading in the block of block chain
Ring the development of decentralization application.
In the prior art, the method for improving block chain performance mainly has: 1. chain grades are parallel, i.e., are held simultaneously by a plurality of chain
Row provides safety and high-performance, such as demixing technology jointly for decentralization application;2. block is parallel, on same chain simultaneously
Row executes the transaction in multiple blocks, such as allocation methods;3. parallel execution of trading in block, parallel by the transaction in same block
It executes and improves performance.Three of the above technology supplements and complements each other, and can contribute jointly for block chain performance.
Wherein, parallel execute of trading in block is the important method for improving block chain performance, and still, parallel execute of trading is deposited
Transaction relies on and the transaction ambiguous problem of implementing result.It is processed in parallel, ties when trading there are the two of data dependence
Fruit can be incorrect.Alternatively, the transaction in block is executed in Different Logic nodal parallel, there are many implementing result possibility, thus
Cause implementing result not verifiable.
If A only has 100 yuan, while sending two transactions to block catenary system:
1:A trade to B turns 80 yuan;
2:A trade to C turns 50 yuan;
Obviously, the above only transaction can run succeeded, and two are likely to run succeeded, different logic sections
The possible transaction chosen successfully of point is different, so that different transaction implementing results can be generated, causes to trade in block parallel
Executive capability is poor.
Summary of the invention
This specification embodiment provides a kind of trade parallel execution method, apparatus, electronic equipment and system, existing to solve
There is the problem for parallel execution performance difference of trading in the block of block chain network in technology.
In order to solve the above-mentioned technical problem, this specification embodiment adopts the following technical solutions:
In a first aspect, providing a kind of parallel execution method of transaction, the transaction execution applied to decentralization application was managed
Cheng Zhong, which comprises
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by transaction dispatcher module;
The multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
The transaction dispatcher module acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and
Collision detection is carried out to each transaction implementing result;
The transaction dispatcher module merges the transaction after transaction implementing result, and output merging according to collision detection result
Implementing result.
Second aspect provides a kind of transaction parallel execution system, and the transaction execution applied to decentralization application managed
Cheng Zhong, the system comprises: transaction dispatcher module and transaction execution module;Wherein,
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by the transaction dispatcher module;
And the corresponding each transaction implementing result generated of the multiple transaction execution module is acquired, and execute to each transaction
As a result collision detection is carried out;And transaction implementing result is merged according to collision detection result;And the transaction after output merging
Implementing result;
The transaction execution module, parallel execute respectively distributes obtained transaction, and generates transaction implementing result.
The third aspect provides a kind of parallel execution method of transaction, and the transaction execution applied to decentralization application managed
Cheng Zhong, which comprises
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by transaction dispatcher module, in order to
The multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
The transaction dispatcher module acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and
Collision detection is carried out to each transaction implementing result;
The transaction dispatcher module merges transaction implementing result according to collision detection result, and the transaction exported after merging is held
Row result.
Fourth aspect provides a kind of parallel executive device of transaction, and the transaction execution applied to decentralization application managed
Cheng Zhong, described device include transaction dispatcher module;Wherein, the transaction dispatcher module includes:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, in order to institute by Dispatching Unit
It states multiple transaction execution modules and executes the transaction respectively distributed and obtained parallel, and generate transaction implementing result;
Detection unit acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and to described
Each transaction implementing result carries out collision detection;
Combining unit merges transaction implementing result according to collision detection result;
Output unit, the transaction implementing result after output merging.
5th aspect provides a kind of parallel execution method of transaction, and the transaction execution applied to decentralization application managed
Cheng Zhong, which comprises
Transaction execution module receives transaction dispatcher module according to transaction sequence distribution by the transaction that obtains in block;
The transaction execution module and other transaction execution modules execute the transaction for respectively receiving and obtaining parallel, and generate friendship
Easy implementing result;Wherein, the transaction implementing result is used to be acquired by the transaction dispatcher module, and executes knot to each transaction
Fruit carries out collision detection, in order to which the transaction dispatcher module merges transaction implementing result and output according to collision detection result
Transaction implementing result after merging.
6th aspect provides a kind of parallel executive device of transaction, and the transaction execution applied to decentralization application managed
Cheng Zhong, described device include transaction execution module, wherein the transaction execution module includes:
Receiving unit receives transaction dispatcher module according to transaction sequence distribution by the transaction that obtains in block;
Execution unit executes the transaction for respectively receiving and obtaining with other transaction execution modules parallel, and generates transaction and execute
As a result;Wherein, the transaction implementing result is used to be acquired by the transaction dispatcher module, and carries out to each transaction implementing result
Collision detection, after merging transaction implementing result and output merging according to collision detection result in order to the transaction dispatcher module
Transaction implementing result.
7th aspect, provides a kind of computer readable storage medium, the computer-readable recording medium storage one or
Multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electronics
Equipment executes following operation:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, in order to the multiple transaction
Execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
The corresponding each transaction implementing result generated of the multiple transaction execution module is acquired, and each transaction is held
Row result carries out collision detection;
Merge transaction implementing result according to collision detection result, and exports the transaction implementing result after merging.
Eighth aspect, provides a kind of computer readable storage medium, the computer-readable recording medium storage one or
Multiple programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electronics
Equipment executes following operation:
Transaction dispatcher module is received according to transaction sequence distribution by the transaction that obtains in block;
It executes the transaction for respectively receiving and obtaining parallel with other transaction execution modules, and generates transaction implementing result;Wherein,
The transaction implementing result is used to be acquired by the transaction dispatcher module, and carries out collision detection to each transaction implementing result,
In order to which the transaction that the transaction dispatcher module merges transaction implementing result according to collision detection result and exports after merging is held
Row result.
This specification embodiment use at least one above-mentioned technical solution can reach it is following the utility model has the advantages that
By this specification technical solution, after transaction in block to be distributed to transaction execution module and is executed parallel, to friendship
Easy implementing result carries out collision detection, in case of conflict, the transaction that the transaction of conflict has been executed and has not been conflicted
It is re-executed based on implementing result, merges transaction implementing result finally, being sorted with transaction and export.To be promoted and be guaranteed
The performance that transaction executes parallel, moreover, solve parallel Dependence Problem of trading in block, at the same time it can also realize multicore
Parallel execution and distributed deployment execute parallel, effectively improve the concurrency and scalability of execution of trading in block.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or
Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
The some embodiments recorded in this specification embodiment are not paying creative labor for those of ordinary skill in the art
Under the premise of dynamic property, it is also possible to obtain other drawings based on these drawings.
Fig. 1 a is parallel one of the step schematic diagram for executing method of transaction that this specification embodiment provides
Fig. 1 b is the two of the parallel step schematic diagram for executing method of transaction that this specification embodiment provides;
Fig. 2 is the parallel flow diagram for executing method of transaction that this specification embodiment provides;
Fig. 3 a- Fig. 3 c is the parallel schematic illustration for executing method of transaction that this specification embodiment provides;
Fig. 4 a is the two of the parallel step schematic diagram for executing method of transaction that this specification embodiment provides;
Fig. 4 b is the three of the parallel step schematic diagram for executing method of transaction that this specification embodiment provides;
Fig. 5 a is one of the structural schematic diagram for the transaction parallel execution system that this specification embodiment provides;
Fig. 5 b- Fig. 5 d is respectively three kinds of structural schematic diagrams of the transaction parallel execution system that this specification embodiment provides;
Fig. 6 is one of the structural schematic diagram for the parallel executive device of transaction that this specification embodiment provides;
Fig. 7 is the second structural representation for the parallel executive device of transaction that this specification embodiment provides;
Fig. 8 is the hardware structural diagram for the electronic equipment that this specification embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of this specification embodiment clearer, have below in conjunction with this specification
The technical solution of this specification embodiment is clearly and completely described in body embodiment and corresponding attached drawing.Obviously, described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, this
Field those of ordinary skill every other embodiment obtained without making creative work, belongs to this explanation
The range of book embodiment protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Embodiment one
Referring to Fig.1 shown in a, the step schematic diagram of method is executed parallel for a kind of transaction that this specification embodiment provides,
The transaction carries into execution a plan parallel to be executed in management process applied to the transaction of decentralization application, may comprise steps of:
Step 102a: transaction multiple in block are distributed to multiple transaction according to transaction sequence and execute mould by transaction dispatcher module
Block;
Step 104a: the multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction and hold
Row result;
Step 106a: the transaction dispatcher module acquires the corresponding each transaction generated of the multiple transaction execution module and holds
Row is as a result, and carry out collision detection to each transaction implementing result;
Step 108a: the transaction dispatcher module merges transaction implementing result according to collision detection result, and output is closed
Transaction implementing result after and.
Show with further reference to the step of shown in Fig. 1 b, executing method parallel for a kind of transaction that this specification embodiment provides
It is intended to, it may include following step which carries into execution a plan parallel executes in management process applied to the transaction of decentralization application
It is rapid:
Step 102b: transaction multiple in block are distributed to multiple transaction according to transaction sequence and execute mould by transaction dispatcher module
Block.
In this step, transaction dispatcher module transfers respective transaction from block, is successively distributed to multiple transaction and executes mould
Block, the transaction that this multiple transaction execution module can be respectively distributed to parallel processing.
In the present specification, in order to reduce transaction conflict, the concurrency for execution of trading is improved, a kind of achievable scheme:
It is specific to execute when transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by transaction dispatcher module are as follows:
The multiple transaction obtained from trading pit are grouped according to transaction strong correlation attribute;
Transaction dispersion after grouping is inserted into the block, and is sorted according to the transaction after insertion by the multiple friendship
Easily it is distributed to multiple transaction execution modules.
Another achievable scheme: transaction multiple in block are distributed to multiple by transaction dispatcher module according to transaction sequence
It is specific to execute when transaction execution module are as follows:
By from the multiple transaction radom insertions obtained in trading pit into the block;
According to trading, weak association attributes are ranked up the transaction in the block, and will be the multiple according to transaction sequence
Transaction is distributed to multiple transaction execution modules.
It should be understood that in this specification embodiment, the transaction strong correlation attribute refers to, with correlation of trading it is larger or
More close attribute, for example, it may be account address, destination address, source address etc..The weak association attributes of the transaction refer to,
The attribute smaller or even unrelated with transaction correlation, for example, it can be account address, destination address, source address etc. in addition, originally
Specification embodiment is not limited to above-mentioned attribute, can also be other types of attribute, and this specification is limited not to this.
Optionally, the transaction strong correlation attribute includes at least following one or multiple: destination address, source address;It is described
Weak association attributes of trading include at least following one or multiple: destination address, source address.
Step 104b: multiple transaction execution modules execute the transaction respectively distributed and obtained parallel, and generate transaction and execute knot
Fruit.
Wherein, type of transaction can be different, and each transaction execution module executes transaction implementing result that transaction generates can be with
It include: read data status and/or write-in data mode;Or, comprising: other data modes relevant to collision detection.This
Specification is defined not to this.
Step 106b: transaction dispatcher module acquires the corresponding each transaction generated of the multiple transaction execution module and executes knot
Fruit, and collision detection is carried out to each transaction implementing result.If detection has conflict, 108b is thened follow the steps;Otherwise, it holds
Row step 112b.
Optionally, in this specification embodiment, collision detection is carried out to each transaction implementing result, it is specific to execute
Are as follows:
Based on read-write sequence, collision detection is carried out to the transaction reading and writing state in each transaction implementing result.Its
In, read-write sequence can be read-write possessed by the read data status for including in transaction implementing result and write-in data mode first
Sequence afterwards, read-write sequence are used to detect whether transaction execution to execute according to read-write logic.
Step 108b: the friendship there are the corresponding transaction execution module of transaction implementing result of conflict to have executed and not conflict
At least one transaction in the presence of conflict is re-executed based on easy implementing result, until detection Lothrus apterus.
Optionally, the transaction there are the corresponding transaction execution module of transaction implementing result of conflict to have executed and not conflict
At least one transaction in the presence of conflict is re-executed based on implementing result, comprising:
There are the practical friendships that the corresponding transaction execution module of transaction implementing result of conflict is determined based on collision detection result
Sequence easily is executed, based on the transaction implementing result for having executed and not conflicted, re-executes at least one friendship in the presence of conflict
Easily.
Step 110b: the transaction dispatcher module sorts according to transaction merges transaction implementing result.
Step 112b: the transaction implementing result after the transaction dispatcher module output merging.
Referring to shown in Fig. 2, the transaction of this specification process that carries into execution a plan parallel is illustrated.
Firstly, transaction dispatcher module reads the transaction in block;
Then, transaction dispatcher module will trade transmitted in parallel to multiple transaction execution modules;
Secondly, transaction execution module will trade, implementing result is returned;
Then, transaction dispatcher module detects the transaction implementing result of return, if there is conflict, then by the friendship of conflict
Easily re-executed with current state;
Finally, transaction dispatcher module will trade, implementing result merges to trade according to the original trading order of block executes knot
Fruit.
By this specification technical solution, after transaction in block to be distributed to transaction execution module and is executed parallel, to friendship
Easy implementing result carries out collision detection, in case of conflict, the transaction that the transaction of conflict has been executed and has not been conflicted
It is re-executed based on implementing result, finally, merging transaction implementing result with actual transaction execution sequence and exporting.To,
Promote and ensure that the performance that transaction executes parallel, moreover, solve parallel Dependence Problem of trading in block, meanwhile, may be used also
With realize multi-core parallel concurrent execute and distributed deployment execute parallel, effectively improve execution of trading in block concurrency and
Scalability.
In the following, this specification embodiment is introduced with a specific example referring to shown in Fig. 3 a- Fig. 3 c.
Firstly, transaction dispatcher module obtains multiple transaction from trading pit, and according to destination address pair referring to shown in Fig. 3 a
These transaction obtained are grouped, such as Fig. 3 a, it is assumed that obtain the grouping such as above-mentioned g1, g2, g3, the transaction class in each grouping
Seemingly, and different grouping corresponds to different destination addresses;It should be understood that in this example, it is related between the transaction of different target address
Property is weaker, and therefore, the correlation between grouping divided is weaker, and the Feasible degree executed parallel is higher.In this way, can be according to
Transaction dispersion in each grouping is inserted into block, it is assumed that be empty in block, then can be successively in block by group result
In be from top to bottom inserted into g1 grouping in first transaction, g2 grouping in first transaction, g3 grouping in first friendship
Easily ...;Then, second transaction in insertion g1 grouping, second transaction in g2 grouping, second friendship in g3 grouping
Easily ...;And so on, in this manner it is achieved that by with same target address transaction it is more dispersed be inserted into block,
Form transaction sequence.
Then, referring to shown in Fig. 3 b, transaction dispatcher module sorts according to the transaction formed in block, is distributed to three parallel
Transaction execution module VM1, VM2, VM3.These three transaction execution modules execute the transaction that distribution obtains parallel, it is assumed that wherein hand over
Read data status is READ []=[K1, K2, K3 ...] in the transaction implementing result of easy execution module VM1, and data shape is written
State is WRITE []=[K2, K4, K5 ...];Read data status is READ in the transaction implementing result of transaction execution module VM2
[]=[K1, K2, K3 ...], write-in data mode are WRITE []=[K2, K7, K8 ...];The transaction of transaction execution module VM3
Read data status is READ []=[K6, K9] in implementing result, and write-in data mode is WRITE []=[K10].When this theory
When bright book example is using read-write sequence as collision detection judgment mode, execution of trading is contemplated that in each transaction execution module
As a result reading and writing data sequence.
It is deposited by Fig. 3 c it is found that reading write-in data K2 in data K2 and transaction execution module VM1 in transaction execution module VM2
Conflicting.This is because performing write-in behaviour to data K2 again after transaction execution module VM1 is executed and read data K2
Make, data K2 at this time has occurred and that variation.And transaction execution module VM2 and transaction execution module VM1 are executed parallel when trading,
That read is original data K2, it is possible to not be the data K2 re-write, in this way, will result in transaction conflict.For class
Conflicting like transaction, this specification embodiment merges the transaction implementing result for the transaction execution module VM1 not conflicted, and
Based on merging later transaction implementing result, transaction execution module VM2 re-executes transaction on this basis, in this way,
Transaction execution module VM2 execute read data K2 operation when, reading is exactly data that transaction execution module VM1 re-writes
K2。
Finally, sorting according to transaction, merge the transaction implementing result of each transaction execution module output, and after exporting merging
Transaction implementing result.
In addition, this specification embodiment also provides a kind of parallel execution method of transaction, the friendship applied to decentralization application
It easily executes in management process, the executing subject of the method is transaction dispatcher module;In the process of implementation, transaction dispatcher module is pressed
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, simultaneously in order to the multiple transaction execution module
Row, which executes, respectively distributes obtained transaction, and generates transaction implementing result;The transaction dispatcher module acquires the multiple transaction
The corresponding each transaction implementing result generated of execution module, and collision detection is carried out to each transaction implementing result;It is described
Transaction dispatcher module merges transaction implementing result according to collision detection result, and exports the transaction implementing result after merging.
Referring to shown in Fig. 4 a, when execution may include specific following steps:
Step 402a: transaction multiple in block are distributed to multiple transaction according to transaction sequence and execute mould by transaction dispatcher module
Block in order to which the multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
Step 404a: the transaction dispatcher module acquires the corresponding each transaction generated of the multiple transaction execution module and holds
Row is as a result, and carry out collision detection to each transaction implementing result;If detection has conflict, 406a is thened follow the steps, it is no
Then, step 408a is executed;
Step 406a: there is the corresponding transaction execution module of transaction implementing result of conflict in the transaction dispatcher module instruction
At least one transaction in the presence of conflict is re-executed based on the transaction implementing result for having executed and not conflicted, until detection nothing
Conflict, the transaction dispatcher module sorts according to transaction merges transaction implementing result;
Step 408a: the transaction dispatcher module sorts according to transaction merges transaction implementing result;
Step 410a: the transaction implementing result after the transaction dispatcher module output merging.
By this specification technical solution, after transaction in block to be distributed to transaction execution module and is executed parallel, to friendship
Easy implementing result carries out collision detection, in case of conflict, the transaction that the transaction of conflict has been executed and has not been conflicted
It is re-executed based on implementing result, finally, merging transaction implementing result with actual transaction execution sequence and exporting.To,
Promote and ensure that the performance that transaction executes parallel, moreover, solve parallel Dependence Problem of trading in block, meanwhile, may be used also
With realize multi-core parallel concurrent execute and distributed deployment execute parallel, effectively improve execution of trading in block concurrency and
Scalability.
This specification embodiment also provides a kind of parallel execution method of transaction, the trade management applied to decentralization application
In the process, the executing subject of the method is transaction execution module, and in the process of implementation, transaction execution module receives transaction dispatcher
Module is according to transaction sequence distribution by the transaction that obtains in block;The transaction execution module and other transaction execution modules are simultaneously
Row executes and respectively receives obtained transaction, and generates transaction implementing result;Wherein, the transaction implementing result is used for by the friendship
Easy scheduler module acquisition, and collision detection is carried out to each transaction implementing result, in order to which the transaction dispatcher module is according to punching
Prominent testing result merges the transaction implementing result after transaction implementing result and output merging.
Referring to shown in Fig. 4 b, when execution, can be specifically included:
Step 402b: transaction execution module receives transaction dispatcher module according to transaction sequence distribution by obtaining in block
Transaction;
Step 404b: the transaction execution module and other transaction execution modules execute the friendship for respectively receiving and obtaining parallel
Easily, and transaction implementing result is generated;Wherein, the transaction implementing result is used to be acquired by the transaction dispatcher module, and to every
A transaction implementing result carries out collision detection;If detection has conflict, 406b is thened follow the steps, otherwise, executes step 408b;
Step 406b: the friendship there are the corresponding transaction execution module of transaction implementing result of conflict to have executed and not conflict
At least one transaction in the presence of conflict is re-executed based on easy implementing result, until detection Lothrus apterus, indicates that the transaction is adjusted
It spends module and sorts according to transaction and merge transaction implementing result;
Step 408b: it indicates that the transaction dispatcher module sorts according to transaction and merges transaction implementing result;
Step 410b: the transaction implementing result after the transaction dispatcher module output merging.
By this specification technical solution, after transaction in block to be distributed to transaction execution module and is executed parallel, to friendship
Easy implementing result carries out collision detection, in case of conflict, the transaction that the transaction of conflict has been executed and has not been conflicted
It is re-executed based on implementing result, finally, merging transaction implementing result with actual transaction execution sequence and exporting.To,
Promote and ensure that the performance that transaction executes parallel, moreover, solve parallel Dependence Problem of trading in block, meanwhile, may be used also
With realize multi-core parallel concurrent execute and distributed deployment execute parallel, effectively improve execution of trading in block concurrency and
Scalability.
Embodiment two
This specification embodiment additionally provides a kind of transaction parallel execution system, and the transaction applied to decentralization application is held
In row management process, referring to shown in Fig. 5 a, the system 500 includes: transaction dispatcher module 502 and multiple transaction execution modules
504;Wherein,
Transaction multiple in block are distributed to multiple transaction according to transaction sequence and execute mould by the transaction dispatcher module 502
Block;And the corresponding each transaction implementing result generated of the multiple transaction execution module 504 is acquired, and to each friendship
Easy implementing result carries out collision detection;And transaction implementing result is merged according to collision detection result;And after output merges
Transaction implementing result;
The transaction execution module 504, parallel execute respectively distributes obtained transaction, and generates transaction implementing result.
It should be understood that multiple transaction execution modules are parallel arrangement of in the transaction parallel execution system.
A kind of achievable scheme, referring to shown in Fig. 5 b, which is deployed in a multicore and calculates master
In machine, transaction dispatcher module 502 and multiple transaction execution modules 504 are provided in the calculating main frame.Wherein, each transaction is held
Row module 504 occupies an execution thread, and each execution thread occupies a CPU core.It is thus possible to guarantee a calculating master
Machine can execute multiple transaction parallel.Moreover, the data between transaction dispatcher module 502 and multiple transaction execution modules 504 are handed over
Consumption network mutually is not needed, interactive performance is higher.
Another achievable scheme, referring to shown in Fig. 5 c, which includes more calculating main frames,
In, transaction dispatcher module 502 is deployed in a calculating main frame, each transaction execution module in multiple transaction execution modules 504
It is deployed in a calculating main frame respectively, i.e., multiple transaction execution modules 504 are using distributed deployment in more calculating main frames.
In this way, the calculating main frame that each transaction execution module 504 is disposed is considered as a separate threads, it equally can be more with utility
Calculating main frame executes multiple transaction parallel.Moreover, transaction execution module 504 is deployed on the distributed computing host of cluster, no
It is limited by the CPU core number of separate unit calculating main frame, can increase according to demand or delete the quantity of transaction execution module 504,
Therefore, scalability is preferable, and easily realizes.
Another achievable scheme, referring to shown in Fig. 5 d, which includes more calculating main frames,
In, the part transaction execution module 504 in transaction dispatcher module 502 and multiple transaction execution modules 504 is deployed in a meter
It calculates in host, specifically can refer to the deployment way of Fig. 5 b;Meanwhile the deployment of another part transaction execution module 504 is deployed in respectively
In more calculating main frames, in combination with the distributed deployment mode of Fig. 5 c.In this way, when transaction dispatcher module 502 distributes and trades, meeting
According to the executive condition (whether executing caching, congestion etc.) of each transaction execution module 504, transaction is distributed to local by selection
Transaction execution module 504 or be distributed to the transaction execution module 504 being deployed in other calculating main frames.To improve
The flexibility ratio that transaction dispatcher executes.
Referring to shown in Fig. 6, a kind of structural schematic diagram for the parallel executive device of transaction that this specification embodiment provides, the friendship
The transaction that easily parallel executive device is applied to decentralization application executes in management process, and described device includes transaction dispatcher module
600;Wherein, the transaction dispatcher module 600 includes:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by Dispatching Unit 602, in order to
The multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
Detection unit 604 acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and to institute
It states each transaction implementing result and carries out collision detection;
Combining unit 606 merges transaction implementing result according to collision detection result;
Output unit 608, the transaction implementing result after output merging.
It, should for a kind of structural schematic diagram for the parallel executive device of transaction that this specification embodiment provides referring to shown in Fig. 7
The transaction that parallel executive device of trading is applied to decentralization application executes in management process, and described device includes that transaction executes mould
Block 700, wherein the transaction execution module 700 includes:
Receiving unit 702 receives transaction dispatcher module according to transaction sequence distribution by the transaction that obtains in block;
Execution unit 704 executes the transaction for respectively receiving and obtaining parallel with other transaction execution modules, and generates transaction and hold
Row result;Wherein, the transaction implementing result be used for by the transaction dispatcher module acquire, and to each transaction implementing result into
Row collision detection, in order to which the transaction dispatcher module merges transaction implementing result and output merging according to collision detection result
Transaction implementing result afterwards.
It should be understood that transaction parallel execution system, the parallel executive device of transaction involved in the embodiment two can be according to realities
It applies method and step described in example one to execute to realize identical function, this will not be repeated here.
Embodiment three
The electronic equipment of this specification embodiment is discussed in detail referring to Fig. 8.Referring to FIG. 8, in hardware view, the electricity
Sub- equipment includes processor, optionally further comprising internal bus, network interface, memory.Wherein, memory may be comprising interior
It deposits, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to further include non-volatile memories
Device (Non-Volatile Memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other
Hardware required for business.
Processor, network interface and memory can be connected with each other by internal bus, which can be industry
Standard architecture (Industry Standard Architecture, ISA) bus, Peripheral Component Interconnect standard
(Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended
Industry Standard Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus,
Control bus etc..Only to be indicated with a four-headed arrow in Fig. 8, it is not intended that an only bus or one kind convenient for indicating
The bus of type.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating
Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer
Static signature device (specifically can be online wallet end or static signature end) is formed on face.Processor executes memory institute
The program of storage, and while being specifically used for executing server described previously as executing subject performed method operates.
Method disclosed in above-mentioned implementation example figure 1a- Fig. 4 b illustrated embodiment such as this specification can be applied in processor,
Or it is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.In the process of realization
In, each step of the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form
At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU),
Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided
Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in this specification embodiment disclosed
Each method, step and logic diagram.General processor can be microprocessor or the processor be also possible to it is any conventional
Processor etc..The step of method in conjunction with disclosed in this specification embodiment, can be embodied directly in hardware decoding processor execution
Complete, or in decoding processor hardware and software module combine execute completion.Software module can be located at random storage
Device, flash memory, read-only memory, this fields such as programmable read only memory or electrically erasable programmable memory, register at
In ripe storage medium.The storage medium is located at memory, and processor reads the information in memory, completes in conjunction with its hardware
The step of stating method.
The method that the electronic equipment can also carry out Fig. 1 a- Fig. 4 b, and realize the parallel executive device of transaction in Fig. 1 a- Fig. 4 b institute
Show the function of embodiment, details are not described herein for this specification embodiment.
Certainly, other than software realization mode, other realization sides are not precluded in the electronic equipment of this specification embodiment
Formula, such as logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is simultaneously unlimited
Due to each logic unit, it is also possible to hardware or logical device.
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that institute
It states electronic equipment and executes following operation:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, in order to the multiple transaction
Execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
The corresponding each transaction implementing result generated of the multiple transaction execution module is acquired, and each transaction is held
Row result carries out collision detection;
Merge transaction implementing result according to collision detection result, and exports the transaction implementing result after merging.
This specification embodiment also provides a kind of computer readable storage medium, the computer-readable recording medium storage
One or more programs, one or more of programs are when the electronic equipment for being included multiple application programs executes, so that institute
It states electronic equipment and executes following operation:
Transaction dispatcher module is received according to transaction sequence distribution by the transaction that obtains in block;
It executes the transaction for respectively receiving and obtaining parallel with other transaction execution modules, and generates transaction implementing result;Wherein,
The transaction implementing result is used to be acquired by the transaction dispatcher module, and carries out collision detection to each transaction implementing result,
In order to which the transaction that the transaction dispatcher module merges transaction implementing result according to collision detection result and exports after merging is held
Row result.
Wherein, the computer readable storage medium, such as read-only memory (Read-Only Memory, ROM), at random
Access memory (Random Access Memory, RAM), magnetic or disk etc..
In short, being not intended to limit this specification the foregoing is merely the preferred embodiment of this specification embodiment
The protection scope of embodiment.It is all this specification embodiment spirit and principle within, made any modification, equivalent replacement,
Improve etc., it should be included within the protection scope of this specification embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
Various embodiments are described in a progressive manner in this specification embodiment, identical phase between each embodiment
As partially may refer to each other, each embodiment focuses on the differences from other embodiments.Especially for
For system embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method
The part of embodiment illustrates.
Claims (12)
1. a kind of transaction is parallel to execute method, the transaction applied to decentralization application is executed in management process, the method packet
It includes:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by transaction dispatcher module;
The multiple transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
The transaction dispatcher module acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and to institute
It states each transaction implementing result and carries out collision detection;
The transaction dispatcher module merges the transaction execution after transaction implementing result, and output merging according to collision detection result
As a result.
2. the method as described in claim 1, the transaction dispatcher module merges transaction implementing result according to collision detection result;
Include:
If detection has conflict, there is the corresponding transaction execution module of transaction implementing result of conflict to have executed and not conflict
Transaction implementing result based on re-execute at least one transaction in the presence of conflict, until detection Lothrus apterus, transaction tune
It spends module and merges transaction implementing result according to transaction sequence in block;
Otherwise, the transaction dispatcher module merges transaction implementing result according to transaction sequence in block.
3. the method as described in claim 1, transaction multiple in block are distributed to more by transaction dispatcher module according to transaction sequence
A transaction execution module, comprising:
The multiple transaction obtained from trading pit are grouped according to transaction strong correlation attribute;
Transaction dispersion after grouping is inserted into the block, and is divided the multiple transaction according to the transaction sequence after insertion
Issue multiple transaction execution modules;
Or;
By from the multiple transaction radom insertions obtained in trading pit into the block;
According to trading, weak association attributes are ranked up the transaction in the block, and sort according to transaction by the multiple transaction
It is distributed to multiple transaction execution modules.
4. method as claimed in claim 3, the related weak attribute of the transaction is including at least following one or multiple: target
Location, source address.
5. the method according to claim 1 carries out collision detection to each transaction implementing result, comprising:
Based on read-write sequence, collision detection is carried out to the transaction reading and writing state in each transaction implementing result.
6. a kind of transaction parallel execution system, the transaction applied to decentralization application is executed in management process, the system packet
It includes: transaction dispatcher module and transaction execution module;Wherein,
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by the transaction dispatcher module;And
Acquire the corresponding each transaction implementing result generated of the multiple transaction execution module, and to each transaction implementing result into
Row collision detection;And collision detection result merges transaction implementing result;And the transaction implementing result after output merging;
The transaction execution module, parallel execute respectively distributes obtained transaction, and generates transaction implementing result.
7. a kind of transaction is parallel to execute method, the transaction applied to decentralization application is executed in management process, the method packet
It includes:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence by transaction dispatcher module, in order to described
Multiple transaction execution modules execute the transaction respectively distributed and obtained parallel, and generate transaction implementing result;
The transaction dispatcher module acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and to institute
It states each transaction implementing result and carries out collision detection;
The transaction dispatcher module merges transaction implementing result according to collision detection result, and the transaction exported after merging executes knot
Fruit.
8. a kind of parallel executive device of transaction, the transaction applied to decentralization application execute in management process, described device packet
Include transaction dispatcher module;Wherein, the transaction dispatcher module includes:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, in order to described more by Dispatching Unit
A transaction execution module executes the transaction respectively distributed and obtained parallel, and generates transaction implementing result;
Detection unit acquires the corresponding each transaction implementing result generated of the multiple transaction execution module, and to described each
Implementing result of trading carries out collision detection;
Combining unit merges transaction implementing result according to collision detection result;
Output unit, the transaction implementing result after output merging.
9. a kind of transaction is parallel to execute method, the transaction applied to decentralization application is executed in management process, the method packet
It includes:
Transaction execution module receives transaction dispatcher module according to transaction sequence distribution by the transaction that obtains in block;
The transaction execution module and other transaction execution modules execute the transaction for respectively receiving and obtaining parallel, and generate transaction and hold
Row result;Wherein, the transaction implementing result be used for by the transaction dispatcher module acquire, and to each transaction implementing result into
Row collision detection, in order to which the transaction dispatcher module merges transaction implementing result and output merging according to collision detection result
Transaction implementing result afterwards.
10. a kind of parallel executive device of transaction, the transaction applied to decentralization application execute in management process, described device packet
Include transaction execution module, wherein the transaction execution module includes:
Receiving unit receives transaction dispatcher module according to transaction sequence distribution by the transaction that obtains in block;
Execution unit executes the transaction for respectively receiving and obtaining parallel with other transaction execution modules, and generates transaction implementing result;
Wherein, the transaction implementing result is used to be acquired by the transaction dispatcher module, and conflicts to each transaction implementing result
Detection, in order to which the transaction dispatcher module merges transaction implementing result according to collision detection result and exports the friendship after merging
Easy implementing result.
11. a kind of computer readable storage medium, the computer-readable recording medium storage one or more program, described one
A or multiple programs are when the electronic equipment for being included multiple application programs executes, so that the electronic equipment executes following behaviour
Make:
Transaction multiple in block are distributed to multiple transaction execution modules according to transaction sequence, in order to the multiple transaction execution
Obtained transaction is respectively distributed in modular concurrent execution, and generates transaction implementing result;
The corresponding each transaction implementing result generated of the multiple transaction execution module is acquired, and knot is executed to each transaction
Fruit carries out collision detection;
Merge transaction implementing result according to collision detection result, and exports the transaction implementing result after merging.
12. a kind of computer readable storage medium, the computer-readable recording medium storage one or more program, described one
A or multiple programs are when the electronic equipment for being included multiple application programs executes, so that the electronic equipment executes following behaviour
Make:
Transaction dispatcher module is received according to transaction sequence distribution by the transaction that obtains in block;
It executes the transaction for respectively receiving and obtaining parallel with other transaction execution modules, and generates transaction implementing result;Wherein, described
Implementing result of trading is used to be acquired by the transaction dispatcher module, and carries out collision detection to each transaction implementing result, so as to
Knot is executed in the transaction that the transaction dispatcher module merges according to collision detection result after transaction implementing result and output merging
Fruit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342611.9A CN109508337A (en) | 2018-11-12 | 2018-11-12 | A kind of transaction is parallel to execute method, apparatus, electronic equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811342611.9A CN109508337A (en) | 2018-11-12 | 2018-11-12 | A kind of transaction is parallel to execute method, apparatus, electronic equipment and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109508337A true CN109508337A (en) | 2019-03-22 |
Family
ID=65748084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811342611.9A Pending CN109508337A (en) | 2018-11-12 | 2018-11-12 | A kind of transaction is parallel to execute method, apparatus, electronic equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109508337A (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110070445A (en) * | 2019-04-28 | 2019-07-30 | 深圳前海微众银行股份有限公司 | A kind of transaction processing method and device based on block catenary system |
CN110135985A (en) * | 2019-04-04 | 2019-08-16 | 杭州抖音科技有限公司 | A kind of parallel execution method and system traded on block chain |
CN110321219A (en) * | 2019-05-06 | 2019-10-11 | 百度在线网络技术(北京)有限公司 | A kind of parallel execution method, apparatus, equipment and the medium of transactions requests |
CN110457353A (en) * | 2019-08-09 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Contract data process method, apparatus, computer readable storage medium and computer equipment |
CN110706101A (en) * | 2019-08-30 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN111221639A (en) * | 2020-01-09 | 2020-06-02 | 杭州趣链科技有限公司 | Block pipeline execution method of block chain platform |
CN112256476A (en) * | 2020-09-27 | 2021-01-22 | 陕西医链区块链集团有限公司 | Data operation method, device, equipment and medium based on block chain |
WO2021036260A1 (en) * | 2019-08-30 | 2021-03-04 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in blockchain |
CN112508573A (en) * | 2021-01-29 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Transaction data processing method and device and computer equipment |
CN112561695A (en) * | 2019-09-25 | 2021-03-26 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN112651738A (en) * | 2019-10-12 | 2021-04-13 | 富士通株式会社 | Information processing apparatus, information processing method, and computer program |
CN112669155A (en) * | 2020-12-31 | 2021-04-16 | 杭州趣链科技有限公司 | Transaction distribution execution method based on block chain, device server and storage medium |
CN113157451A (en) * | 2021-04-19 | 2021-07-23 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for performing blocks in a blockchain system |
WO2021164415A1 (en) * | 2020-02-18 | 2021-08-26 | 江苏复杂美科技有限公司 | Parallel transaction execution method and device, and storage medium |
CN113743950A (en) * | 2021-11-04 | 2021-12-03 | 支付宝(杭州)信息技术有限公司 | Method for performing transactions in a blockchain, blockchain node and blockchain |
CN114338455A (en) * | 2022-03-16 | 2022-04-12 | 北京微芯感知科技有限公司 | Multi-mechanism distributed collision detection system and method |
CN114328133A (en) * | 2022-03-16 | 2022-04-12 | 北京微芯感知科技有限公司 | Single-mechanism distributed conflict detection method and system and deposit separation framework |
CN114399309A (en) * | 2022-03-24 | 2022-04-26 | 北京微芯感知科技有限公司 | Block chain transaction redundancy scheduling method and system |
CN114493602A (en) * | 2022-04-08 | 2022-05-13 | 恒生电子股份有限公司 | Block chain transaction execution method and device, electronic equipment and storage medium |
CN114546884A (en) * | 2022-04-21 | 2022-05-27 | 北京微芯感知科技有限公司 | Block chain batch transaction conflict detection method and system |
CN114564412A (en) * | 2022-04-27 | 2022-05-31 | 北京微芯感知科技有限公司 | Method and system for deterministic transaction concurrent scheduling of block chains |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080120299A1 (en) * | 2006-11-17 | 2008-05-22 | Microsoft Corporation | Parallelizing sequential frameworks using transactions |
US20140115249A1 (en) * | 2012-10-24 | 2014-04-24 | International Business Machines Corporation | Parallel Execution Mechanism and Operating Method Thereof |
CN108537543A (en) * | 2018-03-30 | 2018-09-14 | 百度在线网络技术(北京)有限公司 | Method for parallel processing, device, equipment and the storage medium of block chain data |
CN108776897A (en) * | 2018-06-05 | 2018-11-09 | 腾讯科技(深圳)有限公司 | Data processing method, device, server and computer readable storage medium |
-
2018
- 2018-11-12 CN CN201811342611.9A patent/CN109508337A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080120299A1 (en) * | 2006-11-17 | 2008-05-22 | Microsoft Corporation | Parallelizing sequential frameworks using transactions |
US20140115249A1 (en) * | 2012-10-24 | 2014-04-24 | International Business Machines Corporation | Parallel Execution Mechanism and Operating Method Thereof |
CN108537543A (en) * | 2018-03-30 | 2018-09-14 | 百度在线网络技术(北京)有限公司 | Method for parallel processing, device, equipment and the storage medium of block chain data |
CN108776897A (en) * | 2018-06-05 | 2018-11-09 | 腾讯科技(深圳)有限公司 | Data processing method, device, server and computer readable storage medium |
Non-Patent Citations (1)
Title |
---|
丁艺明: "区块链解决弱并发问题和数据建模的支持 南京政务网电子证照共享平台", 《区块链神吐槽 HTTP://WWW.TUCAOD.COM/1920.HTML》 * |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135985A (en) * | 2019-04-04 | 2019-08-16 | 杭州抖音科技有限公司 | A kind of parallel execution method and system traded on block chain |
CN110135985B (en) * | 2019-04-04 | 2021-07-27 | 杭州抖音科技有限公司 | Parallel execution method and system for transactions on block chain |
CN110070445B (en) * | 2019-04-28 | 2024-03-01 | 深圳前海微众银行股份有限公司 | Transaction processing method and device based on blockchain system |
WO2020220860A1 (en) * | 2019-04-28 | 2020-11-05 | 深圳前海微众银行股份有限公司 | Blockchain system-based transaction processing method and apparatus |
CN110070445A (en) * | 2019-04-28 | 2019-07-30 | 深圳前海微众银行股份有限公司 | A kind of transaction processing method and device based on block catenary system |
CN110321219A (en) * | 2019-05-06 | 2019-10-11 | 百度在线网络技术(北京)有限公司 | A kind of parallel execution method, apparatus, equipment and the medium of transactions requests |
CN110569264B (en) * | 2019-08-09 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Contract data processing method and device, computer readable storage medium and computer equipment |
CN110457353A (en) * | 2019-08-09 | 2019-11-15 | 腾讯科技(深圳)有限公司 | Contract data process method, apparatus, computer readable storage medium and computer equipment |
CN110569264A (en) * | 2019-08-09 | 2019-12-13 | 腾讯科技(深圳)有限公司 | Contract data processing method and device, computer readable storage medium and computer equipment |
CN110706101B (en) * | 2019-08-30 | 2021-06-29 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
WO2021036260A1 (en) * | 2019-08-30 | 2021-03-04 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in blockchain |
CN110706101A (en) * | 2019-08-30 | 2020-01-17 | 阿里巴巴集团控股有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
TWI730690B (en) * | 2019-08-30 | 2021-06-11 | 開曼群島商創新先進技術有限公司 | Method and device for simultaneously executing transactions in block chain, computer readable storage medium and computing equipment |
CN113570460A (en) * | 2019-08-30 | 2021-10-29 | 创新先进技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN112561695A (en) * | 2019-09-25 | 2021-03-26 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for concurrently executing transactions in a blockchain |
CN112651738A (en) * | 2019-10-12 | 2021-04-13 | 富士通株式会社 | Information processing apparatus, information processing method, and computer program |
CN111221639A (en) * | 2020-01-09 | 2020-06-02 | 杭州趣链科技有限公司 | Block pipeline execution method of block chain platform |
WO2021164415A1 (en) * | 2020-02-18 | 2021-08-26 | 江苏复杂美科技有限公司 | Parallel transaction execution method and device, and storage medium |
CN112256476B (en) * | 2020-09-27 | 2024-04-16 | 陕西医链区块链集团有限公司 | Data operation method, device, equipment and medium based on block chain |
CN112256476A (en) * | 2020-09-27 | 2021-01-22 | 陕西医链区块链集团有限公司 | Data operation method, device, equipment and medium based on block chain |
CN112669155B (en) * | 2020-12-31 | 2024-05-03 | 杭州趣链科技有限公司 | Block chain-based transaction distribution execution method, device server and storage medium |
WO2022143242A1 (en) * | 2020-12-31 | 2022-07-07 | 杭州趣链科技有限公司 | Blockchain-based transaction distribution executing method and apparatus, server, and storage medium |
CN112669155A (en) * | 2020-12-31 | 2021-04-16 | 杭州趣链科技有限公司 | Transaction distribution execution method based on block chain, device server and storage medium |
CN113034142A (en) * | 2021-01-29 | 2021-06-25 | 腾讯科技(深圳)有限公司 | Transaction data processing method and device and computer equipment |
CN112508573A (en) * | 2021-01-29 | 2021-03-16 | 腾讯科技(深圳)有限公司 | Transaction data processing method and device and computer equipment |
CN112508573B (en) * | 2021-01-29 | 2021-04-30 | 腾讯科技(深圳)有限公司 | Transaction data processing method and device and computer equipment |
CN113034142B (en) * | 2021-01-29 | 2022-08-02 | 腾讯科技(深圳)有限公司 | Transaction data processing method and device and computer equipment |
CN113157451A (en) * | 2021-04-19 | 2021-07-23 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for performing blocks in a blockchain system |
CN113157451B (en) * | 2021-04-19 | 2023-12-05 | 支付宝(杭州)信息技术有限公司 | Method and apparatus for executing blocks in a blockchain system |
CN113743950A (en) * | 2021-11-04 | 2021-12-03 | 支付宝(杭州)信息技术有限公司 | Method for performing transactions in a blockchain, blockchain node and blockchain |
CN113743950B (en) * | 2021-11-04 | 2022-08-09 | 支付宝(杭州)信息技术有限公司 | Method, node and blockchain system for performing transactions in blockchain system |
CN114338455A (en) * | 2022-03-16 | 2022-04-12 | 北京微芯感知科技有限公司 | Multi-mechanism distributed collision detection system and method |
CN114338455B (en) * | 2022-03-16 | 2022-06-17 | 北京微芯感知科技有限公司 | Multi-mechanism distributed collision detection system and method |
CN114328133A (en) * | 2022-03-16 | 2022-04-12 | 北京微芯感知科技有限公司 | Single-mechanism distributed conflict detection method and system and deposit separation framework |
CN114399309B (en) * | 2022-03-24 | 2022-07-05 | 北京微芯感知科技有限公司 | Block chain transaction redundancy scheduling method and system |
CN114399309A (en) * | 2022-03-24 | 2022-04-26 | 北京微芯感知科技有限公司 | Block chain transaction redundancy scheduling method and system |
CN114493602A (en) * | 2022-04-08 | 2022-05-13 | 恒生电子股份有限公司 | Block chain transaction execution method and device, electronic equipment and storage medium |
CN114546884A (en) * | 2022-04-21 | 2022-05-27 | 北京微芯感知科技有限公司 | Block chain batch transaction conflict detection method and system |
CN114564412A (en) * | 2022-04-27 | 2022-05-31 | 北京微芯感知科技有限公司 | Method and system for deterministic transaction concurrent scheduling of block chains |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508337A (en) | A kind of transaction is parallel to execute method, apparatus, electronic equipment and system | |
US8381230B2 (en) | Message passing with queues and channels | |
CN109766902A (en) | To the method, apparatus and equipment of the vehicle cluster in same region | |
WO2021103909A1 (en) | Risk prediction method and apparatus, risk prediction model training method and apparatus, and electronic device | |
CN109658238A (en) | Data processing method and device | |
Negrevergne et al. | Discovering closed frequent itemsets on multicore: Parallelizing computations and optimizing memory accesses | |
CN103150149B (en) | Process database is reformed the method and apparatus of data | |
CN109409889A (en) | A kind of block in block chain determines method, apparatus and electronic equipment | |
CN103647850B (en) | Data processing method, device and system of distributed version control system | |
CN110287038A (en) | Promote the method and system of the data-handling efficiency of Spark Streaming frame | |
CN110020859A (en) | A kind of block chain common recognition method, apparatus and electronic equipment executed parallel | |
CN108647075A (en) | Listview method for refreshing, device and the electronic equipment of five application page | |
CN106372008B (en) | A kind of data cache method and device | |
CN109166021A (en) | Bookkeeping methods, device and business finance integral system | |
US9264067B2 (en) | Re-aligning a compressed data array | |
CN110264332A (en) | The method, apparatus and electronic equipment that account is entered an item of expenditure in the accounts | |
CN104537003A (en) | Universal high-performance data writing method for Hbase database | |
WO2020155831A1 (en) | Data tag generation method and apparatus, model training method and apparatus, and event identification method and apparatus | |
Taiwo et al. | Comparative study of two divide and conquer sorting algorithms: quicksort and mergesort | |
CN109460406A (en) | A kind of data processing method and device | |
US8316333B2 (en) | Implementing timing pessimism reduction for parallel clock trees | |
CN105487953A (en) | Bus performance analysis method and apparatus | |
CN109614263A (en) | A kind of disaster tolerance data processing method, apparatus and system | |
CN111143079B (en) | Multi-read multi-write lock-free queue implementation method | |
US11461220B2 (en) | Techniques to identify improper information in call stacks |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200316 Address after: 310012 no.1001, 10 / F, block a, Huaxing Times Square, No.478, Wensan Road, Xihu District, Hangzhou City, Zhejiang Province Applicant after: Hangzhou Xita Technology Co.,Ltd. Address before: 310013 A 1301, Huaxing Times Square, 478 Wensanlu Road, Xihu District, Hangzhou, Zhejiang. Applicant before: CRYPTAPE Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190322 |
|
RJ01 | Rejection of invention patent application after publication |