CN107038578B - Multi-signature transaction information processing method in data transaction platform based on block chain - Google Patents

Multi-signature transaction information processing method in data transaction platform based on block chain Download PDF

Info

Publication number
CN107038578B
CN107038578B CN201710258860.9A CN201710258860A CN107038578B CN 107038578 B CN107038578 B CN 107038578B CN 201710258860 A CN201710258860 A CN 201710258860A CN 107038578 B CN107038578 B CN 107038578B
Authority
CN
China
Prior art keywords
transaction
user
information
data
signature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710258860.9A
Other languages
Chinese (zh)
Other versions
CN107038578A (en
Inventor
张金琳
高航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shuqin Technology Co Ltd
Original Assignee
Zhejiang Shuqin 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 Zhejiang Shuqin Technology Co Ltd filed Critical Zhejiang Shuqin Technology Co Ltd
Priority to CN201710258860.9A priority Critical patent/CN107038578B/en
Publication of CN107038578A publication Critical patent/CN107038578A/en
Application granted granted Critical
Publication of CN107038578B publication Critical patent/CN107038578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3823Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for processing multiple signature transaction information in a data transaction platform based on a block chain. Each of the buyer and the seller generates a transaction key pair at the client side of the buyer and the seller, and the data transaction platform generates and distributes a single transaction key pair for each transaction process; a seller issues data to be traded on a block chain through a data trading platform; after the buyer submits a transaction application, an intermediate address is generated according to the three-party public key, funds are transferred to the intermediate address after payment, and the seller encrypts and transmits data to the buyer after receiving the funds written into the block chain; after the buyer receives the data, if the transaction is confirmed, the buyer signs the transaction, and the fund is transferred to the seller address; if the objection exists, the data transaction platform judges and determines to transfer funds to the buyer or the seller according to the judgment result. The invention processes the data and the transaction information of the two parties during transaction in a special regional chain mode, and simultaneously, the data transaction platform can not use the transaction fund, thereby further ensuring the safety of the digital assets during transaction.

Description

Multi-signature transaction information processing method in data transaction platform based on block chain
Technical Field
The invention relates to a multiple signature method, in particular to a multiple signature transaction information processing method in a data transaction platform based on a block chain, belonging to the technical field of the block chain.
Background
With the rapid development of cloud computing and the internet of things, more and more data are recorded and stored, and the data now enter the big data era. Trading of data is a necessary requirement for marketing and reality. In order to exert the maximum value of data, data trading centers are established everywhere, but because the data has the particularity, namely the data is easy to copy, has no definite property such as ownership constraint and the like, the data security and the rights and interests are difficult to guarantee, enterprises and individuals do not want to take out the data for sharing trading.
In order to better guarantee data security and rights and interests of enterprises and individuals, the prior art proposes that a blockchain technology and cryptography are applied to data transaction, a data transaction platform based on a blockchain is established, the data transaction platform only has a link function and cannot check and retain transaction data, and the rights and interests of the individuals and the enterprises are guaranteed while the data security is guaranteed. The blockchain technique originates from the section entitled "bitcoin" published by the smart in 2008: a point-to-point electronic cash system (P2P) -based electronic cash system is disclosed, which is based on cryptology principle to make both parties in transaction pay directly under the condition of agreement, and creates a mode of ensuring transaction security by getting rid of traditional payment through third party intermediary.
The block chain is the bottom layer technical support of the bit currency, the key innovation of the block chain technology is that the problems of double payment and Byzantine general are solved through a hash chain with a timestamp and a workload certification mechanism, namely, the same bit currency is ensured not to appear in two addresses at the same time, and on the basis of reliable channels, all nodes can allow other nodes to receive real transactions of the nodes, so that the security and the reliability of the transactions are technically ensured.
The traditional bitcoin transaction flow based on the blockchain is generally as follows: the buyer user directly transfers the account to the address of the merchant, the payment is one-way irreversible, and the payment does not support 'deduction and payment', and the 'deduction and payment' means that the deduction and payment occurs when the buyer user requires the credit card company to withdraw an approved transaction. Disputes occur at this time, and the quality of both parties needs to be checked.
The multiple signature transaction is carried out in order to better guarantee the rights and interests of both parties of the transaction. The address of the multiple signature transaction can have three associated private keys, and two of the private keys are needed by a trader to complete a transfer. In practice you can also set 1/3, 5/5, 6/11, but most often a combination of 2/3.
The multiple signature technique can bring the following advantages: (1) protecting consumers' rights. After the traditional bit transaction occurs, the merchant can obtain the money immediately, and after the multiple signature technology is added, the merchant needs the definite agreement of the buyer user to really obtain the bit money. (2) And (4) safety. Because the secure storage of the transaction funds can be seen transparently by both buyer users and seller users due to the guarantee of Multisig technology, the transaction funds cannot be appropriated by the data transaction platform provider. (3) The operation is simple. With technical packaging, the user does not feel the complexity of Multisig.
However, existing multi-signature transactions are not necessarily secure, and currently in most cases, multi-signature wallets appear as a client Javascript web application, and if an attacker controls a server of a transaction platform, they have the ability to deliver the wrong web application to the user, such a client browser multi-signature wallet can be considered as a complete threat to cryptographic economic security. The providers of browser Javascript multiple signing wallets initially wish to establish a protocol that is not affected by a single point of failure, but they play both a client and server role in the protocol. The multiple signatures thus provided do not provide some assurance that someone might imagine it.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a multi-signature transaction information processing method in a data transaction platform based on a block chain, aiming at providing a transaction method which is not influenced by a single party, ensuring the rights and interests of buyers and sellers, ensuring that the data transaction platform cannot use transaction funds, and avoiding the threat of external to economic safety as much as possible.
The technical scheme adopted by the invention comprises the following steps:
the method of the invention is aimed at the information processing of a data transaction platform, a buyer user and a seller user in the transaction process taking data as objects, and comprises the following aspects:
A. and (3) generating a secret key:
each of the buyer user and the seller user generates a user transaction key pair (pk) at its own clientC,skC) Wherein pkCRepresenting the user's transaction public key, skCRepresenting the private key of the user transaction, the public key pk in the key pair is used by the userCSent to the data trading platform, and pkC=skCP, P represents the generator of the cyclic addition; and for the user transaction key pair (pk) of the buyer-seller userC,skC) The transaction key pair of the buyer user is expressed as
Figure BDA0001274182570000021
The seller user's transaction key pair is represented as
Figure BDA0001274182570000022
Data transaction platform during each transaction occurring between any seller user and buyer userGenerating a single transaction key pair (pk) for each transaction processT,skT) Wherein pkTRepresenting a single transaction public key, skTRepresenting a single-transaction private key and disclosing a single-transaction public key; single transaction key pair (pk)T,skT) The seller user and the buyer user are not separated, and only generated by the data transaction platform for each transaction, also can be expressed as
Figure BDA0001274182570000023
In the superscript of the letter representation, U represents a login key, C represents a transaction key, and T represents a single transaction key. In the alphabetical representation of the invention, subscripts a represent buyer users, b represent ordinals of seller users, and c represents a data transaction platform.
The client side for generating and storing the public and private transaction keys by the user is provided by a data transaction platform partner and is not provided by the data transaction platform, and the data transaction platform cannot acquire the private key of the user, so that the information security of the user is ensured.
B. And (3) releasing data to be traded: a seller user publishes data information of data to be transacted on a block chain through a data transaction platform for a buyer user to purchase;
C. in each transaction process, the transaction information is processed in the following mode:
1) after the buyer user sends an application for purchasing certain data to the data transaction platform, the data transaction platform generates a single transaction key (pk) for the transaction processT,skT) Simultaneously, generating an intermediate address A according to respective user transaction public keys of a buyer user and a seller user and a single transaction public key of a data transaction platform, and subsequently performing multiple signatures by the data transaction platform, the buyer user and the seller user by using the intermediate address A;
2) the buyer user carries out payment operation, the transaction fund of the self address is transferred to the intermediate address A through the blockchain technology, the seller user inquires the transaction information that the transaction fund of the buyer user is transferred to the intermediate address A on the blockchain, and then the user transaction public key of the buyer user is obtained from the data transaction platform
Figure BDA0001274182570000031
Data to be transacted
Figure BDA0001274182570000032
Encrypted and then sent to the buyer user,
3) the buyer user receives the encrypted data to be transacted
Figure BDA0001274182570000033
Then, verifying the correctness through data decryption, hash and hash value comparison, and performing the steps 4.1), 4.2) or 4.3);
4.1) if the buyer user verifies that the data is correct, the transaction is confirmed and confirmed transaction information is sent to the data transaction platform, and then the buyer user and the seller user use respective user transaction private keys to the transaction information of successful transaction
Figure BDA0001274182570000034
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and after the blockchain node verifies that the signature passes, the transaction fund in the intermediate address A is transferred to the address of the seller user;
4.2) if the buyer user does not confirm the transaction within the specified time, the data transaction platform uses the private key of the buyer user for the transaction information of successful transaction by using the private key of the buyer user for the single transaction and the private key of the seller user for the transaction
Figure BDA0001274182570000035
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and after the blockchain node verifies that the signature passes, the transaction fund in the intermediate address A is transferred to the address of the seller user;
4.3) if the buyer user disagrees with the transaction, determining to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing condition of the seller user or the judgment result of the data transaction platform, wherein the steps are specifically as follows:
4.3.1) buyer if buyer user applies for refund operationRefund information for a user to generate a transaction funds at an intermediate address A for return to a buyer user address
Figure BDA0001274182570000036
And sending the signature to the seller user, and if the seller user agrees to refund, refund information is sent to the seller user
Figure BDA0001274182570000037
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and funds in the intermediate address A can be returned to the address of the buyer user after the blockchain node verifies that the signature passes;
4.3.2) if the buyer user applies for refund operation, the buyer user generates refund information that the transaction fund of the intermediate address A is returned to the address of the buyer user
Figure BDA0001274182570000038
And sending the signature to the seller user, judging a result by the data transaction platform if the seller user does not agree with the refund, and determining to transfer the funds in the intermediate address A to the buyer user or the seller user according to the judgment result.
The transaction funds refer to digital currency, such as bitcoin.
The data transaction platform of the present invention operates through the server and its processor both in generating the key and processing the transaction information in the blockchain.
The step B of issuing the data to be traded on the blockchain by the seller user through the data trading platform specifically includes: seller user selection of data to be transacted
Figure BDA0001274182570000041
The hash value of the identification number ID of the seller user, the description information of the data to be transacted, the hash value of the data to be transacted, the price of the data to be transacted and the user transaction public key of the seller user
Figure BDA0001274182570000042
Packaging the data into a data packet, and then using a user transaction private key of a seller user
Figure BDA0001274182570000043
The data package is signed and then sent to a data transaction platform, after the data transaction platform receives the data package sent by the seller user, the data transaction platform verifies the effective identity of the seller user as the data transaction platform, and after the data transaction platform verifies the effective identity, the user transaction public key of the seller user is utilized
Figure BDA0001274182570000044
And verifying the signature of the data packet, and adding the data information in the data packet into the block to form a chain when the data packet is confirmed to be sent by the seller user.
The intermediate address A in the step 1) is a user transaction public key of the data transaction platform according to the buyer user
Figure BDA0001274182570000045
User transaction public key for seller user
Figure BDA0001274182570000046
And single transaction public key pk of data transaction platformTGenerating by using a secure hash function H:
Figure BDA0001274182570000047
wherein H is a secure hash function.
The buyer user receives the encrypted data to be transacted in the step 3)
Figure BDA0001274182570000048
And then, verifying the correctness through decryption, hashing and hash value comparison, which specifically comprises the following steps:
the buyer user receives the encrypted data to be transacted
Figure BDA0001274182570000049
Then, firstly, the private key of the user transaction is utilized
Figure BDA00012741825700000410
Decrypting, and decrypting to obtain data to be transacted
Figure BDA00012741825700000411
And calculating the hash value of the block chain, comparing the calculated hash value with the hash value of the data to be traded in the data information on the block chain, and determining whether the calculated hash value is consistent with the hash value of the data to be traded so as to obtain a correctness result.
The step 4.1) specifically comprises the following steps:
4.1.1) if the buyer user verifies that the data is correct, the buyer user generates the transaction information that the transaction fund of the intermediate address A is transferred to the address of the seller user
Figure BDA00012741825700000412
And the transaction is evaluated to generate the evaluation information of the buyer user as
Figure BDA00012741825700000413
Buyer user utilizes own user transaction private key
Figure BDA00012741825700000414
For transaction information
Figure BDA00012741825700000415
And evaluation information
Figure BDA00012741825700000416
Respectively signing to generate transaction information buyer signature
Figure BDA00012741825700000417
And buyer rating information signature
Figure BDA00012741825700000418
Then will contain
Figure BDA00012741825700000419
The data packet is sent to the seller user and the data transaction platform;
Figure BDA00012741825700000420
Figure BDA00012741825700000421
Figure BDA00012741825700000422
wherein "·| ·" represents a concatenation of data,
Figure BDA0001274182570000051
for the verification of the public key of the buyer user,
Figure BDA0001274182570000052
presentation of transaction information
Figure BDA0001274182570000053
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure BDA0001274182570000054
presentation of transaction information
Figure BDA0001274182570000055
And buyer evaluation information
Figure BDA0001274182570000056
Hashing the obtained hash value after the concatenation;
4.1.2) seller user receiving package
Figure BDA0001274182570000057
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure BDA0001274182570000058
Hash value of
Figure BDA0001274182570000059
Transaction information
Figure BDA00012741825700000510
And buyer evaluation information
Figure BDA00012741825700000511
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000512
Figure BDA00012741825700000513
Confirming whether the following equations are all true, and if the equations are all true, indicating that the signature is true;
Figure BDA00012741825700000514
wherein, P represents the generation element of the circulation addition group between the public key and the private key, e is bilinear mapping, and satisfies bilinear property, non-degeneration property and computability;
4.1.3) after confirming that the signature of the buyer user is authentic, the seller user evaluates the transaction to generate evaluation information of the seller user
Figure BDA00012741825700000515
And utilizes its own private key for user transaction
Figure BDA00012741825700000516
For transaction information
Figure BDA00012741825700000517
And evaluation information
Figure BDA00012741825700000518
Signing to generate seller signature of transaction information
Figure BDA00012741825700000519
And seller ratings information signature
Figure BDA00012741825700000520
Then will contain
Figure BDA00012741825700000521
Sending the data packet to a data transaction platform;
Figure BDA00012741825700000522
Figure BDA00012741825700000523
Figure BDA00012741825700000524
wherein P represents a generator of round-robin clustering between the public key and the private key,
Figure BDA00012741825700000525
presentation of transaction information
Figure BDA00012741825700000526
And seller evaluation information
Figure BDA00012741825700000527
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000528
a verification public key for the seller user;
4.1.4) after receiving the data packets sent by the buyer user and the seller user, the data transaction platform adopts the following modes to verify the authenticity of the signature of the extracted information:
calculating transaction information
Figure BDA00012741825700000529
Hash value of
Figure BDA00012741825700000530
Transaction information
Figure BDA00012741825700000531
And buyer evaluation information
Figure BDA00012741825700000532
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000533
Transaction information
Figure BDA00012741825700000534
And seller evaluation information
Figure BDA00012741825700000535
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000536
Figure BDA00012741825700000537
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure BDA00012741825700000538
verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure BDA00012741825700000539
after the signatures of both parties are verified to be true, the evaluation information of the buyer and seller users is obtained
Figure BDA0001274182570000061
And
Figure BDA0001274182570000062
displaying the transaction result, and calculating the signatures of both parties of the transaction information by the following algorithm
Figure BDA0001274182570000063
And the verification public key N of this transactioncThen will contain
Figure BDA0001274182570000064
The data packet is broadcast to each node of the blockchain;
Figure BDA0001274182570000065
wherein N iscA verification public key for the transaction;
4.1.5) the nodes with writing authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure BDA0001274182570000066
where e is a bilinear map.
The step 4.3.2) is specifically divided into the following steps:
4.3.2.1) if the data transaction platform determines the refund is successful according to the transaction condition, the data transaction platform and the buyer user can use the refund information
Figure BDA0001274182570000067
Signing, and returning funds in the intermediate address A to the address of the buyer user;
4.3.2.2) if the data transaction platform determines the refund is not successful according to the transaction condition, the transaction is considered to be successful, the data transaction platform and the seller user can process the transaction information
Figure BDA0001274182570000068
Signing is performed and funds in the intermediate address a are transferred to the seller user address.
The step 4.2) specifically comprises the following steps:
4.2.1) after the buyer user does not confirm the transaction within the specified time, the data transaction platform evaluates the transaction and generates evaluation information
Figure BDA0001274182570000069
Private key sk using the transaction keyTFor transaction information
Figure BDA00012741825700000610
And evaluation information
Figure BDA00012741825700000611
Signing and generating transaction information platform signature
Figure BDA00012741825700000612
And platform rating information signatures
Figure BDA00012741825700000613
Then will contain
Figure BDA00012741825700000614
Sending the data packet to the seller user;
Figure BDA00012741825700000615
Figure BDA00012741825700000616
Figure BDA00012741825700000617
wherein the content of the first and second substances,
Figure BDA00012741825700000618
a verification public key representing a data transaction platform,
Figure BDA00012741825700000619
presentation of transaction information
Figure BDA00012741825700000620
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure BDA00012741825700000621
presentation of transaction information
Figure BDA00012741825700000622
And platform evaluation information
Figure BDA00012741825700000623
Hashing the obtained hash value after the concatenation;
4.2.2) seller user receiving Package
Figure BDA00012741825700000624
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure BDA00012741825700000625
Hash value of
Figure BDA00012741825700000626
Transaction information
Figure BDA00012741825700000627
And platform evaluation information
Figure BDA00012741825700000628
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000629
Figure BDA00012741825700000630
Confirming whether the following equations are all true, and if the equations are all true, the signature is real;
Figure BDA0001274182570000071
4.2.3) after confirming that the signature of the data transaction platform is real, the seller user utilizes the own user transaction private key
Figure BDA0001274182570000072
For transaction information
Figure BDA0001274182570000073
And seller transaction rating
Figure BDA0001274182570000074
Signing to generate seller signature of transaction information
Figure BDA0001274182570000075
And evaluating information vendor signatures
Figure BDA0001274182570000076
Then will contain
Figure BDA0001274182570000077
Sending the data packet to a data transaction platform;
Figure BDA0001274182570000078
Figure BDA0001274182570000079
wherein the content of the first and second substances,
Figure BDA00012741825700000710
presentation of transaction information
Figure BDA00012741825700000711
And seller transaction rating
Figure BDA00012741825700000712
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000713
a verification public key for the seller user;
4.2.4) after receiving the data packet sent by the seller user, the data transaction platform adopts the following equation to verify the authenticity of the signature by extracting the information:
calculating transaction information
Figure BDA00012741825700000714
And seller transaction rating
Figure BDA00012741825700000715
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000716
Figure BDA00012741825700000717
Verifying the signature of the seller user, and if the following equations are all true, indicating that the signature is true:
Figure BDA00012741825700000718
after the signature of the seller is verified to be authentic, the evaluation information of the data transaction platform and the seller is obtained
Figure BDA00012741825700000719
And
Figure BDA00012741825700000720
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure BDA00012741825700000721
And the verification public key N of this transactioncThen will contain
Figure BDA00012741825700000722
The data packet is broadcast to each node of the blockchain;
Figure BDA00012741825700000723
wherein N iscA verification public key for the transaction;
4.2.5) the nodes with the write-in authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure BDA00012741825700000724
where e is a bilinear map.
The step 4.3.1) specifically comprises the following steps:
4.3.1.1) after the buyer user performs refund operation, the transaction is evaluated to generate the evaluation information of the buyer user as
Figure BDA00012741825700000725
Buyer user utilizes own user transaction private key
Figure BDA00012741825700000726
For refund information
Figure BDA00012741825700000727
And evaluation information
Figure BDA00012741825700000728
Signing to generate transaction information buyer signature
Figure BDA00012741825700000729
And evaluating information buyer signatures
Figure BDA00012741825700000730
Then will contain
Figure BDA00012741825700000731
The data packet is sent to the seller user and the data transaction platform;
Figure BDA00012741825700000732
Figure BDA00012741825700000733
Figure BDA00012741825700000734
wherein "·| ·" represents a concatenation of data,
Figure BDA00012741825700000840
for the verification of the public key of the buyer user,
Figure BDA0001274182570000081
indicating information on refunds
Figure BDA0001274182570000082
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure BDA0001274182570000083
indicating information on refunds
Figure BDA0001274182570000084
And buyer evaluation information
Figure BDA0001274182570000085
Hashing the obtained hash value after the concatenation;
4.3.1.2) seller user receiving package
Figure BDA0001274182570000086
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating refund information
Figure BDA0001274182570000087
Hash value obtained by hashing
Figure BDA0001274182570000088
Refund information
Figure BDA0001274182570000089
And buyer evaluation information
Figure BDA00012741825700000810
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000811
Figure BDA00012741825700000812
Confirming whether the following equations are all true, and if the equations are all true, indicating that the signature is true;
Figure BDA00012741825700000813
Figure BDA00012741825700000814
wherein, P represents the generation element of the circulation addition group between the public key and the private key, e is bilinear mapping, and satisfies bilinear property, non-degeneration property and computability;
4.3.1.3) after confirming that the signature of the buyer user is authentic, the seller user evaluates the transaction to generate evaluation information of the seller user
Figure BDA00012741825700000815
Seller users utilize their own private key for user transaction
Figure BDA00012741825700000816
For refund information
Figure BDA00012741825700000817
And evaluation information
Figure BDA00012741825700000818
Signing to generate seller signature of transaction information
Figure BDA00012741825700000819
And evaluating information vendor signatures
Figure BDA00012741825700000820
Then will contain
Figure BDA00012741825700000821
Sending the data packet to a data transaction platform;
Figure BDA00012741825700000822
Figure BDA00012741825700000823
Figure BDA00012741825700000824
wherein P represents a generator of round-robin clustering between the public key and the private key,
Figure BDA00012741825700000825
indicating information on refunds
Figure BDA00012741825700000826
And seller evaluation information
Figure BDA00012741825700000827
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000828
a verification public key for the seller user;
4.3.1.4) after receiving the data packets sent by the buyer user and the seller user, the data transaction platform adopts the following equation to verify the authenticity of the signature for the information extracted from the data packets:
calculating refund information
Figure BDA00012741825700000829
Hash value obtained by hashing
Figure BDA00012741825700000830
Refund information
Figure BDA00012741825700000831
And buyer evaluation information
Figure BDA00012741825700000832
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000833
Refund information
Figure BDA00012741825700000834
And seller evaluation information
Figure BDA00012741825700000835
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000836
Figure BDA00012741825700000837
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure BDA00012741825700000838
verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure BDA00012741825700000839
after the signatures of both parties are verified to be true, the evaluation information of the buyer and seller users is obtained
Figure BDA0001274182570000091
And
Figure BDA0001274182570000092
displaying the transaction result, and calculating the signatures of both parties of the transaction information by the following algorithm
Figure BDA0001274182570000093
And the verification public key N of this transactioncThen will contain
Figure BDA0001274182570000094
The data packet is broadcast to each node of the blockchain;
Figure BDA0001274182570000095
wherein N iscA verification public key for the transaction;
4.3.1.5) verifying the authenticity of the signature for the information sent by the data transaction platform by the node with the writing authority on the block chain by adopting the following equation, writing the transaction information into the block chain after verifying the authenticity, and transferring the funds in the intermediate address A to the address of the seller user:
Figure BDA0001274182570000096
where e is a bilinear map.
In the step 4.3.2), if the funds in the final intermediate address a are transferred to the buyer user, the specific steps are:
4.3.2.a.1) the data transaction platform judges the refund success according to the transaction condition, and the data transaction platform evaluates the transaction to generate evaluation information of
Figure BDA0001274182570000097
The private key sk of a single transaction is usedTFor refund information
Figure BDA0001274182570000098
And evaluation information
Figure BDA0001274182570000099
Signing and generating transaction information platform signature
Figure BDA00012741825700000910
And evaluating information platform signatures
Figure BDA00012741825700000911
Then will contain
Figure BDA00012741825700000912
The data packet is sent to the buyer user;
Figure BDA00012741825700000913
Figure BDA00012741825700000914
Figure BDA00012741825700000915
wherein the content of the first and second substances,
Figure BDA00012741825700000916
a verification public key representing a data transaction platform,
Figure BDA00012741825700000917
indicating a fallbackMoney information
Figure BDA00012741825700000918
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure BDA00012741825700000919
indicating information on refunds
Figure BDA00012741825700000920
And platform evaluation information
Figure BDA00012741825700000921
Hashing the obtained hash value after the concatenation;
4.3.2.a.2) purchaser user receiving package
Figure BDA00012741825700000922
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating refund information
Figure BDA00012741825700000923
Hash value obtained by hashing
Figure BDA00012741825700000924
Refund information and platform evaluation information
Figure BDA00012741825700000925
Hash value obtained by hashing after concatenation
Figure BDA00012741825700000926
Figure BDA00012741825700000927
Confirming whether the following equations are all established, and if the equations are all established, the signature is correct;
Figure BDA00012741825700000928
4.3.2.a.3) after confirming that the signature of the data transaction platform is authentic, the buyer user utilizes the own user transaction private key
Figure BDA00012741825700000929
For refund information
Figure BDA00012741825700000930
And transaction evaluation
Figure BDA00012741825700000931
Signing to generate transaction information buyer signature
Figure BDA00012741825700000932
And evaluating information buyer signatures
Figure BDA00012741825700000933
Then will contain
Figure BDA00012741825700000934
Sending the data packet to a data transaction platform;
Figure BDA00012741825700000935
Figure BDA0001274182570000101
wherein the content of the first and second substances,
Figure BDA0001274182570000102
indicating information on refunds
Figure BDA0001274182570000103
And buyer evaluation information
Figure BDA0001274182570000104
Hashing the obtained hash value after the concatenation;
4.3.2.a.4) after receiving the data packet sent by the buyer user, the data transaction platform adopts the following equation to extract the information therein to verify the authenticity of the signature:
calculating refund information
Figure BDA0001274182570000105
And buyer evaluation information
Figure BDA0001274182570000106
Hash value obtained by hashing after concatenation
Figure BDA0001274182570000107
Figure BDA0001274182570000108
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure BDA0001274182570000109
after the signature of the buyer is verified to be authentic, the evaluation information of the data transaction platform and the buyer is transmitted
Figure BDA00012741825700001010
And
Figure BDA00012741825700001011
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure BDA00012741825700001012
And the verification public key N of this transactioncThen will contain
Figure BDA00012741825700001013
The data packet is broadcast to each node of the blockchain;
Figure BDA00012741825700001014
wherein N iscA verification public key for the transaction;
4.3.2.a.5) the node with write authority on the block chain verifies the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, writes the transaction information into the block chain after verifying the authenticity, and transfers the funds in the intermediate address A to the address of the buyer user:
Figure BDA00012741825700001015
where e is a bilinear map.
The step 4.3.2) is specifically that if the funds in the final intermediate address a are transferred to the seller user:
4.3.2.b.1) the data transaction platform judges that the refund is unsuccessful according to the transaction condition, and the data transaction platform evaluates the transaction to generate evaluation information of
Figure BDA00012741825700001016
The private key sk of a single transaction is usedTFor transaction information
Figure BDA00012741825700001017
And evaluation information
Figure BDA00012741825700001018
Signing and generating transaction information platform signature
Figure BDA00012741825700001019
And evaluating information platform signatures
Figure BDA00012741825700001020
Then will contain
Figure BDA00012741825700001021
Sending the data packet to the seller user;
Figure BDA00012741825700001022
Figure BDA00012741825700001023
Figure BDA00012741825700001024
wherein the content of the first and second substances,
Figure BDA00012741825700001025
a verification public key representing a data transaction platform,
Figure BDA00012741825700001026
presentation of transaction information
Figure BDA00012741825700001027
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure BDA00012741825700001028
presentation of transaction information
Figure BDA00012741825700001029
And platform evaluation information
Figure BDA00012741825700001030
Hashing the obtained hash value after the concatenation;
4.3.2.b.2) seller user receiving package
Figure BDA00012741825700001031
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure BDA00012741825700001032
Hash value obtained by hashing
Figure BDA00012741825700001033
Transaction information
Figure BDA00012741825700001034
And platform evaluation information
Figure BDA00012741825700001035
Hash value obtained by hashing after concatenation
Figure BDA00012741825700001036
Figure BDA0001274182570000111
Confirming whether the following equations are all established, and if the equations are all established, the signature is correct;
Figure BDA0001274182570000112
4.3.2.b.3) after confirming that the signature of the data transaction platform is real, the seller user utilizes the own user transaction private key
Figure BDA0001274182570000113
For transaction information
Figure BDA0001274182570000114
And evaluation information
Figure BDA0001274182570000115
Signing to generate seller signature of transaction information
Figure BDA0001274182570000116
And evaluating information vendor signatures
Figure BDA0001274182570000117
Then will contain
Figure BDA0001274182570000118
Sending the data packet to a data transaction platform;
Figure BDA0001274182570000119
Figure BDA00012741825700001110
Figure BDA00012741825700001111
wherein the content of the first and second substances,
Figure BDA00012741825700001112
presentation of transaction information
Figure BDA00012741825700001113
And seller evaluation information
Figure BDA00012741825700001114
Hashing the obtained hash value after the concatenation;
4.3.2.b.4) after receiving the data packet sent by the seller user, the data transaction platform adopts the following equation to extract the information therein to verify the authenticity of the signature:
calculating transaction information
Figure BDA00012741825700001115
And seller evaluation information
Figure BDA00012741825700001116
Hash value obtained by hashing after concatenation
Figure BDA00012741825700001117
Figure BDA00012741825700001118
Verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure BDA00012741825700001119
after the signature of the seller is verified to be authentic, the evaluation information of the data transaction platform and the seller is obtained
Figure BDA00012741825700001120
And
Figure BDA00012741825700001121
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure BDA00012741825700001122
And the verification public key N of this transactioncThen will contain
Figure BDA00012741825700001123
The data packet is broadcast to each node of the blockchain;
Figure BDA00012741825700001124
wherein N iscA verification public key for the transaction;
4.3.2.b.5) the nodes with writing authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure BDA00012741825700001125
where e is a bilinear map.
Some of the above-mentioned terms of art to which the invention relates are to be interpreted as follows:
signature: the signatures are all digital signatures, the digital signatures are physical signatures similar to those written on paper, and are realized only by utilizing the technology in the field of public key encryption, and the application of the asymmetric encryption technology and the digital digest technology is realized. The digital signature generally comprises two operations of signature and verification, and only a signer of information can generate a section of digital string which cannot be forged by others, so that the digital signature comprises the functions of authentication, integrity verification, non-repudiation certification and the like.
And (3) circulating group: g is a cyclic group, G has an element G, and any element f in G can be expressed as f ═ G · n, n is an integer, G is the cyclic group generated by G, G is a generator of the group G, and G is ═ G >.
Bilinear mapping: g and V are cyclic groups of order prime q, G is cyclic addition, and V is cyclic multiplication. Bilinear pairings refer to a mapping e: G → V:
(1) bilinear-for all P, Q ∈ G and
Figure BDA0001274182570000121
e(wP,vQ)=e(wvP,Q)=e(P,wvQ)=e(P,Q)wv
wherein w and v represent
Figure BDA0001274182570000122
Any number of the above-mentioned compounds can be used,
Figure BDA0001274182570000123
a remainder set that does not contain 0 representing any integer divided by a prime number q, P, Q representing any element in group G.
(2) Non-degeneration: there is one P ∈ G, satisfying e (P, P) ≠ 1.
(3) It can be calculated: for P, Q ∈ G, there is an efficient algorithm to compute e (P, Q).
Address: the addresses mentioned in the present invention refer to addresses in the blockchain, which are used to mark the payor and the receiver of a transaction, and the addresses in the blockchain are obtained by a series of hash and coding algorithms on the public key.
Compared with the prior art, the invention has the beneficial effects that:
1) the buyer user and the seller user can both ensure the safe storage of transaction funds, a data transaction platform provider cannot use the transaction funds, and the seller user really acquires the funds after the buyer user clearly agrees;
2) the data transaction platform cannot acquire a private key generation method of a user and cannot know the private key of the user, so that the transaction is not influenced by a single party, and the outside cannot attack the server to cause danger, economy and safety.
In conclusion, the invention can provide a trading method which is not influenced by a single party, ensure the rights and interests of buyers and sellers, ensure that a data trading platform cannot use trading funds, and avoid the threat of external to economic safety as much as possible.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the embodiments.
As shown in fig. 1, the embodiment of the present invention and its specific implementation are as follows:
A. and (3) generating a secret key:
each of the buyer user and the seller user generates a user transaction key pair (pk) at its own clientC,skC) Wherein pkCRepresenting the user's transaction public key, skCRepresenting the private key of the user transaction, the public key pk in the key pair is used by the userCSent to the data trading platform, and pkC=skCP, P represents the generator of the cyclic addition; and for the user transaction key pair (pk) of the buyer-seller userC,skC) The transaction key pair of the buyer user is expressed as
Figure BDA0001274182570000124
The seller user's transaction key pair is represented as
Figure BDA0001274182570000125
During each transaction occurring between any seller user and buyer user, the data transaction platform generates an assigned single transaction key pair (pk) for each transaction processT,skT) Wherein pkTTo representSingle transaction public key, skTRepresenting a single-transaction private key and disclosing a single-transaction public key; single transaction key pair (pk)T,skT) The seller user and the buyer user are not separated, and only generated by the data transaction platform for each transaction, also can be expressed as
Figure BDA0001274182570000131
In the superscript of the invention, in the alphabetical representation, C denotes a transaction key and T denotes a one-time transaction key. In the alphabetical representation of the invention, subscripts a represent buyer users, b represent ordinals of seller users, and c represents a data transaction platform.
The client side for generating and storing the public and private transaction keys by the user is provided by a data transaction platform partner, but not provided by the data transaction platform, and the data transaction platform cannot acquire the private key of the user. If the attacker controls the data transaction platform, the attacker still cannot acquire the private key of any user, so that the information security of the user is ensured.
In specific implementation, when a buyer user and a seller user register on the data transaction platform, the user sets a login account and a corresponding password, the data transaction platform encrypts and stores the login password of the user, and effective identity of the user is guaranteed, and the login password of the user is not leaked. Implementations may also generate an assigned user login key pair (pk) for each of the buyer user and the seller userU,skU) Wherein pkUIndicating the user's login public key, skUThe user logs in the private key and sends the private key of the user to the user. Both the seller user and the buyer user have a user login key pair (pk)U,skU) The buyer user's login key pair is represented as
Figure BDA0001274182570000132
The seller user's login key pair is represented as
Figure BDA0001274182570000133
B. And (3) releasing data to be traded: a seller user publishes data information of data to be transacted on a block chain through a data transaction platform for a buyer user to purchase;
seller user selection of data to be transacted
Figure BDA0001274182570000134
The hash value of the identification number ID of the seller user, the description information of the data to be transacted, the hash value of the data to be transacted, the price of the data to be transacted and the user transaction public key of the seller user
Figure BDA0001274182570000135
Packaging the data into a data packet, and then using a user transaction private key of a seller user
Figure BDA0001274182570000136
The data package is signed and then sent to a data transaction platform, the data transaction platform verifies the effective identity of the seller user as the data transaction platform with the data package sent by the seller user, and the user transaction public key of the seller user is utilized after the data package is verified to be correct
Figure BDA0001274182570000137
And verifying the signature of the data packet, and adding the data information in the data packet into the block to form a chain when the data packet is confirmed to be sent by the seller user.
According to the data packet provided by the seller user, the effective identity of the seller user as the data transaction platform is verified specifically as follows: and verifying the identity of the buyer through the user login account and the login password of the user of the seller.
C. After the buyer sees the data to be transacted on the page of the data transaction platform, the buyer sends an application for purchasing some data to be transacted and starts the transaction process, and the data transaction method is processed according to the method of the invention:
1) after the buyer user sends an application for purchasing certain data to the data transaction platform, the data transaction platform generates a single transaction key (pk) for the transaction processT,skT) Simultaneously utilizing safety according to user transaction public keys of a buyer user and a seller user and a single transaction secret key of a data transaction platformThe hash function H generates an intermediate address A, and the data transaction platform, the buyer user and the seller user subsequently perform multiple signatures by using the intermediate address A;
2) the buyer user carries out payment operation, digital money is used as transaction fund, the transaction fund of the self address is transferred to the intermediate address A through the blockchain technology, the seller user inquires the transaction information that the transaction fund of the buyer user is transferred to the intermediate address A on the blockchain, and then the transaction public key of the buyer user is obtained from the data transaction platform
Figure BDA0001274182570000141
Data to be transacted
Figure BDA0001274182570000142
Encrypted and then sent to the buyer user,
3) the buyer user receives the encrypted data to be transacted
Figure BDA0001274182570000143
And then, verifying the correctness of the data through data decryption, hash and hash value comparison: the buyer user receives the encrypted data to be transacted
Figure BDA0001274182570000144
Then, firstly, the private key of the user transaction is utilized
Figure BDA0001274182570000145
Decrypting, and decrypting to obtain data to be transacted
Figure BDA0001274182570000146
And calculating the hash value of the data to be traded, comparing the calculated hash value with the hash value of the data to be traded in the data information issued on the block chain, and confirming whether the hash value is consistent to obtain a correctness result.
4) Carrying out step 4.1), 4.2) or 4.3);
4.1) if the buyer user verifies that the data is correct, generating the transaction information that the transaction fund in the intermediate address A is transferred to the seller user address
Figure BDA0001274182570000147
And to transaction information
Figure BDA0001274182570000148
After signature confirmation, the seller user simultaneously confirms the transaction information
Figure BDA0001274182570000149
Signature validation
Figure BDA00012741825700001410
Funds in the intermediate address a are transferred to the seller's user address.
4.2) after the buyer user receives the data, if the buyer user does not confirm the transaction within the specified time, the data transaction platform generates the transaction information that the funds in the intermediate address A are transferred to the seller user address
Figure BDA00012741825700001411
Data transaction platform and seller user-to-transaction information
Figure BDA00012741825700001412
Signature validation
Figure BDA00012741825700001413
Funds in a are transferred to the seller's user address.
4.3) if the buyer user disagrees with the transaction, determining to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing condition of the seller user or the judgment result of the data transaction platform, wherein the steps are specifically as follows:
4.3.1) if the buyer user applies for refund operation, the buyer user generates refund information that the transaction fund of the intermediate address A is returned to the address of the buyer user
Figure BDA00012741825700001414
And sending the signature to the seller user, and if the seller user agrees to refund, refund information is sent to the seller user
Figure BDA00012741825700001415
Carry out signature
Figure BDA00012741825700001416
Funds in the intermediate address a are returned to the buyer user address;
4.3.2) if the seller user does not agree with the refund, the following two conditions are divided:
4.3.2.a) refund information that the purchaser user generates a refund of the transaction funds at the intermediate address A to the purchaser user address if the purchaser user applies for a refund operation
Figure BDA00012741825700001417
And sending the signature to the seller user, judging the result by the data transaction platform if the seller user does not agree with the refund, determining that the refund is successful according to the judgment result, and transferring the fund in the intermediate address A to the buyer user.
4.3.2.b) if the buyer user applies for a refund operation, the buyer user generates refund information that the transaction funds of the intermediate address A are returned to the buyer user address
Figure BDA0001274182570000151
And sending the signature to the seller user, judging the result by the data transaction platform if the seller user does not agree with the refund, determining that the refund is unsuccessful according to the judgment result, and transferring the fund in the intermediate address A to the seller user.
The transaction based on the block chain is all one-way irreversible, and the transaction method based on the block chain in the prior art often appears: if the buyer user transfers the funds to the seller user address, the transaction is irreversible, and the buyer user cannot obtain the funds again when the buyer user is not satisfied with the commodity, and the funds are unsafe if the buyer user temporarily stores the funds in the transaction data transaction platform and then transfers the funds from the transaction data transaction platform to the seller user. Therefore, the existing multiple signature transaction is not necessarily safe and does not provide the imaginable safety guarantee.
Therefore, it can be seen from the above embodiments that, in the method of the present invention, each user of the user generates a user transaction key pair at its own client, and performs multiple signature processing on data encryption and transaction information during transaction between both parties in a special regional chain manner, and records in a block, so that any party cannot use transaction funds.
The foregoing detailed description is intended to illustrate and not limit the invention, which is intended to be within the spirit and scope of the appended claims, and any changes and modifications that fall within the true spirit and scope of the invention are intended to be covered by the following claims.

