CN108322309A - Transaction processing method based on block chain and device - Google Patents
Transaction processing method based on block chain and device Download PDFInfo
- Publication number
- CN108322309A CN108322309A CN201711446767.7A CN201711446767A CN108322309A CN 108322309 A CN108322309 A CN 108322309A CN 201711446767 A CN201711446767 A CN 201711446767A CN 108322309 A CN108322309 A CN 108322309A
- Authority
- CN
- China
- Prior art keywords
- transaction
- application
- applications
- processing
- information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of transaction processing method and device based on block chain, is related to technical field of data processing, improves the treatment effeciency that accounting nodes carry out the more transaction applications received verification processing.The method of the present invention includes:Accounting nodes obtain multiple transaction applications;Apply for that corresponding Transaction Information applies for that corresponding digital signature carries out parallel check processing to multiple transaction according to each transaction;According to verification, successfully each transaction applies for that corresponding Transaction Information is grouped multiple transaction application, obtains N number of set so that the multiple transaction applications for including in each set are the transaction application that different transaction initiators create;Parallel proof processing is carried out to the corresponding Transaction Information of the multiple transaction applications for including in each set successively;The multiple transaction applications being proved to be successful are put into block and are stored.During the present invention carries out verification processing suitable for accounting nodes to the more transaction applications received.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of transaction processing method and dress based on block chain
It sets.
Background technology
Block chain technology (Blockchain Technology, BT) is a kind of distributed storage technology of decentralization, because
To have many advantages, such as that decentralization, process of exchange are transparent, information can not distort, can trace, and it is widely used in financial field.
Under block chain common recognition mechanism, each node in network can create transaction, when some node creates a new transaction
When, which can broadcast the transaction application to the whole network, and there are the accounting nodes of processing trading capacity to receive this friendship
Easily after application, can carry out verification processing to the transaction application will be put into itself by the transaction application when the authentication succeeds
It is stored in the block of establishment, when the quantity of the transaction application stored in block reaches predetermined threshold value, accounting nodes will
This block is packaged, and will be in the transaction that stored in block application broadcast to other nodes in network.
Currently, in order to avoid the case where same fund is for paying two transaction applications occurs, accounting nodes are to receiving
The more transaction applications arrived carry out serial verification processing, i.e. accounting nodes every time can only carry out at verification a transaction application
Reason.However, in practical applications, when the transaction application quantity that accounting nodes receive is excessive, accounting nodes are according to reception
To more transaction applications time sequencing successively to every transaction application carry out verification processing when, can take considerable time, to
Cause the treatment effeciency that accounting nodes carry out the more transaction applications received verification processing relatively low.
Invention content
In view of this, transaction processing method and device provided by the invention based on block chain, main purpose are to improve
Accounting nodes carry out the more transaction applications received the treatment effeciency of verification processing.
To solve the above-mentioned problems, present invention generally provides following technical solutions:
In a first aspect, the present invention provides a kind of transaction processing method based on block chain, this method includes:
Accounting nodes obtain multiple transaction applications, wherein multiple transaction applications are the accounting nodes when default
Between the transaction application that receives in interval, the transaction applies including Transaction Information and digital signature, and the Transaction Information is by handing over
Easy promoter creates transaction and generates;
According to each transaction apply corresponding Transaction Information to the corresponding digital signature of multiple transaction applications into
The processing of row parallel check;
According to verification, successfully each transaction applies for that corresponding Transaction Information divides multiple transaction applications
Group obtains N number of set so that the multiple transaction applications for including in each set are different transaction initiator's wounds
The transaction application built;
Corresponding Transaction Information, which carries out parallel proof, to be applied for the multiple transaction for including in each set successively
Processing;
The multiple transaction applications being proved to be successful are put into block and are stored.
Optionally, transaction application further includes:Corresponding public key is applied in the transaction;The basis each transaction
Apply for that corresponding Transaction Information applies for that corresponding digital signature carries out parallel check processing to multiple transaction, including
Respectively using each transaction apply corresponding public key to the corresponding digital signature of each transaction application into
Row decryption applies for corresponding first summary info to obtain each transaction;
Corresponding Transaction Information, which carries out Hash processing, to be applied to each transaction, each transaction application is generated and corresponds to
The second summary info;
Judge that each transaction applies for whether corresponding first summary info and the second summary info are identical;
If identical, it is determined that corresponding digital signature verification success is applied in the transaction.
Optionally, the Transaction Information includes:Corresponding transaction initiator address is applied in the transaction;It is described according to verification
Successfully each transaction applies for that corresponding Transaction Information is grouped multiple transaction applications, obtains N number of set, makes
It is the transaction applications of different transaction initiators' establishments, packet to obtain the multiple transaction applications for including in each set
It includes:
According to verification, successfully each transaction applies for that multiple transaction are applied in corresponding transaction initiator address
It is grouped, obtains N number of set so that the multiple transaction applications for including in each set are the different transaction hairs
Play the transaction application that person creates.
Optionally, the Transaction Information further includes:Corresponding transaction amount is applied in the transaction;It is described successively to each institute
It states the multiple transaction for including in set and applies for that corresponding Transaction Information carries out parallel proof processing, including:
The multiple transaction applications for including in each set are extracted successively so that the accounting nodes are to N number of institute
It states set and carries out serial process;
Judge each of to include that the transaction applies for whether corresponding transaction initiator address has payment in the set
The ability of corresponding transaction amount;
If so, determining that the transaction applies for that corresponding Transaction Information is proved to be successful.
Optionally, it is described successively to each set in include multiple transaction apply for corresponding Transaction Information
After carrying out parallel proof processing, the method further includes:
The transaction application of verification failure and the transaction application of authentication failed are subjected to delete processing.
Second aspect, the present invention also provides a kind of traction processing apparatus based on block chain, which includes:
Acquiring unit obtains multiple transaction applications for accounting nodes, wherein multiple transaction applications are the book keeping operation
The transaction application that node receives within a preset time interval, transaction application include Transaction Information and digital signature, described
Transaction Information creates transaction by transaction initiator and generates;
Verification unit, for applying corresponding Transaction Information to more according to each of the acquiring unit acquisition transaction
A transaction applies for that corresponding digital signature carries out parallel check processing;
Grouped element, for successfully corresponding Transaction Information to be applied in each transaction according to verification unit verification
Multiple transaction applications are grouped, obtain N number of set so that the multiple transaction Shens for including in each set
It please be the transaction application that the different transaction initiators create;
Authentication unit, for multiple transaction successively to including in each of the grouped element division set
Apply for that corresponding Transaction Information carries out parallel proof processing;
Storage unit, multiple transaction applications for the authentication unit to be proved to be successful, which are put into block, deposits
Storage.
Optionally, transaction application further includes:Corresponding public key is applied in the transaction;The verification unit includes:
Deciphering module, for applying for that corresponding public key corresponds to each transaction application using each transaction respectively
Digital signature be decrypted, to obtain corresponding first summary info of each transaction application;
Generation module generates each institute for applying for that corresponding Transaction Information carries out Hash processing to each transaction
It states transaction and applies for corresponding second summary info;
First judgment module, for judging that corresponding first summary info and the second summary info are applied in each transaction
It is whether identical;
First determining module, for judging that corresponding first summary info is applied in the transaction when first judgment module
When identical as the second summary info, determine that corresponding digital signature verification success is applied in the transaction.
Optionally, the Transaction Information includes:Corresponding transaction initiator address is applied in the transaction;The grouping is single
Member is specifically used for applying corresponding transaction initiator address to multiple transaction Shens according to the successful each transaction of verification
It please be grouped, obtain N number of set so that the multiple transaction applications for including in each set are the different transaction
The transaction application that promoter creates.
Optionally, the Transaction Information further includes:Corresponding transaction amount is applied in the transaction;The authentication unit packet
It includes:
Extraction module, for extracting the multiple transaction applications for including in each set successively so that the note
Account node carries out serial process to N number of set;
Second judgment module, for judging each of to include that corresponding transaction initiator is applied in the transaction in the set
Whether address has the ability for paying corresponding transaction amount;
Second determining module, for judging the transaction with applying for corresponding transaction initiator when second judgment module
When location has the ability for paying corresponding transaction amount, determine that the transaction applies for that corresponding Transaction Information is proved to be successful.
Optionally, described device further includes:
Deleting unit, in the authentication unit successively to each set in include multiple transaction applications
After corresponding Transaction Information carries out parallel proof processing, described in the transaction application of verification failure and authentication failed
Transaction application carries out delete processing.
To achieve the goals above, according to the third aspect of the invention we, a kind of storage medium, the storage medium are provided
Program including storage, wherein equipment where controlling the storage medium when described program is run executes base described above
In the transaction processing method of block chain.
To achieve the goals above, according to the fourth aspect of the invention, a kind of processor is provided, the processor is used for
Run program, wherein described program executes the transaction processing method described above based on block chain when running.
By above-mentioned technical proposal, technical solution provided by the invention at least has following advantages:
A kind of transaction processing method and device based on block chain provided by the invention, and in the prior art, accounting nodes
Serial verification processing is carried out according to the time sequencing of the more transaction applications received to more transaction applications to compare, energy of the present invention
Enough after accounting nodes get the more transaction applications received in prefixed time interval, number corresponding to more transaction applications
Word signature carries out parallel check processing, and is grouped to verifying successfully more transaction applications so that each collection after grouping
The more transaction applications for including in conjunction are the transaction application that different transaction initiators create, then successively to including in each set
More transaction applications carry out parallel proof processing.Since the more transaction applications for including in gathering each of after grouping are not
With the transaction application that transaction initiator creates, to be carried out to the corresponding Transaction Information of more transaction applications in some set
When parallel proof processing, the case where same fund of some transaction initiator is for paying two transaction applications can't be caused
Occur, and then improves the treatment effeciency that accounting nodes carry out the more transaction applications received verification processing.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention,
And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field
Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of transaction processing method flow chart based on block chain provided in an embodiment of the present invention;
Fig. 2 shows another transaction processing method flow charts based on block chain provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame chart of traction processing apparatus based on block chain provided in an embodiment of the present invention;
Fig. 4 shows the composition frame chart of another traction processing apparatus based on block chain provided in an embodiment of the present invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of transaction processing methods based on block chain, as shown in Figure 1, this method is to more
Transaction applies for that corresponding digital signature carries out parallel check processing, and is grouped to verifying successfully more transaction applications, makes
The more transaction applications for including in gathering each of after must being grouped are the transaction that different transaction initiators create, then successively to every
More transaction applications for including in a set carry out parallel proof processing, improve accounting nodes to more transaction Shens for receiving
The treatment effeciency for row verification processing that come in, this method include:
101, accounting nodes obtain multiple transaction applications.
Wherein, multiple transaction applications are the transaction application that accounting nodes receive within a preset time interval, transaction application
Include the information such as Transaction Information and digital signature.Transaction Information is generated by transaction initiator in creating process of exchange,
Transaction Information includes but not limited to:Transaction initiator address, transaction acceptance person address, exchange hour and transaction amount etc..Area
Some node (i.e. transaction initiator) under block chain common recognition mechanism, will be by the corresponding transaction of the transaction after one transaction of establishment
The information such as information, digital signature are broadcasted as transaction application to the whole network, right after receiving the transaction application so as to accounting nodes
The transaction application carries out verification processing.Accounting nodes are specifically divided into two when carrying out verification processing to certain transaction application
Step, one, the corresponding digital signature of transaction application is verified, that is, judge whether the transaction application is that transaction is initiated
Person signs and broadcasts to the whole network, and determines whether the corresponding Transaction Information of transaction application is complete;Two, to the transaction Shen
Please corresponding Transaction Information verified, i.e., whether the transaction application is judged according to the corresponding Transaction Information of transaction application
It being capable of successful execution.
In embodiments of the present invention, accounting nodes can in real-time reception network different node broadcasts transaction application, when to
When applying for carrying out the time point of verification processing to transaction up to accounting nodes, the more transactions received in prefixed time interval are obtained
Application carries out at verification more transaction applications according to per the corresponding digital signature of transaction application and Transaction Information so as to follow-up
Reason.
For example, prefixed time interval is 5 minutes, if accounting nodes last time applies for that the time for carrying out verification processing is to transaction
20 days 10 December in 2017:00:00, then this time point that verification processing is carried out to transaction application is on December 20th, 2017
10:05:00, at this point, accounting nodes obtain 20 days 10 December in 2017:00:20 days 10 December of 00-2017:04:It is received in 59
The more transaction applications arrived, so as to it is follow-up according to per the corresponding digital signature of transaction application and Transaction Information to more transaction Shens
Row verification processing that come in.It needs to illustrate, prefixed time interval can be redefined for 1 minute, 5 minutes, 10 minutes
Etc., the embodiment of the present invention is to this without limiting.
102, apply for that corresponding Transaction Information applies for that corresponding digital signature carries out simultaneously to multiple transaction according to each transaction
Row checking treatment.
In embodiments of the present invention, accounting nodes are acquiring the more transaction applications received in prefixed time interval
Afterwards, parallel check processing is carried out to the corresponding digital signature of the more transaction applications received, i.e., simultaneously according to every transaction Shen
Please corresponding Transaction Information checking treatment is carried out to the corresponding digital signature of every transaction application, when determining that certain transaction application is
The corresponding transaction initiator of the transaction application signs and broadcasts to the whole network, and determines the corresponding transaction letter of the transaction application
When ceasing complete, the corresponding digital signature verification success of the transaction application can be determined.
103, according to verification, successfully each transaction applies for that corresponding Transaction Information is grouped multiple transaction application, obtains
To N number of set so that the multiple transaction applications for including in each set are the transaction application that different transaction initiators create.
In embodiments of the present invention, accounting nodes are carried out to the corresponding digital signature of more transaction applications at parallel check
After reason, successfully it is grouped per the corresponding Transaction Information of transaction application to verifying successfully more transaction applications according to verification
Operation, obtains N number of set so that the more transaction applications for including in each set are the transaction Shen that different transaction initiators create
Please, i.e., so that more transaction applications that same transaction initiator creates are stored in different sets, wherein N is positive integer.
For example, accounting nodes have 6 friendships after carrying out parallel check processing to the corresponding digital signature of more transaction applications
Easily application verifies successfully, this corresponding Transaction Information of 6 transaction application is respectively:1, A of transaction application transfers accounts 10 bit coin
To B;2, A of transaction application transfers accounts 5 bit coin to C;3, A of transaction application transfers accounts 15 bit coin to D;Transaction application 4, B
7 bit coin are transferred accounts to A;5, B of transaction application transfers accounts 4 bit coin to C;6, C of transaction application transfers accounts 12 bit coin
To A, wherein A, B, C and D are the corresponding transaction initiator of this 6 transaction application or transaction acceptance person.At this point, being handed over according to every
Easily apply for that corresponding Transaction Information is grouped this 6 transaction application, obtains 3 set, respectively set X, set Y sum aggregates
Close Z, wherein set X includes:Transaction application 1, transaction application 4 and transaction application 6;Set Y includes:Transaction application 2 and transaction Shen
It please 5;Set Z includes:Transaction application 3.
It needs to illustrate, the verification that above-described embodiment the refers to successfully quantity of transaction application and every transaction
Apply for content that corresponding Transaction Information is included only for ease of expression, in actual application, the transaction Shen being proved to be successful
Quantity please can be any number and can include arbitrary content per the corresponding Transaction Information of transaction application.
104, parallel proof processing is carried out to the corresponding Transaction Information of the multiple transaction applications for including in each set successively.
In embodiments of the present invention, accounting nodes are grouped to the more transaction applications being proved to be successful, and obtain N number of collection
After conjunction, parallel proof processing is carried out to the corresponding Transaction Information of the more transaction applications for including in each set successively, i.e., to the
After the corresponding Transaction Information progress parallel proof of more transaction applications in one set is disposed, then in second set
The corresponding Transaction Information of more transaction applications carry out parallel proof processing, and so on.It is corresponded to when according to certain transaction application
Transaction Information determine the transaction application can successful execution when, can determine the corresponding Transaction Information of transaction application
It is proved to be successful.
It needs to illustrate, since the more transaction applications for including in each set are created for different transaction initiators
Therefore the transaction application built is carrying out parallel proof processing to the corresponding Transaction Information of more transaction applications in some set,
When carrying out verification processing to the corresponding Transaction Information of every transaction application in some set simultaneously, some friendship can't be caused
The case where same fund of easy promoter is for paying two transaction applications occurs.
105, the multiple transaction applications being proved to be successful are put into block and are stored.
In the present invention is implemented, more transaction applications that accounting nodes include in successively to each set are tested parallel
After card processing, the more transaction applications being proved to be successful are put into the block of the accounting nodes itself establishment and are stored, so as to
Subsequently when the quantity of the transaction application stored in the block reaches predetermined threshold value, which is packaged by accounting nodes, and
By it is being stored in the block, have verified that successfully transaction application broadcast is in other nodes in network.
A kind of transaction processing method based on block chain provided in an embodiment of the present invention, and in the prior art, accounting nodes
Serial verification processing is carried out according to the time sequencing of the more transaction applications received to more transaction applications to compare, the present invention is real
Applying example can be after accounting nodes gets the more transaction applications received in prefixed time interval, to more transaction applications pair
The digital signature answered carries out parallel check processing, and is grouped to verifying successfully more transaction applications so that after grouping
The more transaction applications for including in each set are the transaction application that different transaction initiators create, then successively to each set
In include more transaction applications carry out parallel proof processing.Due to the more transaction Shens for including in gathering each of after grouping
Please be the transaction application that different transaction initiators create, to believe to the corresponding transaction of more transaction applications in some set
When breath carries out parallel proof processing, the same fund of some transaction initiator can't be caused for paying two transaction applications
The case where occur, and then improve the treatment effeciency that accounting nodes carry out more transaction applications for receiving verification processing.
Below in order to be explained in more detail, an embodiment of the present invention provides trading processing side of the another kind based on block chain
Method especially carries out more transaction applications corresponding digital signature the specific method of parallel check processing, and to same collection
The corresponding Transaction Information of more transaction applications for including in conjunction carries out the specific method of parallel proof processing, it is specific as shown in Fig. 2,
This method includes:
201, accounting nodes obtain multiple transaction applications.
Wherein, multiple transaction applications are obtained about 201, accounting nodes, it can be with the description of 1 corresponding part of reference chart, this hair
Bright embodiment will not be described in great detail herein.
202, apply for that corresponding Transaction Information applies for that corresponding digital signature carries out simultaneously to multiple transaction according to each transaction
Row checking treatment.
Wherein, further include in every transaction application:The corresponding public key of transaction application.Transaction initiator is creating transaction
In the process, corresponding Transaction Information can be generated, at this point, transaction initiator is first, Hash processing is carried out to the Transaction Information of generation,
Obtain the corresponding summary info of the transaction;Then, the summary info is encrypted using the private key of itself to obtain the transaction pair
The digital signature answered, and corresponding public key is generated by preset algorithm according to the private key of itself;Finally, transaction initiator should
The corresponding Transaction Information of transaction, digital signature and public key are broadcasted as transaction application to the whole network, so that accounting nodes are connecing
After receiving the transaction application, the corresponding digital signature of the transaction application is carried out by the transaction application corresponding public key
Checking treatment.
In embodiments of the present invention, accounting nodes are acquiring the more transaction applications received in prefixed time interval
Afterwards, parallel check processing is carried out to the corresponding digital signature of the more transaction applications received.Below will to accounting nodes how
Parallel check processing is carried out to the corresponding digital signature of the more transaction applications received to be described in detail.
(1) the corresponding digital signature of every transaction application is solved using the corresponding public key of every transaction application respectively
It is close, to obtain per corresponding first summary info of transaction application.
In embodiments of the present invention, accounting nodes are first when being verified to the corresponding digital signature of more transaction applications
First the corresponding digital signature of every transaction application is decrypted using the corresponding public key of every transaction application, to obtain every
Corresponding first summary info is applied in transaction.
(2) Hash processing is carried out to the corresponding Transaction Information of every transaction application, generated corresponding the per transaction application
Two summary infos.
In embodiments of the present invention, accounting nodes are after obtaining per corresponding first summary info of transaction application, to every
The corresponding Transaction Information of transaction application carries out Hash processing, generates per corresponding second summary info of transaction application.
(3) judge whether identical per corresponding first summary info of transaction application and the second summary info.
In embodiments of the present invention, accounting nodes are obtaining respectively per transaction application corresponding first summary info and the
After two summary infos, accounting nodes are judged respectively per corresponding first summary info of transaction application and whether the second summary info
It is identical.
(4) if identical, it is determined that corresponding digital signature verification success is applied in transaction.
In embodiments of the present invention, when corresponding first summary info of certain transaction application is identical as the second summary info
When, it can determine that the transaction application is signed and broadcasted to the whole network for the corresponding transaction initiator of the transaction application, and
It can determine that the corresponding Transaction Information of transaction application is complete Transaction Information, you can to determine that the transaction application corresponds to
Digital signature verification success.
203, according to verification, successfully each transaction applies for that corresponding transaction initiator address applies carrying out to multiple transaction
Grouping, obtains N number of set so that the multiple transaction applications for including in each set are the transaction Shen that different transaction initiators create
Please.
Wherein, include per the corresponding Transaction Information of transaction application:Create the transaction initiator's of the transaction application
Transaction initiator address.
In embodiments of the present invention, accounting nodes are carried out to the corresponding digital signature of more transaction applications at parallel check
After reason, according to verification successfully per transaction application corresponding transaction initiator address to verify successfully more transaction applications into
Row division operation obtains N number of set so that the more transaction applications for including in gathering each of after grouping are initiated for different transaction
The transaction application that person creates, i.e., so that more transaction applications that same transaction initiator creates are stored in different sets, wherein
N is positive integer.
204, parallel proof processing is carried out to the corresponding Transaction Information of the multiple transaction applications for including in each set successively.
Wherein, further include in the corresponding Transaction Information of every transaction application:The corresponding transaction amount of transaction application.
In embodiments of the present invention, accounting nodes are grouped to the more transaction applications being proved to be successful, and obtain N number of collection
After conjunction, parallel proof processing is carried out to the corresponding Transaction Information of the more transaction applications for including in each set successively.Below will
How accounting nodes successively carry out at parallel proof the corresponding Transaction Information of the more transaction applications for including in each set
Reason is described in detail.
(1) the more transaction applications for including in each set of extraction successively so that accounting nodes carry out N number of set serial
Processing.
In embodiments of the present invention, accounting nodes are tested to the corresponding Transaction Information of transaction application in different sets
Serial process when card processing, i.e., the corresponding Transaction Information of more transaction applications in the set of accounting nodes pair first into
After row parallel proof is disposed, then parallel proof is carried out to the corresponding Transaction Information of more transaction applications in second set
Processing, and so on.Therefore, accounting nodes need to extract the more transaction applications for including in each set successively, so that
Accounting nodes can carry out serial process to N number of set.
(2) judge whether the corresponding transaction initiator address of more transaction applications for including in set has payment corresponding
The ability of transaction amount.
In embodiments of the present invention, accounting nodes are sentenced parallel after the more transaction applications for including in extracting some set
Whether the corresponding transaction initiator address of every transaction application in the set of breaking, which has, pays the corresponding friendship of transaction application
The ability of the easy amount of money obtains corresponding transaction initiator's according to per the corresponding transaction initiator address of transaction application respectively
Then the balance of funding judges whether the balance of funding per the corresponding transaction initiator of transaction application is greater than or equal to and corresponds to respectively
Transaction amount, when the corresponding transaction initiator of certain transaction application the balance of funding more than or equal to the transaction application correspond to
Transaction amount when, it is determined that the corresponding transaction initiator address of the transaction application have pay the transaction application it is corresponding
The ability of transaction amount.
(3) if so, determining that transaction applies for that corresponding Transaction Information is proved to be successful.
In embodiments of the present invention, when determine the corresponding transaction initiator address of certain transaction application have pay this hand over
When easily applying for the ability of corresponding transaction amount, it can determine that the corresponding Transaction Information of transaction application is proved to be successful.
It needs to illustrate, since the more transaction applications for including in each set are created for different transaction initiators
Therefore the transaction application built is carrying out parallel proof processing to the corresponding Transaction Information of more transaction applications in some set,
When carrying out verification processing to the corresponding Transaction Information of every transaction application in some set simultaneously, some friendship can't be caused
The case where same fund of easy promoter is for paying two transaction applications occurs.
205, the transaction application and the transaction application of authentication failed of verification failure are subjected to delete processing.
In embodiments of the present invention, accounting nodes are carrying out school to the corresponding digital signature of more transaction applications got
Test processing, and to verifying after successfully the corresponding Transaction Information of more transaction applications carries out verification processing, it will verification failure
Transaction application and the transaction application of authentication failed carry out delete processing, so as to avoid the friendship of verification failure and authentication failed
Easily the case where memory space resource of the excessive occupancy accounting nodes of application, occurs.
206, the multiple transaction applications being proved to be successful are put into block and are stored.
Wherein, about 206, the multiple transaction applications being proved to be successful be put into block store, can be right with reference chart 1
The description of part, the embodiment of the present invention is answered to will not be described in great detail herein.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of storage Jie
Matter, the storage medium include the program of storage, wherein equipment where controlling the storage medium when described program is run is held
The row transaction processing method described above based on block chain.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of processor,
The processor is for running program, wherein described program executes the trading processing described above based on block chain when running
Method.
Further, as the realization to method shown in above-mentioned Fig. 1 and Fig. 2, another embodiment of the present invention additionally provides one
Traction processing apparatus of the kind based on block chain.The device embodiment is corresponding with preceding method embodiment, for ease of reading, the present apparatus
Embodiment no longer repeats the detail content in preceding method embodiment one by one, it should be understood that the dress in the present embodiment
Set the full content that can be corresponded to and realize in preceding method embodiment.It is more to what is received that the device is applied to raising accounting nodes
Transaction application carries out the treatment effeciency of verification processing, specifically as shown in figure 3, the device includes:
Acquiring unit 31 obtains multiple transaction applications for accounting nodes, wherein multiple transaction applications are the note
The transaction application that account node receives within a preset time interval, the transaction application includes Transaction Information and digital signature, institute
It states Transaction Information and transaction generation is created by transaction initiator;
Verification unit 32, for applying corresponding Transaction Information to more according to each of the acquisition of acquiring unit 31 transaction
A transaction applies for that corresponding digital signature carries out parallel check processing;
Grouped element 33 applies for corresponding Transaction Information for verifying successfully each transaction according to verification unit 32
Multiple transaction applications are grouped, obtain N number of set so that the multiple transaction Shens for including in each set
It please be the transaction application that the different transaction initiators create;
Authentication unit 34, for multiple transaction successively to including in each of the division of grouped element 33 set
Apply for that corresponding Transaction Information carries out parallel proof processing;
Storage unit 35, multiple transaction applications for authentication unit 34 to be proved to be successful, which are put into block, deposits
Storage.
Further, as shown in figure 4, transaction application further includes:Corresponding public key is applied in the transaction;Verification unit
32 include:
Deciphering module 321, for applying for that corresponding public key applies for each transaction using each transaction respectively
Corresponding digital signature is decrypted, and applies for corresponding first summary info to obtain each transaction;
Generation module 322 generates each for applying for that corresponding Transaction Information carries out Hash processing to each transaction
Corresponding second summary info is applied in the transaction;
First judgment module 323, for judging that corresponding first summary info and the second abstract are applied in each transaction
Whether information is identical;
First determining module 324, for judging the corresponding first abstract letter of the transaction application when the first judgment module 323
When breath is identical as the second summary info, determine that corresponding digital signature verification success is applied in the transaction.
Further, as shown in figure 4, the Transaction Information includes:Corresponding transaction initiator address is applied in the transaction;
Grouped element 33 is specifically used for applying corresponding transaction initiator address to multiple institutes according to the successful each transaction of verification
It states transaction application to be grouped, obtains N number of set so that the multiple transaction applications for including in each set are difference
The transaction application that the transaction initiator creates.
Further, as shown in figure 4, the Transaction Information further includes:Corresponding transaction amount is applied in the transaction;Verification
Unit 34 includes:
Extraction module 341, for extracting the multiple transaction applications for including in each set successively so that described
Accounting nodes carry out serial process to N number of set;
Second judgment module 342, for judging each of to include that the transaction applies for that corresponding transaction is sent out in the set
Play whether person address has the ability for paying corresponding transaction amount;
Second determining module 343, for judging that corresponding transaction initiator is applied in the transaction when the second judgment module 342
When address has the ability for paying corresponding transaction amount, determine that the transaction applies for that corresponding Transaction Information is proved to be successful.
Further, as shown in figure 4, the device further includes:
Deleting unit 36, in authentication unit 34 successively to each set in include multiple transaction applications
After corresponding Transaction Information carries out parallel proof processing, described in the transaction application of verification failure and authentication failed
Transaction application carries out delete processing.
A kind of traction processing apparatus based on block chain provided in an embodiment of the present invention, and in the prior art, accounting nodes
Serial verification processing is carried out according to the time sequencing of the more transaction applications received to more transaction applications to compare, the present invention is real
Applying example can be after accounting nodes gets the more transaction applications received in prefixed time interval, to more transaction applications pair
The digital signature answered carries out parallel check processing, and is grouped to verifying successfully more transaction applications so that after grouping
The more transaction applications for including in each set are the transaction application that different transaction initiators create, then successively to each set
In include more transaction applications carry out parallel proof processing.Due to the more transaction Shens for including in gathering each of after grouping
Please be the transaction application that different transaction initiators create, to believe to the corresponding transaction of more transaction applications in some set
When breath carries out parallel proof processing, the same fund of some transaction initiator can't be caused for paying two transaction applications
The case where occur, and then improve the treatment effeciency that accounting nodes carry out more transaction applications for receiving verification processing.Together
When, accounting nodes are carrying out checking treatment to the corresponding digital signature of more transaction applications, and to verifying successfully more friendships
After easily applying for that corresponding Transaction Information carries out verification processing, the transaction application that can verify failure and authentication failed carries out at deletion
Reason, so as to avoid verification from failing and the feelings of the transaction application of the authentication failed excessively memory space resource of occupancy accounting nodes
Condition occurs.
The traction processing apparatus based on block chain includes processor and memory, above-mentioned acquiring unit, verification unit,
Grouped element, authentication unit and storage unit etc. are used as program unit storage in memory, are stored in by processor execution
Above procedure unit in memory realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be arranged one
Or more, the processing of verification processing is carried out to improve accounting nodes to the more transaction applications received by adjusting kernel parameter
Efficiency.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM), memory includes at least one storage
Chip.
An embodiment of the present invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The transaction processing method based on block chain described in any one of existing above example.
An embodiment of the present invention provides a kind of processor, the processor is for running program, wherein described program is run
The transaction processing method based on block chain described in any one of Shi Zhihang above example.
An embodiment of the present invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor realize following steps when executing program:
Accounting nodes obtain multiple transaction applications, wherein multiple transaction applications are the accounting nodes when default
Between the transaction application that receives in interval, the transaction applies including Transaction Information and digital signature, and the Transaction Information is by handing over
Easy promoter creates transaction and generates;
According to each transaction apply corresponding Transaction Information to the corresponding digital signature of multiple transaction applications into
The processing of row parallel check;
According to verification, successfully each transaction applies for that corresponding Transaction Information divides multiple transaction applications
Group obtains N number of set so that the multiple transaction applications for including in each set are different transaction initiator's wounds
The transaction application built;
Corresponding Transaction Information, which carries out parallel proof, to be applied for the multiple transaction for including in each set successively
Processing;
The multiple transaction applications being proved to be successful are put into block and are stored.
Further, transaction application further includes:Corresponding public key is applied in the transaction;The basis each friendship
Easily apply for that corresponding Transaction Information applies for that corresponding digital signature carries out parallel check processing to multiple transaction, including
Respectively using each transaction apply corresponding public key to the corresponding digital signature of each transaction application into
Row decryption applies for corresponding first summary info to obtain each transaction;
Corresponding Transaction Information, which carries out Hash processing, to be applied to each transaction, each transaction application is generated and corresponds to
The second summary info;
Judge that each transaction applies for whether corresponding first summary info and the second summary info are identical;
If identical, it is determined that corresponding digital signature verification success is applied in the transaction.
Further, the Transaction Information includes:Corresponding transaction initiator address is applied in the transaction;It is described according to school
It tests successfully each transaction and applies for that corresponding Transaction Information is grouped multiple transaction applications, obtain N number of set,
So that the transaction application that the multiple transaction applications for including in each set create for the different transaction initiators, packet
It includes:
According to verification, successfully each transaction applies for that multiple transaction are applied in corresponding transaction initiator address
It is grouped, obtains N number of set so that the multiple transaction applications for including in each set are the different transaction hairs
Play the transaction application that person creates.
Further, the Transaction Information further includes:Corresponding transaction amount is applied in the transaction;It is described successively to each
The multiple transaction for including in the set apply for that corresponding Transaction Information carries out parallel proof processing, including:
The multiple transaction applications for including in each set are extracted successively so that the accounting nodes are to N number of institute
It states set and carries out serial process;
Judge each of to include that the transaction applies for whether corresponding transaction initiator address has payment in the set
The ability of corresponding transaction amount;
If so, determining that the transaction applies for that corresponding Transaction Information is proved to be successful.
Further, it is described successively to each set in include multiple transaction apply for that corresponding transaction is believed
After breath carries out parallel proof processing, the method further includes:
The transaction application of verification failure and the transaction application of authentication failed are subjected to delete processing.
Equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when being executed on data processing equipment, are adapted for carrying out just
The program code of beginningization there are as below methods step:Accounting nodes obtain multiple transaction application, wherein multiple transaction apply be
The transaction application that the accounting nodes receive within a preset time interval, the transaction application include Transaction Information and number label
Name, the Transaction Information create transaction by transaction initiator and generate;Apply for corresponding Transaction Information pair according to each transaction
Multiple transaction apply for that corresponding digital signature carries out parallel check processing;According to verification successfully each transaction application
Corresponding Transaction Information is grouped multiple transaction applications, obtains N number of set so that include in each set
The transaction application that multiple transaction applications create for the different transaction initiators;Successively to including in each set
Multiple transaction apply for that corresponding Transaction Information carries out parallel proof processing;The multiple transaction applications being proved to be successful are put
Enter in block and is stored.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (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), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and 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 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
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also 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 element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not intended to limit this application.To those skilled in the art,
The application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (12)
1. a kind of transaction processing method based on block chain, which is characterized in that including:
Accounting nodes obtain multiple transaction applications, wherein multiple transaction applications are the accounting nodes between preset time
Every the interior transaction application received, the transaction application includes Transaction Information and digital signature, and the Transaction Information is sent out by transaction
It plays person and creates transaction generation;
Apply for that corresponding Transaction Information applies for that corresponding digital signature carries out simultaneously to multiple transaction according to each transaction
Row checking treatment;
According to verification, successfully each transaction applies for that corresponding Transaction Information is grouped multiple transaction applications, obtains
To N number of set so that the multiple transaction applications for including in each set create for the different transaction initiators
Transaction application;
Corresponding Transaction Information, which carries out parallel proof processing, to be applied for the multiple transaction for including in each set successively;
The multiple transaction applications being proved to be successful are put into block and are stored.
2. according to the method described in claim 1, it is characterized in that, transaction application further includes:The transaction application corresponds to
Public key;The each transaction of the basis applies for that corresponding Transaction Information applies for corresponding digital signature to multiple transaction
Parallel check processing is carried out, including
Apply for that corresponding public key applies for that corresponding digital signature solves to each transaction using each transaction respectively
It is close, apply for corresponding first summary info to obtain each transaction;
Corresponding Transaction Information, which carries out Hash processing, to be applied to each transaction, each transaction is generated and applies for corresponding the
Two summary infos;
Judge that each transaction applies for whether corresponding first summary info and the second summary info are identical;
If identical, it is determined that corresponding digital signature verification success is applied in the transaction.
3. according to the method described in claim 2, it is characterized in that, the Transaction Information includes:The transaction application is corresponding
Transaction initiator address;It is described that according to verification, successfully each transaction applies corresponding Transaction Information to multiple transaction
Application is grouped, and obtains N number of set so that the multiple transaction applications for including in each set are the different friendships
The transaction application that easy promoter creates, including:
According to verification, successfully each transaction applies for that corresponding transaction initiator address carries out multiple transaction applications
Grouping, obtains N number of set so that the multiple transaction applications for including in each set are the different transaction initiators
The transaction application of establishment.
4. according to the method described in claim 3, it is characterized in that, the Transaction Information further includes:The transaction application corresponds to
Transaction amount;It is described that corresponding Transaction Information, which carries out simultaneously, to be applied for the multiple transaction for including in each set successively
Row verification processing, including:
The multiple transaction applications for including in each set are extracted successively so that the accounting nodes are to N number of collection
It closes and carries out serial process;
Judge each of to include that the transaction applies for whether corresponding transaction initiator address there is payment to correspond in the set
Transaction amount ability;
If so, determining that the transaction applies for that corresponding Transaction Information is proved to be successful.
5. according to the described method of any one of claim 1-4, which is characterized in that described successively in each set
Including multiple transaction apply for that corresponding Transaction Information carries out parallel proof processing after, the method further includes:
The transaction application of verification failure and the transaction application of authentication failed are subjected to delete processing.
6. a kind of traction processing apparatus based on block chain, which is characterized in that including:
Acquiring unit obtains multiple transaction applications for accounting nodes, wherein multiple transaction applications are the accounting nodes
The transaction application received within a preset time interval, the transaction application includes Transaction Information and digital signature, the transaction
Information creates transaction by transaction initiator and generates;
Verification unit, for applying corresponding Transaction Information to multiple institutes according to each of the acquiring unit acquisition transaction
It states transaction and applies for that corresponding digital signature carries out parallel check processing;
Grouped element, for successfully each transaction to apply corresponding Transaction Information to more according to verification unit verification
A transaction application is grouped, and obtains N number of set so that the multiple transaction for including in each set apply be
The transaction application that the different transaction initiators create;
Authentication unit, for applying successively the multiple transaction for including in each of the grouped element division set
Corresponding Transaction Information carries out parallel proof processing;
Storage unit, multiple transaction applications for the authentication unit to be proved to be successful, which are put into block, to be stored.
7. device according to claim 6, which is characterized in that transaction application further includes:The transaction application corresponds to
Public key;The verification unit includes:
Deciphering module, for applying for that corresponding public key applies for corresponding number to each transaction using each transaction respectively
Word signature is decrypted, and applies for corresponding first summary info to obtain each transaction;
Generation module generates each friendship for applying for that corresponding Transaction Information carries out Hash processing to each transaction
Easily apply for corresponding second summary info;
First judgment module, for judging that each transaction applies for whether are corresponding first summary info and the second summary info
It is identical;
First determining module, for judging corresponding first summary info of transaction application and the when first judgment module
When two summary infos are identical, determine that corresponding digital signature verification success is applied in the transaction.
8. device according to claim 7, which is characterized in that the Transaction Information includes:The transaction application is corresponding
Transaction initiator address;The grouped element is specifically used for according to the verification successfully corresponding transaction of each transaction application
Originator address is grouped multiple transaction applications, obtains N number of set so that include in each set is multiple
The transaction application that the transaction application creates for the different transaction initiators.
9. device according to claim 8, which is characterized in that the Transaction Information further includes:The transaction application corresponds to
Transaction amount;The authentication unit includes:
Extraction module, for extracting the multiple transaction applications for including in each set successively so that the book keeping operation section
Point carries out serial process to N number of set;
Second judgment module, for judging each of to include that corresponding transaction initiator address is applied in the transaction in the set
Whether there is the ability for paying corresponding transaction amount;
Second determining module, for judging that corresponding transaction initiator address tool is applied in the transaction when second judgment module
When having the ability for paying corresponding transaction amount, determine that the transaction applies for that corresponding Transaction Information is proved to be successful.
10. according to the device described in any one of claim 6-9, which is characterized in that described device further includes:
Deleting unit, in the authentication unit successively to each set in include multiple transaction applications correspond to
Transaction Information carry out parallel proof processing after, will verification failure the transaction application and authentication failed the transaction
Application carries out delete processing.
11. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require 1 to described in any one of claim 5 based on block chain
Transaction processing method.
12. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Profit requires 1 to the transaction processing method based on block chain described in any one of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711446767.7A CN108322309B (en) | 2017-12-27 | 2017-12-27 | Transaction processing method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711446767.7A CN108322309B (en) | 2017-12-27 | 2017-12-27 | Transaction processing method and device based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108322309A true CN108322309A (en) | 2018-07-24 |
CN108322309B CN108322309B (en) | 2019-10-11 |
Family
ID=62893399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711446767.7A Active CN108322309B (en) | 2017-12-27 | 2017-12-27 | Transaction processing method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108322309B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165324A (en) * | 2018-08-20 | 2019-01-08 | 深圳市元征科技股份有限公司 | A kind of transaction data packaging method and relevant apparatus |
CN109242663A (en) * | 2018-09-05 | 2019-01-18 | 金蝶软件(中国)有限公司 | A kind of bookkeeping methods and system based on block chain technology |
CN109377362A (en) * | 2018-09-19 | 2019-02-22 | 联动优势科技有限公司 | Transaction data processing method and device |
CN110135985A (en) * | 2019-04-04 | 2019-08-16 | 杭州抖音科技有限公司 | A kind of parallel execution method and system traded on block chain |
CN110197372A (en) * | 2019-05-24 | 2019-09-03 | 杭州复杂美科技有限公司 | Means of defence, equipment and the storage medium of trading group attack |
CN110457942A (en) * | 2018-12-07 | 2019-11-15 | 深圳市智税链科技有限公司 | To the signature verification method, service node and medium of uplink data block |
CN110781196A (en) * | 2019-09-06 | 2020-02-11 | 深圳壹账通智能科技有限公司 | Block chain transaction processing method and device, computer equipment and storage medium |
CN111144887A (en) * | 2019-12-20 | 2020-05-12 | 辽宁振兴银行股份有限公司 | Protection method for block chain shared data |
CN112200577A (en) * | 2020-09-15 | 2021-01-08 | 刘明明 | Block chain payment processing method combined with cloud computing analysis and big data service center |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467726A (en) * | 2010-11-04 | 2012-05-23 | 阿里巴巴集团控股有限公司 | Data processing method and device based on on-line trading platform |
CN105654277A (en) * | 2014-12-08 | 2016-06-08 | 阿里巴巴集团控股有限公司 | Transaction operation identification method and server |
CN106682984A (en) * | 2016-10-27 | 2017-05-17 | 上海亿账通区块链科技有限公司 | Block chain-based transaction business processing method and system |
CN106980649A (en) * | 2017-02-28 | 2017-07-25 | 阿里巴巴集团控股有限公司 | The method and apparatus and business subclass for writing block chain business datum determine method |
US20170278186A1 (en) * | 2016-03-23 | 2017-09-28 | Domus Tower, Inc. | Distributing work load of high-volume per second transactions recorded to append-only ledgers |
-
2017
- 2017-12-27 CN CN201711446767.7A patent/CN108322309B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467726A (en) * | 2010-11-04 | 2012-05-23 | 阿里巴巴集团控股有限公司 | Data processing method and device based on on-line trading platform |
CN105654277A (en) * | 2014-12-08 | 2016-06-08 | 阿里巴巴集团控股有限公司 | Transaction operation identification method and server |
US20170278186A1 (en) * | 2016-03-23 | 2017-09-28 | Domus Tower, Inc. | Distributing work load of high-volume per second transactions recorded to append-only ledgers |
CN106682984A (en) * | 2016-10-27 | 2017-05-17 | 上海亿账通区块链科技有限公司 | Block chain-based transaction business processing method and system |
CN106980649A (en) * | 2017-02-28 | 2017-07-25 | 阿里巴巴集团控股有限公司 | The method and apparatus and business subclass for writing block chain business datum determine method |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109165324A (en) * | 2018-08-20 | 2019-01-08 | 深圳市元征科技股份有限公司 | A kind of transaction data packaging method and relevant apparatus |
CN109242663A (en) * | 2018-09-05 | 2019-01-18 | 金蝶软件(中国)有限公司 | A kind of bookkeeping methods and system based on block chain technology |
CN109377362A (en) * | 2018-09-19 | 2019-02-22 | 联动优势科技有限公司 | Transaction data processing method and device |
CN109377362B (en) * | 2018-09-19 | 2022-05-13 | 联动优势科技有限公司 | Transaction data processing method and device |
CN110457942A (en) * | 2018-12-07 | 2019-11-15 | 深圳市智税链科技有限公司 | To the signature verification method, service node and medium of uplink data block |
CN110457942B (en) * | 2018-12-07 | 2022-11-04 | 深圳市智税链科技有限公司 | Signature verification method for uplink data block, service node and medium |
CN110135985B (en) * | 2019-04-04 | 2021-07-27 | 杭州抖音科技有限公司 | Parallel execution method and system for transactions on block chain |
CN110135985A (en) * | 2019-04-04 | 2019-08-16 | 杭州抖音科技有限公司 | A kind of parallel execution method and system traded on block chain |
CN110197372A (en) * | 2019-05-24 | 2019-09-03 | 杭州复杂美科技有限公司 | Means of defence, equipment and the storage medium of trading group attack |
CN110781196A (en) * | 2019-09-06 | 2020-02-11 | 深圳壹账通智能科技有限公司 | Block chain transaction processing method and device, computer equipment and storage medium |
WO2021042733A1 (en) * | 2019-09-06 | 2021-03-11 | 深圳壹账通智能科技有限公司 | Blockchain transaction processing method and apparatus, computer device, and storage medium |
CN111144887A (en) * | 2019-12-20 | 2020-05-12 | 辽宁振兴银行股份有限公司 | Protection method for block chain shared data |
CN112200577A (en) * | 2020-09-15 | 2021-01-08 | 刘明明 | Block chain payment processing method combined with cloud computing analysis and big data service center |
Also Published As
Publication number | Publication date |
---|---|
CN108322309B (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108322309B (en) | Transaction processing method and device based on block chain | |
CN108053211A (en) | Transaction processing method and device based on block chain | |
CN107392040B (en) | A kind of method and device of common recognition verifying | |
US10832232B2 (en) | Closed-loop testing of integrated circuit card payment terminals | |
CN109063985A (en) | A kind of Application of risk decision method and device of business | |
CN109359971A (en) | Block chain method of commerce and device, electronic equipment | |
CN108171494A (en) | A kind of data processing method and device | |
CN108985742A (en) | Transaction processing method, device and block catenary system | |
CN109583857A (en) | It is open to invite task processing method, system, equipment and storage medium | |
US11443307B2 (en) | Cross-border resource transfer authenticity verification method, device and electronic equipment | |
CN109934585A (en) | A kind of endorsement method based on multi-party computations, apparatus and system | |
CN110245475A (en) | Auth method and device | |
CN109377224A (en) | Block chain method of commerce and device, electronic equipment | |
CN109829710A (en) | Transaction processing method, self-aided terminal, client, mobile terminal, server-side and storage medium | |
CN111818095A (en) | Tax refunding method and device based on block chain and electronic equipment | |
CN104426657B (en) | A kind of service authentication method, system and server | |
US20230050176A1 (en) | Method of processing a transaction request | |
CN111680023B (en) | Migration data checking method and device | |
CN109194483A (en) | Data verification method based on block chain | |
CN108924185A (en) | Interface creation method and device | |
CN110414197B (en) | Bank user identity verification method and device based on behavior characteristics | |
CN109961288A (en) | Method of commerce and device based on Proxy Signature | |
CN107169854B (en) | Data processing method and device | |
CN113938413B (en) | Bank card sharing method and device based on block chain | |
CN111581108B (en) | Input data acquisition method and device based on business system transaction test |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |