[go: up one dir, main page]

CN107038578B - Multi-signature transaction information processing method in blockchain-based data transaction platform - Google Patents

Multi-signature transaction information processing method in blockchain-based data transaction platform 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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

本发明公开了一种基于区块链的数据交易平台中多重签名交易信息处理方法。买家和卖家的每个在自身客户端生成交易密钥对,数据交易平台为每次交易过程生成分配单次交易密钥对;卖家通过数据交易平台在区块链上发布待交易数据;买家提交交易申请后,根据三方公钥生成中间地址,付款后资金转到中间地址,卖家在收到资金写入区块链后将数据加密发送买家;买家收到数据后若确认交易则双方签名,资金转到卖家地址;若存在异议,则由数据交易平台判定,根据判定结果决定将资金转至买家或卖家。本发明通过特殊的区域链方式对双方交易时的数据和交易信息进行处理,同时使得数据交易平台也无法挪用交易资金,进一步保证交易时数字资产的安全性。

Figure 201710258860

The invention discloses a method for processing multi-signature transaction information in a blockchain-based data transaction platform. Each of the buyer and seller generates a transaction key pair on its own client, and the data trading platform generates and assigns a single transaction key pair for each transaction process; the seller publishes the pending transaction data on the blockchain through the data trading platform; After the buyer submits the transaction application, the intermediate address is generated according to the public key of the three parties. After payment, the funds are transferred to the intermediate address. The seller encrypts the data and sends it to the buyer after receiving the funds and writing it into the blockchain; if the buyer confirms the transaction after receiving the data, Both parties sign, and the funds will be transferred to the seller's address; if there is any objection, the data trading platform will determine, and the funds will be transferred to the buyer or seller according to the judgment result. The invention processes the data and transaction information during the transaction between the two parties through a special block chain method, and at the same time, the data transaction platform cannot embezzle transaction funds, and further ensures the security of the digital assets during the transaction.

Figure 201710258860

Description

基于区块链的数据交易平台中多重签名交易信息处理方法Multi-signature transaction information processing method in blockchain-based data transaction platform

技术领域technical field

本发明涉及一种多重签名方法,特别是涉及区块链技术领域的一种基于区块链的数据交易平台中多重签名交易信息处理方法。The invention relates to a multi-signature method, in particular to a method for processing multi-signature transaction information in a blockchain-based data transaction platform in the field of blockchain technology.

背景技术Background technique

随着云计算和物联网的迅速发展,被记录和保存的数据越来越多,现已进入大数据时代。数据的交易是市场和现实的必然需求。为发挥数据的最大价值,各地均建立起数据交易中心,但由于数据具有其特殊性,即易复制和无明确的所有权约束等属性,数据安全和权益均很难保障,故企业和个人不愿将数据拿出来共享交易。With the rapid development of cloud computing and the Internet of Things, more and more data are recorded and stored, and now we have entered the era of big data. The transaction of data is an inevitable demand of the market and reality. In order to maximize the value of data, data trading centers have been established in various places. However, due to the special nature of data, that is, easy to copy and no clear ownership constraints, it is difficult to guarantee data security and rights and interests. Therefore, enterprises and individuals do not want to. Take the data out and share the transaction.

为更好的保证数据安全和企业及个人的权益,现有人提出将区块链技术和密码学运用到数据交易中,建立基于区块链的数据交易平台,数据交易平台只做链接功能,无法查看和留存交易的数据,在保证数据安全的同时保障个人和企业的权益。区块链技术起源于2008年中本聪发表的《比特币:一种点对点的电子现金系统》,文中提出了一种基于点对点(P2P)的电子现金系统,该系统基于密码学原理,使进行交易的双方在达成一致意见的情况下直接进行支付,创造了一种摆脱传统通过第三方中介进行支付保证交易安全的模式。In order to better ensure data security and the rights and interests of enterprises and individuals, existing people propose to apply blockchain technology and cryptography to data transactions to establish a data transaction platform based on blockchain. The data transaction platform only has a link function and cannot. View and retain transaction data to protect the rights and interests of individuals and businesses while ensuring data security. Blockchain technology originated from "Bitcoin: A Peer-to-Peer Electronic Cash System" published by Satoshi Nakamoto in 2008. The paper proposes a peer-to-peer (P2P) based electronic cash system. The two parties of the transaction make the payment directly after reaching an agreement, creating a model that gets rid of the traditional payment through a third-party intermediary to ensure transaction security.

区块链是比特币的底层技术支撑,区块链技术关键创新是通过具有时间戳的哈希链和工作量证明机制解决双重支付和拜占庭将军问题,即保证同一笔比特币不会同时出现在两个地址,并且在信道可靠的基础上,所有节点都可以让其他节点接受到自己的真实交易,在技术上保证交易的安全可信任。Blockchain is the underlying technical support of Bitcoin. The key innovation of blockchain technology is to solve double payment and Byzantine generals problem through hash chain with time stamp and proof-of-work mechanism, that is, to ensure that the same bitcoin will not appear in the same transaction at the same time. Two addresses, and on the basis of a reliable channel, all nodes can allow other nodes to receive their own real transactions, which technically ensures the security and trustworthiness of transactions.

传统基于区块链的比特币交易流程一般如下:买家用户直接转账给商家的地址,支付是单向不可逆的,不支持“扣款索偿”,所谓“扣款索偿”是指当买家用户要求其信用卡公司撤销一笔已经得到批准的交易时,就会发生扣款索偿。这个时候发生纠纷,需要考验双方的品质。The traditional blockchain-based bitcoin transaction process is generally as follows: the buyer user transfers directly to the merchant's address, the payment is one-way irreversible, and does not support "deduction claims". The so-called "deduction claims" refers to when the buyer user Chargeback claims occur when their credit card company is asked to reverse a transaction that has already been approved. Disputes occur at this time, and the quality of both parties needs to be tested.

为更好的保证交易双方的权益,多重签名交易应运而生。多重签名交易的地址,可以有三个相关联的私钥,交易者需要其中的两个才能完成一笔转账。实际上,你也可以设置成1/3,5/5,6/11,但是最常见的是2/3的组合。In order to better guarantee the rights and interests of both parties in the transaction, multi-signature transactions came into being. The address of a multi-signature transaction can have three associated private keys, and the trader needs two of them to complete a transfer. In fact, you can also set it to 1/3, 5/5, 6/11, but the most common combination is 2/3.

多重签名技术所能带来的好处:(1)保护消费者权益。传统的比特交易发生之后,商家马上能够获得这笔钱,在加入多重签名技术后,商家需要买家用户的明确同意后才真正的获取到这笔比特币。(2)安全性。因为Multisig技术的保证,买家用户和卖家用户都可以透明的看到交易资金的安全存储,数据交易平台提供商无法挪用交易资金。(3)操作简易。通过技术的封装,使用者感觉不到Multisig的复杂。The benefits that multi-signature technology can bring: (1) Protect the rights and interests of consumers. After the traditional bitcoin transaction occurs, the merchant can get the money immediately. After adding the multi-signature technology, the merchant needs the explicit consent of the buyer and the user to actually obtain the bitcoin. (2) Security. Because of the guarantee of Multisig technology, both buyer users and seller users can transparently see the safe storage of transaction funds, and data trading platform providers cannot embezzle transaction funds. (3) Easy to operate. Through the packaging of technology, users do not feel the complexity of Multisig.

然而现有的多重签名交易不一定保证安全,当前多数情况下多重签名钱包作为一个客户端Javascript网页应用出现,如果攻击者控制了交易平台的服务器,他们就有能力向用户输送错误的网页应用,此类客户端浏览器多重签名钱包可以被认为,完全是对加密经济安全性的威胁。浏览器Javascript多重签名钱包的提供者,最开始是希望建立一个不受单点故障影响的协议,但是他们在协议中扮演了客户端和服务器两个角色。这样提供的多重签名并没有提供一些人想象它的安全保证。However, the existing multi-signature transactions do not necessarily guarantee security. In most cases, the multi-signature wallet appears as a client-side Javascript web application. If an attacker controls the server of the trading platform, they have the ability to send the wrong web application to the user. Such client-side browser multi-signature wallets can be considered a complete threat to cryptoeconomic security. Providers of browser Javascript multi-signature wallets originally wanted to build a protocol that was not affected by a single point of failure, but they played both client and server roles in the protocol. Multi-signature provided in this way does not provide the security guarantees some people imagine it to be.

发明内容SUMMARY OF THE INVENTION

为了克服上述现有技术的不足,本发明提供了一种基于区块链的数据交易平台中多重签名交易信息处理方法,旨在提供不受单方影响的交易方法,保证买卖双方的权益的同时使得数据交易平台也无法挪用交易资金,且尽量避免外部对经济安全性的威胁。In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides a method for processing multi-signature transaction information in a data transaction platform based on blockchain, aiming at providing a transaction method that is not affected by a single party, ensuring the rights and interests of both buyers and sellers while making The data trading platform cannot embezzle transaction funds, and try to avoid external threats to economic security.

本发明所采用的技术方案包括:The technical scheme adopted in the present invention includes:

本发明方法是针对数据交易平台、买家用户和卖家用户三者在以数据为对象的交易过程中的信息处理,包括以下方面:The method of the present invention is aimed at the information processing of the data transaction platform, the buyer user and the seller user in the transaction process with the data as the object, including the following aspects:

A、生成密钥:A. Generate a key:

买家用户和卖家用户的每个用户在自身客户端生成用户交易密钥对(pkC,skC),其中pkC表示用户交易公钥,skC表示用户交易私钥,用户将密钥对中的公钥pkC发送给数据交易平台,并且pkC=skC·P,P表示循环加群的生成元;且对于买卖家用户的用户交易密钥对(pkC,skC),买家用户的交易密钥对表示为

Figure BDA0001274182570000021
卖家用户的交易密钥对表示为
Figure BDA0001274182570000022
Each user of the buyer user and the seller user generates a user transaction key pair (pk C , sk C ) on its own client, where pk C represents the user's transaction public key, sk C represents the user's transaction private key, and the user sets the key pair The public key pk C in is sent to the data trading platform, and pk C =sk C ·P, P represents the generator of the cyclic addition group; and for the user transaction key pair (pk C , sk C ) of the buyer and seller user, buy The transaction key pair of the home user is represented as
Figure BDA0001274182570000021
The seller user's transaction key pair is represented as
Figure BDA0001274182570000022

任何卖家用户和买家用户之间发生的每次交易过程中,数据交易平台为每次交易过程生成单次交易密钥对(pkT,skT),其中pkT表示单次交易公钥,skT表示单次交易私钥,并将单次交易公钥公开;单次交易密钥对(pkT,skT)不分卖家用户和买家用户,仅由数据交易平台为每次交易生成,也可表示为

Figure BDA0001274182570000023
In each transaction process between any seller user and buyer user, the data trading platform generates a single transaction key pair (pk T , sk T ) for each transaction process, where pk T represents the single transaction public key, sk T represents the private key of a single transaction, and the public key of the single transaction is made public; the single transaction key pair (pk T , sk T ) does not distinguish between seller users and buyer users, and is only generated by the data trading platform for each transaction , which can also be expressed as
Figure BDA0001274182570000023

本发明在字母表示的上标中,U表示登陆密钥,C表示交易密钥,T表示单次交易密钥。本发明的字母表示中下标的a表示买家用户,b表示卖家用户的序数,c表示数据交易平台。In the superscript of the present invention, U represents the login key, C represents the transaction key, and T represents the single transaction key. In the alphabetical representation of the present invention, the subscript a represents the buyer user, b represents the ordinal number of the seller user, and c represents the data trading platform.

用户生成和存储交易公私钥的客户端是由数据交易平台合作方提供,并非数据交易平台提供,数据交易平台无法获取用户的私钥,确保用户信息安全。The client for users to generate and store transaction public and private keys is provided by the data trading platform partner, not the data trading platform. The data trading platform cannot obtain the user's private key to ensure the security of user information.

B、待交易数据发布:卖家用户通过数据交易平台在区块链上发布待交易数据的数据信息,供买家用户进行购买;B. Release of pending transaction data: The seller user publishes the data information of the pending transaction data on the blockchain through the data trading platform for the buyer user to purchase;

C、每次交易过程中,采用以下方式实现交易信息的处理:C. During each transaction, the transaction information is processed in the following ways:

1)买家用户向数据交易平台发送购买某数据的申请后,数据交易平台为此次交易过程生成单次交易密钥(pkT,skT),同时根据买家用户和卖家用户各自的用户交易公钥和数据交易平台的单次交易公钥生成中间地址A,数据交易平台、买家用户和卖家用户三者利用中间地址A后续进行多重签名;1) After the buyer user sends an application for purchasing a certain data to the data trading platform, the data trading platform generates a single transaction key (pk T , sk T ) for this transaction process, and at the same time, according to the respective users of the buyer user and the seller user The transaction public key and the single transaction public key of the data trading platform generate an intermediate address A, and the data trading platform, the buyer user and the seller user use the intermediate address A for subsequent multi-signature;

2)买家用户进行付款操作,将自身地址的交易资金通过区块链技术转移到中间地址A中,卖家用户在区块链上查询到买家用户的交易资金已转移到中间地址A的交易信息后,从数据交易平台获取买家用户的用户交易公钥

Figure BDA0001274182570000031
对待交易数据
Figure BDA0001274182570000032
进行加密后发送给买家用户,2) The buyer user performs the payment operation and transfers the transaction funds of its own address to the intermediate address A through the blockchain technology. The seller user checks the transaction on the blockchain that the transaction funds of the buyer user have been transferred to the intermediate address A. After the information, obtain the user transaction public key of the buyer user from the data trading platform
Figure BDA0001274182570000031
Treat transaction data
Figure BDA0001274182570000032
It is encrypted and sent to the buyer user,

3)买家用户收到加密后的待交易数据

Figure BDA0001274182570000033
后,通过数据解密、哈希和哈希值对比验证正确性,并进行步骤4.1)、4.2)或者4.3);3) The buyer user receives the encrypted data to be traded
Figure BDA0001274182570000033
After that, verify the correctness through data decryption, hash and hash value comparison, and perform steps 4.1), 4.2) or 4.3);

4.1)若买家用户验证数据正确后,确认交易并发送确认交易信息到数据交易平台,则买家用户和卖家用户用各自的用户交易私钥对交易成功的交易信息

Figure BDA0001274182570000034
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的交易资金转移到卖家用户的地址;4.1) If the buyer user confirms the transaction and sends the confirmation transaction information to the data trading platform after verifying that the data is correct, the buyer user and the seller user use their respective user transaction private keys to pair the transaction information of the successful transaction.
Figure BDA0001274182570000034
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the transaction funds in the intermediate address A are transferred to the seller's user's address;

4.2)若买家用户在规定时间内未对此次交易进行确认,则数据交易平台利用自身的单次交易私钥和卖家用户的用户交易私钥对交易成功的交易信息

Figure BDA0001274182570000035
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的交易资金转移到卖家用户的地址;4.2) If the buyer user does not confirm the transaction within the specified time, the data trading platform will use its own single transaction private key and the seller user's user transaction private key to pair the transaction information of the successful transaction.
Figure BDA0001274182570000035
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the transaction funds in the intermediate address A are transferred to the seller's user's address;

4.3)若买家用户对交易提出异议,则根据卖家用户的处理情况或者数据交易平台的判定结果来决定将中间地址A中资金转移至买家用户或卖家用户的地址,具体分为:4.3) If the buyer user objects to the transaction, it will be decided to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing situation of the seller user or the judgment result of the data trading platform, which is divided into:

4.3.1)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息

Figure BDA0001274182570000036
并签名后发送到卖家用户,卖家用户若同意退款,则对退款信息
Figure BDA0001274182570000037
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的资金会退回到买家用户地址;4.3.1) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure BDA0001274182570000036
And sign and send to the seller user, if the seller user agrees to refund, the refund information
Figure BDA0001274182570000037
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the funds in the intermediate address A will be returned to the buyer's user address;

4.3.2)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息

Figure BDA0001274182570000038
签名后发送到卖家用户,卖家用户若不同意退款,则由数据交易平台判定结果,根据判定结果决定将中间地址A中资金转移至买家用户或卖家用户。4.3.2) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure BDA0001274182570000038
After signing, it will be sent to the seller user. If the seller user does not agree to the refund, the data trading platform will determine the result and decide to transfer the funds in the intermediate address A to the buyer user or seller user according to the judgment result.

所述的交易资金指的是数字货币,例如比特币。Said transaction funds refer to digital currency, such as Bitcoin.

本发明的数据交易平台在生成密钥和在区块链中处理交易信息都是通过服务器及其处理器进行操作。The data transaction platform of the present invention operates through the server and its processor in generating keys and processing transaction information in the block chain.

所述步骤B中卖家用户通过数据交易平台在区块链上发布待交易数据具体是:卖家用户选择待交易数据

Figure BDA0001274182570000041
将卖家用户的身份标识号ID的哈希值、待交易数据的描述信息、待交易数据的哈希值、待交易数据的价格、卖家用户的用户交易公钥
Figure BDA0001274182570000042
打包组成数据包,然后用卖家用户的用户交易私钥
Figure BDA0001274182570000043
对数据包进行签名后发送给数据交易平台,数据交易平台收到卖家用户发送过来的数据包后,先验证卖家用户为数据交易平台的有效身份,验证正确后再利用卖家用户的用户交易公钥
Figure BDA0001274182570000044
对数据包的签名进行验证,确认该数据包由卖家用户发送的,则将数据包里的数据信息加入到区块中,形成链。In the step B, the seller user publishes the data to be traded on the blockchain through the data trading platform. Specifically, the seller user selects the data to be traded.
Figure BDA0001274182570000041
The hash value of the seller user's identification number ID, the description information of the data to be traded, the hash value of the data to be traded, the price of the data to be traded, and the user transaction public key of the seller user
Figure BDA0001274182570000042
Package it into a data package, and then trade the private key with the seller's user's user
Figure BDA0001274182570000043
The data package is signed and then sent to the data trading platform. After receiving the data package sent by the seller user, the data trading platform first verifies that the seller user is a valid identity of the data trading platform, and then uses the seller user's user transaction public key.
Figure BDA0001274182570000044
The signature of the data packet is verified to confirm that the data packet is sent by the seller user, and the data information in the data packet is added to the block to form a chain.

所述步骤1)中的中间地址A是由数据交易平台根据买家用户的用户交易公钥

Figure BDA0001274182570000045
卖家用户的用户交易公钥
Figure BDA0001274182570000046
和数据交易平台的单次交易公钥pkT利用安全哈希函数H生成:The intermediate address A in the step 1) is the user transaction public key of the buyer user by the data trading platform.
Figure BDA0001274182570000045
User transaction public key of seller user
Figure BDA0001274182570000046
And the single transaction public key pk T of the data trading platform is generated using the secure hash function H:

Figure BDA0001274182570000047
Figure BDA0001274182570000047

其中,H为安全哈希函数。Among them, H is a secure hash function.

所述步骤3)中买家用户收到加密后的待交易数据

Figure BDA0001274182570000048
后,通过解密、哈希和哈希值对比验证正确性,具体包括:In the step 3), the buyer user receives the encrypted data to be traded
Figure BDA0001274182570000048
After that, verify the correctness through decryption, hash and hash value comparison, including:

买家用户在收到加密后的待交易数据

Figure BDA0001274182570000049
后,先利用自身的用户交易私钥
Figure BDA00012741825700000410
进行解密,再对解密后获得的待交易数据
Figure BDA00012741825700000411
计算其哈希值,然后将计算的哈希值与区块链上数据信息中待交易数据的哈希值进行比对,确认是否一致而获得正确性结果。The buyer user receives the encrypted data to be traded
Figure BDA0001274182570000049
After that, first use your own user transaction private key
Figure BDA00012741825700000410
Decrypt, and then decrypt the pending transaction data obtained after decryption
Figure BDA00012741825700000411
Calculate its hash value, and then compare the calculated hash value with the hash value of the data to be traded in the data information on the blockchain to confirm whether it is consistent and obtain the correct result.

所述步骤4.1)中具体包括:Described step 4.1) specifically includes:

4.1.1)若买家用户验证数据正确后,买家用户生成中间地址A的交易资金转入到卖家用户地址的交易信息

Figure BDA00012741825700000412
并对此次交易进行评价生成买家用户的评价信息为
Figure BDA00012741825700000413
买家用户利用自身的用户交易私钥
Figure BDA00012741825700000414
对交易信息
Figure BDA00012741825700000415
和评价信息
Figure BDA00012741825700000416
分别进行签名,生成交易信息买家签名
Figure BDA00012741825700000417
和买家评价信息签名
Figure BDA00012741825700000418
然后将包含有
Figure BDA00012741825700000419
的数据包发送给卖家用户和数据交易平台;4.1.1) If the buyer user verifies that the data is correct, the buyer user generates the transaction information of the intermediate address A and transfers the transaction funds to the seller user address
Figure BDA00012741825700000412
And evaluate the transaction to generate the evaluation information of the buyer user as
Figure BDA00012741825700000413
Buyer users use their own user transaction private keys
Figure BDA00012741825700000414
information on transactions
Figure BDA00012741825700000415
and evaluation information
Figure BDA00012741825700000416
Sign separately to generate transaction information buyer signature
Figure BDA00012741825700000417
Sign with buyer evaluation information
Figure BDA00012741825700000418
will then contain
Figure BDA00012741825700000419
The data package is sent to the seller user and the data trading platform;

Figure BDA00012741825700000420
Figure BDA00012741825700000420

Figure BDA00012741825700000421
Figure BDA00012741825700000421

Figure BDA00012741825700000422
Figure BDA00012741825700000422

其中,“·||·”表示数据的串联,

Figure BDA0001274182570000051
为买家用户的验证公钥,
Figure BDA0001274182570000052
表示对交易信息
Figure BDA0001274182570000053
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure BDA0001274182570000054
表示对交易信息
Figure BDA0001274182570000055
和买家评价信息
Figure BDA0001274182570000056
串联后哈希所得的哈希值;Among them, "·||·" represents the concatenation of data,
Figure BDA0001274182570000051
the authentication public key for the buyer user,
Figure BDA0001274182570000052
Indicates transaction information
Figure BDA0001274182570000053
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure BDA0001274182570000054
Indicates transaction information
Figure BDA0001274182570000055
and buyer reviews
Figure BDA0001274182570000056
The hash value obtained by hashing after concatenation;

4.1.2)卖家用户在收到包含有

Figure BDA0001274182570000057
的数据包后,提取其中的信息先验证签名真实性,验证方法为:4.1.2) The seller user receives the
Figure BDA0001274182570000057
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:

计算交易信息

Figure BDA0001274182570000058
的哈希值
Figure BDA0001274182570000059
交易信息
Figure BDA00012741825700000510
和买家评价信息
Figure BDA00012741825700000511
串联后哈希所得的哈希值
Figure BDA00012741825700000512
Calculate transaction information
Figure BDA0001274182570000058
hash value of
Figure BDA0001274182570000059
Trading Information
Figure BDA00012741825700000510
and buyer reviews
Figure BDA00012741825700000511
Hash value obtained after concatenation
Figure BDA00012741825700000512

Figure BDA00012741825700000513
Figure BDA00012741825700000513

确认以下等式是否全部成立,若等式全部成立则说明签名真实;Confirm whether the following equations are all true, if all the equations are true, the signature is true;

Figure BDA00012741825700000514
Figure BDA00012741825700000514

其中,P表示公钥和私钥之间的循环加群的生成元,e为双线性映射,满足双线性、非退化性和可计算性;Among them, P represents the generator of the cyclic addition group between the public key and the private key, and e is a bilinear map, which satisfies bilinearity, non-degeneration and computability;

4.1.3)在确认买家用户的签名真实后,卖家用户对此次交易进行评价生成卖家用户的评价信息

Figure BDA00012741825700000515
并利用自身的用户交易私钥
Figure BDA00012741825700000516
对交易信息
Figure BDA00012741825700000517
和评价信息
Figure BDA00012741825700000518
进行签名,生成交易信息卖家签名
Figure BDA00012741825700000519
和卖家评价信息签名
Figure BDA00012741825700000520
然后将包含有
Figure BDA00012741825700000521
的数据包发送给数据交易平台;4.1.3) After confirming that the signature of the buyer user is true, the seller user evaluates the transaction to generate the seller user's evaluation information
Figure BDA00012741825700000515
And use its own user transaction private key
Figure BDA00012741825700000516
information on transactions
Figure BDA00012741825700000517
and evaluation information
Figure BDA00012741825700000518
Sign, generate transaction information seller signature
Figure BDA00012741825700000519
Sign with seller evaluation information
Figure BDA00012741825700000520
will then contain
Figure BDA00012741825700000521
The data package is sent to the data trading platform;

Figure BDA00012741825700000522
Figure BDA00012741825700000522

Figure BDA00012741825700000523
Figure BDA00012741825700000523

Figure BDA00012741825700000524
Figure BDA00012741825700000524

其中,P表示公钥和私钥之间的循环加群的生成元,

Figure BDA00012741825700000525
表示对交易信息
Figure BDA00012741825700000526
和卖家评价信息
Figure BDA00012741825700000527
串联后哈希所得的哈希值,
Figure BDA00012741825700000528
为卖家用户的验证公钥;Among them, P represents the generator of the cyclic addition group between the public key and the private key,
Figure BDA00012741825700000525
Indicates transaction information
Figure BDA00012741825700000526
and seller evaluation information
Figure BDA00012741825700000527
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000528
The verification public key for the seller user;

4.1.4)数据交易平台在收到买家用户和卖家用户发送过来的数据包后,采用以下方式对提取其中的信息验证签名真实性:4.1.4) After receiving the data packets sent by buyers and sellers, the data trading platform uses the following methods to verify the authenticity of the signature for the extracted information:

计算交易信息

Figure BDA00012741825700000529
的哈希值
Figure BDA00012741825700000530
交易信息
Figure BDA00012741825700000531
和买家评价信息
Figure BDA00012741825700000532
串联后哈希所得的哈希值
Figure BDA00012741825700000533
交易信息
Figure BDA00012741825700000534
和卖家评价信息
Figure BDA00012741825700000535
串联后哈希所得的哈希值
Figure BDA00012741825700000536
Calculate transaction information
Figure BDA00012741825700000529
hash value of
Figure BDA00012741825700000530
Trading Information
Figure BDA00012741825700000531
and buyer reviews
Figure BDA00012741825700000532
Hash value obtained after concatenation
Figure BDA00012741825700000533
Trading Information
Figure BDA00012741825700000534
and seller evaluation information
Figure BDA00012741825700000535
Hash value obtained after concatenation
Figure BDA00012741825700000536

Figure BDA00012741825700000537
Figure BDA00012741825700000537

验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:

Figure BDA00012741825700000538
Figure BDA00012741825700000538

验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:

Figure BDA00012741825700000539
Figure BDA00012741825700000539

双方签名均验证真实后,将买卖家用户的评价信息

Figure BDA0001274182570000061
Figure BDA0001274182570000062
显示在交易结果中,同时采用以下算法计算交易信息双方签名
Figure BDA0001274182570000063
和此次交易的验证公钥Nc,然后将包含有
Figure BDA0001274182570000064
的数据包广播到区块链的各个节点;After the signatures of both parties are verified to be true, the evaluation information of the buyer and seller will be
Figure BDA0001274182570000061
and
Figure BDA0001274182570000062
It is displayed in the transaction results, and the following algorithm is used to calculate the signatures of both parties in the transaction information
Figure BDA0001274182570000063
and the verification public key N c for this transaction, which will then contain
Figure BDA0001274182570000064
The data packets are broadcast to each node of the blockchain;

Figure BDA0001274182570000065
Figure BDA0001274182570000065

其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction;

4.1.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.1.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature for the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the intermediate address A in Funds are transferred to seller user address:

Figure BDA0001274182570000066
Figure BDA0001274182570000066

其中,e为双线性映射。where e is a bilinear map.

所述步骤4.3.2)中具体分为:Described step 4.3.2) is specifically divided into:

4.3.2.1)若数据交易平台根据交易情况判定退款成功,则由数据交易平台和买家用户对退款信息

Figure BDA0001274182570000067
进行签名,中间地址A中的资金会退回到买家用户地址;4.3.2.1) If the data trading platform determines that the refund is successful according to the transaction situation, the data trading platform and the buyer user will verify the refund information.
Figure BDA0001274182570000067
After signing, the funds in the intermediate address A will be returned to the buyer's user address;

4.3.2.2)若数据交易平台根据交易情况判定退款不成功,则等同于认为交易成功,则由数据交易平台和卖家用户对交易信息

Figure BDA0001274182570000068
进行签名,中间地址Α中的资金会转移到卖家用户地址。4.3.2.2) If the data trading platform determines that the refund is unsuccessful according to the transaction situation, it is equivalent to that the transaction is successful.
Figure BDA0001274182570000068
After signing, the funds in the intermediate address Α will be transferred to the seller's user address.

所述步骤4.2)中具体包括:Described step 4.2) specifically includes:

4.2.1)买家用户在规定时间内未对此次交易进行确认后,数据交易平台对此次交易进行评价,生成评价信息为

Figure BDA0001274182570000069
利用此次交易密钥的私钥skT对交易信息
Figure BDA00012741825700000610
和评价信息
Figure BDA00012741825700000611
进行签名,生成交易信息平台签名
Figure BDA00012741825700000612
和平台评价信息签名
Figure BDA00012741825700000613
然后将包含有
Figure BDA00012741825700000614
的数据包发送给卖家用户;4.2.1) After the buyer user fails to confirm the transaction within the specified time, the data trading platform evaluates the transaction and generates evaluation information as:
Figure BDA0001274182570000069
Use the private key sk T of the transaction key to pair the transaction information
Figure BDA00012741825700000610
and evaluation information
Figure BDA00012741825700000611
Sign and generate a transaction information platform signature
Figure BDA00012741825700000612
and platform evaluation information signature
Figure BDA00012741825700000613
will then contain
Figure BDA00012741825700000614
The data package is sent to the seller user;

Figure BDA00012741825700000615
Figure BDA00012741825700000615

Figure BDA00012741825700000616
Figure BDA00012741825700000616

Figure BDA00012741825700000617
Figure BDA00012741825700000617

其中,

Figure BDA00012741825700000618
表示数据交易平台的验证公钥,
Figure BDA00012741825700000619
表示对交易信息
Figure BDA00012741825700000620
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure BDA00012741825700000621
表示对交易信息
Figure BDA00012741825700000622
和平台评价信息
Figure BDA00012741825700000623
串联后哈希所得的哈希值;in,
Figure BDA00012741825700000618
Indicates the verification public key of the data trading platform,
Figure BDA00012741825700000619
Indicates transaction information
Figure BDA00012741825700000620
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure BDA00012741825700000621
Indicates transaction information
Figure BDA00012741825700000622
and platform evaluation information
Figure BDA00012741825700000623
The hash value obtained by hashing after concatenation;

4.2.2)卖家用户在收到包含有

Figure BDA00012741825700000624
的数据包后,提取其中的信息先验证签名真实性,验证方法为:4.2.2) The seller user receives the
Figure BDA00012741825700000624
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:

计算交易信息

Figure BDA00012741825700000625
的哈希值
Figure BDA00012741825700000626
交易信息
Figure BDA00012741825700000627
和平台评价信息
Figure BDA00012741825700000628
串联后哈希所得的哈希值
Figure BDA00012741825700000629
Calculate transaction information
Figure BDA00012741825700000625
hash value of
Figure BDA00012741825700000626
Trading Information
Figure BDA00012741825700000627
and platform evaluation information
Figure BDA00012741825700000628
Hash value obtained after concatenation
Figure BDA00012741825700000629

Figure BDA00012741825700000630
Figure BDA00012741825700000630

确认以下等式是否全部成立,若等式全部成立则签名真实;Confirm whether the following equations are all established, if all the equations are established, the signature is true;

Figure BDA0001274182570000071
Figure BDA0001274182570000071

4.2.3)在确认数据交易平台的签名真实后,卖家用户利用自身的用户交易私钥

Figure BDA0001274182570000072
对交易信息
Figure BDA0001274182570000073
和卖家交易评价
Figure BDA0001274182570000074
进行签名,生成交易信息卖家签名
Figure BDA0001274182570000075
和评价信息卖家签名
Figure BDA0001274182570000076
然后将包含有
Figure BDA0001274182570000077
的数据包发送给数据交易平台;4.2.3) After confirming the authenticity of the signature of the data trading platform, the seller user uses his own user transaction private key
Figure BDA0001274182570000072
information on transactions
Figure BDA0001274182570000073
Trading reviews with sellers
Figure BDA0001274182570000074
Sign, generate transaction information seller signature
Figure BDA0001274182570000075
and the seller's signature of the review information
Figure BDA0001274182570000076
will then contain
Figure BDA0001274182570000077
The data package is sent to the data trading platform;

Figure BDA0001274182570000078
Figure BDA0001274182570000078

Figure BDA0001274182570000079
Figure BDA0001274182570000079

其中,

Figure BDA00012741825700000710
表示对交易信息
Figure BDA00012741825700000711
和卖家交易评价
Figure BDA00012741825700000712
串联后哈希所得的哈希值,
Figure BDA00012741825700000713
为卖家用户的验证公钥;in,
Figure BDA00012741825700000710
Indicates transaction information
Figure BDA00012741825700000711
Trading reviews with sellers
Figure BDA00012741825700000712
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000713
The verification public key for the seller user;

4.2.4)数据交易平台在收到卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.2.4) After receiving the data package sent by the seller user, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information:

计算交易信息

Figure BDA00012741825700000714
和卖家交易评价
Figure BDA00012741825700000715
串联后哈希所得的哈希值
Figure BDA00012741825700000716
Calculate transaction information
Figure BDA00012741825700000714
Trading reviews with sellers
Figure BDA00012741825700000715
Hash value obtained after concatenation
Figure BDA00012741825700000716

Figure BDA00012741825700000717
Figure BDA00012741825700000717

验证卖家用户签名,若下列等式全部成立,则说明签名真实:Verify the seller's user signature, if all the following equations are true, the signature is true:

Figure BDA00012741825700000718
Figure BDA00012741825700000718

卖家签名均验证真实后,将数据交易平台和卖家的评价信息

Figure BDA00012741825700000719
Figure BDA00012741825700000720
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure BDA00012741825700000721
和此次交易的验证公钥Nc,然后将包含有
Figure BDA00012741825700000722
的数据包广播到区块链的各个节点;After the seller's signature is verified to be true, the data trading platform and the seller's evaluation information will be
Figure BDA00012741825700000719
and
Figure BDA00012741825700000720
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure BDA00012741825700000721
and the verification public key N c for this transaction, which will then contain
Figure BDA00012741825700000722
The data packets are broadcast to each node of the blockchain;

Figure BDA00012741825700000723
Figure BDA00012741825700000723

其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction;

4.2.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.2.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature on the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the intermediate address A in Funds are transferred to seller user address:

Figure BDA00012741825700000724
Figure BDA00012741825700000724

其中,e为双线性映射。where e is a bilinear map.

所述步骤4.3.1)中具体包括:The step 4.3.1) specifically includes:

4.3.1.1)买家用户进行退款操作后,对此次交易进行评价生成买家用户的评价信息为

Figure BDA00012741825700000725
买家用户利用自身的用户交易私钥
Figure BDA00012741825700000726
对退款信息
Figure BDA00012741825700000727
和评价信息
Figure BDA00012741825700000728
进行签名,生成交易信息买家签名签名
Figure BDA00012741825700000729
和评价信息买家签名
Figure BDA00012741825700000730
然后将包含有
Figure BDA00012741825700000731
的数据包发送给卖家用户和数据交易平台;4.3.1.1) After the buyer user performs the refund operation, evaluate the transaction to generate the buyer user's evaluation information:
Figure BDA00012741825700000725
Buyer users use their own user transaction private keys
Figure BDA00012741825700000726
Information on refunds
Figure BDA00012741825700000727
and evaluation information
Figure BDA00012741825700000728
Sign, generate transaction information buyer signature signature
Figure BDA00012741825700000729
and the buyer's signature of the review information
Figure BDA00012741825700000730
will then contain
Figure BDA00012741825700000731
The data package is sent to the seller user and the data trading platform;

Figure BDA00012741825700000732
Figure BDA00012741825700000732

Figure BDA00012741825700000733
Figure BDA00012741825700000733

Figure BDA00012741825700000734
Figure BDA00012741825700000734

其中,“·||·”表示数据的串联,

Figure BDA00012741825700000840
为买家用户的验证公钥,
Figure BDA0001274182570000081
表示对退款信息
Figure BDA0001274182570000082
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure BDA0001274182570000083
表示对退款信息
Figure BDA0001274182570000084
和买家评价信息
Figure BDA0001274182570000085
串联后哈希所得的哈希值;Among them, "·||·" represents the concatenation of data,
Figure BDA00012741825700000840
the authentication public key for the buyer user,
Figure BDA0001274182570000081
Indicates information on refunds
Figure BDA0001274182570000082
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure BDA0001274182570000083
Indicates information on refunds
Figure BDA0001274182570000084
and buyer reviews
Figure BDA0001274182570000085
The hash value obtained by hashing after concatenation;

4.3.1.2)卖家用户在收到包含有

Figure BDA0001274182570000086
的数据包后,提取其中的信息先验证签名真实性,验证方法为:4.3.1.2) The seller user receives the
Figure BDA0001274182570000086
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:

计算退款信息

Figure BDA0001274182570000087
哈希所得的哈希值
Figure BDA0001274182570000088
退款信息
Figure BDA0001274182570000089
和买家评价信息
Figure BDA00012741825700000810
串联后哈希所得的哈希值
Figure BDA00012741825700000811
Calculate refund information
Figure BDA0001274182570000087
hash value
Figure BDA0001274182570000088
Refund Information
Figure BDA0001274182570000089
and buyer reviews
Figure BDA00012741825700000810
Hash value obtained after concatenation
Figure BDA00012741825700000811

Figure BDA00012741825700000812
Figure BDA00012741825700000812

确认以下等式是否全部成立,若等式全部成立则说明签名真实;Confirm whether the following equations are all true, if all the equations are true, the signature is true;

Figure BDA00012741825700000813
Figure BDA00012741825700000813

Figure BDA00012741825700000814
Figure BDA00012741825700000814

其中,P表示公钥和私钥之间的循环加群的生成元,e为双线性映射,满足双线性、非退化性和可计算性;Among them, P represents the generator of the cyclic addition group between the public key and the private key, and e is a bilinear map, which satisfies bilinearity, non-degeneration and computability;

4.3.1.3)在确认买家用户的签名真实后,卖家用户对此次交易进行评价生成卖家用户的评价信息

Figure BDA00012741825700000815
卖家用户利用自身的用户交易私钥
Figure BDA00012741825700000816
对退款信息
Figure BDA00012741825700000817
和评价信息
Figure BDA00012741825700000818
进行签名,生成交易信息卖家签名
Figure BDA00012741825700000819
和评价信息卖家签名
Figure BDA00012741825700000820
然后将包含有
Figure BDA00012741825700000821
的数据包发送给数据交易平台;4.3.1.3) After confirming the authenticity of the buyer's signature, the seller's user evaluates the transaction to generate the seller's user's evaluation information
Figure BDA00012741825700000815
The seller user uses his own user transaction private key
Figure BDA00012741825700000816
Information on refunds
Figure BDA00012741825700000817
and evaluation information
Figure BDA00012741825700000818
Sign, generate transaction information seller signature
Figure BDA00012741825700000819
and the seller's signature of the review information
Figure BDA00012741825700000820
will then contain
Figure BDA00012741825700000821
The data package is sent to the data trading platform;

Figure BDA00012741825700000822
Figure BDA00012741825700000822

Figure BDA00012741825700000823
Figure BDA00012741825700000823

Figure BDA00012741825700000824
Figure BDA00012741825700000824

其中,P表示公钥和私钥之间的循环加群的生成元,

Figure BDA00012741825700000825
表示对退款信息
Figure BDA00012741825700000826
和卖家评价信息
Figure BDA00012741825700000827
串联后哈希所得的哈希值,
Figure BDA00012741825700000828
为卖家用户的验证公钥;Among them, P represents the generator of the cyclic addition group between the public key and the private key,
Figure BDA00012741825700000825
Indicates information on refunds
Figure BDA00012741825700000826
and seller evaluation information
Figure BDA00012741825700000827
The hash value obtained by hashing after concatenation,
Figure BDA00012741825700000828
The verification public key for the seller user;

4.3.1.4)数据交易平台在收到买家用户和卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.1.4) After receiving the data packets sent by buyers and sellers, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information:

计算退款信息

Figure BDA00012741825700000829
哈希所得的哈希值
Figure BDA00012741825700000830
退款信息
Figure BDA00012741825700000831
和买家评价信息
Figure BDA00012741825700000832
串联后哈希所得的哈希值
Figure BDA00012741825700000833
退款信息
Figure BDA00012741825700000834
和卖家评价信息
Figure BDA00012741825700000835
串联后哈希所得的哈希值
Figure BDA00012741825700000836
Calculate refund information
Figure BDA00012741825700000829
hash value
Figure BDA00012741825700000830
Refund Information
Figure BDA00012741825700000831
and buyer reviews
Figure BDA00012741825700000832
Hash value obtained after concatenation
Figure BDA00012741825700000833
Refund Information
Figure BDA00012741825700000834
and seller evaluation information
Figure BDA00012741825700000835
Hash value obtained after concatenation
Figure BDA00012741825700000836

Figure BDA00012741825700000837
Figure BDA00012741825700000837

验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:

Figure BDA00012741825700000838
Figure BDA00012741825700000838

验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:

Figure BDA00012741825700000839
Figure BDA00012741825700000839

双方签名均验证真实后,将买卖家用户的评价信息

Figure BDA0001274182570000091
Figure BDA0001274182570000092
显示在交易结果中,同时采用以下算法计算交易信息双方签名
Figure BDA0001274182570000093
和此次交易的验证公钥Nc,然后将包含有
Figure BDA0001274182570000094
的数据包广播到区块链的各个节点;After the signatures of both parties are verified to be true, the evaluation information of the buyer and seller will be
Figure BDA0001274182570000091
and
Figure BDA0001274182570000092
It is displayed in the transaction results, and the following algorithm is used to calculate the signatures of both parties in the transaction information
Figure BDA0001274182570000093
and the verification public key N c for this transaction, which will then contain
Figure BDA0001274182570000094
The data packets are broadcast to each node of the blockchain;

Figure BDA0001274182570000095
Figure BDA0001274182570000095

其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction;

4.3.1.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的信息验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.3.1.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature for the information sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the funds in the intermediate address A Transfer to seller user address:

Figure BDA0001274182570000096
Figure BDA0001274182570000096

其中,e为双线性映射。where e is a bilinear map.

所述步骤4.3.2)中若最终中间地址A中资金转移至买家用户具体是:In the step 4.3.2), if the funds in the final intermediate address A are transferred to the buyer user specifically:

4.3.2.a.1)数据交易平台根据交易情况判定退款成功,数据交易平台对此次交易进行评价生成评价信息为

Figure BDA0001274182570000097
利用此次交易的单次交易私钥skT对退款信息
Figure BDA0001274182570000098
和评价信息
Figure BDA0001274182570000099
进行签名,生成交易信息平台签名
Figure BDA00012741825700000910
和评价信息平台签名
Figure BDA00012741825700000911
然后将包含有
Figure BDA00012741825700000912
的数据包发送给买家用户;4.3.2.a.1) The data trading platform determines that the refund is successful according to the transaction situation, and the data trading platform evaluates the transaction to generate the evaluation information as
Figure BDA0001274182570000097
Use the single transaction private key sk T of this transaction to pair the refund information
Figure BDA0001274182570000098
and evaluation information
Figure BDA0001274182570000099
Sign and generate a transaction information platform signature
Figure BDA00012741825700000910
and the evaluation information platform signature
Figure BDA00012741825700000911
will then contain
Figure BDA00012741825700000912
The data package is sent to the buyer user;

Figure BDA00012741825700000913
Figure BDA00012741825700000913

Figure BDA00012741825700000914
Figure BDA00012741825700000914

Figure BDA00012741825700000915
Figure BDA00012741825700000915

其中,

Figure BDA00012741825700000916
表示数据交易平台的验证公钥,
Figure BDA00012741825700000917
表示对退款信息
Figure BDA00012741825700000918
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure BDA00012741825700000919
表示对退款信息
Figure BDA00012741825700000920
和平台评价信息
Figure BDA00012741825700000921
串联后哈希所得的哈希值;in,
Figure BDA00012741825700000916
Indicates the verification public key of the data trading platform,
Figure BDA00012741825700000917
Indicates information on refunds
Figure BDA00012741825700000918
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure BDA00012741825700000919
Indicates information on refunds
Figure BDA00012741825700000920
and platform evaluation information
Figure BDA00012741825700000921
The hash value obtained by hashing after concatenation;

4.3.2.a.2)买家用户在收到包含有

Figure BDA00012741825700000922
的数据包后,提取其中的信息先验证签名真实性,验证方法为:4.3.2.a.2) The buyer user receives the
Figure BDA00012741825700000922
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:

计算退款信息

Figure BDA00012741825700000923
哈希所得的哈希值
Figure BDA00012741825700000924
退款信息和平台评价信息
Figure BDA00012741825700000925
串联后哈希所得的哈希值
Figure BDA00012741825700000926
Calculate refund information
Figure BDA00012741825700000923
hash value
Figure BDA00012741825700000924
Refund information and platform evaluation information
Figure BDA00012741825700000925
Hash value obtained after concatenation
Figure BDA00012741825700000926

Figure BDA00012741825700000927
Figure BDA00012741825700000927

确认以下等式是否全部成立,若等式全部成立则签名正确;Confirm whether the following equations are all established, if all the equations are established, the signature is correct;

Figure BDA00012741825700000928
Figure BDA00012741825700000928

4.3.2.a.3)在确认数据交易平台的签名真实后,买家用户利用自身的用户交易私钥

Figure BDA00012741825700000929
对退款信息
Figure BDA00012741825700000930
和交易评价
Figure BDA00012741825700000931
进行签名,生成交易信息买家签名
Figure BDA00012741825700000932
和评价信息买家签名
Figure BDA00012741825700000933
然后将包含有
Figure BDA00012741825700000934
的数据包发送给数据交易平台;4.3.2.a.3) After confirming that the signature of the data trading platform is true, the buyer user uses his own user transaction private key
Figure BDA00012741825700000929
Information on refunds
Figure BDA00012741825700000930
and transaction evaluation
Figure BDA00012741825700000931
Sign and generate transaction information buyer's signature
Figure BDA00012741825700000932
and the buyer's signature of the review information
Figure BDA00012741825700000933
will then contain
Figure BDA00012741825700000934
The data package is sent to the data trading platform;

Figure BDA00012741825700000935
Figure BDA00012741825700000935

Figure BDA0001274182570000101
Figure BDA0001274182570000101

其中,

Figure BDA0001274182570000102
表示对退款信息
Figure BDA0001274182570000103
和买家评价信息
Figure BDA0001274182570000104
串联后哈希所得的哈希值;in,
Figure BDA0001274182570000102
Indicates information on refunds
Figure BDA0001274182570000103
and buyer reviews
Figure BDA0001274182570000104
The hash value obtained by hashing after concatenation;

4.3.2.a.4)数据交易平台在收到买家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.2.a.4) After receiving the data package sent by the buyer, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information:

计算退款信息

Figure BDA0001274182570000105
和买家评价信息
Figure BDA0001274182570000106
串联后哈希所得的哈希值
Figure BDA0001274182570000107
Calculate refund information
Figure BDA0001274182570000105
and buyer reviews
Figure BDA0001274182570000106
Hash value obtained after concatenation
Figure BDA0001274182570000107

Figure BDA0001274182570000108
Figure BDA0001274182570000108

验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:

Figure BDA0001274182570000109
Figure BDA0001274182570000109

买家签名验证真实后,将数据交易平台和买家的评价信息

Figure BDA00012741825700001010
Figure BDA00012741825700001011
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure BDA00012741825700001012
和此次交易的验证公钥Nc,然后将包含有
Figure BDA00012741825700001013
的数据包广播到区块链的各个节点;After the buyer's signature is verified for authenticity, the data trading platform and the buyer's evaluation information will be
Figure BDA00012741825700001010
and
Figure BDA00012741825700001011
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure BDA00012741825700001012
and the verification public key N c for this transaction, which will then contain
Figure BDA00012741825700001013
The data packets are broadcast to each node of the blockchain;

Figure BDA00012741825700001014
Figure BDA00012741825700001014

其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction;

4.3.2.a.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到买家用户地址:4.3.2.a.5) Nodes with write permission on the blockchain use the following equation to verify the authenticity of the signature on the data packets sent by the data trading platform, and then write the transaction information into the blockchain after verifying the authenticity, so that The funds in the intermediate address A are transferred to the buyer's user address:

Figure BDA00012741825700001015
Figure BDA00012741825700001015

其中,e为双线性映射。where e is a bilinear map.

所述步骤4.3.2)中若最终中间地址A中资金转移至卖家用户具体是:In the step 4.3.2), if the funds in the final intermediate address A are transferred to the seller user, it is specifically:

4.3.2.b.1)数据交易平台根据交易情况判定退款不成功,数据交易平台对此次交易进行评价生成评价信息为

Figure BDA00012741825700001016
利用此次交易的单次交易私钥skT对交易信息
Figure BDA00012741825700001017
和评价信息
Figure BDA00012741825700001018
进行签名,生成交易信息平台签名
Figure BDA00012741825700001019
和评价信息平台签名
Figure BDA00012741825700001020
然后将包含有
Figure BDA00012741825700001021
的数据包发送给卖家用户;4.3.2.b.1) The data trading platform determines that the refund is unsuccessful according to the transaction situation. The data trading platform evaluates the transaction and generates the evaluation information as
Figure BDA00012741825700001016
Use the single transaction private key sk T of this transaction to pair transaction information
Figure BDA00012741825700001017
and evaluation information
Figure BDA00012741825700001018
Sign and generate a transaction information platform signature
Figure BDA00012741825700001019
and the evaluation information platform signature
Figure BDA00012741825700001020
will then contain
Figure BDA00012741825700001021
The data package is sent to the seller user;

Figure BDA00012741825700001022
Figure BDA00012741825700001022

Figure BDA00012741825700001023
Figure BDA00012741825700001023

Figure BDA00012741825700001024
Figure BDA00012741825700001024

其中,

Figure BDA00012741825700001025
表示数据交易平台的验证公钥,
Figure BDA00012741825700001026
表示对交易信息
Figure BDA00012741825700001027
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure BDA00012741825700001028
表示对交易信息
Figure BDA00012741825700001029
和平台评价信息
Figure BDA00012741825700001030
串联后哈希所得的哈希值;in,
Figure BDA00012741825700001025
Indicates the verification public key of the data trading platform,
Figure BDA00012741825700001026
Indicates transaction information
Figure BDA00012741825700001027
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure BDA00012741825700001028
Indicates transaction information
Figure BDA00012741825700001029
and platform evaluation information
Figure BDA00012741825700001030
The hash value obtained by hashing after concatenation;

4.3.2.b.2)卖家用户在收到包含有

Figure BDA00012741825700001031
的数据包后,提取其中的信息先验证签名真实性,验证方法为:4.3.2.b.2) The seller user receives the
Figure BDA00012741825700001031
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:

计算交易信息

Figure BDA00012741825700001032
哈希所得的哈希值
Figure BDA00012741825700001033
交易信息
Figure BDA00012741825700001034
和平台评价信息
Figure BDA00012741825700001035
串联后哈希所得的哈希值
Figure BDA00012741825700001036
Calculate transaction information
Figure BDA00012741825700001032
hash value
Figure BDA00012741825700001033
Trading Information
Figure BDA00012741825700001034
and platform evaluation information
Figure BDA00012741825700001035
Hash value obtained after concatenation
Figure BDA00012741825700001036

Figure BDA0001274182570000111
Figure BDA0001274182570000111

确认以下等式是否全部成立,若等式全部成立则签名正确;Confirm whether the following equations are all established, if all the equations are established, the signature is correct;

Figure BDA0001274182570000112
Figure BDA0001274182570000112

4.3.2.b.3)在确认数据交易平台的签名真实后,卖家用户利用自身的用户交易私钥

Figure BDA0001274182570000113
对交易信息
Figure BDA0001274182570000114
和评价信息
Figure BDA0001274182570000115
进行签名,生成交易信息卖家签名
Figure BDA0001274182570000116
和评价信息卖家签名
Figure BDA0001274182570000117
然后将包含有
Figure BDA0001274182570000118
的数据包发送给数据交易平台;4.3.2.b.3) After confirming that the signature of the data trading platform is true, the seller user uses his own user transaction private key
Figure BDA0001274182570000113
information on transactions
Figure BDA0001274182570000114
and evaluation information
Figure BDA0001274182570000115
Sign, generate transaction information seller signature
Figure BDA0001274182570000116
and the seller's signature of the review information
Figure BDA0001274182570000117
will then contain
Figure BDA0001274182570000118
The data package is sent to the data trading platform;

Figure BDA0001274182570000119
Figure BDA0001274182570000119

Figure BDA00012741825700001110
Figure BDA00012741825700001110

Figure BDA00012741825700001111
Figure BDA00012741825700001111

其中,

Figure BDA00012741825700001112
表示对交易信息
Figure BDA00012741825700001113
和卖家评价信息
Figure BDA00012741825700001114
串联后哈希所得的哈希值;in,
Figure BDA00012741825700001112
Indicates transaction information
Figure BDA00012741825700001113
and seller evaluation information
Figure BDA00012741825700001114
The hash value obtained by hashing after concatenation;

4.3.2.b.4)数据交易平台在收到卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.2.b.4) After receiving the data package sent by the seller user, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information:

计算对交易信息

Figure BDA00012741825700001115
和卖家评价信息
Figure BDA00012741825700001116
串联后哈希所得的哈希值
Figure BDA00012741825700001117
Calculated on transaction information
Figure BDA00012741825700001115
and seller evaluation information
Figure BDA00012741825700001116
Hash value obtained after concatenation
Figure BDA00012741825700001117

Figure BDA00012741825700001118
Figure BDA00012741825700001118

验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:

Figure BDA00012741825700001119
Figure BDA00012741825700001119

卖家签名验证真实后,将数据交易平台和卖家的评价信息

Figure BDA00012741825700001120
Figure BDA00012741825700001121
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure BDA00012741825700001122
和此次交易的验证公钥Nc,然后将包含有
Figure BDA00012741825700001123
的数据包广播到区块链的各个节点;After the seller's signature is verified for authenticity, the data trading platform and the seller's evaluation information will be
Figure BDA00012741825700001120
and
Figure BDA00012741825700001121
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure BDA00012741825700001122
and the verification public key N c for this transaction, which will then contain
Figure BDA00012741825700001123
The data packets are broadcast to each node of the blockchain;

Figure BDA00012741825700001124
Figure BDA00012741825700001124

其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction;

4.3.2.b.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.3.2.b.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature on the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that The funds in the intermediate address A are transferred to the seller's user address:

Figure BDA00012741825700001125
Figure BDA00012741825700001125

其中,e为双线性映射。where e is a bilinear map.

本发明上述涉及的部分专业术语解释如下:The above-mentioned part of the technical terms involved in the present invention are explained as follows:

签名:本发明中签名均指数字签名,数字签名是一种类似于写在纸上的物理签名,只是利用了公钥加密领域的技术实现,是非对称加密技术和数字摘要技术的应用。数字签名在通常意义上包括签名和验证两种运算,只有信息的签名者才能产生别人无法伪造的一段数字串,因此数字签名包括鉴权、完整性验证和不可抵赖证明等作用。Signature: In the present invention, signatures all refer to digital signatures. Digital signatures are physical signatures similar to those written on paper, but are implemented using technologies in the field of public key encryption, and are applications of asymmetric encryption technology and digital digest technology. Digital signature includes two operations of signature and verification in the usual sense. Only the signer of the information can generate a digital string that cannot be forged by others. Therefore, digital signature includes functions such as authentication, integrity verification and non-repudiation proof.

循环群:G是一个循环加群,而G中有一个元素g,使G中任意元素f均可表示为f=g·n,n为整数,则称G是由g生成的循环加群,g叫做群G的一个生成元,记G=<g>。Cyclic group: G is a cyclic addition group, and G has an element g, so that any element f in G can be expressed as f=g n, n is an integer, then G is a cyclic addition group generated by g, g is called a generator of group G, denoted G=<g>.

双线性映射:G和V是阶为素数q的循环群,G是循环加群,V是循环乘法群。双线性对是指具有下面性质的映射e:G×G→V:Bilinear mapping: G and V are cyclic groups of order prime q, G is a cyclic additive group, and V is a cyclic multiplicative group. A bilinear pair is a mapping e:G×G→V with the following properties:

(1)双线性:对所有的P,Q∈G和

Figure BDA0001274182570000121
(1) Bilinear: For all P, Q∈G and
Figure BDA0001274182570000121

e(wP,vQ)=e(wvP,Q)=e(P,wvQ)=e(P,Q)wv e(wP,vQ)=e(wvP,Q)=e(P,wvQ)=e(P,Q) wv

其中,w、v表示

Figure BDA0001274182570000122
中任意数,
Figure BDA0001274182570000123
表示任何整数除以素数q的不包含0的余数集合,P、Q表示群G中任意元素。Among them, w and v represent
Figure BDA0001274182570000122
in any number,
Figure BDA0001274182570000123
Represents the set of remainders that do not contain 0 when any integer is divided by a prime number q, and P and Q represent any element in the group G.

(2)非退化:存在一个P∈G,满足e(P,P)≠1。(2) Non-degenerate: there is a P∈G that satisfies e(P,P)≠1.

(3)可计算:对P,Q∈G,存在一个有效的算法计算e(P,Q)。(3) Computable: For P, Q∈G, there is an efficient algorithm to calculate e(P,Q).

地址:本发明中所提及的地址均指区块链中地址,用来标示一笔交易的支出方和接收方,区块链中的地址是通过对公钥一系列哈希及编码算法得到。Address: The addresses mentioned in the present invention all refer to the addresses in the blockchain, which are used to indicate the payer and the receiver of a transaction. The addresses in the blockchain are obtained through a series of hashing and encoding algorithms for the public key. .

与现有技术相比,本发明的有益效果是:Compared with the prior art, the beneficial effects of the present invention are:

1)买家用户和卖家用户均能保证交易资金的安全存储,数据交易平台提供商无法挪用交易资金,同时卖家用户需要买家用户的明确同意后才真正的获取到这笔资金;1) Both the buyer user and the seller user can ensure the safe storage of the transaction funds, the data trading platform provider cannot misappropriate the transaction funds, and the seller user needs the explicit consent of the buyer user to obtain the funds;

2)数据交易平台无法获取用户的私钥产生方法,也无法得知用户的私钥,保证交易不受单方影响,外部不能通过攻击服务器来危险经济安全。2) The data trading platform cannot obtain the user's private key generation method, nor can it know the user's private key, so as to ensure that the transaction is not unilaterally affected, and the external cannot endanger economic security by attacking the server.

综上所述,本发明可提供不受单方影响的交易方法,保证买卖双方的权益的同时使得数据交易平台也无法挪用交易资金,且尽量避免外部对经济安全性的威胁。To sum up, the present invention can provide a transaction method that is not affected by a single party, ensure the rights and interests of both buyers and sellers, and prevent the data transaction platform from misappropriating transaction funds, and try to avoid external threats to economic security.

附图说明Description of drawings

图1为本发明的流程示意图。FIG. 1 is a schematic flow chart of the present invention.

具体实施方式Detailed ways

下面结合附图及具体实施例对本发明作进一步详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

如图1所示,本发明的实施例及其具体实施过程如下:As shown in Figure 1, an embodiment of the present invention and its specific implementation process are as follows:

A、生成密钥:A. Generate a key:

买家用户和卖家用户的每个用户在自身客户端生成用户交易密钥对(pkC,skC),其中pkC表示用户交易公钥,skC表示用户交易私钥,用户将密钥对中的公钥pkC发送给数据交易平台,并且pkC=skC·P,P表示循环加群的生成元;且对于买卖家用户的用户交易密钥对(pkC,skC),买家用户的交易密钥对表示为

Figure BDA0001274182570000124
卖家用户的交易密钥对表示为
Figure BDA0001274182570000125
Each user of the buyer user and the seller user generates a user transaction key pair (pk C , sk C ) on its own client, where pk C represents the user's transaction public key, sk C represents the user's transaction private key, and the user sets the key pair The public key pk C in is sent to the data trading platform, and pk C =sk C ·P, P represents the generator of the cyclic addition group; and for the user transaction key pair (pk C , sk C ) of the buyer and seller user, buy The transaction key pair of the home user is represented as
Figure BDA0001274182570000124
The seller user's transaction key pair is represented as
Figure BDA0001274182570000125

任何卖家用户和买家用户之间发生的每次交易过程中,数据交易平台为每次交易过程生成分配单次交易密钥对(pkT,skT),其中pkT表示单次交易公钥,skT表示单次交易私钥,并将单次交易公钥公开;单次交易密钥对(pkT,skT)不分卖家用户和买家用户,仅由数据交易平台为每次交易生成,也可表示为

Figure BDA0001274182570000131
In each transaction process between any seller user and buyer user, the data trading platform generates and assigns a single transaction key pair (pk T , sk T ) for each transaction process, where pk T represents the single transaction public key , sk T represents the private key of a single transaction, and the public key of a single transaction is made public; the single transaction key pair (pk T , sk T ) does not distinguish between seller users and buyer users, and only the data trading platform is used for each transaction. generate, which can also be expressed as
Figure BDA0001274182570000131

本发明在字母表示的上标中,C表示交易密钥,T表示单次交易密钥。本发明的字母表示中下标的a表示买家用户,b表示卖家用户的序数,c表示数据交易平台。In the present invention, in the superscript represented by letters, C represents the transaction key, and T represents the single transaction key. In the alphabetical representation of the present invention, the subscript a represents the buyer user, b represents the ordinal number of the seller user, and c represents the data trading platform.

用户生成和存储交易公私钥的客户端是由数据交易平台合作方提供,并非数据交易平台提供,数据交易平台无法获取用户的私钥。若攻击者将数据交易平台控制,攻击者仍然无法获取任意用户的私钥,确保用户信息安全。The client for users to generate and store transaction public and private keys is provided by the data trading platform partner, not the data trading platform, and the data trading platform cannot obtain the user's private key. If the attacker controls the data trading platform, the attacker still cannot obtain the private key of any user to ensure the security of user information.

具体实施中,买家用户和卖家用户在数据交易平台注册时,用户自行设置登陆的账号和对应的密码,数据交易平台会对用户的登陆密码进行加密存储,保证用户的有效身份且用户的登陆密码不被泄露。具体实施还可以为买家用户和卖家用户的每个用户生成分配用户登陆密钥对(pkU,skU),其中pkU表示用户登录公钥,skU表示用户登录私钥,并将用户自身的私钥发送给用户。卖家用户和买家用户均拥有用户登陆密钥对(pkU,skU),买家用户的登陆密钥对表示为

Figure BDA0001274182570000132
卖家用户的登陆密钥对表示为
Figure BDA0001274182570000133
In the specific implementation, when the buyer user and the seller user register on the data trading platform, the user sets the login account and the corresponding password, and the data trading platform encrypts and stores the user's login password to ensure the effective identity of the user and the login Passwords are not revealed. The specific implementation can also generate and assign a user login key pair (pk U , sk U ) for each user of the buyer user and the seller user, where pk U represents the user login public key, sk U represents the user login private key, and the user Its own private key is sent to the user. Both the seller user and the buyer user have a user login key pair (pk U , sk U ), and the buyer user's login key pair is expressed as
Figure BDA0001274182570000132
The login key pair of the seller user is represented as
Figure BDA0001274182570000133

B、待交易数据发布:卖家用户通过数据交易平台在区块链上发布待交易数据的数据信息,供买家用户进行购买;B. Release of pending transaction data: The seller user publishes the data information of the pending transaction data on the blockchain through the data trading platform for the buyer user to purchase;

卖家用户选择待交易数据

Figure BDA0001274182570000134
将卖家用户的身份标识号ID的哈希值、待交易数据的描述信息、待交易数据的哈希值、待交易数据的价格、卖家用户的用户交易公钥
Figure BDA0001274182570000135
打包组成数据包,然后用卖家用户的用户交易私钥
Figure BDA0001274182570000136
对数据包进行签名后发送给数据交易平台,数据交易平台将卖家用户发送过来的数据包,先验证卖家用户为数据交易平台的有效身份,验证正确后再利用卖家用户的用户交易公钥
Figure BDA0001274182570000137
对数据包的签名进行验证,确认该数据包由卖家用户发送的,则将数据包里的数据信息加入到区块中,形成链。The seller user selects the data to be traded
Figure BDA0001274182570000134
The hash value of the seller user's identification number ID, the description information of the data to be traded, the hash value of the data to be traded, the price of the data to be traded, and the user transaction public key of the seller user
Figure BDA0001274182570000135
Package it into a data package, and then trade the private key with the seller's user's user
Figure BDA0001274182570000136
The data package is signed and then sent to the data trading platform. The data trading platform will send the data package sent by the seller user, first verify that the seller user is a valid identity of the data trading platform, and then use the seller user's user transaction public key.
Figure BDA0001274182570000137
The signature of the data packet is verified to confirm that the data packet is sent by the seller user, and the data information in the data packet is added to the block to form a chain.

根据卖家用户提供的数据包,验证卖家用户为数据交易平台的有效身份具体是:通过卖家用户的用户登陆账号和登陆密码对买家的身份进行验证。According to the data package provided by the seller user, verifying the valid identity of the seller user as the data trading platform is specifically: verifying the buyer's identity through the seller user's user login account and login password.

C、买家在数据交易平台的页面上看到待交易数据后,发送购买某待交易数据的申请则开始交易过程,按本发明所述方法进行处理:C. After the buyer sees the data to be traded on the page of the data trading platform, the buyer sends an application to purchase a certain data to be traded to start the transaction process, and process according to the method of the present invention:

1)买家用户向数据交易平台发送购买某数据的申请后,数据交易平台为此次交易过程生成单次交易密钥(pkT,skT),同时根据买家用户和卖家用户各自的用户交易公钥和数据交易平台的单次交易密钥利用安全哈希函数H生成中间地址A,数据交易平台、买家用户和卖家用户三者利用中间地址A后续进行多重签名;1) After the buyer user sends an application for purchasing a certain data to the data trading platform, the data trading platform generates a single transaction key (pk T , sk T ) for this transaction process, and at the same time, according to the respective users of the buyer user and the seller user The transaction public key and the single transaction key of the data trading platform use the secure hash function H to generate the intermediate address A, and the data trading platform, the buyer user and the seller user use the intermediate address A to perform multi-signature subsequently;

2)买家用户进行付款操作,以数字货币作为交易资金,将自身地址的交易资金通过区块链技术转移到中间地址A中,卖家用户在区块链上查询到买家用户的交易资金已转移到中间地址A的交易信息后,从数据交易平台获取买家用户的交易公钥

Figure BDA0001274182570000141
对待交易数据
Figure BDA0001274182570000142
进行加密后发送给买家用户,2) The buyer user conducts the payment operation, uses digital currency as the transaction capital, and transfers the transaction capital of its own address to the intermediate address A through blockchain technology. The seller user inquires on the blockchain that the transaction capital of the buyer user has been After transferring the transaction information to the intermediate address A, obtain the transaction public key of the buyer user from the data trading platform
Figure BDA0001274182570000141
Treat transaction data
Figure BDA0001274182570000142
It is encrypted and sent to the buyer user,

3)买家用户收到加密后的待交易数据

Figure BDA0001274182570000143
后,通过数据解密、哈希和哈希值对比验证其正确性:买家用户在收到加密后的待交易数据
Figure BDA0001274182570000144
后,先利用自身的用户交易私钥
Figure BDA0001274182570000145
进行解密,再对解密后获得的待交易数据
Figure BDA0001274182570000146
计算其哈希值,然后将计算的哈希值与在区块链上发布的数据信息中待交易数据的哈希值进行比对,确认是否一致而获得正确性结果。3) The buyer user receives the encrypted data to be traded
Figure BDA0001274182570000143
After that, the correctness is verified by data decryption, hash and hash value comparison: the buyer user receives the encrypted data to be traded
Figure BDA0001274182570000144
After that, first use your own user transaction private key
Figure BDA0001274182570000145
Decrypt, and then decrypt the pending transaction data obtained after decryption
Figure BDA0001274182570000146
Calculate its hash value, and then compare the calculated hash value with the hash value of the data to be traded in the data information published on the blockchain to confirm whether it is consistent and obtain the correct result.

4)进行步骤4.1)、4.2)或者4.3);4) Carry out step 4.1), 4.2) or 4.3);

4.1)若买家用户验证数据正确后,生成中间地址A中的交易资金转入卖家用户地址的交易信息

Figure BDA0001274182570000147
并对交易信息
Figure BDA0001274182570000148
进行签名确认后,卖家用户同时对该交易信息
Figure BDA0001274182570000149
进行签名确认
Figure BDA00012741825700001410
中间地址A中的资金会转移到卖家用户地址。4.1) If the buyer user verifies that the data is correct, the transaction information in which the transaction funds in the intermediate address A are transferred to the seller user address will be generated.
Figure BDA0001274182570000147
and transaction information
Figure BDA0001274182570000148
After signing and confirming, the seller user also has the transaction information
Figure BDA0001274182570000149
Confirm signature
Figure BDA00012741825700001410
The funds in the intermediate address A will be transferred to the seller user address.

4.2)买家用户收到数据后,若超过规定时间内买家用户未确认交易,则由数据交易平台生成中间地址A中的资金转入卖家用户地址的交易信息

Figure BDA00012741825700001411
数据交易平台和卖家用户对交易信息
Figure BDA00012741825700001412
进行签名确认
Figure BDA00012741825700001413
A中的资金会转移到卖家用户地址。4.2) After the buyer user receives the data, if the buyer user does not confirm the transaction within the specified time, the data trading platform will generate the transaction information that the funds in the intermediate address A are transferred to the seller user address
Figure BDA00012741825700001411
Data trading platform and seller user's transaction information
Figure BDA00012741825700001412
Confirm signature
Figure BDA00012741825700001413
The funds in A will be transferred to the seller user address.

4.3)若买家用户对交易提出异议,则根据卖家用户的处理情况或者数据交易平台的判定结果来决定将中间地址A中资金转移至买家用户或卖家用户的地址,具体分为:4.3) If the buyer user objects to the transaction, it will be decided to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing situation of the seller user or the judgment result of the data trading platform, which is divided into:

4.3.1)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息

Figure BDA00012741825700001414
并签名后发送到卖家用户,卖家用户若同意退款,则对退款信息
Figure BDA00012741825700001415
进行签名
Figure BDA00012741825700001416
中间地址A中的资金会退回到买家用户地址;4.3.1) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure BDA00012741825700001414
And sign and send to the seller user, if the seller user agrees to refund, the refund information
Figure BDA00012741825700001415
to sign
Figure BDA00012741825700001416
The funds in the intermediate address A will be returned to the buyer's user address;

4.3.2)卖家用户若不同意退款,分为以下两种情况:4.3.2) If the seller user does not agree to the refund, it can be divided into the following two situations:

4.3.2.a)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息

Figure BDA00012741825700001417
并签名后发送到卖家用户,卖家用户若不同意退款,则由数据交易平台判定结果,根据判定结果决定退款成功,则将中间地址A中资金转移至买家用户。4.3.2.a) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure BDA00012741825700001417
And sign and send it to the seller user. If the seller user does not agree to the refund, the data trading platform will determine the result. According to the judgment result, the refund will be successful, and the funds in the intermediate address A will be transferred to the buyer user.

4.3.2.b)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息

Figure BDA0001274182570000151
并签名后发送到卖家用户,卖家用户若不同意退款,则由数据交易平台判定结果,根据判定结果决定退款不成功,则将中间地址A中资金转移至卖家用户。4.3.2.b) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure BDA0001274182570000151
And sign and send it to the seller user. If the seller user does not agree to the refund, the data trading platform will judge the result. According to the judgment result, if the refund is unsuccessful, the funds in the intermediate address A will be transferred to the seller user.

基于区块链的交易都是单向不可逆的,现有技术中基于区块链的交易方法经常会出现:如果买家用户转入资金到卖家用户地址,则该交易不可逆转,买家用户对商品不满意时,无法重新获得资金,而若买家用户将资金先暂存在交易数据交易平台,再由数据交易平台转给卖家用户时,该资金不安全。故有人提出多重点名交易,而现有的多重签名交易中交易平台扮演客户端和服务器两个角色,如果攻击者控制了交易平台的服务器后,他们就能利用客户端来获取用户的信息,因此现有的多重签名交易不一定安全,并没有提供想象到的安全保障。Transactions based on blockchain are one-way irreversible, and transaction methods based on blockchain often appear in the existing technology: if the buyer user transfers funds to the seller user address, the transaction is irreversible, and the buyer user When the goods are not satisfied, the funds cannot be obtained again, and if the buyer user temporarily stores the funds on the transaction data trading platform, and then transfers the funds to the seller user from the data trading platform, the funds are not safe. Therefore, some people propose a multi-signature transaction. In the existing multi-signature transaction, the trading platform plays two roles: client and server. If the attacker controls the server of the trading platform, they can use the client to obtain the user's information. Therefore, the existing multi-signature transactions are not necessarily secure, and do not provide the imagined security guarantee.

因此由上述实施例可见,本发明方法中通过用户的每个用户在自身客户端生成用户交易密钥对,以及通过特殊的区域链方式对双方交易时的数据加密和交易信息进行多重签名处理,在区块中进行记录,使得任何一方都无法挪用交易资金,将该方法运用在数据交易中,保证了交易过程每一次处理的数据信息安全,使得交易可靠。Therefore, it can be seen from the above embodiment that in the method of the present invention, each user of the user generates a user transaction key pair on its own client, and performs multi-signature processing on the data encryption and transaction information during the transaction between the two parties through a special blockchain method, Recording in the block makes it impossible for any party to embezzle the transaction funds. This method is used in data transactions to ensure the security of the data information processed every time in the transaction process, making the transaction reliable.

上述具体实施方式用来解释说明本发明,而不是对本发明进行限制,在本发明的精神和权利要求的保护范围内,对本发明作出的任何修改和改变,都落入本发明的保护范围。The above-mentioned specific embodiments are used to explain the present invention, rather than limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims all fall into the protection scope of the present invention.

Claims (10)

