CN107423124A - A kind of method for being used to carry out transaction data parallel processing - Google Patents

A kind of method for being used to carry out transaction data parallel processing Download PDF

Info

Publication number
CN107423124A
CN107423124A CN201710624624.4A CN201710624624A CN107423124A CN 107423124 A CN107423124 A CN 107423124A CN 201710624624 A CN201710624624 A CN 201710624624A CN 107423124 A CN107423124 A CN 107423124A
Authority
CN
China
Prior art keywords
thread
transaction data
task
transaction
input node
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
Application number
CN201710624624.4A
Other languages
Chinese (zh)
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.)
Chain Technology Co Ltd
Original Assignee
Chain Technology Co Ltd
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 Chain Technology Co Ltd filed Critical Chain Technology Co Ltd
Priority to CN201710624624.4A priority Critical patent/CN107423124A/en
Publication of CN107423124A publication Critical patent/CN107423124A/en
Pending legal-status Critical Current

Links

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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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
    • 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/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application is related to a kind of method for being used to carry out transaction data parallel processing, and methods described includes:Create for generating multiple first thread tasks with the corresponding number of multiple transaction addresses of quantity of the multiple input node, generation and the corresponding number of multiple transaction addresses of quantity of the multiple input node;Create multiple second thread tasks for handling the transaction data transmitted by multiple input nodes;Each second thread job enquiry in multiple second thread tasks transaction data associated with each transaction address, it is determined that at least one block related to the transaction data that each transaction address is associated, is parsed at least one block to determine the transaction data of each input node and the transaction data of each input node is maintained in database;The transaction data of each input node is uploaded to server;And each input node transaction data by checking after, in block chain at least one block carry out data renewal.

Description