Claims (10)

1. A multi-signature transaction information processing method in a data transaction platform based on a block chain is characterized in that the method is used for processing information of the data transaction platform, a buyer user and a seller user in a transaction process taking data as an object, and comprises the following aspects:
A. and (3) generating a secret key:
each of the buyer user and the seller user generates a user transaction key pair (pk) at its own clientC,skC) Wherein pkCRepresenting the user's transaction public key, skCRepresenting the private key of the user transaction, the public key pk in the key pair is used by the userCSent to the data trading platform, and pkC=skCP, P representing the generator of the cyclic addition between the public key and the private key; and for the user transaction key pair (pk) of the buyer-seller userC,skC) The transaction key pair of the buyer user is expressed as
Figure FDA0002455942700000011
The seller user's transaction key pair is represented as
Figure FDA0002455942700000012
During each transaction occurring between any seller user and buyer user, the data transaction platform generates a single transaction key pair (pk) for each transaction processT,skT) Wherein pkTRepresenting a single transaction public key, skTRepresenting a single-transaction private key and disclosing a single-transaction public key;
B. and (3) releasing data to be traded: a seller user publishes data information of data to be transacted on a block chain through a data transaction platform for a buyer user to purchase;
C. in each transaction process, the transaction information is processed in the following mode:
1) after a buyer user sends an application for purchasing certain data to a data transaction platform, an intermediate address A is generated according to respective user transaction public keys of the buyer user and a seller user and a single transaction public key of the data transaction platform;
2) the buyer user carries out payment operation, the transaction fund of the self address is transferred to the intermediate address A through the blockchain technology, the seller user inquires the transaction information that the transaction fund of the buyer user is transferred to the intermediate address A on the blockchain, and then the user transaction public key of the buyer user is obtained from the data transaction platform
Figure FDA0002455942700000013
Data to be transacted
Figure FDA0002455942700000014
Encrypted and then sent to the buyer user,
3) the buyer user receives the encrypted data to be transacted
Figure FDA0002455942700000015
Then, verifying the correctness through data decryption, hash and hash value comparison, and performing the steps 4.1), 4.2) or 4.3);
4.1) if the buyer user verifies that the data is correct, the transaction is confirmed and confirmed transaction information is sent to the data transaction platform, then the buyer user confirms the transactionAnd the seller users use the respective user transaction private keys to deal with the successful transaction information
Figure FDA0002455942700000016
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and after the blockchain node verifies that the signature passes, the transaction fund in the intermediate address A is transferred to the address of the seller user;
4.2) if the buyer user does not confirm the transaction within the specified time, the data transaction platform uses the private key of the buyer user for the transaction information of successful transaction by using the private key of the buyer user for the single transaction and the private key of the seller user for the transaction
Figure FDA0002455942700000017
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and after the blockchain node verifies that the signature passes, the transaction fund in the intermediate address A is transferred to the address of the seller user;
4.3) if the buyer user disagrees with the transaction, determining to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing condition of the seller user or the judgment result of the data transaction platform, wherein the steps are specifically as follows:
4.3.1) if the buyer user applies for refund operation, the buyer user generates refund information that the transaction fund of the intermediate address A is returned to the address of the buyer user
Figure FDA0002455942700000021
And sending the signature to the seller user, and if the seller user agrees to refund, refund information is sent to the seller user
Figure FDA0002455942700000022
The data transaction platform verifies the signature and broadcasts the signature to the blockchain network, and funds in the intermediate address A can be returned to the address of the buyer user after the blockchain node verifies that the signature passes;
4.3.2) if the buyer user applies for refund operation, the buyer user generates the transaction fund refund of the intermediate address ARefund information back to buyer user address
Figure FDA0002455942700000023
And sending the signature to the seller user, judging a result by the data transaction platform if the seller user does not agree with the refund, and determining to transfer the funds in the intermediate address A to the buyer user or the seller user according to the judgment result.
2. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the step B of issuing the data to be traded on the blockchain by the seller user through the data trading platform specifically includes: seller user selection of data to be transacted
Figure FDA0002455942700000024
The hash value of the identification number ID of the seller user, the description information of the data to be transacted, the hash value of the data to be transacted, the price of the data to be transacted and the user transaction public key of the seller user
Figure FDA0002455942700000025
Packaging the data into a data packet, and then using a user transaction private key of a seller user
Figure FDA0002455942700000026
The data package is signed and then sent to a data transaction platform, after the data transaction platform receives the data package sent by the seller user, the data transaction platform verifies the effective identity of the seller user as the data transaction platform, and after the data transaction platform verifies the effective identity, the user transaction public key of the seller user is utilized
Figure FDA0002455942700000027
And verifying the signature of the data packet, and adding the data information in the data packet into the block to form a chain when the data packet is confirmed to be sent by the seller user.
3. A substrate according to claim 1The method for processing the multi-signature transaction information in the data transaction platform of the block chain is characterized in that: the intermediate address A in the step 1) is a user transaction public key of the data transaction platform according to the buyer user
Figure FDA0002455942700000028
User transaction public key for seller user
Figure FDA0002455942700000029
And single transaction public key pk of data transaction platformTGenerating by using a secure hash function H:
Figure FDA00024559427000000210
wherein H is a secure hash function.
4. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the buyer user receives the encrypted data to be transacted in the step 3)
Figure FDA00024559427000000211
And then, verifying the correctness through decryption, hashing and hash value comparison, which specifically comprises the following steps:
the buyer user receives the encrypted data to be transacted
Figure FDA00024559427000000212
Then, firstly, the private key of the user transaction is utilized
Figure FDA00024559427000000213
Decrypting, and decrypting to obtain data to be transacted
Figure FDA00024559427000000214
Calculating the hash value, and then combining the calculated hash value with the number to be transacted in the data information on the block chainAnd comparing according to the hash values to confirm whether the hash values are consistent so as to obtain a correctness result.
5. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the step 4.1) specifically comprises the following steps:
4.1.1) if the buyer user verifies that the data is correct, the buyer user generates the transaction information that the transaction fund of the intermediate address A is transferred to the address of the seller user
Figure FDA0002455942700000031
And the transaction is evaluated to generate the evaluation information of the buyer user as
Figure FDA0002455942700000032
Buyer user utilizes own user transaction private key
Figure FDA0002455942700000033
For transaction information
Figure FDA0002455942700000034
And evaluation information
Figure FDA0002455942700000035
Respectively signing to generate transaction information buyer signature
Figure FDA0002455942700000036
And buyer rating information signature
Figure FDA0002455942700000037
Then will contain
Figure FDA0002455942700000038
The data packet is sent to the seller user and the data transaction platform;
Figure FDA0002455942700000039
Figure FDA00024559427000000310
Figure FDA00024559427000000311
wherein "·| ·" represents a concatenation of data,
Figure FDA00024559427000000312
for the verification of the public key of the buyer user,
Figure FDA00024559427000000313
presentation of transaction information
Figure FDA00024559427000000314
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure FDA00024559427000000315
presentation of transaction information
Figure FDA00024559427000000316
And buyer evaluation information
Figure FDA00024559427000000317
Hashing the obtained hash value after the concatenation;
4.1.2) seller user receiving package
Figure FDA00024559427000000318
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure FDA00024559427000000319
Hash value of
Figure FDA00024559427000000320
Transaction information
Figure FDA00024559427000000321
And buyer evaluation information
Figure FDA00024559427000000322
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000323
Figure FDA00024559427000000324
Confirming whether the following equations are all true, and if the equations are all true, indicating that the signature is true;
Figure FDA00024559427000000325
wherein, P represents the generation element of the circulation adding group between the public key and the private key, and e is bilinear mapping;
4.1.3) after confirming that the signature of the buyer user is authentic, the seller user evaluates the transaction to generate evaluation information of the seller user
Figure FDA00024559427000000326
And utilizes its own private key for user transaction
Figure FDA00024559427000000327
For transaction information
Figure FDA00024559427000000328
And evaluation information
Figure FDA00024559427000000329
Signing to generate seller signature of transaction information
Figure FDA00024559427000000330
And seller ratings information signature
Figure FDA00024559427000000331
Then will contain
Figure FDA00024559427000000332
Sending the data packet to a data transaction platform;
Figure FDA00024559427000000333
Figure FDA00024559427000000334
Figure FDA00024559427000000335
wherein P represents a generator of round-robin clustering between the public key and the private key,
Figure FDA00024559427000000336
presentation of transaction information
Figure FDA00024559427000000337
And seller evaluation information
Figure FDA00024559427000000338
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000339
a verification public key for the seller user;
4.1.4) after receiving the data packets sent by the buyer user and the seller user, the data transaction platform adopts the following modes to verify the authenticity of the signature of the extracted information:
calculating transaction information
Figure FDA0002455942700000041
Hash value of
Figure FDA0002455942700000042
Transaction information
Figure FDA0002455942700000043
And buyer evaluation information
Figure FDA0002455942700000044
Hash value obtained by hashing after concatenation
Figure FDA0002455942700000045
Transaction information
Figure FDA0002455942700000046
And seller evaluation information
Figure FDA0002455942700000047
Hash value obtained by hashing after concatenation
Figure FDA0002455942700000048
Figure FDA0002455942700000049
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure FDA00024559427000000410
verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure FDA00024559427000000411
after the signatures of both parties are verified to be true, the evaluation information of the buyer and seller users is obtained
Figure FDA00024559427000000412
And
Figure FDA00024559427000000413
displaying the transaction result, and calculating the signatures of both parties of the transaction information by the following algorithm
Figure FDA00024559427000000414
And the verification public key N of this transactioncThen will contain
Figure FDA00024559427000000415
The data packet of (a) is broadcast to the blockchain;
Figure FDA00024559427000000416
wherein N iscA verification public key for the transaction;
4.1.5) the nodes with writing authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure FDA00024559427000000417
where e is a bilinear map.
6. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the step 4.3.2) is specifically divided into the following steps:
4.3.2.1) if the data transaction platform determines the refund is successful according to the transaction condition, the data transaction platform and the buyer user can use the refund information
Figure FDA00024559427000000427
Signing, and returning funds in the intermediate address A to the address of the buyer user;
4.3.2.2) if the data transaction platform determines the refund is not successful according to the transaction condition, the data transaction platform and the seller user can check the transaction information
Figure FDA00024559427000000426
Signing is performed and funds in the intermediate address a are transferred to the seller user address.
7. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the step 4.2) specifically comprises the following steps:
4.2.1) after the buyer user does not confirm the transaction within the specified time, the data transaction platform evaluates the transaction and generates evaluation information
Figure FDA00024559427000000418
Private key sk using the transaction keyTFor transaction information
Figure FDA00024559427000000419
And evaluation information
Figure FDA00024559427000000420
Signing and generating transaction information platform signature
Figure FDA00024559427000000421
And platform rating information signatures
Figure FDA00024559427000000422
Then will contain
Figure FDA00024559427000000423
Sending the data packet to the seller user;
Figure FDA00024559427000000424
Figure FDA00024559427000000425
Figure FDA0002455942700000051
wherein the content of the first and second substances,
Figure FDA0002455942700000052
a verification public key representing a data transaction platform,
Figure FDA0002455942700000053
presentation of transaction information
Figure FDA0002455942700000054
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure FDA0002455942700000055
presentation of transaction information
Figure FDA0002455942700000056
And platform evaluation information
Figure FDA0002455942700000057
Hashing the obtained hash value after the concatenation;
4.2.2) seller user receiving Package
Figure FDA0002455942700000058
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure FDA0002455942700000059
Hash value of
Figure FDA00024559427000000510
Transaction information
Figure FDA00024559427000000511
And platform evaluation information
Figure FDA00024559427000000512
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000513
Figure FDA00024559427000000514
Confirming whether the following equations are all true, and if the equations are all true, the signature is real;
Figure FDA00024559427000000515
4.2.3) after confirming that the signature of the data transaction platform is real, the seller user utilizes the own user transaction private key
Figure FDA00024559427000000516
For transaction information
Figure FDA00024559427000000517
And seller transaction rating
Figure FDA00024559427000000518
Signing to generate transaction letterSeller signature
Figure FDA00024559427000000519
And evaluating information vendor signatures
Figure FDA00024559427000000520
Then will contain
Figure FDA00024559427000000521
Sending the data packet to a data transaction platform;
Figure FDA00024559427000000522
Figure FDA00024559427000000523
wherein the content of the first and second substances,
Figure FDA00024559427000000524
presentation of transaction information
Figure FDA00024559427000000525
And seller transaction rating
Figure FDA00024559427000000526
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000527
a verification public key for the seller user;
4.2.4) after receiving the data packet sent by the seller user, the data transaction platform adopts the following equation to verify the authenticity of the signature by extracting the information:
calculating transaction information
Figure FDA00024559427000000528
And seller transaction rating
Figure FDA00024559427000000529
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000530
Figure FDA00024559427000000531
Verifying the signature of the seller user, and if the following equations are all true, indicating that the signature is true:
Figure FDA00024559427000000532
after the signature of the seller is verified to be authentic, the evaluation information of the data transaction platform and the seller is obtained
Figure FDA00024559427000000533
And
Figure FDA00024559427000000534
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure FDA00024559427000000535
And the verification public key N of this transactioncThen will contain
Figure FDA00024559427000000536
The data packet of (a) is broadcast to the blockchain;
Figure FDA00024559427000000537
wherein N iscA verification public key for the transaction;
4.2.5) the nodes with the write-in authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure FDA0002455942700000061
where e is a bilinear map.
8. The method for processing the multi-signature transaction information in the data transaction platform based on the blockchain as claimed in claim 1, wherein the method comprises the following steps: the step 4.3.1) specifically comprises the following steps:
4.3.1.1) after the buyer user performs refund operation, the transaction is evaluated to generate the evaluation information of the buyer user as
Figure FDA0002455942700000062
Buyer user utilizes own user transaction private key
Figure FDA0002455942700000063
For refund information
Figure FDA0002455942700000064
And evaluation information
Figure FDA0002455942700000065
Signing to generate transaction information buyer signature
Figure FDA0002455942700000066
And evaluating information buyer signatures
Figure FDA0002455942700000067
Then will contain
Figure FDA0002455942700000068
The data packet is sent to the seller user and the data transaction platform;
Figure FDA0002455942700000069
Figure FDA00024559427000000610
Figure FDA00024559427000000611
wherein "·| ·" represents a concatenation of data,
Figure FDA00024559427000000612
for the verification of the public key of the buyer user,
Figure FDA00024559427000000613
indicating information on refunds
Figure FDA00024559427000000614
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure FDA00024559427000000615
indicating information on refunds
Figure FDA00024559427000000616
And buyer evaluation information
Figure FDA00024559427000000617
Hashing the obtained hash value after the concatenation;
4.3.1.2) seller user receiving package
Figure FDA00024559427000000618
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating refund information
Figure FDA00024559427000000619
Hash value obtained by hashing
Figure FDA00024559427000000620
Refund information
Figure FDA00024559427000000621
And buyer evaluation information
Figure FDA00024559427000000622
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000623
Figure FDA00024559427000000624
Confirming whether the following equations are all true, and if the equations are all true, indicating that the signature is true;
Figure FDA00024559427000000625
Figure FDA00024559427000000626
wherein, P represents the generation element of the circulation adding group between the public key and the private key, and e is bilinear mapping;
4.3.1.3) after confirming that the signature of the buyer user is authentic, the seller user evaluates the transaction to generate evaluation information of the seller user
Figure FDA00024559427000000627
Seller users utilize their own private key for user transaction
Figure FDA00024559427000000628
For refund information
Figure FDA00024559427000000629
And evaluation information
Figure FDA00024559427000000630
Signing to generate seller signature of transaction information
Figure FDA00024559427000000631
And evaluating information vendor signatures
Figure FDA00024559427000000632
Then will contain
Figure FDA00024559427000000633
Sending the data packet to a data transaction platform;
Figure FDA00024559427000000634
Figure FDA00024559427000000635
Figure FDA00024559427000000636
wherein P represents a generator of round-robin clustering between the public key and the private key,
Figure FDA00024559427000000637
indicating information on refunds
Figure FDA00024559427000000638
And seller evaluation information
Figure FDA00024559427000000639
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000640
a verification public key for the seller user;
4.3.1.4) after receiving the data packets sent by the buyer user and the seller user, the data transaction platform adopts the following equation to verify the authenticity of the signature for the information extracted from the data packets:
calculating refund information
Figure FDA0002455942700000071
Hash value obtained by hashing
Figure FDA0002455942700000072
Refund information
Figure FDA0002455942700000073
And buyer evaluation information
Figure FDA0002455942700000074
Hash value obtained by hashing after concatenation
Figure FDA0002455942700000075
Refund information
Figure FDA0002455942700000076
And seller evaluation information
Figure FDA0002455942700000077
Hash value obtained by hashing after concatenation
Figure FDA0002455942700000078
Figure FDA0002455942700000079
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure FDA00024559427000000710
verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure FDA00024559427000000711
after the signatures of both parties are verified to be true, the evaluation information of the buyer and seller users is obtained
Figure FDA00024559427000000712
And
Figure FDA00024559427000000713
displaying the transaction result, and calculating the signatures of both parties of the transaction information by the following algorithm
Figure FDA00024559427000000714
And the verification public key N of this transactioncThen will contain
Figure FDA00024559427000000715
The data packet of (a) is broadcast to the blockchain;
Figure FDA00024559427000000716
wherein N iscA verification public key for the transaction;
4.3.1.5) verifying the authenticity of the signature for the information sent by the data transaction platform by the node with the writing authority on the block chain by adopting the following equation, writing the transaction information into the block chain after verifying the authenticity, and transferring the funds in the intermediate address A to the address of the seller user:
Figure FDA00024559427000000717
where e is a bilinear map.
9. The method for processing multiple signature transaction information in a data transaction platform based on block chain as claimed in claim 1 or 6, wherein: in the step 4.3.2), if the funds in the final intermediate address a are transferred to the buyer user, the specific steps are:
4.3.2.a.1) the data transaction platform judges the refund success according to the transaction condition, and the data transaction platform evaluates the transaction to generate evaluation information of
Figure FDA00024559427000000718
The private key sk of a single transaction is usedTFor refund information
Figure FDA00024559427000000719
And evaluation information
Figure FDA00024559427000000720
Signing and generating transaction information platform signature
Figure FDA00024559427000000721
And evaluating information platform signatures
Figure FDA00024559427000000722
Then will contain
Figure FDA00024559427000000723
The data packet is sent to the buyer user;
Figure FDA00024559427000000724
Figure FDA00024559427000000725
Figure FDA00024559427000000726
wherein the content of the first and second substances,
Figure FDA00024559427000000727
a verification public key representing a data transaction platform,
Figure FDA00024559427000000728
indicating information on refunds
Figure FDA00024559427000000729
Hash value, H, obtained by hashing1() A secure hash function is represented that represents a secure hash function,
Figure FDA00024559427000000730
indicating information on refunds
Figure FDA00024559427000000731
And platform evaluation information
Figure FDA00024559427000000732
Hashing the obtained hash value after the concatenation;
4.3.2.a.2) purchaser user receiving package
Figure FDA0002455942700000081
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating refund information
Figure FDA0002455942700000082
Hash value obtained by hashing
Figure FDA0002455942700000083
Refund information and platform evaluation information
Figure FDA0002455942700000084
Hash value obtained by hashing after concatenation
Figure FDA0002455942700000085
Figure FDA0002455942700000086
Confirming whether the following equations are all established, and if the equations are all established, the signature is correct;
Figure FDA0002455942700000087
4.3.2.a.3) after confirming that the signature of the data transaction platform is authentic, the buyer user utilizes the own user transaction private key
Figure FDA0002455942700000088
For refund information
Figure FDA0002455942700000089
And transaction evaluation
Figure FDA00024559427000000810
Signing to generate transaction information buyer signature
Figure FDA00024559427000000811
And evaluating information buyer signatures
Figure FDA00024559427000000812
Then will contain
Figure FDA00024559427000000813
Sending the data packet to a data transaction platform;
Figure FDA00024559427000000814
Figure FDA00024559427000000815
wherein the content of the first and second substances,
Figure FDA00024559427000000816
indicating information on refunds
Figure FDA00024559427000000817
And buyer evaluation information
Figure FDA00024559427000000818
Hashing the obtained hash value after the concatenation;
4.3.2.a.4) after receiving the data packet sent by the buyer user, the data transaction platform adopts the following equation to extract the information therein to verify the authenticity of the signature:
calculating refund information
Figure FDA00024559427000000819
And buyer evaluation information
Figure FDA00024559427000000820
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000821
Figure FDA00024559427000000822
Verifying the signature of the buyer, and if the following equations are all true, indicating that the signature of the buyer is true:
Figure FDA00024559427000000823
after the signature of the buyer is verified to be authentic, the evaluation information of the data transaction platform and the buyer is transmitted
Figure FDA00024559427000000824
And
Figure FDA00024559427000000825
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure FDA00024559427000000826
And the verification public key N of this transactioncThen will contain
Figure FDA00024559427000000827
The data packet of (a) is broadcast to the blockchain;
Figure FDA00024559427000000828
wherein N iscA verification public key for the transaction;
4.3.2.a.5) the node with write authority on the block chain verifies the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, writes the transaction information into the block chain after verifying the authenticity, and transfers the funds in the intermediate address A to the address of the buyer user:
Figure FDA00024559427000000829
where e is a bilinear map.
10. The method for processing multiple signature transaction information in a data transaction platform based on block chain as claimed in claim 1 or 6, wherein: the step 4.3.2) is specifically that if the funds in the final intermediate address a are transferred to the seller user:
4.3.2.b.1) the data transaction platform judges that the refund is unsuccessful according to the transaction condition, and the data transaction platform evaluates the transaction to generate evaluation information of
Figure FDA0002455942700000091
Use this timeSingle transaction private key sk of a transactionTFor transaction information
Figure FDA0002455942700000092
And evaluation information
Figure FDA0002455942700000093
Signing and generating transaction information platform signature
Figure FDA0002455942700000094
And evaluating information platform signatures
Figure FDA0002455942700000095
Then will contain
Figure FDA0002455942700000096
Sending the data packet to the seller user;
Figure FDA0002455942700000097
Figure FDA0002455942700000098
Figure FDA0002455942700000099
wherein the content of the first and second substances,
Figure FDA00024559427000000910
a verification public key representing a data transaction platform,
Figure FDA00024559427000000911
presentation of transaction information
Figure FDA00024559427000000912
Hash value, H, obtained by hashing1() Representing secure hashesThe function of the function is that of the function,
Figure FDA00024559427000000913
presentation of transaction information
Figure FDA00024559427000000914
And platform evaluation information
Figure FDA00024559427000000915
Hashing the obtained hash value after the concatenation;
4.3.2.b.2) seller user receiving package
Figure FDA00024559427000000916
After the data packet is received, extracting information in the data packet, and verifying the authenticity of the signature, wherein the verification method comprises the following steps:
calculating transaction information
Figure FDA00024559427000000917
Hash value obtained by hashing
Figure FDA00024559427000000918
Transaction information
Figure FDA00024559427000000919
And platform evaluation information
Figure FDA00024559427000000920
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000921
Figure FDA00024559427000000922
Confirming whether the following equations are all established, and if the equations are all established, the signature is correct;
Figure FDA00024559427000000923
4.3.2.b.3) after confirming that the signature of the data transaction platform is real, the seller user utilizes the own user transaction private key
Figure FDA00024559427000000924
For transaction information
Figure FDA00024559427000000925
And evaluation information
Figure FDA00024559427000000926
Signing to generate seller signature of transaction information
Figure FDA00024559427000000927
And evaluating information vendor signatures
Figure FDA00024559427000000928
Then will contain
Figure FDA00024559427000000929
Sending the data packet to a data transaction platform;
Figure FDA00024559427000000930
Figure FDA00024559427000000931
Figure FDA00024559427000000932
wherein the content of the first and second substances,
Figure FDA00024559427000000933
presentation of transaction information
Figure FDA00024559427000000934
And seller evaluation information
Figure FDA00024559427000000935
Hashing the obtained hash value after the concatenation;
4.3.2.b.4) after receiving the data packet sent by the seller user, the data transaction platform adopts the following equation to extract the information therein to verify the authenticity of the signature:
calculating transaction information
Figure FDA00024559427000000936
And seller evaluation information
Figure FDA00024559427000000937
Hash value obtained by hashing after concatenation
Figure FDA00024559427000000938
Figure FDA00024559427000000939
Verifying the signature of the seller user, and if the following equations are all true, indicating that the signature of the seller is true:
Figure FDA00024559427000000940
after the signature of the seller is verified to be authentic, the evaluation information of the data transaction platform and the seller is obtained
Figure FDA00024559427000000941
And
Figure FDA00024559427000000942
displaying on the transaction result page, and calculating the signatures of both parties of the transaction information by using the following formula
Figure FDA00024559427000000943
And the verification public key N of this transactioncThen will contain
Figure FDA0002455942700000101
The data packet of (a) is broadcast to the blockchain;
Figure FDA0002455942700000102
wherein N iscA verification public key for the transaction;
4.3.2.b.5) the nodes with writing authority on the block chain verify the authenticity of the signature for the data packet sent by the data transaction platform by adopting the following equation, and write the transaction information into the block chain after verifying the authenticity, so that the funds in the intermediate address A are transferred to the address of the user of the seller:
Figure FDA0002455942700000103
where e is a bilinear map.
CN201710258860.9A 2017-04-19 2017-04-19 Multi-signature transaction information processing method in data transaction platform based on block chain Active CN107038578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710258860.9A CN107038578B (en) 2017-04-19 2017-04-19 Multi-signature transaction information processing method in data transaction platform based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710258860.9A CN107038578B (en) 2017-04-19 2017-04-19 Multi-signature transaction information processing method in data transaction platform based on block chain