1.一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于所述方法是针对数据交易平台、买家用户和卖家用户三者在以数据为对象的交易过程中的信息处理,包括以下方面:1. a method for processing multi-signature transaction information in a blockchain-based data trading platform, is characterized in that the method is for the data trading platform, buyer user and seller user three in the transaction process with data as an object. Information processing, including the following: A、生成密钥:A. Generate a key: 买家用户和卖家用户的每个用户在自身客户端生成用户交易密钥对(pkC,skC),其中pkC表示用户交易公钥,skC表示用户交易私钥,用户将密钥对中的公钥pkC发送给数据交易平台,并且pkC=skC·P,P表示公钥和私钥之间的循环加群的生成元;且对于买卖家用户的用户交易密钥对(pkC,skC),买家用户的交易密钥对表示为
Figure FDA0002455942700000011
卖家用户的交易密钥对表示为
Figure FDA0002455942700000012
Each user of the buyer user and the seller user generates a user transaction key pair (pk C , sk C ) on its own client, where pk C represents the user's transaction public key, sk C represents the user's transaction private key, and the user sets the key pair The public key pk C in is sent to the data trading platform, and pk C =sk C ·P, P represents the generator of the cyclic addition group between the public key and the private key; and for the user transaction key pair ( pk C ,sk C ), the buyer user’s transaction key pair is expressed as
Figure FDA0002455942700000011
The seller user's transaction key pair is represented as
Figure FDA0002455942700000012
任何卖家用户和买家用户之间发生的每次交易过程中,数据交易平台为每次交易过程生成单次交易密钥对(pkT,skT),其中pkT表示单次交易公钥,skT表示单次交易私钥,并将单次交易公钥公开;In each transaction process between any seller user and buyer user, the data trading platform generates a single transaction key pair (pk T , sk T ) for each transaction process, where pk T represents the single transaction public key, sk T represents the private key of a single transaction, and publicizes the public key of a single transaction; B、待交易数据发布:卖家用户通过数据交易平台在区块链上发布待交易数据的数据信息,供买家用户进行购买;B. Release of pending transaction data: The seller user publishes the data information of the pending transaction data on the blockchain through the data trading platform for the buyer user to purchase; C、每次交易过程中,采用以下方式实现交易信息的处理:C. During each transaction, the transaction information is processed in the following ways: 1)买家用户向数据交易平台发送购买某数据的申请后,根据买家用户和卖家用户各自的用户交易公钥和数据交易平台的单次交易公钥生成中间地址A;1) After the buyer user sends an application for purchasing a certain data to the data trading platform, the intermediate address A is generated according to the respective user transaction public keys of the buyer user and the seller user and the single transaction public key of the data trading platform; 2)买家用户进行付款操作,将自身地址的交易资金通过区块链技术转移到中间地址A中,卖家用户在区块链上查询到买家用户的交易资金已转移到中间地址A的交易信息后,从数据交易平台获取买家用户的用户交易公钥
Figure FDA0002455942700000013
对待交易数据
Figure FDA0002455942700000014
进行加密后发送给买家用户,
2) The buyer user performs the payment operation and transfers the transaction funds of its own address to the intermediate address A through the blockchain technology. The seller user checks the transaction on the blockchain that the transaction funds of the buyer user have been transferred to the intermediate address A. After the information, obtain the user transaction public key of the buyer user from the data trading platform
Figure FDA0002455942700000013
Treat transaction data
Figure FDA0002455942700000014
It is encrypted and sent to the buyer user,
3)买家用户收到加密后的待交易数据
Figure FDA0002455942700000015
后,通过数据解密、哈希和哈希值对比验证正确性,并进行步骤4.1)、4.2)或者4.3);
3) The buyer user receives the encrypted data to be traded
Figure FDA0002455942700000015
After that, verify the correctness through data decryption, hash and hash value comparison, and perform steps 4.1), 4.2) or 4.3);
4.1)若买家用户验证数据正确后,确认交易并发送确认交易信息到数据交易平台,则买家用户和卖家用户用各自的用户交易私钥对交易成功的交易信息
Figure FDA0002455942700000016
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的交易资金转移到卖家用户的地址;
4.1) If the buyer user confirms the transaction and sends the confirmation transaction information to the data trading platform after verifying that the data is correct, the buyer user and the seller user use their respective user transaction private keys to pair the transaction information of the successful transaction.
Figure FDA0002455942700000016
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the transaction funds in the intermediate address A are transferred to the seller's user's address;
4.2)若买家用户在规定时间内未对此次交易进行确认,则数据交易平台利用自身的单次交易私钥和卖家用户的用户交易私钥对交易成功的交易信息
Figure FDA0002455942700000017
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的交易资金转移到卖家用户的地址;
4.2) If the buyer user does not confirm the transaction within the specified time, the data trading platform will use its own single transaction private key and the seller user's user transaction private key to pair the transaction information of the successful transaction.
Figure FDA0002455942700000017
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the transaction funds in the intermediate address A are transferred to the seller's user's address;
4.3)若买家用户对交易提出异议,则根据卖家用户的处理情况或者数据交易平台的判定结果来决定将中间地址A中资金转移至买家用户或卖家用户的地址,具体分为:4.3) If the buyer user objects to the transaction, it will be decided to transfer the funds in the intermediate address A to the address of the buyer user or the seller user according to the processing situation of the seller user or the judgment result of the data trading platform, which is divided into: 4.3.1)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息
Figure FDA0002455942700000021
并签名后发送到卖家用户,卖家用户若同意退款,则对退款信息
Figure FDA0002455942700000022
进行签名,数据交易平台对签名进行验证并广播到区块链网络,区块链节点验证签名通过后则中间地址A中的资金会退回到买家用户地址;
4.3.1) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure FDA0002455942700000021
And sign and send to the seller user, if the seller user agrees to refund, the refund information
Figure FDA0002455942700000022
After signing, the data trading platform verifies the signature and broadcasts it to the blockchain network. After the blockchain node verifies the signature, the funds in the intermediate address A will be returned to the buyer's user address;
4.3.2)若买家用户申请退款操作,买家用户生成中间地址A的交易资金退回到买家用户地址的退款信息
Figure FDA0002455942700000023
签名后发送到卖家用户,卖家用户若不同意退款,则由数据交易平台判定结果,根据判定结果决定将中间地址A中资金转移至买家用户或卖家用户。
4.3.2) If the buyer user applies for a refund operation, the buyer user generates the transaction funds of the intermediate address A and returns the refund information to the buyer user address
Figure FDA0002455942700000023
After signing, it will be sent to the seller user. If the seller user does not agree to the refund, the data trading platform will determine the result and decide to transfer the funds in the intermediate address A to the buyer user or seller user according to the judgment result.
2.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤B中卖家用户通过数据交易平台在区块链上发布待交易数据具体是:卖家用户选择待交易数据
Figure FDA0002455942700000024
将卖家用户的身份标识号ID的哈希值、待交易数据的描述信息、待交易数据的哈希值、待交易数据的价格、卖家用户的用户交易公钥
Figure FDA0002455942700000025
打包组成数据包,然后用卖家用户的用户交易私钥
Figure FDA0002455942700000026
对数据包进行签名后发送给数据交易平台,数据交易平台收到卖家用户发送过来的数据包后,先验证卖家用户为数据交易平台的有效身份,验证正确后再利用卖家用户的用户交易公钥
Figure FDA0002455942700000027
对数据包的签名进行验证,确认该数据包由卖家用户发送的,则将数据包里的数据信息加入到区块中,形成链。
2. The method for processing multi-signature transaction information in a blockchain-based data trading platform according to claim 1, wherein in the step B, the seller user publishes pending transactions on the blockchain through the data trading platform The data is specifically: the seller user selects the data to be traded
Figure FDA0002455942700000024
The hash value of the seller user's identification number ID, the description information of the data to be traded, the hash value of the data to be traded, the price of the data to be traded, and the user transaction public key of the seller user
Figure FDA0002455942700000025
Package it into a data package, and then trade the private key with the seller's user's user
Figure FDA0002455942700000026
The data package is signed and then sent to the data trading platform. After receiving the data package sent by the seller user, the data trading platform first verifies that the seller user is a valid identity of the data trading platform, and then uses the seller user's user transaction public key.
Figure FDA0002455942700000027
The signature of the data packet is verified to confirm that the data packet is sent by the seller user, and the data information in the data packet is added to the block to form a chain.
3.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤1)中的中间地址A是由数据交易平台根据买家用户的用户交易公钥
Figure FDA0002455942700000028
卖家用户的用户交易公钥
Figure FDA0002455942700000029
和数据交易平台的单次交易公钥pkT利用安全哈希函数H生成:
3. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1, wherein the intermediate address A in the step 1) is determined by the data transaction platform according to the buyer user. user transaction public key of
Figure FDA0002455942700000028
User transaction public key of seller user
Figure FDA0002455942700000029
And the single transaction public key pk T of the data trading platform is generated using the secure hash function H:
Figure FDA00024559427000000210
Figure FDA00024559427000000210
其中,H为安全哈希函数。Among them, H is a secure hash function.
4.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤3)中买家用户收到加密后的待交易数据
Figure FDA00024559427000000211
后,通过解密、哈希和哈希值对比验证正确性,具体包括:
4. The method for processing multi-signature transaction information in a blockchain-based data trading platform according to claim 1, wherein the buyer user receives encrypted data to be traded in the step 3).
Figure FDA00024559427000000211
After that, verify the correctness through decryption, hash and hash value comparison, including:
买家用户在收到加密后的待交易数据
Figure FDA00024559427000000212
后,先利用自身的用户交易私钥
Figure FDA00024559427000000213
进行解密,再对解密后获得的待交易数据
Figure FDA00024559427000000214
计算其哈希值,然后将计算的哈希值与区块链上数据信息中待交易数据的哈希值进行比对,确认是否一致而获得正确性结果。
The buyer user receives the encrypted data to be traded
Figure FDA00024559427000000212
After that, first use your own user transaction private key
Figure FDA00024559427000000213
Decrypt, and then decrypt the pending transaction data obtained after decryption
Figure FDA00024559427000000214
Calculate its hash value, and then compare the calculated hash value with the hash value of the data to be traded in the data information on the blockchain to confirm whether it is consistent and obtain the correct result.
5.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.1)中具体包括:5. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1, wherein the step 4.1) specifically includes: 4.1.1)若买家用户验证数据正确后,买家用户生成中间地址A的交易资金转入到卖家用户地址的交易信息
Figure FDA0002455942700000031
并对此次交易进行评价生成买家用户的评价信息为
Figure FDA0002455942700000032
买家用户利用自身的用户交易私钥
Figure FDA0002455942700000033
对交易信息
Figure FDA0002455942700000034
和评价信息
Figure FDA0002455942700000035
分别进行签名,生成交易信息买家签名
Figure FDA0002455942700000036
和买家评价信息签名
Figure FDA0002455942700000037
然后将包含有
Figure FDA0002455942700000038
的数据包发送给卖家用户和数据交易平台;
4.1.1) If the buyer user verifies that the data is correct, the buyer user generates the transaction information of the intermediate address A and transfers the transaction funds to the seller user address
Figure FDA0002455942700000031
And evaluate the transaction to generate the evaluation information of the buyer user as
Figure FDA0002455942700000032
Buyer users use their own user transaction private keys
Figure FDA0002455942700000033
information on transactions
Figure FDA0002455942700000034
and evaluation information
Figure FDA0002455942700000035
Sign separately to generate transaction information buyer signature
Figure FDA0002455942700000036
Sign with buyer evaluation information
Figure FDA0002455942700000037
will then contain
Figure FDA0002455942700000038
The data package is sent to the seller user and the data trading platform;
Figure FDA0002455942700000039
Figure FDA0002455942700000039
Figure FDA00024559427000000310
Figure FDA00024559427000000310
Figure FDA00024559427000000311
Figure FDA00024559427000000311
其中,“·||·”表示数据的串联,
Figure FDA00024559427000000312
为买家用户的验证公钥,
Figure FDA00024559427000000313
表示对交易信息
Figure FDA00024559427000000314
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure FDA00024559427000000315
表示对交易信息
Figure FDA00024559427000000316
和买家评价信息
Figure FDA00024559427000000317
串联后哈希所得的哈希值;
Among them, "·||·" represents the concatenation of data,
Figure FDA00024559427000000312
the authentication public key for the buyer user,
Figure FDA00024559427000000313
Indicates transaction information
Figure FDA00024559427000000314
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure FDA00024559427000000315
Indicates transaction information
Figure FDA00024559427000000316
and buyer reviews
Figure FDA00024559427000000317
The hash value obtained by hashing after concatenation;
4.1.2)卖家用户在收到包含有
Figure FDA00024559427000000318
的数据包后,提取其中的信息先验证签名真实性,验证方法为:
4.1.2) The seller user receives the
Figure FDA00024559427000000318
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:
计算交易信息
Figure FDA00024559427000000319
的哈希值
Figure FDA00024559427000000320
交易信息
Figure FDA00024559427000000321
和买家评价信息
Figure FDA00024559427000000322
串联后哈希所得的哈希值
Figure FDA00024559427000000323
Calculate transaction information
Figure FDA00024559427000000319
hash value of
Figure FDA00024559427000000320
Trading Information
Figure FDA00024559427000000321
and buyer reviews
Figure FDA00024559427000000322
Hash value obtained after concatenation
Figure FDA00024559427000000323
Figure FDA00024559427000000324
Figure FDA00024559427000000324
确认以下等式是否全部成立,若等式全部成立则说明签名真实;Confirm whether the following equations are all true, if all the equations are true, the signature is true;
Figure FDA00024559427000000325
Figure FDA00024559427000000325
其中,P表示公钥和私钥之间的循环加群的生成元,e为双线性映射;Among them, P represents the generator of the cyclic addition group between the public key and the private key, and e is the bilinear mapping; 4.1.3)在确认买家用户的签名真实后,卖家用户对此次交易进行评价生成卖家用户的评价信息
Figure FDA00024559427000000326
并利用自身的用户交易私钥
Figure FDA00024559427000000327
对交易信息
Figure FDA00024559427000000328
和评价信息
Figure FDA00024559427000000329
进行签名,生成交易信息卖家签名
Figure FDA00024559427000000330
和卖家评价信息签名
Figure FDA00024559427000000331
然后将包含有
Figure FDA00024559427000000332
的数据包发送给数据交易平台;
4.1.3) After confirming that the signature of the buyer user is true, the seller user evaluates the transaction to generate the seller user's evaluation information
Figure FDA00024559427000000326
And use its own user transaction private key
Figure FDA00024559427000000327
information on transactions
Figure FDA00024559427000000328
and evaluation information
Figure FDA00024559427000000329
Sign, generate transaction information seller signature
Figure FDA00024559427000000330
Sign with seller evaluation information
Figure FDA00024559427000000331
will then contain
Figure FDA00024559427000000332
The data package is sent to the data trading platform;
Figure FDA00024559427000000333
Figure FDA00024559427000000333
Figure FDA00024559427000000334
Figure FDA00024559427000000334
Figure FDA00024559427000000335
Figure FDA00024559427000000335
其中,P表示公钥和私钥之间的循环加群的生成元,
Figure FDA00024559427000000336
表示对交易信息
Figure FDA00024559427000000337
和卖家评价信息
Figure FDA00024559427000000338
串联后哈希所得的哈希值,
Figure FDA00024559427000000339
为卖家用户的验证公钥;
Among them, P represents the generator of the cyclic addition group between the public key and the private key,
Figure FDA00024559427000000336
Indicates transaction information
Figure FDA00024559427000000337
and seller evaluation information
Figure FDA00024559427000000338
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000339
The verification public key for the seller user;
4.1.4)数据交易平台在收到买家用户和卖家用户发送过来的数据包后,采用以下方式对提取其中的信息验证签名真实性:4.1.4) After receiving the data packets sent by buyers and sellers, the data trading platform uses the following methods to verify the authenticity of the signature for the extracted information: 计算交易信息
Figure FDA0002455942700000041
的哈希值
Figure FDA0002455942700000042
交易信息
Figure FDA0002455942700000043
和买家评价信息
Figure FDA0002455942700000044
串联后哈希所得的哈希值
Figure FDA0002455942700000045
交易信息
Figure FDA0002455942700000046
和卖家评价信息
Figure FDA0002455942700000047
串联后哈希所得的哈希值
Figure FDA0002455942700000048
Calculate transaction information
Figure FDA0002455942700000041
hash value of
Figure FDA0002455942700000042
Trading Information
Figure FDA0002455942700000043
and buyer reviews
Figure FDA0002455942700000044
Hash value obtained after concatenation
Figure FDA0002455942700000045
Trading Information
Figure FDA0002455942700000046
and seller evaluation information
Figure FDA0002455942700000047
Hash value obtained after concatenation
Figure FDA0002455942700000048
Figure FDA0002455942700000049
Figure FDA0002455942700000049
验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:
Figure FDA00024559427000000410
Figure FDA00024559427000000410
验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:
Figure FDA00024559427000000411
Figure FDA00024559427000000411
双方签名均验证真实后,将买卖家用户的评价信息
Figure FDA00024559427000000412
Figure FDA00024559427000000413
显示在交易结果中,同时采用以下算法计算交易信息双方签名
Figure FDA00024559427000000414
和此次交易的验证公钥Nc,然后将包含有
Figure FDA00024559427000000415
的数据包广播到区块链;
After the signatures of both parties are verified to be true, the evaluation information of the buyer and seller will be
Figure FDA00024559427000000412
and
Figure FDA00024559427000000413
It is displayed in the transaction results, and the following algorithm is used to calculate the signatures of both parties in the transaction information
Figure FDA00024559427000000414
and the verification public key N c for this transaction, which will then contain
Figure FDA00024559427000000415
The data packets are broadcast to the blockchain;
Figure FDA00024559427000000416
Figure FDA00024559427000000416
其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction; 4.1.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.1.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature for the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the intermediate address A in Funds are transferred to seller user address:
Figure FDA00024559427000000417
Figure FDA00024559427000000417
其中,e为双线性映射。where e is a bilinear map.
6.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.3.2)中具体分为:6. The method for processing multi-signature transaction information in a blockchain-based data trading platform according to claim 1, wherein the step 4.3.2) is specifically divided into: 4.3.2.1)若数据交易平台根据交易情况判定退款成功,则由数据交易平台和买家用户对退款信息
Figure FDA00024559427000000427
进行签名,中间地址A中的资金会退回到买家用户地址;
4.3.2.1) If the data trading platform determines that the refund is successful according to the transaction situation, the data trading platform and the buyer user will verify the refund information.
Figure FDA00024559427000000427
After signing, the funds in the intermediate address A will be returned to the buyer's user address;
4.3.2.2)若数据交易平台根据交易情况判定退款不成功,则由数据交易平台和卖家用户对交易信息
Figure FDA00024559427000000426
进行签名,中间地址Α中的资金会转移到卖家用户地址。
4.3.2.2) If the data trading platform determines that the refund is unsuccessful according to the transaction situation, the data trading platform and the seller user will verify the transaction information.
Figure FDA00024559427000000426
After signing, the funds in the intermediate address Α will be transferred to the seller's user address.
7.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.2)中具体包括:7. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1, wherein the step 4.2) specifically includes: 4.2.1)买家用户在规定时间内未对此次交易进行确认后,数据交易平台对此次交易进行评价,生成评价信息为
Figure FDA00024559427000000418
利用此次交易密钥的私钥skT对交易信息
Figure FDA00024559427000000419
和评价信息
Figure FDA00024559427000000420
进行签名,生成交易信息平台签名
Figure FDA00024559427000000421
和平台评价信息签名
Figure FDA00024559427000000422
然后将包含有
Figure FDA00024559427000000423
的数据包发送给卖家用户;
4.2.1) After the buyer user fails to confirm the transaction within the specified time, the data trading platform evaluates the transaction and generates evaluation information as:
Figure FDA00024559427000000418
Use the private key sk T of the transaction key to pair the transaction information
Figure FDA00024559427000000419
and evaluation information
Figure FDA00024559427000000420
Sign and generate a transaction information platform signature
Figure FDA00024559427000000421
and platform evaluation information signature
Figure FDA00024559427000000422
will then contain
Figure FDA00024559427000000423
The data package is sent to the seller user;
Figure FDA00024559427000000424
Figure FDA00024559427000000424
Figure FDA00024559427000000425
Figure FDA00024559427000000425
Figure FDA0002455942700000051
Figure FDA0002455942700000051
其中,
Figure FDA0002455942700000052
表示数据交易平台的验证公钥,
Figure FDA0002455942700000053
表示对交易信息
Figure FDA0002455942700000054
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure FDA0002455942700000055
表示对交易信息
Figure FDA0002455942700000056
和平台评价信息
Figure FDA0002455942700000057
串联后哈希所得的哈希值;
in,
Figure FDA0002455942700000052
Indicates the verification public key of the data trading platform,
Figure FDA0002455942700000053
Indicates transaction information
Figure FDA0002455942700000054
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure FDA0002455942700000055
Indicates transaction information
Figure FDA0002455942700000056
and platform evaluation information
Figure FDA0002455942700000057
The hash value obtained by hashing after concatenation;
4.2.2)卖家用户在收到包含有
Figure FDA0002455942700000058
的数据包后,提取其中的信息先验证签名真实性,验证方法为:
4.2.2) The seller user receives the
Figure FDA0002455942700000058
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:
计算交易信息
Figure FDA0002455942700000059
的哈希值
Figure FDA00024559427000000510
交易信息
Figure FDA00024559427000000511
和平台评价信息
Figure FDA00024559427000000512
串联后哈希所得的哈希值
Figure FDA00024559427000000513
Calculate transaction information
Figure FDA0002455942700000059
hash value of
Figure FDA00024559427000000510
Trading Information
Figure FDA00024559427000000511
and platform evaluation information
Figure FDA00024559427000000512
Hash value obtained after concatenation
Figure FDA00024559427000000513
Figure FDA00024559427000000514
Figure FDA00024559427000000514
确认以下等式是否全部成立,若等式全部成立则签名真实;Confirm whether the following equations are all established, if all the equations are established, the signature is true;
Figure FDA00024559427000000515
Figure FDA00024559427000000515
4.2.3)在确认数据交易平台的签名真实后,卖家用户利用自身的用户交易私钥
Figure FDA00024559427000000516
对交易信息
Figure FDA00024559427000000517
和卖家交易评价
Figure FDA00024559427000000518
进行签名,生成交易信息卖家签名
Figure FDA00024559427000000519
和评价信息卖家签名
Figure FDA00024559427000000520
然后将包含有
Figure FDA00024559427000000521
的数据包发送给数据交易平台;
4.2.3) After confirming the authenticity of the signature of the data trading platform, the seller user uses his own user transaction private key
Figure FDA00024559427000000516
information on transactions
Figure FDA00024559427000000517
Trading reviews with sellers
Figure FDA00024559427000000518
Sign, generate transaction information seller signature
Figure FDA00024559427000000519
and the seller's signature of the review information
Figure FDA00024559427000000520
will then contain
Figure FDA00024559427000000521
The data package is sent to the data trading platform;
Figure FDA00024559427000000522
Figure FDA00024559427000000522
Figure FDA00024559427000000523
Figure FDA00024559427000000523
其中,
Figure FDA00024559427000000524
表示对交易信息
Figure FDA00024559427000000525
和卖家交易评价
Figure FDA00024559427000000526
串联后哈希所得的哈希值,
Figure FDA00024559427000000527
为卖家用户的验证公钥;
in,
Figure FDA00024559427000000524
Indicates transaction information
Figure FDA00024559427000000525
Trading reviews with sellers
Figure FDA00024559427000000526
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000527
The verification public key for the seller user;
4.2.4)数据交易平台在收到卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.2.4) After receiving the data package sent by the seller user, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information: 计算交易信息
Figure FDA00024559427000000528
和卖家交易评价
Figure FDA00024559427000000529
串联后哈希所得的哈希值
Figure FDA00024559427000000530
Figure FDA00024559427000000531
Calculate transaction information
Figure FDA00024559427000000528
Trading reviews with sellers
Figure FDA00024559427000000529
Hash value obtained after concatenation
Figure FDA00024559427000000530
Figure FDA00024559427000000531
验证卖家用户签名,若下列等式全部成立,则说明签名真实:Verify the seller's user signature, if all the following equations are true, the signature is true:
Figure FDA00024559427000000532
Figure FDA00024559427000000532
卖家签名均验证真实后,将数据交易平台和卖家的评价信息
Figure FDA00024559427000000533
Figure FDA00024559427000000534
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure FDA00024559427000000535
和此次交易的验证公钥Nc,然后将包含有
Figure FDA00024559427000000536
的数据包广播到区块链;
After the seller's signature is verified to be true, the data trading platform and the seller's evaluation information will be
Figure FDA00024559427000000533
and
Figure FDA00024559427000000534
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure FDA00024559427000000535
and the verification public key N c for this transaction, which will then contain
Figure FDA00024559427000000536
The data packets are broadcast to the blockchain;
Figure FDA00024559427000000537
Figure FDA00024559427000000537
其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction; 4.2.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.2.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature on the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the intermediate address A in Funds are transferred to seller user address:
Figure FDA0002455942700000061
Figure FDA0002455942700000061
其中,e为双线性映射。where e is a bilinear map.
8.根据权利要求1所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.3.1)中具体包括:8. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1, wherein the step 4.3.1) specifically includes: 4.3.1.1)买家用户进行退款操作后,对此次交易进行评价生成买家用户的评价信息为
Figure FDA0002455942700000062
买家用户利用自身的用户交易私钥
Figure FDA0002455942700000063
对退款信息
Figure FDA0002455942700000064
和评价信息
Figure FDA0002455942700000065
进行签名,生成交易信息买家签名签名
Figure FDA0002455942700000066
和评价信息买家签名
Figure FDA0002455942700000067
然后将包含有
Figure FDA0002455942700000068
的数据包发送给卖家用户和数据交易平台;
4.3.1.1) After the buyer user performs the refund operation, evaluate the transaction to generate the buyer user's evaluation information:
Figure FDA0002455942700000062
Buyer users use their own user transaction private keys
Figure FDA0002455942700000063
Information on refunds
Figure FDA0002455942700000064
and evaluation information
Figure FDA0002455942700000065
Sign, generate transaction information buyer signature signature
Figure FDA0002455942700000066
and the buyer's signature of the review information
Figure FDA0002455942700000067
will then contain
Figure FDA0002455942700000068
The data package is sent to the seller user and the data trading platform;
Figure FDA0002455942700000069
Figure FDA0002455942700000069
Figure FDA00024559427000000610
Figure FDA00024559427000000610
Figure FDA00024559427000000611
Figure FDA00024559427000000611
其中,“·||·”表示数据的串联,
Figure FDA00024559427000000612
为买家用户的验证公钥,
Figure FDA00024559427000000613
表示对退款信息
Figure FDA00024559427000000614
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure FDA00024559427000000615
表示对退款信息
Figure FDA00024559427000000616
和买家评价信息
Figure FDA00024559427000000617
串联后哈希所得的哈希值;
Among them, "·||·" represents the concatenation of data,
Figure FDA00024559427000000612
the authentication public key for the buyer user,
Figure FDA00024559427000000613
Indicates information on refunds
Figure FDA00024559427000000614
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure FDA00024559427000000615
Indicates information on refunds
Figure FDA00024559427000000616
and buyer reviews
Figure FDA00024559427000000617
The hash value obtained by hashing after concatenation;
4.3.1.2)卖家用户在收到包含有
Figure FDA00024559427000000618
的数据包后,提取其中的信息先验证签名真实性,验证方法为:
4.3.1.2) The seller user receives the
Figure FDA00024559427000000618
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:
计算退款信息
Figure FDA00024559427000000619
哈希所得的哈希值
Figure FDA00024559427000000620
退款信息
Figure FDA00024559427000000621
和买家评价信息
Figure FDA00024559427000000622
串联后哈希所得的哈希值
Figure FDA00024559427000000623
Calculate refund information
Figure FDA00024559427000000619
hash value
Figure FDA00024559427000000620
Refund Information
Figure FDA00024559427000000621
and buyer reviews
Figure FDA00024559427000000622
Hash value obtained after concatenation
Figure FDA00024559427000000623
Figure FDA00024559427000000624
Figure FDA00024559427000000624
确认以下等式是否全部成立,若等式全部成立则说明签名真实;Confirm whether the following equations are all true, if all the equations are true, the signature is true;
Figure FDA00024559427000000625
Figure FDA00024559427000000625
Figure FDA00024559427000000626
Figure FDA00024559427000000626
其中,P表示公钥和私钥之间的循环加群的生成元,e为双线性映射;Among them, P represents the generator of the cyclic addition group between the public key and the private key, and e is the bilinear mapping; 4.3.1.3)在确认买家用户的签名真实后,卖家用户对此次交易进行评价生成卖家用户的评价信息
Figure FDA00024559427000000627
卖家用户利用自身的用户交易私钥
Figure FDA00024559427000000628
对退款信息
Figure FDA00024559427000000629
和评价信息
Figure FDA00024559427000000630
进行签名,生成交易信息卖家签名
Figure FDA00024559427000000631
和评价信息卖家签名
Figure FDA00024559427000000632
然后将包含有
Figure FDA00024559427000000633
的数据包发送给数据交易平台;
4.3.1.3) After confirming the authenticity of the buyer's signature, the seller's user evaluates the transaction to generate the seller's user's evaluation information
Figure FDA00024559427000000627
The seller user uses his own user transaction private key
Figure FDA00024559427000000628
Information on refunds
Figure FDA00024559427000000629
and evaluation information
Figure FDA00024559427000000630
Sign, generate transaction information seller signature
Figure FDA00024559427000000631
and the seller's signature of the review information
Figure FDA00024559427000000632
will then contain
Figure FDA00024559427000000633
The data package is sent to the data trading platform;
Figure FDA00024559427000000634
Figure FDA00024559427000000634
Figure FDA00024559427000000635
Figure FDA00024559427000000635
Figure FDA00024559427000000636
Figure FDA00024559427000000636
其中,P表示公钥和私钥之间的循环加群的生成元,
Figure FDA00024559427000000637
表示对退款信息
Figure FDA00024559427000000638
和卖家评价信息
Figure FDA00024559427000000639
串联后哈希所得的哈希值,
Figure FDA00024559427000000640
为卖家用户的验证公钥;
Among them, P represents the generator of the cyclic addition group between the public key and the private key,
Figure FDA00024559427000000637
Indicates information on refunds
Figure FDA00024559427000000638
and seller evaluation information
Figure FDA00024559427000000639
The hash value obtained by hashing after concatenation,
Figure FDA00024559427000000640
The verification public key for the seller user;
4.3.1.4)数据交易平台在收到买家用户和卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.1.4) After receiving the data packets sent by buyers and sellers, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information: 计算退款信息
Figure FDA0002455942700000071
哈希所得的哈希值
Figure FDA0002455942700000072
退款信息
Figure FDA0002455942700000073
和买家评价信息
Figure FDA0002455942700000074
串联后哈希所得的哈希值
Figure FDA0002455942700000075
退款信息
Figure FDA0002455942700000076
和卖家评价信息
Figure FDA0002455942700000077
串联后哈希所得的哈希值
Figure FDA0002455942700000078
Calculate refund information
Figure FDA0002455942700000071
hash value
Figure FDA0002455942700000072
Refund Information
Figure FDA0002455942700000073
and buyer reviews
Figure FDA0002455942700000074
Hash value obtained after concatenation
Figure FDA0002455942700000075
Refund Information
Figure FDA0002455942700000076
and seller evaluation information
Figure FDA0002455942700000077
Hash value obtained after concatenation
Figure FDA0002455942700000078
Figure FDA0002455942700000079
Figure FDA0002455942700000079
验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:
Figure FDA00024559427000000710
Figure FDA00024559427000000710
验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:
Figure FDA00024559427000000711
Figure FDA00024559427000000711
双方签名均验证真实后,将买卖家用户的评价信息
Figure FDA00024559427000000712
Figure FDA00024559427000000713
显示在交易结果中,同时采用以下算法计算交易信息双方签名
Figure FDA00024559427000000714
和此次交易的验证公钥Nc,然后将包含有
Figure FDA00024559427000000715
的数据包广播到区块链;
After the signatures of both parties are verified to be true, the evaluation information of the buyer and seller will be
Figure FDA00024559427000000712
and
Figure FDA00024559427000000713
It is displayed in the transaction results, and the following algorithm is used to calculate the signatures of both parties in the transaction information
Figure FDA00024559427000000714
and the verification public key N c for this transaction, which will then contain
Figure FDA00024559427000000715
The data packets are broadcast to the blockchain;
Figure FDA00024559427000000716
Figure FDA00024559427000000716
其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction; 4.3.1.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的信息验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.3.1.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature for the information sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that the funds in the intermediate address A Transfer to seller user address:
Figure FDA00024559427000000717
Figure FDA00024559427000000717
其中,e为双线性映射。where e is a bilinear map.
9.根据权利要求1或者6所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.3.2)中若最终中间地址A中资金转移至买家用户具体是:9. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1 or 6, characterized in that: in the step 4.3.2), if the funds in the final intermediate address A are transferred to Buyer users are: 4.3.2.a.1)数据交易平台根据交易情况判定退款成功,数据交易平台对此次交易进行评价生成评价信息为
Figure FDA00024559427000000718
利用此次交易的单次交易私钥skT对退款信息
Figure FDA00024559427000000719
和评价信息
Figure FDA00024559427000000720
进行签名,生成交易信息平台签名
Figure FDA00024559427000000721
和评价信息平台签名
Figure FDA00024559427000000722
然后将包含有
Figure FDA00024559427000000723
的数据包发送给买家用户;
4.3.2.a.1) The data trading platform determines that the refund is successful according to the transaction situation, and the data trading platform evaluates the transaction to generate the evaluation information as
Figure FDA00024559427000000718
Use the single transaction private key sk T of this transaction to pair the refund information
Figure FDA00024559427000000719
and evaluation information
Figure FDA00024559427000000720
Sign and generate a transaction information platform signature
Figure FDA00024559427000000721
and the evaluation information platform signature
Figure FDA00024559427000000722
will then contain
Figure FDA00024559427000000723
The data package is sent to the buyer user;
Figure FDA00024559427000000724
Figure FDA00024559427000000724
Figure FDA00024559427000000725
Figure FDA00024559427000000725
Figure FDA00024559427000000726
Figure FDA00024559427000000726
其中,
Figure FDA00024559427000000727
表示数据交易平台的验证公钥,
Figure FDA00024559427000000728
表示对退款信息
Figure FDA00024559427000000729
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure FDA00024559427000000730
表示对退款信息
Figure FDA00024559427000000731
和平台评价信息
Figure FDA00024559427000000732
串联后哈希所得的哈希值;
in,
Figure FDA00024559427000000727
Indicates the verification public key of the data trading platform,
Figure FDA00024559427000000728
Indicates information on refunds
Figure FDA00024559427000000729
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure FDA00024559427000000730
Indicates information on refunds
Figure FDA00024559427000000731
and platform evaluation information
Figure FDA00024559427000000732
The hash value obtained by hashing after concatenation;
4.3.2.a.2)买家用户在收到包含有
Figure FDA0002455942700000081
的数据包后,提取其中的信息先验证签名真实性,验证方法为:
4.3.2.a.2) The buyer user receives the
Figure FDA0002455942700000081
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:
计算退款信息
Figure FDA0002455942700000082
哈希所得的哈希值
Figure FDA0002455942700000083
退款信息和平台评价信息
Figure FDA0002455942700000084
串联后哈希所得的哈希值
Figure FDA0002455942700000085
Calculate refund information
Figure FDA0002455942700000082
hash value
Figure FDA0002455942700000083
Refund information and platform evaluation information
Figure FDA0002455942700000084
Hash value obtained after concatenation
Figure FDA0002455942700000085
Figure FDA0002455942700000086
Figure FDA0002455942700000086
确认以下等式是否全部成立,若等式全部成立则签名正确;Confirm whether the following equations are all established, if all the equations are established, the signature is correct;
Figure FDA0002455942700000087
Figure FDA0002455942700000087
4.3.2.a.3)在确认数据交易平台的签名真实后,买家用户利用自身的用户交易私钥
Figure FDA0002455942700000088
对退款信息
Figure FDA0002455942700000089
和交易评价
Figure FDA00024559427000000810
进行签名,生成交易信息买家签名
Figure FDA00024559427000000811
和评价信息买家签名
Figure FDA00024559427000000812
然后将包含有
Figure FDA00024559427000000813
的数据包发送给数据交易平台;
4.3.2.a.3) After confirming that the signature of the data trading platform is true, the buyer user uses his own user transaction private key
Figure FDA0002455942700000088
Information on refunds
Figure FDA0002455942700000089
and transaction evaluation
Figure FDA00024559427000000810
Sign and generate transaction information buyer's signature
Figure FDA00024559427000000811
and the buyer's signature of the review information
Figure FDA00024559427000000812
will then contain
Figure FDA00024559427000000813
The data package is sent to the data trading platform;
Figure FDA00024559427000000814
Figure FDA00024559427000000814
Figure FDA00024559427000000815
Figure FDA00024559427000000815
其中,
Figure FDA00024559427000000816
表示对退款信息
Figure FDA00024559427000000817
和买家评价信息
Figure FDA00024559427000000818
串联后哈希所得的哈希值;
in,
Figure FDA00024559427000000816
Indicates information on refunds
Figure FDA00024559427000000817
and buyer reviews
Figure FDA00024559427000000818
The hash value obtained by hashing after concatenation;
4.3.2.a.4)数据交易平台在收到买家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.2.a.4) After receiving the data package sent by the buyer, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information: 计算退款信息
Figure FDA00024559427000000819
和买家评价信息
Figure FDA00024559427000000820
串联后哈希所得的哈希值
Figure FDA00024559427000000821
Calculate refund information
Figure FDA00024559427000000819
and buyer reviews
Figure FDA00024559427000000820
Hash value obtained after concatenation
Figure FDA00024559427000000821
Figure FDA00024559427000000822
Figure FDA00024559427000000822
验证买家用户签名,若下列等式全部成立,则说明买家签名真实:Verify the buyer's user signature. If all the following equations are true, the buyer's signature is true:
Figure FDA00024559427000000823
Figure FDA00024559427000000823
买家签名验证真实后,将数据交易平台和买家的评价信息
Figure FDA00024559427000000824
Figure FDA00024559427000000825
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure FDA00024559427000000826
和此次交易的验证公钥Nc,然后将包含有
Figure FDA00024559427000000827
的数据包广播到区块链;
After the buyer's signature is verified for authenticity, the data trading platform and the buyer's evaluation information will be
Figure FDA00024559427000000824
and
Figure FDA00024559427000000825
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure FDA00024559427000000826
and the verification public key N c for this transaction, which will then contain
Figure FDA00024559427000000827
The data packets are broadcast to the blockchain;
Figure FDA00024559427000000828
Figure FDA00024559427000000828
其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction; 4.3.2.a.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到买家用户地址:4.3.2.a.5) Nodes with write permission on the blockchain use the following equation to verify the authenticity of the signature on the data packets sent by the data trading platform, and then write the transaction information into the blockchain after verifying the authenticity, so that The funds in the intermediate address A are transferred to the buyer's user address:
Figure FDA00024559427000000829
Figure FDA00024559427000000829
其中,e为双线性映射。where e is a bilinear map.
10.根据权利要求1或者6所述的一种基于区块链的数据交易平台中多重签名交易信息处理方法,其特征在于:所述步骤4.3.2)中若最终中间地址A中资金转移至卖家用户具体是:10. The method for processing multi-signature transaction information in a blockchain-based data transaction platform according to claim 1 or 6, characterized in that: in the step 4.3.2), if the funds in the final intermediate address A are transferred to The seller user is specifically: 4.3.2.b.1)数据交易平台根据交易情况判定退款不成功,数据交易平台对此次交易进行评价生成评价信息为
Figure FDA0002455942700000091
利用此次交易的单次交易私钥skT对交易信息
Figure FDA0002455942700000092
和评价信息
Figure FDA0002455942700000093
进行签名,生成交易信息平台签名
Figure FDA0002455942700000094
和评价信息平台签名
Figure FDA0002455942700000095
然后将包含有
Figure FDA0002455942700000096
的数据包发送给卖家用户;
4.3.2.b.1) The data trading platform determines that the refund is unsuccessful according to the transaction situation. The data trading platform evaluates the transaction and generates the evaluation information as
Figure FDA0002455942700000091
Use the single transaction private key sk T of this transaction to pair transaction information
Figure FDA0002455942700000092
and evaluation information
Figure FDA0002455942700000093
Sign and generate a transaction information platform signature
Figure FDA0002455942700000094
and the evaluation information platform signature
Figure FDA0002455942700000095
will then contain
Figure FDA0002455942700000096
The data package is sent to the seller user;
Figure FDA0002455942700000097
Figure FDA0002455942700000097
Figure FDA0002455942700000098
Figure FDA0002455942700000098
Figure FDA0002455942700000099
Figure FDA0002455942700000099
其中,
Figure FDA00024559427000000910
表示数据交易平台的验证公钥,
Figure FDA00024559427000000911
表示对交易信息
Figure FDA00024559427000000912
哈希所得的哈希值,H1()表示安全的哈希函数,
Figure FDA00024559427000000913
表示对交易信息
Figure FDA00024559427000000914
和平台评价信息
Figure FDA00024559427000000915
串联后哈希所得的哈希值;
in,
Figure FDA00024559427000000910
Indicates the verification public key of the data trading platform,
Figure FDA00024559427000000911
Indicates transaction information
Figure FDA00024559427000000912
Hash value obtained by hashing, H 1 ( ) represents a secure hash function,
Figure FDA00024559427000000913
Indicates transaction information
Figure FDA00024559427000000914
and platform evaluation information
Figure FDA00024559427000000915
The hash value obtained by hashing after concatenation;
4.3.2.b.2)卖家用户在收到包含有
Figure FDA00024559427000000916
的数据包后,提取其中的信息先验证签名真实性,验证方法为:
4.3.2.b.2) The seller user receives the
Figure FDA00024559427000000916
After extracting the data packet, first verify the authenticity of the signature by extracting the information in it. The verification method is as follows:
计算交易信息
Figure FDA00024559427000000917
哈希所得的哈希值
Figure FDA00024559427000000918
交易信息
Figure FDA00024559427000000919
和平台评价信息
Figure FDA00024559427000000920
串联后哈希所得的哈希值
Figure FDA00024559427000000921
Calculate transaction information
Figure FDA00024559427000000917
hash value
Figure FDA00024559427000000918
Trading Information
Figure FDA00024559427000000919
and platform evaluation information
Figure FDA00024559427000000920
Hash value obtained after concatenation
Figure FDA00024559427000000921
Figure FDA00024559427000000922
Figure FDA00024559427000000922
确认以下等式是否全部成立,若等式全部成立则签名正确;Confirm whether the following equations are all established, if all the equations are established, the signature is correct;
Figure FDA00024559427000000923
Figure FDA00024559427000000923
4.3.2.b.3)在确认数据交易平台的签名真实后,卖家用户利用自身的用户交易私钥
Figure FDA00024559427000000924
对交易信息
Figure FDA00024559427000000925
和评价信息
Figure FDA00024559427000000926
进行签名,生成交易信息卖家签名
Figure FDA00024559427000000927
和评价信息卖家签名
Figure FDA00024559427000000928
然后将包含有
Figure FDA00024559427000000929
的数据包发送给数据交易平台;
4.3.2.b.3) After confirming that the signature of the data trading platform is true, the seller user uses his own user transaction private key
Figure FDA00024559427000000924
information on transactions
Figure FDA00024559427000000925
and evaluation information
Figure FDA00024559427000000926
Sign, generate transaction information seller signature
Figure FDA00024559427000000927
and the seller's signature of the review information
Figure FDA00024559427000000928
will then contain
Figure FDA00024559427000000929
The data package is sent to the data trading platform;
Figure FDA00024559427000000930
Figure FDA00024559427000000930
Figure FDA00024559427000000931
Figure FDA00024559427000000931
Figure FDA00024559427000000932
Figure FDA00024559427000000932
其中,
Figure FDA00024559427000000933
表示对交易信息
Figure FDA00024559427000000934
和卖家评价信息
Figure FDA00024559427000000935
串联后哈希所得的哈希值;
in,
Figure FDA00024559427000000933
Indicates transaction information
Figure FDA00024559427000000934
and seller evaluation information
Figure FDA00024559427000000935
The hash value obtained by hashing after concatenation;
4.3.2.b.4)数据交易平台在收到卖家用户发送过来的数据包后,采用下等式对提取其中的信息验证签名真实性:4.3.2.b.4) After receiving the data package sent by the seller user, the data trading platform uses the following equation to verify the authenticity of the signature for the extracted information: 计算对交易信息
Figure FDA00024559427000000936
和卖家评价信息
Figure FDA00024559427000000937
串联后哈希所得的哈希值
Figure FDA00024559427000000938
Calculated on transaction information
Figure FDA00024559427000000936
and seller evaluation information
Figure FDA00024559427000000937
Hash value obtained after concatenation
Figure FDA00024559427000000938
Figure FDA00024559427000000939
Figure FDA00024559427000000939
验证卖家用户签名,若下列等式全部成立,则说明卖家签名真实:Verify the seller's user signature. If all the following equations are true, the seller's signature is true:
Figure FDA00024559427000000940
Figure FDA00024559427000000940
卖家签名验证真实后,将数据交易平台和卖家的评价信息
Figure FDA00024559427000000941
Figure FDA00024559427000000942
显示在交易结果页面,同时采用以下公式计算交易信息的双方签名
Figure FDA00024559427000000943
和此次交易的验证公钥Nc,然后将包含有
Figure FDA0002455942700000101
的数据包广播到区块链;
After the seller's signature is verified for authenticity, the data trading platform and the seller's evaluation information will be
Figure FDA00024559427000000941
and
Figure FDA00024559427000000942
It is displayed on the transaction result page, and the following formula is used to calculate the signatures of both parties of the transaction information
Figure FDA00024559427000000943
and the verification public key N c for this transaction, which will then contain
Figure FDA0002455942700000101
The data packets are broadcast to the blockchain;
Figure FDA0002455942700000102
Figure FDA0002455942700000102
其中,Nc为此次交易的验证公钥;Among them, N c is the verification public key of this transaction; 4.3.2.b.5)区块链上具有写入权限的节点采用以下等式对数据交易平台发送的数据包验证签名真实性,验证真实后将交易信息写入到区块链中,使得中间地址A中资金转移到卖家用户地址:4.3.2.b.5) The node with write permission on the blockchain uses the following equation to verify the authenticity of the signature on the data packet sent by the data trading platform, and then writes the transaction information into the blockchain after verifying the authenticity, so that The funds in the intermediate address A are transferred to the seller's user address:
Figure FDA0002455942700000103
Figure FDA0002455942700000103
其中,e为双线性映射。where e is a bilinear map.
CN201710258860.9A 2017-04-19 2017-04-19 Multi-signature transaction information processing method in blockchain-based data transaction platform 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 blockchain-based data transaction platform

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 blockchain-based data transaction platform

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 blockchain-based data transaction platform