A kind of method for being used to carry out transaction data parallel processing
Technical field
It is used to locate transaction data parallel the present invention relates to field of information processing, and more particularly, to one kind The method of reason.
Background technology
Block chain is the new of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, AES Application model.Block chain using common recognition mechanism as realized in block catenary system establish between different nodes trust, acquisition rights and interests Mathematical algorithm.Block chain is a kind of a kind of chain type for being sequentially in time combined into data block in a manner of being sequentially connected Data structure, and the distributed account book that can not be distorted He can not forge ensured in a manner of cryptography.Broadly, block chain skill Art is to verify with data storage using block linked data structure, algorithm is known together using distributed node to generate and update number According to, ensure using the mode of cryptography the safety of data transfer and access, utilize the intelligence being made up of automatized script code to close About come program and a kind of brand-new distributed basis framework of operation data with calculate normal form.
One of important application of block chain is bit coin (BitCoin).Bit coin is a kind of digital goods of point-to-point form Coin, wherein the transmission of point-to-point form means the payment system of a decentralization.Different from most of currency, bit coin is not By specific currency authority releases, it is according to special algorithm, and by largely calculating generation, bit coin economy uses whole point pair Numerous nodes are formed in spot net distributed data base confirms and recorded all trading activities, and setting using cryptography Count to ensure money flow links security.Point-to-point decentralization characteristic may insure to pass through in itself with algorithm A large amount of manufacture bit coin artificially manipulate value of money.Design based on cryptography can be such that bit coin is turned by real owner Move or pay.This also ensures that the anonymity of currency ownership and negotiation.Bit coin and other ideal moneys maximum Difference, it is that its total quantity is very limited, there is extremely strong scarcity.
At present, using block chain technology carry out payment system structure currency it is more and more, or even some monetary bases or Legal tender can also build payment system based on block chain technology.But in the prior art without for various currency types Mode is uniformly processed in currency.In addition, when the trading activity associated with various currency types generation simultaneously or in the short period of time When occurring together, prior art is merchandised while can not handling this Multiple Currencies.
The content of the invention
According to an aspect of the present invention, there is provided a kind of method for being used to carry out transaction data parallel processing, the side Method includes:
Indicating in response to timing task management device and based on the quantity of multiple input nodes, creating for generation and institute State multiple first thread tasks of the corresponding number of multiple transaction addresses of quantity of multiple input nodes;
The multiple first thread task is sent into thread pool to be handled, generation and the number of the multiple input node Corresponding number of multiple transaction addresses are measured, and corresponding number of multiple transaction addresses are stored in database;
Instruction in response to timing task management device and the quantity based on input node, are created for handling multiple inputs Multiple second thread tasks of transaction data transmitted by node, the multiple second thread task is sent to thread pool and carried out Processing;
The friendship associated with each transaction address of each second thread job enquiry in the multiple second thread task Easy data, it is determined that at least one block related to the transaction data that each transaction address is associated, at least one area Block is parsed to determine the transaction data of each input node and the transaction data of each input node is maintained at into data In storehouse;
The transaction data of each input node is uploaded to server;And
After the transaction data of each input node is verified and confirmed by block chain network, to the institute in block chain State at least one block and carry out data renewal.
Preferably, after corresponding number of multiple transaction addresses are stored in database, in response to timing The instruction of task manager, create the 3rd thread task of the quantity of the transaction address for inquiring about each input node and incite somebody to action The 3rd thread task is sent to thread pool and handled, when the 3rd thread task determines the transaction of specific input node When the quantity of address is less than threshold value, the transaction address of the specific input node of predetermined quantity is obtained from the database.
Preferably, wherein the transaction data of each input node is uploaded into server includes:Appoint in response to timing Be engaged in the instruction of manager, create the 4th thread task for the transaction data of each input node to be uploaded and The 4th thread task is sent into thread pool to be handled, the 4th thread task is by the friendship of each input node Easy data are uploaded to server.
Preferably, wherein each input node transaction data by checking after, to described in block chain extremely A few block, which carries out data renewal, to be included:In response to the instruction of timing task management device, create for being carried out to transaction data 5th thread task of checking and the 5th thread task is sent to thread pool handled, the 5th thread task To the transaction data of each input node involved trading volume verify, when the trading volume passes through checking, then root Data renewal is carried out at least one block in block chain according to the transaction data of each input node.
Preferably, in addition to, in response to the instruction of timing task management device, multiple outputs will be sent to for acquisition by creating In node the 6th thread task of the record information of the transaction data of each output node and by the 6th thread task send out It is sent to thread pool to be handled, the record information is preserved into the queue of the database and by the record information Every recording mark to be to be sent.
Preferably, in addition to, in response to the instruction of timing task management device, create for respectively sending out each transaction data Give multiple 7th thread tasks of corresponding output node and the multiple 7th thread task be sent into thread pool Transaction data is sent to corresponding output node by row processing, each in the multiple 7th thread task, and if is handed over Easy data are sent successfully, then are revised as having sent by the respective record in database.
Preferably, in addition to, in response to the instruction of timing task management device, the number of deals for confirming output node is created According to upload state the 8th thread task and the 8th thread task be sent to thread pool handled, when output saves When the transaction data of point is successfully written into the particular block of block chain, the upload state for determining transaction data is successfully.
Preferably, pending data are cached as queue also including the use of database table.
Preferably, the thread pool can carry out parallel processing to multiple thread tasks.
Preferably, wherein handling the transaction data of input node input using block chain, and processing export to The transaction data of the output node.
According to another aspect of the present invention, there is provided a kind of system for being used to carry out transaction data parallel processing, it is described System includes:
Creating unit, indicating and being used based on the quantity of multiple input nodes, establishment in response to timing task management device In generation and multiple first thread tasks of the corresponding number of multiple transaction addresses of quantity of the multiple input node;By institute State multiple first thread tasks and be sent to thread pool and handled, generation and the quantity corresponding number of the multiple input node Multiple transaction addresses, and corresponding number of multiple transaction addresses are stored in database;
Input block, the instruction in response to timing task management device and the quantity based on input node, are created for locating Multiple second thread tasks of the transaction data transmitted by multiple input nodes are managed, the multiple second thread task is sent to Thread pool is handled;
The friendship associated with each transaction address of each second thread job enquiry in the multiple second thread task Easy data, it is determined that at least one block related to the transaction data that each transaction address is associated, at least one area Block is parsed to determine the transaction data of each input node and the transaction data of each input node is maintained at into data In storehouse;
Interface unit, the transaction data of each input node is uploaded to server;And
Updating block, after the transaction data of each input node is verified and confirmed by block chain network, to area At least one block in block chain carries out data renewal.
Preferably, in addition to query unit, it is stored in by corresponding number of multiple transaction addresses in database Afterwards, in response to the instruction of timing task management device, the of the quantity of transaction address for inquiring about each input node is created Three thread tasks and the 3rd thread task be sent to thread pool handled, when the 3rd thread task determine it is special When determining the quantity of the transaction address of input node and being less than threshold value, the specific input of predetermined quantity is obtained from the database The transaction address of node.
Preferably, the transaction data of each input node is uploaded to server and included by wherein interface unit:Response In the instruction of timing task management device, the 4th thread for the transaction data of each input node to be uploaded is created Task and the 4th thread task is sent to thread pool handled, the 4th thread task is by each input The transaction data of node is uploaded to server.
Preferably, wherein updating block each input node transaction data by checking after, in block chain At least one block carry out data renewal and include:In response to the instruction of timing task management device, create for transaction The 5th thread task that data are verified and the 5th thread task is sent to thread pool handled, the described 5th Thread task to the transaction data of each input node involved trading volume verify, when the trading volume passes through checking When, then data renewal is carried out at least one block in block chain according to the transaction data of each input node.
Preferably, in addition to output unit, in response to the instruction of timing task management device, creating will be sent to for acquisition 6th thread task of the record information of the transaction data of each output node and by the 6th line in multiple output nodes Journey task is sent to thread pool and handled, and the record information is preserved into the queue of the database and by the note It is to be sent to record every recording mark in information.
Preferably, the output unit is created for respectively by each transaction in response to the instruction of timing task management device Data are sent to multiple 7th thread tasks of corresponding output node and the multiple 7th thread task are sent into line Transaction data is sent to corresponding output node by Cheng Chi processing, each in the multiple 7th thread task, and If transaction data is sent successfully, the respective record in database is revised as having sent.
Preferably, the output unit is created for confirming output node in response to the instruction of timing task management device 8th thread task of the upload state of transaction data and the 8th thread task is sent to thread pool handled, when When the transaction data of output node is successfully written into the particular block of block chain, determine transaction data upload state be into Work(.
Preferably, pending data are cached as queue also including the use of database table.
Preferably, the thread pool can carry out parallel processing to multiple thread tasks.
Preferably, wherein handling the transaction data of input node input using block chain, and processing export to The transaction data of the output node.
Brief description of the drawings
By the description to the embodiment of the present invention referring to the drawings, above-mentioned and other purpose of the invention, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 shows the stream according to the preferred embodiment of the present invention for being used to carry out transaction data the method for parallel processing Cheng Tu;
Fig. 2 shows the knot according to the preferred embodiment of the present invention for being used to carry out transaction data the system of parallel processing Structure schematic diagram;
Fig. 3 shows the structural representation of wallet factory according to the preferred embodiment of the present invention;And
Fig. 4 shows the flow chart for the method that wallet factory according to the preferred embodiment of the present invention is traded.
Embodiment
Below based on embodiment, present invention is described, but the present invention is not restricted to these embodiments.Under It is detailed to describe some specific detail sections in the literary detailed description to the present invention.Do not have for a person skilled in the art The description of these detail sections can also understand the present invention completely.In order to avoid obscuring the essence of the present invention, known method, mistake The not narration in detail of journey, flow, element and circuit.
In addition, it should be understood by one skilled in the art that provided herein accompanying drawing be provided to explanation purpose, and What accompanying drawing was not necessarily drawn to scale.
Unless the context clearly requires otherwise, otherwise entire disclosure is similar with the " comprising " in claims, "comprising" etc. Word should be construed to the implication included rather than exclusive or exhaustive implication;That is, it is containing for " including but is not limited to " Justice.
In the description of the invention, it is to be understood that term " first ", " second " etc. are only used for describing purpose, without It is understood that to indicate or implying relative importance.In addition, in the description of the invention, unless otherwise indicated, the implication of " multiple " It is two or more.
Fig. 1 shows the method 100 according to the preferred embodiment of the present invention for being used to carry out transaction data parallel processing Flow chart.Method 100 can be regularly based on multiple input nodes quantity, create for generate with it is the multiple input save Multiple thread tasks of the corresponding number of multiple transaction addresses of quantity of point, and the multiple thread is appointed based on thread pool Business is handled, generation and the corresponding number of multiple transaction addresses of quantity of multiple input nodes.Method 100 can be regularly Based on the quantity of input node come create for handle the transaction data transmitted by multiple input nodes multiple thread tasks simultaneously And the multiple thread task is handled based on thread pool, to inquire about the transaction data associated with each transaction address, It is determined that at least one block related to the transaction data that each transaction address is associated, is solved at least one block Analyse to determine the transaction data of each input node and the transaction data of each input node is maintained in database.Most Afterwards, the transaction data of each input node is uploaded to server and in the friendship of each input node by method 100 After easy data are by checking, data renewal is carried out at least one block in block chain.
As shown in figure 1, method 100 is since step 101 place.In step 101, in response to the instruction of timing task management device And based on the quantity of multiple input nodes, create corresponding number of more with the quantity of the multiple input node for generating Multiple first thread tasks of individual transaction address.The application can provide Transaction Information service for each currency type, for this reason, it may be necessary to root The thread task that it is serviced is created as according to the quantity of currency type.Wherein, input node is, for example, to be filled for specific currency type Coin wallet cluster is filled in coin service.Generally, the application creates for generating and the multiple input at predetermined intervals Multiple first thread tasks of the corresponding number of multiple transaction addresses of quantity of node.Therefore, utilize timing task management device To trigger the process for generating multiple first thread tasks.For example, timing task management device initiated triggering life every 5 minutes Order, the application are used to generating the thread tasks of wallet address based on trigger command generation is multiple, and by the multiple use Thread task in generation wallet address is submitted to thread pool and handled.Wherein, multiple threads for being used to generate wallet address The quantity of task is less than or equal to the quantity for filling coin wallet cluster.Because the quantity for filling coin wallet cluster corresponds to currency type Quantity, i.e., it can generate a thread task for being used to generate wallet address for each in each currency type.
In step 102, the multiple first thread task is sent to thread pool and handled, generation with it is the multiple defeated The corresponding number of multiple transaction addresses of quantity of ingress, and corresponding number of multiple transaction addresses are stored in In database.In order to carry out filling coin transaction, the application generates the corresponding multiple transaction addresses of currency type quantity.It is wherein every Any one currency type that individual transaction address corresponds in multiple currency types.In addition, in generation and the quantity of the multiple input node Corresponding number of multiple transaction addresses are stored in database by corresponding number of multiple transaction addresses, the application, To allow subsequent thread to use.Preferably, the application timing, which is submitted, obtains block chain address task to thread pool, and line Cheng Chi is cached to database from different filling after coin wallet obtains block chain address.The quantity of its thread pool is less than or equal to fill coin The quantity of wallet.
Preferably, after corresponding number of multiple transaction addresses are stored in database, in response to timing The instruction of task manager, create the 3rd thread task of the quantity of the transaction address for inquiring about each input node and incite somebody to action The 3rd thread task is sent to thread pool and handled, when the 3rd thread task determines the transaction of specific input node When the quantity of address is less than threshold value, the transaction address of the specific input node of predetermined quantity is obtained from the database. Timing task management device initiated trigger command every 1 minute, and the application is generated based on the trigger command to fill for inquiring about currency type The whether sufficient thread task in coin address.This thread task is committed into thread pool to be handled.In thread pool, this line Journey task obtains result instruction address shortage, then the transaction address cached from database obtains certain amount address and returned To for the thread task using transaction address.
In step 103, the instruction in response to timing task management device and the quantity based on input node, create for locating Multiple second thread tasks of the transaction data transmitted by multiple input nodes are managed, the multiple second thread task is sent to Thread pool is handled.For example, transaction parsing thread task is submitted in the application timing:Each thread task reads different Block information, Transaction Information in block is parsed, judge whether it is to fill coin record according to the address of both parties, if it is, just It is resolved in database, and it is " to be uploaded " to change database positioning, untill being resolved to newest block successively.
Each second thread job enquiry and each transaction address in step 104, the multiple second thread task Associated transaction data, it is determined that at least one block related to the transaction data that each transaction address is associated, to described At least one block is parsed to determine the transaction data of each input node and by the transaction data of each input node It is maintained in database.Timing task management device initiates trigger command at intervals of two minutes, and the application is generated based on the trigger command It is multiple fill the thread task of coin wallet for searching platform and be committed to thread pool handled.If new block, and And comprising coin record is filled, then parse and store in database.The application is resolved to newest block locations in single-wheel parsing, And save as state to be uploaded fills coin record.Preferably, the number of multiple thread tasks that coin wallet is filled for searching platform Amount is equal to the quantity for filling coin wallet cluster.Assuming that there are 10 to fill coin wallet, then just submit 10 fill coin record parsing thread to Thread pool, parsed successively according to block height, if comprising coin record is filled in block, just renewal is into database, this processing Untill task is resolved to newest block.
In step 105, the transaction data of each input node is uploaded to server.Preferably, wherein by described in The transaction data of each input node, which is uploaded to server, to be included:In response to the instruction of timing task management device, create for inciting somebody to action The 4th thread task that the transaction data of each input node is uploaded and the 4th thread task is sent to Thread pool is handled, and the transaction data of each input node is uploaded to server by the 4th thread task.Regularly Task manager initiated trigger command every 30 seconds, and the application generates the line that coin data are filled for uploading based on the trigger command Journey task and it is committed to thread pool and is handled.Uploaded successfully if received, change data are state to be confirmed.This Shen Please regularly submitting the filling coin record upload of the task, it is " to be confirmed " that storehouse state is updated the data after uploading successfully to thread pool.
In step 106, after the transaction data of each input node is verified and confirmed by block chain network, to area At least one block in block chain carries out data renewal.Wherein pass through checking in the transaction data of each input node Afterwards, carrying out data renewal at least one block in block chain includes:In response to the instruction of timing task management device, wound Build the 5th thread task for being verified to transaction data and the 5th thread task is sent to thread pool and carry out Processing, the 5th thread task to the transaction data of each input node involved trading volume verify, when described When trading volume passes through checking, then at least one block in block chain is carried out according to the transaction data of each input node Data update.Timing task management device initiated trigger command every 30 seconds, and the application is generated based on the trigger command to be used for Upload the thread task for confirming to fill coin data and be committed to thread pool and handled.By inquiring about the confirmation number currently merchandised Measure, in confirmation data to data storehouse is then updated in the case of confirmation transaction being present and upload.Successfully refer to if receiving and uploading Show, then it is success status to change data mode.The application timing submits the filling coin confirmation upload of the task to be born to thread pool, thread pool Blame parsing block chain and confirm quantity, the coin that fills for meeting confirmation quantity (such as 6 confirmations) is recorded into upload server, and more new state For " success ".
Preferably, in addition to, in response to the instruction of timing task management device, multiple outputs will be sent to for acquisition by creating In node the 6th thread task of the record information of the transaction data of each output node and by the 6th thread task send out It is sent to thread pool to be handled, the record information is preserved into the queue of the database and by the record information Every recording mark to be to be sent.
Preferably, in addition to, in response to the instruction of timing task management device, create for respectively sending out each transaction data Give multiple 7th thread tasks of corresponding output node and the multiple 7th thread task be sent into thread pool Transaction data is sent to corresponding output node by row processing, each in the multiple 7th thread task, and if is handed over Easy data are sent successfully, then are revised as having sent by the respective record in database.Timing task management device was sent out every 30 seconds Trigger command is played, the application is generated based on the trigger command to be put forward the thread task of coin record for downloading and be committed to thread Pond is handled.The coin record data that carries of download is preserved into queue database and state is arranged into be sent.The application determines When submit the obtaining record of withdrawing deposit of the task to arrive thread pool, thread pool gets to withdraw deposit and records and register into database, and state is " to treat Send ".
Preferably, in addition to, in response to the instruction of timing task management device, the number of deals for confirming output node is created According to upload state the 8th thread task and the 8th thread task be sent to thread pool handled, when output saves When the transaction data of point is successfully written into the particular block of block chain, the upload state for determining transaction data is successfully.Regularly Task manager initiated trigger command every 10 seconds, and it is multiple for carrying coin from platform that the application is based on trigger command generation Wallet sends the thread task of coin and is committed to thread pool processing.Order is sent by calling wallet interface to perform, and is solved Analyse result.The result renewal obtained will be parsed into database.If sent successfully, change data mode is to have sent shape State.The quantity for being wherein used to put forward the thread task that coin wallet sends coin from platform is less than or equal to put forward coin wallet number of clusters.This Shen Please regularly submitting coin task, different tasks is carried out proposing coin operation thread pool or batch proposes coin operation, success to thread pool More new state is to have sent afterwards.
Preferably, pending data are cached as queue also including the use of database table.The thread pool energy It is enough that parallel processing is carried out to multiple thread tasks.The transaction data of the input node input is handled using block chain, and Transaction data of the processing output to the output node.Timing task management device initiated trigger command, the application every 20 seconds Generated based on the trigger command for uploading the thread task for confirming to put forward coin data and being committed to thread pool processing.If connect Upload success response is received, then it is success status to change data.The application timing carries coin and confirms the task of upload to thread Pond, thread pool are responsible for parsing block chain confirmation quantity, and the coin that carries for meeting confirmation quantity (such as 6 confirmations) is recorded into upload service Device, and more new state is " success ".
Fig. 2 shows the system 200 according to the preferred embodiment of the present invention for being used to carry out transaction data parallel processing Structural representation.System 200 can be regularly based on multiple input nodes quantity, create for generate with it is the multiple defeated Multiple thread tasks of the corresponding number of multiple transaction addresses of quantity of ingress, and based on thread pool to the multiple line Journey task is handled, generation and the corresponding number of multiple transaction addresses of quantity of multiple input nodes.System 200 can determine Appointed based on the quantity of input node come the multiple threads created for handling the transaction data transmitted by multiple input nodes to phase It is engaged in and the multiple thread task is handled based on thread pool, inquires about the number of deals associated with each transaction address According to it is determined that at least one block related to the transaction data that each transaction address is associated, enters at least one block Row is parsed to determine the transaction data of each input node and the transaction data of each input node is maintained in database. Finally, the transaction data of each input node is uploaded to server and in each input node by system 200 After transaction data is by checking, data renewal is carried out at least one block in block chain.
As shown in Fig. 2 system 200 includes:Creating unit 201, input block 202, interface unit 203, updating block 204th, query unit 205 and output unit 206.Preferably, creating unit 201 in response to timing task management device instruction simultaneously And based on the quantity of multiple input nodes, create corresponding number of multiple with the quantity of the multiple input node for generating Multiple first thread tasks of transaction address.The application can provide Transaction Information service for each currency type, for this reason, it may be necessary to according to The quantity of currency type is created as the thread task that it is serviced.Wherein, input node is, for example, to carry out filling coin for specific currency type Coin wallet cluster is filled in service.Generally, the application creates at predetermined intervals saves for generating with the multiple input Multiple first thread tasks of the corresponding number of multiple transaction addresses of quantity of point.Therefore, using timing task management device come Trigger the process for generating multiple first thread tasks.For example, timing task management device initiated trigger command every 5 minutes, The application is used to give birth to based on the multiple thread tasks for being used to generate wallet address of trigger command generation, and by the multiple Thread task into wallet address is submitted to thread pool and handled.Wherein, multiple thread tasks for being used to generate wallet address Quantity be less than or equal to fill the quantity of coin wallet cluster.Because the quantity for filling coin wallet cluster corresponds to the quantity of currency type, Each being directed in each currency type can generate a thread task for being used to generate wallet address.
The multiple first thread task is sent to thread pool and handled by creating unit 201, generation with it is the multiple The corresponding number of multiple transaction addresses of quantity of input node, and corresponding number of multiple transaction addresses are preserved In database.In order to carry out filling coin transaction, the application generates the corresponding multiple transaction addresses of currency type quantity.Wherein Any one currency type that each transaction address corresponds in multiple currency types.In addition, in generation and the number of the multiple input node Corresponding number of multiple transaction addresses are measured, corresponding number of multiple transaction addresses are stored in database by the application In, to allow subsequent thread to use.Preferably, the application timing, which is submitted, obtains block chain address task to thread pool, and And thread pool is cached to database from different filling after coin wallet obtains block chain address.The quantity of its thread pool is less than or equal to Fill the quantity of coin wallet.
Preferably, after corresponding number of multiple transaction addresses are stored in database, query unit 205 In response to the instruction of timing task management device, the 3rd thread of the quantity of transaction address for inquiring about each input node is created Task and the 3rd thread task is sent to thread pool handled, when the 3rd thread task determines specific input When the quantity of the transaction address of node is less than threshold value, the specific input node of predetermined quantity is obtained from the database Transaction address.Timing task management device initiated trigger command every 1 minute, and the application is generated for looking into based on the trigger command Ask currency type and fill the whether sufficient thread task in coin address.This thread task is committed into thread pool to be handled.In thread pool In, this thread task obtains result instruction address shortage, then the transaction address cached from database is with obtaining certain amount Location and return to for using transaction address thread task.
Input block 202, the instruction in response to timing task management device and the quantity based on input node, create and are used for Multiple second thread tasks of the transaction data transmitted by multiple input nodes are handled, the multiple second thread task is sent Handled to thread pool.For example, transaction parsing thread task is submitted in the application timing:Each thread task reads different Block information, parse Transaction Information in block, according to the address of both parties judge whether be fill coin record, if it is, Just it is resolved in database, and it is " to be uploaded " to change database positioning, untill being resolved to newest block successively.
The friendship associated with each transaction address of each second thread job enquiry in the multiple second thread task Easy data, it is determined that at least one block related to the transaction data that each transaction address is associated, at least one area Block is parsed to determine the transaction data of each input node and the transaction data of each input node is maintained at into data In storehouse.Timing task management device initiates trigger command at intervals of two minutes, and it is multiple for looking into that the application is based on trigger command generation Inquiry platform, which fills the thread task of coin wallet and is committed to thread pool, to be handled.If new block, and comprising filling coin Record, then parse and store in database.The application is resolved to newest block locations in single-wheel parsing, and saves as State to be uploaded fills coin record.Preferably, the quantity of multiple thread tasks that coin wallet is filled for searching platform, which is equal to, fills coin The quantity of wallet cluster.Assuming that there are 10 to fill coin wallet, then just submit 10 to fill coin record parsing thread to thread pool, according to Block height is parsed successively, if comprising coin record is filled in block, just into database, this processing task is resolved to most for renewal Untill new block.
The transaction data of each input node is uploaded to server by interface unit 203.Preferably, wherein by described in The transaction data of each input node, which is uploaded to server, to be included:In response to the instruction of timing task management device, create for inciting somebody to action The 4th thread task that the transaction data of each input node is uploaded and the 4th thread task is sent to Thread pool is handled, and the transaction data of each input node is uploaded to server by the 4th thread task.Regularly Task manager initiated trigger command every 30 seconds, and the application generates the line that coin data are filled for uploading based on the trigger command Journey task and it is committed to thread pool and is handled.Uploaded successfully if received, change data are state to be confirmed.This Shen Please regularly submitting the filling coin record upload of the task, it is " to be confirmed " that storehouse state is updated the data after uploading successfully to thread pool.
Updating block 204 is right after the transaction data of each input node is verified and confirmed by block chain network At least one block in block chain carries out data renewal.Wherein each input node transaction data by testing After card, carrying out data renewal at least one block in block chain includes:In response to the instruction of timing task management device, Create the 5th thread task for verifying transaction data and the 5th thread task be sent into thread pool Row processing, the 5th thread task to the transaction data of each input node involved trading volume verify, work as institute When stating trading volume and passing through checking, then at least one block in block chain is entered according to the transaction data of each input node Row data update.Timing task management device initiated trigger command every 30 seconds, and the application is based on trigger command generation and used Handled in uploading the thread task for confirming to fill coin data and being committed to thread pool.By inquiring about the confirmation number currently merchandised Measure, in confirmation data to data storehouse is then updated in the case of confirmation transaction being present and upload.Successfully refer to if receiving and uploading Show, then it is success status to change data mode.The application timing submits the filling coin confirmation upload of the task to be born to thread pool, thread pool Blame parsing block chain and confirm quantity, the coin that fills for meeting confirmation quantity (such as 6 confirmations) is recorded into upload server, and more new state For " success ".
Preferably, output unit 206 is in response to the instruction of timing task management device, create to be sent to for acquisition it is multiple In output node the 6th thread task of the record information of the transaction data of each output node and by the 6th thread appoint Business is sent to thread pool and handled, and the record information is preserved into the queue of the database and believes the record Every recording mark in breath is to be sent.
Preferably, output unit 206 is created for respectively by each number of deals in response to the instruction of timing task management device According to the multiple 7th thread tasks for being sent to corresponding output node and the multiple 7th thread task is sent to thread Pond is handled, and transaction data is sent to corresponding output node, Yi Jiru by each in the multiple 7th thread task Fruit transaction data is sent successfully, then is revised as having sent by the respective record in database.Timing task management device was every 30 seconds Clock initiates trigger command, and the application is generated based on the trigger command to be put forward the thread task of coin record for downloading and be committed to Thread pool processing.The coin record data that carries of download is preserved into queue database and state is arranged into be sent.This Shen Please regularly submit acquisition withdraw deposit record task to thread pool, thread pool gets to withdraw deposit and records and register into database, state For " to be sent ".
Preferably, output unit 206 creates the friendship for confirming output node in response to the instruction of timing task management device 8th thread task of the upload state of easy data and the 8th thread task is sent to thread pool handled, when defeated When the transaction data of egress is successfully written into the particular block of block chain, the upload state for determining transaction data is successfully. Timing task management device initiated trigger command every 10 seconds, and the application is based on the trigger command and generates multiple be used for from platform Coin wallet is carried to send the thread task of coin and be committed to thread pool processing.Order is sent by calling wallet interface to perform, and And analysis result.The result renewal obtained will be parsed into database.If sent successfully, change data mode is to have sent State.The quantity for being wherein used to put forward the thread task that coin wallet sends coin from platform is less than or equal to put forward coin wallet number of clusters.This Application timing puies forward coin task and different tasks is carried out proposing coin operation or proposes coin operation in batches to thread pool, thread pool, into More new state is to have sent after work(.
Preferably, pending data are cached as queue also including the use of database table.The thread pool energy It is enough that parallel processing is carried out to multiple thread tasks.The transaction data of the input node input is handled using block chain, and Transaction data of the processing output to the output node.Timing task management device initiated trigger command, the application every 20 seconds Generated based on the trigger command for uploading the thread task for confirming to put forward coin data and being committed to thread pool processing.If connect Upload success response is received, then it is success status to change data.The application timing carries coin and confirms the task of upload to thread Pond, thread pool are responsible for parsing block chain confirmation quantity, and the coin that carries for meeting confirmation quantity (such as 6 confirmations) is recorded into upload service Device, and more new state is " success ".
Fig. 3 shows the structural representation of wallet factory 300 according to the preferred embodiment of the present invention.The wallet of the application Factory 300 caches pending data using database table as queue, and fills coin using multiple threads, carries coin, number According to the task such as upload and generation address.In addition, wallet factory 300 optimizes the processing of multithreading by using thread pool and made Task scheduling center is used as by the use of Java timed tasks QUARTZ.Wallet factory 300 is to filling coin wallet cluster (can add and disable) It is managed with coin wallet cluster (can add and disable) is carried, and carries out filling the acquisition of coin address on cluster, fills coin business Flow operations operate with coin operation flow operation etc. is proposed.
Inquiry request in response to filling coin wallet cluster 303, wallet factory 300 fill the acquisition of coin address.Wherein, fill The line that coin thread task 305 is used to generate wallet address every generation in 5 minutes multiple (being less than or equal to fill coin wallet number of clusters) Journey task and it is submitted to thread pool 302 and is handled.So as to generate address corresponding to currency type, and by address caching to data In storehouse.Fill the generation one of every 1 minute of coin thread task 305 be used to inquiring about currency type fill the whether sufficient thread task in coin address and Thread pool 302 is committed to be handled.If address shortage, the address cached from database is extracted a number ofly Location.
Asked in response to the coin that fills for filling coin wallet cluster 303, wallet factory 300 carries out filling coin operation flow.Fill coin thread The thread task for being used for searching platform and filling coin wallet of task generation in 305 every 2 minutes multiple (are equal to and fill coin wallet number of clusters) And it is committed to thread pool 302 to be handled.If new block and this new block include and fill coin record, then parse Into database.Generally, in one parsing, the application is parsed untill newest block.Then, state to be uploaded is saved as Fill coin record.Fill the generation one of every 30 seconds of coin thread task 305 be used for upload fill coin data (multiple) thread task and Thread pool 302 is committed to be handled.Successful confirmation message is uploaded if received, change data are state to be confirmed. The generation in every 30 seconds of coin thread task 305 one is filled to fill the thread task of coin data (multiple) for uploading confirmation and be committed to Thread pool 302 is handled.The confirmation quantity of the transaction is inquired about, having confirmation, then renewal confirms data to data storehouse, and uploads. Uploaded successfully if received, change data mode is success status.
Asked in response to the coin that carries for carrying coin wallet cluster 304, the parsing of wallet factory 300 puies forward coin operation flow.Carry coin thread Task generation in 306 every 30 seconds one is used for download and puies forward the thread task of coin record (multiple) and be committed at thread pool 302 Reason.The data of download preserve into queue database and state are arranged into be sent.Fill coin thread task 305 every 10 seconds Multiple (being less than or equal to put forward coin wallet number of clusters) are generated for putting forward the thread task of coin wallet transmission coin from platform and submitting Handled to thread pool 302.Call wallet interface to perform and send order, analysis result, update in database.If send into Work(, then data mode is changed to have sent state.Fill the generation in every 20 seconds of coin thread task 305 one and carry coin for uploading confirmation The thread task of data (multiple) and it is committed to thread pool 302 and handles.If receive upload successfully, change data be into Work(state.
Block chain digital asset platform 301 each input node transaction data by checking after, to block chain In at least one block carry out data renewal.To ensure to propose the quick execution of coin order, each address for sending coin exists After sending 1000 times, address is automatically updated to new address.The time for avoiding remaining sum from calculating.
Fig. 4 shows the flow chart for the method 400 that wallet factory according to the preferred embodiment of the present invention is traded.Side Method 400 caches pending data using database table as queue, and fills coin using multiple threads, puies forward coin, data Upload and generate the tasks such as address.In addition, method 400 optimizes the processing of multithreading by using thread pool and uses Java Timed task QUARTZ is as task scheduling center.Method 400 is to filling coin wallet cluster (can add and disable) and carrying coin wallet Cluster (can add and disable) is managed, and carry out on cluster filling the acquisition of coin address, fill the operation of coin operation flow and Propose the operations such as coin operation flow operation.
As shown in figure 4, method 400 is since step 401 place., please in response to the inquiry for filling coin wallet cluster in step 402 Ask, method 400 fill the acquisition of coin address.Wherein, fill coin thread task every 5 minutes generation it is multiple (be less than or equal to fill coin Wallet number of clusters) it is used to generate the thread task of wallet address and be submitted to thread pool to be handled.So as to generate currency type Corresponding address, and by address caching into database.
In step 403, fill coin thread task generation in every 1 minute one be used to inquiring about currency type fill coin address whether sufficient line Journey task and it is committed to thread pool and is handled.If address shortage, a fixed number is extracted in the address cached from database The address of amount.
In step 404, asked in response to the coin that fills for filling coin wallet cluster, method 400 carries out filling coin operation flow.Fill coin line Journey task generation in every 2 minutes multiple (are equal to and fill coin wallet number of clusters) fills the thread task of coin wallet simultaneously for searching platform And it is committed to thread pool and is handled.If new block and this new block include and fill coin record, then number is resolved to According in storehouse.Generally, in one parsing, the application is parsed untill newest block.Then, save as state to be uploaded fills coin Record.
In step 405, fill coin thread task generation in every 30 seconds one and be used for the thread times that coin data (multiple) are filled in upload It is engaged in and is committed to thread pool being handled.Successful confirmation message is uploaded if received, change data are shape to be confirmed State.
One thread for filling coin data (multiple) for uploading confirmation of coin thread task generation in every 30 seconds is filled in step 406 Task and it is committed to thread pool and is handled.The confirmation quantity of the transaction is inquired about, having confirmation, then renewal confirms data to number According to storehouse, and upload.Uploaded successfully if received, change data mode is success status.
Asked in response to the coin that carries for carrying coin wallet cluster, the parsing of method 400 puies forward coin operation flow.In step 407, coin line is carried Journey task generation in every 30 seconds one is used for download and puies forward the thread task of coin record (multiple) and be committed to thread pool processing.Under The data of load preserve into queue database and state are arranged into be sent.
In step 408, fill coin thread task generation in every 10 seconds multiple (being less than or equal to put forward coin wallet number of clusters) and be used for The thread task of coin wallet transmission coin is put forward from platform and is committed to thread pool processing.Call wallet interface to perform and send order, Analysis result, update in database.If sent successfully, change data mode is to have sent state.
In step 409, fill coin thread task generation in every 20 seconds one and be used to upload the line that confirmation carries coin data (multiple) Journey task and be committed to thread pool processing.Uploaded successfully if received, change data are success status.
Method 400 each input node transaction data by checking after, to described in block chain at least one Individual block carries out data renewal.To ensure to propose the quick execution of coin order, each address for sending coin is after sending 1000 times, certainly Dynamic renewal address to new address.The time for avoiding remaining sum from calculating.
Detailed description above has elaborated equipment and/or method by using block diagram, flow chart and/or example Numerous embodiments.In the case where this block diagram, flow chart and/or example include one or more functions and/or operation, It will be understood by those skilled in the art that each function and/or operation in this block diagram, flow chart or example can be by various Hardware, software, firmware or they substantial any combination to realize individually and/or jointly.In one embodiment, it is of the invention If the stem portion of the theme can pass through application specific integrated circuit (ASIC), field programmable gate array (FPGA), data signal Processor (DSP) or other integrated forms are realized.However, those skilled in the art will appreciate that implementation disclosed herein The some aspects of example can be realized equally in integrated circuits on the whole or partly, be embodied as calculating at one or more The one or more computer programs run on machine are (for example, be embodied as one run in one or more computer system Or multiple programs), the one or more programs for being embodied as running on the one or more processors are (for example, be embodied as at one Or the one or more programs run on multi-microprocessor), it is embodied as firmware, or be substantially embodied as appointing for aforesaid way Meaning combination, and those skilled in the art will be provided with designing circuit and/or write software and/or firmware code according to the present invention Ability.In addition, it would be recognized by those skilled in the art that the mechanism of the present invention can be carried out as the program product of diversified forms Distribution, and show regardless of the actual particular type for being used for performing the signal bearing medium of distribution, theme of the present invention Example property embodiment is applicable.The example of signal bearing medium includes but is not limited to:Recordable-type media, such as floppy disk, hard drive Device, compact-disc (CD), digital video disc (DVD), digital magnetic tape, computer storage etc.;And transmission type media, such as numeral And/or analogue communication medium (for example, optical fiber cable, waveguide, wired communications links and/or channel, wireless communication link and/or Channel etc.).
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.All any modifications made within spirit and principles of the present invention, it is equal Replace, improve etc., it should be included in the scope of the protection.

Claims (10)

1. a kind of method for being used to carry out transaction data parallel processing, methods described include:
Instruction in response to timing task management device and based on the quantity of multiple input nodes, create for generate with it is described more Multiple first thread tasks of the corresponding number of multiple transaction addresses of quantity of individual input node;
The multiple first thread task is sent into thread pool to be handled, generates the quantity phase with the multiple input node Multiple transaction addresses of respective amount, and corresponding number of multiple transaction addresses are stored in database;
Instruction in response to timing task management device and the quantity based on input node, are created for handling multiple input nodes Multiple second thread tasks of transmitted transaction data, the multiple second thread task is sent at thread pool Reason;
Each second thread job enquiry in the multiple second thread task number of deals associated with each transaction address According to it is determined that at least one block related to the transaction data that each transaction address is associated, enters at least one block Row is parsed to determine the transaction data of each input node and the transaction data of each input node is maintained in database;
The transaction data of each input node is uploaded to server;And
After the transaction data of each input node is verified and confirmed by block chain network, to described in block chain extremely A few block carries out data renewal.
2. according to the method for claim 1, it is stored in by corresponding number of multiple transaction addresses in database Afterwards, in response to the instruction of timing task management device, the of the quantity of transaction address for inquiring about each input node is created Three thread tasks and the 3rd thread task be sent to thread pool handled, when the 3rd thread task determine it is special When determining the quantity of the transaction address of input node and being less than threshold value, the specific input of predetermined quantity is obtained from the database The transaction address of node.
3. according to the method for claim 1, wherein the transaction data of each input node is uploaded into server bag Include:In response to the instruction of timing task management device, create for the transaction data of each input node to be uploaded 4th thread task and the 4th thread task be sent to thread pool handled, the 4th thread task will described in The transaction data of each input node is uploaded to server.
4. according to the method for claim 1, wherein each input node transaction data by checking after, to area At least one block in block chain, which carries out data renewal, to be included:In response to the instruction of timing task management device, create and be used for The 5th thread task verified to transaction data and the 5th thread task is sent to thread pool handled, institute State the 5th thread task to the transaction data of each input node involved trading volume verify, when the trading volume is led to When crossing checking, then data are carried out more at least one block in block chain according to the transaction data of each input node Newly.
5. according to the method for claim 1, in addition to, in response to the instruction of timing task management device, create for obtaining It is sent in multiple output nodes the 6th thread task of the record information of the transaction data of each output node and by institute State the 6th thread task and be sent to thread pool and handled, the record information is preserved into the queue of the database and It is to be sent by every recording mark in the record information.
6. according to the method for claim 5, in addition to, in response to the instruction of timing task management device, create for distinguishing Each transaction data is sent to multiple 7th thread tasks of corresponding output node and appoints the multiple 7th thread Business is sent to thread pool and handled, and transaction data is sent to corresponding output by each in the multiple 7th thread task Node, and if transaction data is sent successfully, then be revised as having sent by the respective record in database.
7. according to the method for claim 6, in addition to, in response to the instruction of timing task management device, create for confirming 8th thread task of the upload state of the transaction data of output node and the 8th thread task is sent to thread pool Handled, when in the particular block that the transaction data of output node is successfully written into block chain, determine the upper of transaction data Biography state is successfully.
8. according to the method for claim 1, also pending data are delayed as queue including the use of database table Deposit.
9. according to the method for claim 1, the thread pool can carry out parallel processing to multiple thread tasks.
10. according to the method for claim 1, wherein handling the number of deals of the input node input using block chain According to, and transaction data of the processing output to the output node.
CN201710624624.4A 2017-07-27 2017-07-27 A kind of method for being used to carry out transaction data parallel processing Pending CN107423124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710624624.4A CN107423124A (en) 2017-07-27 2017-07-27 A kind of method for being used to carry out transaction data parallel processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710624624.4A CN107423124A (en) 2017-07-27 2017-07-27 A kind of method for being used to carry out transaction data parallel processing

Publications (1)

Publication Number Publication Date
CN107423124A true CN107423124A (en) 2017-12-01

Family

ID=60430366

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710624624.4A Pending CN107423124A (en) 2017-07-27 2017-07-27 A kind of method for being used to carry out transaction data parallel processing

Country Status (1)

Country Link
CN (1) CN107423124A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108171603A (en) * 2017-12-15 2018-06-15 深圳智盾信息技术有限公司 A kind of integral management system based on block chain
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium
CN108846674A (en) * 2018-07-12 2018-11-20 众安信息技术服务有限公司 The method and apparatus of signature are verified in block chain
CN108898368A (en) * 2018-06-07 2018-11-27 腾讯科技(深圳)有限公司 Transfer method and device, storage medium, the electronic device of resource
CN108898021A (en) * 2018-06-04 2018-11-27 北京奇虎科技有限公司 Threat information processing method, system and calculating equipment based on block chain
CN109167660A (en) * 2018-09-07 2019-01-08 腾讯科技(深圳)有限公司 Elect a deputy node device method, apparatus, computer equipment and storage medium
CN109285006A (en) * 2018-09-20 2019-01-29 中链科技有限公司 A kind of parallel proof processing method and processing device of block chain data
CN109410063A (en) * 2018-11-12 2019-03-01 众安信息技术服务有限公司 Transaction processing method, device and storage medium based on block chain
CN109461079A (en) * 2018-10-29 2019-03-12 众安信息技术服务有限公司 Transaction processing method and device based on block chain
CN110134734A (en) * 2019-04-04 2019-08-16 杭州抖音科技有限公司 A kind of method and system of block chain transaction record write-in
WO2019101232A3 (en) * 2019-03-04 2020-01-09 Alibaba Group Holding Limited Methods and devices for providing transaction data to blockchain system for processing
CN110839056A (en) * 2018-08-17 2020-02-25 搜游网络科技(北京)有限公司 Data processing method and device based on block chain and node network
CN111480162A (en) * 2017-12-13 2020-07-31 区块链控股有限公司 System and method for blockchain implementation of concurrent bytecode interpretation
US10873625B2 (en) * 2018-02-26 2020-12-22 International Business Machines Corpora ! Ion Service management for the infrastructure of blockchain networks
CN112292704A (en) * 2018-04-19 2021-01-29 唯链基金会有限公司 Transaction processing
US20210311924A1 (en) * 2020-08-03 2021-10-07 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain transaction processing systems and methods

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
US20170109637A1 (en) * 2011-05-08 2017-04-20 Panaya Ltd. Crowd-Based Model for Identifying Nonconsecutive Executions of a Business Process
US20170149819A1 (en) * 2015-11-25 2017-05-25 International Business Machines Corporation Resisting replay attacks efficiently in a permissioned and privacy- preserving blockchain network
CN106790253A (en) * 2017-01-25 2017-05-31 中钞信用卡产业发展有限公司北京智能卡技术研究院 Authentication method and device based on block chain
CN106899680A (en) * 2017-03-09 2017-06-27 上海亿账通区块链科技有限公司 The burst treating method and apparatus of multi-tiling chain
CN106980649A (en) * 2017-02-28 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus and business subclass for writing block chain business datum determine method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170109637A1 (en) * 2011-05-08 2017-04-20 Panaya Ltd. Crowd-Based Model for Identifying Nonconsecutive Executions of a Business Process
US20170149819A1 (en) * 2015-11-25 2017-05-25 International Business Machines Corporation Resisting replay attacks efficiently in a permissioned and privacy- preserving blockchain network
CN106372868A (en) * 2016-09-06 2017-02-01 联动优势科技有限公司 Verification method and apparatus for transaction data written into block chain
CN106790253A (en) * 2017-01-25 2017-05-31 中钞信用卡产业发展有限公司北京智能卡技术研究院 Authentication method and device based on block chain
CN106980649A (en) * 2017-02-28 2017-07-25 阿里巴巴集团控股有限公司 The method and apparatus and business subclass for writing block chain business datum determine method
CN106899680A (en) * 2017-03-09 2017-06-27 上海亿账通区块链科技有限公司 The burst treating method and apparatus of multi-tiling chain

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111480162B (en) * 2017-12-13 2024-04-12 区块链控股有限公司 System and method for blockchain implementation of concurrent bytecode interpretation
CN111480162A (en) * 2017-12-13 2020-07-31 区块链控股有限公司 System and method for blockchain implementation of concurrent bytecode interpretation
CN108171603A (en) * 2017-12-15 2018-06-15 深圳智盾信息技术有限公司 A kind of integral management system based on block chain
CN108376106A (en) * 2018-02-01 2018-08-07 中国工商银行股份有限公司 A kind of block chain message feedback method and system
US10873625B2 (en) * 2018-02-26 2020-12-22 International Business Machines Corpora ! Ion Service management for the infrastructure of blockchain networks
CN108399572A (en) * 2018-03-22 2018-08-14 深圳市网心科技有限公司 block chain transaction processing method, device and storage medium
CN112292704A (en) * 2018-04-19 2021-01-29 唯链基金会有限公司 Transaction processing
CN112292704B (en) * 2018-04-19 2024-02-27 唯链基金会有限公司 Transaction processing
CN108898021A (en) * 2018-06-04 2018-11-27 北京奇虎科技有限公司 Threat information processing method, system and calculating equipment based on block chain
CN108898021B (en) * 2018-06-04 2021-06-01 北京奇虎科技有限公司 Threat information processing method, system and computing device based on block chain
CN108898368A (en) * 2018-06-07 2018-11-27 腾讯科技(深圳)有限公司 Transfer method and device, storage medium, the electronic device of resource
CN108846674A (en) * 2018-07-12 2018-11-20 众安信息技术服务有限公司 The method and apparatus of signature are verified in block chain
CN110839056A (en) * 2018-08-17 2020-02-25 搜游网络科技(北京)有限公司 Data processing method and device based on block chain and node network
CN110839056B (en) * 2018-08-17 2023-03-10 北京蓝亚盒子科技有限公司 Data processing method and device based on block chain and node network
CN109167660A (en) * 2018-09-07 2019-01-08 腾讯科技(深圳)有限公司 Elect a deputy node device method, apparatus, computer equipment and storage medium
CN109167660B (en) * 2018-09-07 2021-05-14 腾讯科技(深圳)有限公司 Method and device for electing representative node equipment, computer equipment and storage medium
CN109285006A (en) * 2018-09-20 2019-01-29 中链科技有限公司 A kind of parallel proof processing method and processing device of block chain data
CN109461079A (en) * 2018-10-29 2019-03-12 众安信息技术服务有限公司 Transaction processing method and device based on block chain
CN109410063A (en) * 2018-11-12 2019-03-01 众安信息技术服务有限公司 Transaction processing method, device and storage medium based on block chain
CN109410063B (en) * 2018-11-12 2021-09-10 众安信息技术服务有限公司 Transaction processing method and device based on block chain and storage medium
JP2020528586A (en) * 2019-03-04 2020-09-24 アリババ グループ ホウルディング リミテッド Methods and devices for providing transaction data to blockchain systems for processing
US11341493B2 (en) 2019-03-04 2022-05-24 Advanced New Technologies Co., Ltd. Methods and devices for providing transaction data to blockchain system for processing
US10867299B2 (en) 2019-03-04 2020-12-15 Advanced New Technologies Co., Ltd. Methods and devices for providing transaction data to blockchain system for processing
WO2019101232A3 (en) * 2019-03-04 2020-01-09 Alibaba Group Holding Limited Methods and devices for providing transaction data to blockchain system for processing
CN110134734A (en) * 2019-04-04 2019-08-16 杭州抖音科技有限公司 A kind of method and system of block chain transaction record write-in
US20210311924A1 (en) * 2020-08-03 2021-10-07 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain transaction processing systems and methods
WO2022027173A1 (en) * 2020-08-03 2022-02-10 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain transaction processing systems and methods
US11500845B2 (en) * 2020-08-03 2022-11-15 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain transaction processing systems and methods

Similar Documents

Publication Publication Date Title
CN107423124A (en) A kind of method for being used to carry out transaction data parallel processing
CN108292397A (en) The method and system of block chain is used in transaction processing network
CN110121727A (en) It is a kind of for intelligent contract provide it is verified, can audit and the method and system of immutable input
CN108876616A (en) Exchange information processing method, device and assets based on block chain register settlement system
CN108805707A (en) Works copyright revenue distribution method and device based on block chain
CN108353084A (en) The method and system of hash data is verified by receiving frame
CN110460590A (en) Data managing method, device, medium and the electronic equipment of block catenary system
CN109074564A (en) The method and system of usage record guarantee pay down
CN110097462A (en) Promote the method and system of ATM transaction using block chain
CN105488722A (en) Asset data processing method and device based on derivation chain
CN108596623A (en) A kind of block chain common recognition reaches method
CN108520307A (en) Data processing method and relevant apparatus
CN110300173A (en) Decentralization date storage method, verification method, equipment and storage medium
US20190333149A1 (en) System and Method of Managing a Cryptocurrency-Based Portfolio
CN109190881A (en) A kind of data assets management method, system and equipment
CN109658099A (en) A kind of account book bookkeeping methods based on block chain
CN109377338A (en) Financial product processing method and processing device based on block chain
KR20200062640A (en) Method for managing artwork transaction inforamtion based on blockchain and node apparatus of blockchain
CN109325774A (en) For verifying the method and system of equipment authenticity
CN108615195A (en) Transmission method and device, storage medium, the electronic device of resource transfers information
WO2020118859A1 (en) Decentralized chip research and development transaction data storage method and system
US20160210694A1 (en) Method and apparatus for generating trade actions to manage financial risk, and recording medium storing program for executing method
US20210319510A1 (en) Blockchain-based system for providing mergers and acquisitions service, and operation method therefor
CN111368262B (en) Artificial intelligent model protection and loose coupling distributed training method based on blockchain
CN108665363A (en) A kind of block chain common recognition reaches device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171201

RJ01 Rejection of invention patent application after publication