Publications (2)

Publication Number Publication Date
CN107038578A CN107038578A (en) 2017-08-11
CN107038578B true CN107038578B (en) 2020-10-16

Family

ID=59535529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710258860.9A Active CN107038578B (en) 2017-04-19 2017-04-19 Multi-signature transaction information processing method in data transaction platform based on block chain

Country Status (1)

Country Link
CN (1) CN107038578B (en)

Families Citing this family (62)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866752B (en) * 2017-09-18 2023-04-14 腾讯科技(深圳)有限公司 Resource transaction method, node, device and storage medium
CN107679976B (en) * 2017-09-28 2021-02-12 电子科技大学 Auction method based on block chain
CN107730225B (en) * 2017-10-24 2021-07-06 广东工业大学 Big data transaction method, system, equipment and computer storage medium
CN107909476B (en) * 2017-11-23 2021-07-20 深圳捷汇科技有限公司 Digital asset receiving and sending method, electronic equipment and transaction system
CN108256967A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 E-commerce solution to disputes method and system based on block chain
CN108305074B (en) * 2018-01-30 2020-06-02 深圳壹账通智能科技有限公司 Transaction processing method and device, computer equipment and storage medium
JP7101031B2 (en) * 2018-04-13 2022-07-14 株式会社bitFlyer Blockchain Blockchain network and confirmation method for it
CN108737498A (en) * 2018-04-18 2018-11-02 中国地质大学(武汉) A kind of P2P safety download detection method and system based on block chain
CN108596665A (en) * 2018-04-24 2018-09-28 深圳市亿道数码技术有限公司 A kind of shopping motivational techniques and system based on block chain
CN108596619B (en) * 2018-04-26 2022-11-01 深圳怡化电脑股份有限公司 Transaction method, device, central node and system for blockchain system
CN108711006B (en) * 2018-05-15 2021-05-07 腾讯科技(深圳)有限公司 Income management method, management node, system and storage equipment
CN108647969A (en) * 2018-05-16 2018-10-12 深圳市网心科技有限公司 A kind of method, apparatus, system and the storage medium of access block chain
CN108805574B (en) * 2018-05-19 2021-01-26 深圳市图灵奇点智能科技有限公司 Transaction method and system based on privacy protection
CN108876606B (en) 2018-05-29 2021-02-09 创新先进技术有限公司 Asset transfer method and device and electronic equipment
CN108876572A (en) 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 The account checking method and device, electronic equipment of block chain transaction
CN108805712B (en) * 2018-05-29 2021-03-23 创新先进技术有限公司 Asset transfer rollback processing method and device and electronic equipment
CN108764909A (en) * 2018-06-01 2018-11-06 杭州复杂美科技有限公司 A kind of block chain data monitoring and managing method
CN108846671B (en) * 2018-06-05 2021-10-26 上海臻客信息技术服务有限公司 Online secure transaction method and system based on block chain
CN108717657A (en) * 2018-06-11 2018-10-30 北京阿尔山金融科技有限公司 Capital lease system and method based on block chain
CN108694668B (en) * 2018-06-15 2023-07-14 腾讯科技(深圳)有限公司 Digital asset transaction method, device, medium and equipment
CN108961054A (en) * 2018-06-26 2018-12-07 方卫均 A kind of houseclearing transaction platform
CN108876372A (en) * 2018-06-27 2018-11-23 史洪岳 Data processing system, method and computer storage medium based on cloud platform
CN110708269B (en) * 2018-07-10 2022-04-12 北京京东尚科信息技术有限公司 Block chain data transmission method, block chain node and computer readable storage medium
CN109377216B (en) * 2018-08-07 2021-03-23 创新先进技术有限公司 Transaction method and system based on centralized settlement and block chain deposit certificate
CN109242453B (en) * 2018-08-07 2021-03-23 创新先进技术有限公司 Transaction method and system based on centralized settlement and block chain deposit certificate
CN108985765A (en) * 2018-08-13 2018-12-11 中国联合网络通信集团有限公司 Enterprise user information processing method, equipment and storage medium
CN109242450A (en) * 2018-09-21 2019-01-18 北京京东尚科信息技术有限公司 Block catenary system and based on block catenary system realize method of commerce and transaction system
CN109272388A (en) * 2018-09-25 2019-01-25 杭州复杂美科技有限公司 A kind of purchase method based on block chain, equipment and storage medium
CN109285073B (en) * 2018-09-29 2022-03-04 数字钱包(北京)科技有限公司 Digital currency transaction method and device
CN109146337A (en) * 2018-10-12 2019-01-04 深圳市有情矿技术有限公司 A kind of tripartite's task dissemination method and system for block chain
CN109543434B (en) * 2018-11-28 2020-10-09 深圳市墨者安全科技有限公司 Block chain information encryption method, decryption method, storage method and device
CN109615515B (en) * 2018-12-05 2021-08-24 腾讯科技(深圳)有限公司 Credit right certificate transfer method, device, electronic equipment and storage medium
CN109672535B (en) * 2018-12-11 2021-10-08 成都四方伟业软件股份有限公司 Alliance chain signature generation method and device
CN109685506B (en) * 2018-12-25 2020-12-11 杭州复杂美科技有限公司 Multi-signature account generation method and multi-signature account signature confirmation method
CN109767217B (en) * 2018-12-31 2021-05-18 中国工商银行股份有限公司 Digital asset, server, terminal and digital asset transaction method
CN109815722B (en) * 2019-01-31 2021-04-27 上海易点时空网络有限公司 Private data transaction method and device
CN109949051A (en) * 2019-03-15 2019-06-28 北京世纪诚链科技有限公司 A kind of pork based on RFID and distributed account book is traced to the source method for anti-counterfeit
CN110245182B (en) 2019-04-25 2021-12-07 腾讯科技(深圳)有限公司 Method, apparatus, device and medium for processing distributed data
CN110245956B (en) * 2019-05-15 2022-07-05 众安信息技术服务有限公司 Asynchronous multi-chain based block chain transaction confirmation method and system
CN110166237A (en) * 2019-05-31 2019-08-23 杭州时戳信息科技有限公司 A kind of cryptographic key distribution method and system based on block chain
CN110472979B (en) * 2019-07-16 2023-05-26 中央财经大学 Verification method of cross host object based on blockchain
CN110460536B (en) * 2019-08-26 2022-11-29 中国工商银行股份有限公司 Data processing method and apparatus for block chain, medium, and electronic device
CN110601853B (en) * 2019-09-17 2021-05-11 腾讯科技(深圳)有限公司 Block chain private key generation method and equipment
CN110738568A (en) * 2019-09-28 2020-01-31 北京瑞卓喜投科技发展有限公司 Asset under-chain transaction method and system based on block chain
CN110519059B (en) * 2019-09-29 2023-05-05 四川师范大学 Bilinear mapping-based block chain double-key hidden address processing method
CN110782255B (en) * 2019-11-06 2022-11-15 杭州复杂美科技有限公司 Delayed transaction cancellation method, apparatus and storage medium
CN110912974A (en) * 2019-11-11 2020-03-24 深圳市亦区科技有限公司 Resource processing method and device, electronic equipment and computer readable storage medium
CN111178885B (en) * 2019-12-18 2023-08-04 达闼机器人股份有限公司 Block chain-based data processing method, device, data processing equipment and system
CN110992039B (en) * 2020-03-03 2021-06-29 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment
CN111028084A (en) * 2020-03-11 2020-04-17 支付宝(杭州)信息技术有限公司 Transaction processing method, device and equipment based on block chain
CN111489241B (en) * 2020-04-15 2023-08-29 中国工商银行股份有限公司 Block chain-based article transaction method and system
CN111897874B (en) * 2020-07-27 2023-10-13 浙江数秦科技有限公司 Data security exchange and operation method based on hybrid chain
CN112150148A (en) * 2020-09-24 2020-12-29 普华云创科技(北京)有限公司 Enterprise asset protection method and system based on block chain technology
CN112395356A (en) * 2020-11-13 2021-02-23 浙江数秦科技有限公司 Distributed identity authentication and verification method, equipment and storage medium
CN112598411B (en) * 2020-12-25 2023-05-30 杭州复杂美科技有限公司 Method, apparatus and storage medium for revocable privacy-authorized transfer
CN112651835B (en) * 2020-12-30 2023-05-23 成都佳华物链云科技有限公司 Alliance chain transaction method, device, electronic equipment and storage medium
CN112989436B (en) * 2021-03-30 2022-04-22 广西师范大学 Multi-signature method based on block chain platform
CN113392417B (en) * 2021-06-30 2022-06-03 上海和数软件有限公司 Digital signature method for digital asset exchange
CN113538140A (en) * 2021-07-05 2021-10-22 杭州宇链科技有限公司 Data transaction method based on trusted execution environment and threshold signature
US11947523B2 (en) 2022-03-17 2024-04-02 International Business Machines Corporation Multi-party transactions in a computerized database
CN115660679B (en) * 2022-10-14 2023-07-14 重庆移通学院 Decentralizing safe transaction method based on hash locking
CN116561739B (en) * 2023-04-06 2024-04-16 北京熠智科技有限公司 Data transaction method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029367A1 (en) * 2009-07-29 2011-02-03 Visa U.S.A. Inc. Systems and Methods to Generate Transactions According to Account Features
US20150245084A1 (en) * 2014-02-27 2015-08-27 Cinsay, Inc. Apparatus and method for gathering analytics
CN105373955A (en) * 2015-12-08 2016-03-02 布比(北京)网络技术有限公司 Multi-signature-based digital asset treatment method and device
CN106022917A (en) * 2016-05-08 2016-10-12 杭州复杂美科技有限公司 Block chain matching exchange scheme
CN106097073A (en) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 A kind of block chain gives the method for the numeral exclusive ID of account trading process
US20160358164A1 (en) * 2015-06-05 2016-12-08 DiQi, Inc Method and system for digital currency transaction signature and digital currency transaction device thereof
CN106296138A (en) * 2016-08-09 2017-01-04 西安电子科技大学 Bit coin payment system based on Partial Blind Signature technology and method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029367A1 (en) * 2009-07-29 2011-02-03 Visa U.S.A. Inc. Systems and Methods to Generate Transactions According to Account Features
US20150245084A1 (en) * 2014-02-27 2015-08-27 Cinsay, Inc. Apparatus and method for gathering analytics
US20160358164A1 (en) * 2015-06-05 2016-12-08 DiQi, Inc Method and system for digital currency transaction signature and digital currency transaction device thereof
CN105373955A (en) * 2015-12-08 2016-03-02 布比(北京)网络技术有限公司 Multi-signature-based digital asset treatment method and device
CN106022917A (en) * 2016-05-08 2016-10-12 杭州复杂美科技有限公司 Block chain matching exchange scheme
CN106097073A (en) * 2016-06-20 2016-11-09 深圳市淘淘谷信息技术有限公司 A kind of block chain gives the method for the numeral exclusive ID of account trading process
CN106296138A (en) * 2016-08-09 2017-01-04 西安电子科技大学 Bit coin payment system based on Partial Blind Signature technology and method thereof