Country Status (1)

Country Link
CN (1) CN107038578B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11947523B2 (en) 2022-03-17 2024-04-02 International Business Machines Corporation Multi-party transactions in a computerized database

Families Citing this family (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019051822A1 (en) * 2017-09-18 2019-03-21 腾讯科技(深圳)有限公司 Resource transaction method, node, apparatus, 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 广东工业大学 A big data transaction method, system, device and computer storage medium
CN107909476B (en) * 2017-11-23 2021-07-20 深圳捷汇科技有限公司 Digital asset receiving and sending method, electronic device 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
US12125054B2 (en) 2018-09-25 2024-10-22 Valideck International Corporation System, devices, and methods for acquiring and verifying online information
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 深圳市墨者安全科技有限公司 Blockchain 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 成都四方伟业软件股份有限公司 Consortium 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
CN110599347B (en) * 2019-09-25 2024-10-11 腾讯科技(深圳)有限公司 Bill processing method, device, computer readable storage medium and computer 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 四川师范大学 A method for processing hidden addresses of blockchain dual-keys based on bilinear mapping
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
JP6891943B2 (en) * 2019-11-26 2021-06-18 ダイキン工業株式会社 Escrow system and trading method
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, apparatus 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
CN112150148B (en) * 2020-09-24 2025-07-18 广州工控资产管理有限公司 Enterprise asset protection method and system based on blockchain 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 杭州宇链科技有限公司 A Data Transaction Method Based on Trusted Execution Environment and Threshold Signature
CN116248284A (en) * 2022-08-25 2023-06-09 西北工业大学 Block chain condition safety-based large-scale multiparty payment system and method
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11947523B2 (en) 2022-03-17 2024-04-02 International Business Machines Corporation Multi-party transactions in a computerized database

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 blockchain-based data transaction platform
US12254440B2 (en) Blockchain-based authentication and authorization
US11799668B2 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
US20240348447A1 (en) System and method for authenticating user identity
US11394697B2 (en) Efficient methods for authenticated communication
US11082234B2 (en) Method and system for privacy-preserving social media advertising
US11416854B2 (en) System and method for information protection
US12219069B1 (en) Signcrypted biometric electronic signature tokens
JP6528008B2 (en) Personal Device Security Using Elliptic Curve Cryptography for Secret Sharing
CN110458560B (en) Method and apparatus for transaction verification
JP2021529397A (en) Systems and methods for blockchain address and owner verification
CN110892434A (en) Transferring digital tickets over a blockchain network
CN107392603A (en) Use the method for commerce and device of digital cash
CN110336779B (en) Block chain construction method and device and electronic equipment
Ghuli et al. A review on blockchain application for decentralized decision of ownership of IoT devices
CN114270780A (en) Gateway agnostic tokenization
CN111191280A (en) Block chain transaction method based on encrypted data, electronic equipment and storage medium
CN110599164B (en) Supervision-capable quick payment method for any payee under chain
US20150052066A1 (en) Reconciling electronic transactions
USRE49968E1 (en) Electronic identification verification methods and systems with storage of certification records to a side chain
CN108805574A (en) Method of commerce based on secret protection and system
WO2018105038A1 (en) Communication device and distributed ledger system
Yu et al. A novel fair and verifiable data trading scheme
US20250315820A1 (en) Confidential non-fungible tokens (nfts)
David et al. Augmenting integrity and scalability in mobile payment applications using blockchain

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Multi signature transaction information processing method in blockchain based data trading platform

Granted publication date: 20201016

Pledgee: Bank of Beijing Co.,Ltd. Hangzhou Yuhang sub branch

Pledgor: ZHEJIANG SHUQIN TECHNOLOGY CO.,LTD.

Registration number: Y2024330002485

PE01 Entry into force of the registration of the contract for pledge of patent right