Also Published As

Publication number Publication date
CN107038578A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107038578B (en) Multi-signature transaction information processing method in data transaction platform based on block chain
US10846663B2 (en) Systems and methods for securing cryptocurrency purchases
Franco Understanding Bitcoin: Cryptography, engineering and economics
US20200244470A1 (en) Issuing virtual documents in a block chain
AU2015214271B2 (en) Token verification using limited use certificates
KR102621116B1 (en) Elecronic device and electronic payement method using id-based public key cryptography
CN110807641A (en) Pet food traceability system
US20160162897A1 (en) System and method for user authentication using crypto-currency transactions as access tokens
CN111989707B (en) Managing user rights for blockchain-based customs clearance services
CN111868725B (en) Processing import customs clearance data based on blockchain
CN111418184A (en) Credible insurance letter based on block chain
US20140108262A1 (en) Privacy Preserving E-Payment Architecture, Systems, and Methods
US20230360040A1 (en) Quantum-safe payment system
US10657523B2 (en) Reconciling electronic transactions
Christodorescu et al. Towards a two-tier hierarchical infrastructure: an offline payment system for central bank digital currencies
CN111417945A (en) Credible insurance letter based on block chain
CN108805574B (en) Transaction method and system based on privacy protection
CN111433798A (en) Credible insurance letter based on block chain
CN111433799A (en) Credible insurance letter based on block chain
CN112435026A (en) Method and device for protecting file transaction information by using zero-knowledge proof and electronic equipment
CN115456613A (en) Digital collection transaction method and equipment
US11070378B1 (en) Signcrypted biometric electronic signature tokens
CN111353893A (en) Transaction data processing method and device based on block chain
CN102724180A (en) Method and system for preventing signature information of universal serial bus (USB) key from being falsified
CN102609842B (en) A kind of payment cipher device based on hardware signature equipment and application process thereof

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