WO2020010490A1 - Method for arbitration-less resolution of accuracy and validity of transaction data recorded in blockchain - Google Patents
Method for arbitration-less resolution of accuracy and validity of transaction data recorded in blockchain Download PDFInfo
- Publication number
- WO2020010490A1 WO2020010490A1 PCT/CN2018/095015 CN2018095015W WO2020010490A1 WO 2020010490 A1 WO2020010490 A1 WO 2020010490A1 CN 2018095015 W CN2018095015 W CN 2018095015W WO 2020010490 A1 WO2020010490 A1 WO 2020010490A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- transaction
- resource
- blockchain
- arbitration
- tid
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
A method for the arbitration-less resolution of the accuracy and validity of transaction data recorded in a blockchain, comprising the following steps: S1: a resource user A requests a resource R from a resource provider B; S2: B generates a unique identification TID (Transaction ID) of the current transaction with the addresses of A and B, the current timestamp ts, and a random salt, and sends the TID to A, TID=H (addrA, addrB, ts, salt); S3: B divides the resource R into several parts R= [R 1,R 2,...,R N]; S4: B provides the resource R X to A, and requests a commitment PX from A: A acknowledges the receipt of a previous R X and will pay V X for same; S5: after A receives PX, A verifies the content of PX, signs Px with private key A to obtain PX', and sends PX' to B, PX' = Sign (PX, KeyA); S6: B receives the signed commitment PX' of A, then continues to send the next resource RX+1 (skip to step 4), or otherwise proceeds to the next step. The method solves the problem that, when obtaining off-chain data, the data provided by use of an oracle is not completely trusted, may require arbitration and involve time delays, and is high in cost.
Description
本发明涉及互联网区块链领域,特别涉及一种无需仲裁解决录入区块链的交易数据真实有效的方法。The present invention relates to the field of Internet blockchains, and in particular, to a method for resolving real and effective transaction data entered into a blockchain without arbitration.
在一般交易过程中,交易双方很可能对于交易行为进行否认,例如买方否认收到货物而拒绝付款,一般解决交易纠纷的方式就是仲裁,仲裁需要交易双方提供可验证的证明。然后并非所有的交易都能提供可验证的证明,也可能提供证明及验证需要耗费大量的资源。In the general transaction process, the two parties to the transaction are likely to deny the transaction. For example, the buyer denies the receipt of the goods and refuses to pay. Generally, the dispute settlement method is arbitration. The arbitration requires the parties to provide verifiable proof. Then not all transactions can provide verifiable proof, and it may take a lot of resources to provide proof and verification.
区块链可以保证交易数据在进入系统后不被篡改,从而达到数据安全可信,但并不能保证录入的交易数据就一定是真实有效的。目前的方法是使用预言机来引入外部数据。使用者向预言机发送合约请求,从而获取数据。预言机是一个中心化的组织,相比去中心化的分布式网络缺少数据的不可篡改属性,数据不完全可信;在数据错误时,需要借助第三方仲裁机构判定,且时效性滞后;另外,使用预言机需要支付一定的使用费用。为此,我们提出一种无需仲裁解决录入区块链的交易数据真实有效的方法。The blockchain can ensure that transaction data is not tampered after entering the system, thereby achieving data security and credibility, but it cannot guarantee that the entered transaction data will be authentic and valid. The current approach is to use oracles to introduce external data. The user sends a contract request to the oracle to obtain data. The oracle is a centralized organization. Compared with the decentralized distributed network, the data is not completely tamperable, and the data is not completely trusted. When the data is wrong, it needs to be determined by a third-party arbitration agency, and the timeliness is delayed; , The use of the oracle needs to pay a certain cost of use. To this end, we propose a method for solving the real and effective transaction data entered into the blockchain without arbitration.
发明内容Summary of the invention
本发明的主要目的在于提供一种无需仲裁解决录入区块链的交易数据真实有效的方法,本发明解决录入区块链的交易数据真实有效;其特点是开销很低,并且交易内容不可否认;在整个过 程中都不需要第三方的仲裁介入,而且可以实时验证,可以有效解决背景技术中的问题。The main purpose of the present invention is to provide a method for solving the real and effective transaction data entered into the blockchain without arbitration. The present invention solves the real and effective transaction data entered into the blockchain; it is characterized by low overhead and undeniable transaction content; In the whole process, no third party arbitration is required, and real-time verification can be performed, which can effectively solve the problems in the background technology.
为实现上述目的,本发明采取的技术方案为:一种无需仲裁解决录入区块链的交易数据真实有效的方法,包括如下步骤To achieve the above objective, the technical solution adopted by the present invention is: a method for solving the real and effective transaction data entered into the blockchain without arbitration, including the following steps
S1:资源使用者A向资源提供者B请求资源R;S1: Resource user A requests resource R from resource provider B;
S2:B以A和B的地址,当前时间戳ts及一个随机salt来生成当前交易的唯一标识TID(Transaction ID),并将TID发送给ATID=H(addrA,addrB,ts,salt);S2: B uses the addresses of A and B, the current timestamp ts, and a random salt to generate the unique identifier TID (Transaction ID) of the current transaction, and sends the TID to ATID = H (addrA, addrB, ts, salt);
S3:B将资源R分成若干份R=[R1,R2,...,RN];S3: B divides the resource R into several shares R = [R1, R2, ..., RN];
S4:B向A提供资源RX,并向A请求得到承诺PX:A承认收到之前
并会为此付费V
X
S4: B provides resource RX to A, and asks A for commitment PX: A acknowledges before receiving And will pay V X for this
S5:当A收到PX后,验证PX内容,用A私钥对Px签名得到PX′,并将PX′发送给BPX′=Sign(PX,KeyA);S5: After A receives PX, verify the content of PX, sign Px with A private key to get PX ′, and send PX ′ to BPX ′ = Sign (PX, KeyA);
S6:B收到A已签名的承诺PX′,则继续发送下一个资源RX+1(跳到步骤4),否则进入下一步骤;S6: B receives the signed commitment PX ′ from A, and then continues to send the next resource RX + 1 (skip to step 4), otherwise proceeds to the next step;
S7:B完成或中断交易,并将最后一次收到的PX′放到区块链上进行验证;S7: B completes or interrupts the transaction, and puts the last received PX ′ on the blockchain for verification;
S8:区块链验证PX′内容并检查TID是否唯一,通过后根据内容执行相关的合约。S8: The blockchain verifies the content of PX ′ and checks whether the TID is unique. After passing, the relevant contract is executed according to the content.
进一步地,所述在此交易过程中,无论交易粒度划分多小,实际只执行一次交易,开销很低,并且交易内容不可否认。在整 个过程中都不需要第三方的介入,而且可以实时验证。Further, in this transaction process, no matter how small the granularity of the transaction is, the transaction is actually executed only once, the overhead is very low, and the content of the transaction is undeniable. No third-party involvement is required throughout the process, and it can be verified in real time.
与现有技术相比,该种无需仲裁解决录入区块链的交易数据真实有效的方法具有如下有益效果::Compared with the prior art, this method that does not require arbitration to resolve the real and effective transaction data entered into the blockchain has the following beneficial effects:
1、现有技术使用预言机来获取区块链外的数据;预言机是一个中心化的组织,相比去中心化的分布式网络缺少数据的不可篡改属性,数据不完全可信;在数据错误时,需要借助第三方仲裁机构判定,且时效性滞后;另外,使用预言机需要支付一定的使用费用。1. Existing technologies use oracles to obtain data outside the blockchain; oracles are a centralized organization. Compared with decentralized distributed networks, they lack the data's tamper-proof attributes, and the data is not completely trusted. When it is wrong, it needs to be judged by a third-party arbitration agency, and the timeliness is lagging; in addition, the use of the oracle needs to pay a certain use fee.
2、本发明解决了获取链外数据使用预言机带来的数据不完全可信,需要仲裁,时效性滞后,且成本较高的问题。2. The invention solves the problems that the data brought by using the oracle to obtain the data outside the chain is not completely credible, requires arbitration, lags in timeliness, and has a high cost.
3、本发明提供了一种交易方案,交易双方在不完全信任的情况下,为降低损失以很小的交易粒度进行交易,一旦某次交易失败,则后续交易停止,这样双方只会在最后一次交易出现争议。当交易粒度足够小,这种损失也将变得微不足道。但在实际交易存在开销(手续费等)的情况下,交易粒度将会被限制,特别是在区块链中,更小粒度的交易开销将变得难以接受。3. The present invention provides a trading scheme. In the case of incomplete trust between the two parties to the transaction, the transaction is conducted with a small transaction granularity in order to reduce losses. Once a transaction fails, subsequent transactions are stopped, so that the two parties will only A transaction was disputed. When the transaction granularity is small enough, this loss will also become negligible. However, in the case of actual transaction overhead (such as fees), the granularity of the transaction will be limited, especially in the blockchain, the smaller granularity of the transaction overhead will become difficult to accept.
4、本发明为解决上面的问题提出了一种算法,其核心思想是增量承诺算法;通过本发明的算法,在此交易过程中,无论交易粒度划分多小,实际只执行一次交易,开销很低,并且交易内容不可否认。在整个过程中都不需要第三方的介入,而且可以实时验证。4. The present invention proposes an algorithm to solve the above problem. The core idea is an incremental commitment algorithm. Through the algorithm of the present invention, no matter how small the transaction granularity is, the transaction is actually executed only once, and the overhead is Very low, and the content of the transaction is undeniable. No third-party intervention is required during the entire process, and it can be verified in real time.
图1为本发明无需仲裁解决录入区块链的交易数据真实有效的方法的软件流程图。FIG. 1 is a software flowchart of a method for resolving the real and effective transaction data entered into the blockchain without arbitration according to the present invention.
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合具体实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the objectives, technical solutions, and advantages of the present invention more clear, the present invention is further described in detail below with reference to specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例1Example 1
S1:资源使用者A向资源提供者B请求资源R;S1: Resource user A requests resource R from resource provider B;
S2:B以A和B的地址,当前时间戳ts及一个随机salt来生成当前交易的唯一标识TID(Transaction ID),并将TID发送给ATID=H(addrA,addrB,ts,salt);S2: B uses the addresses of A and B, the current timestamp ts, and a random salt to generate the unique identifier TID (Transaction ID) of the current transaction, and sends the TID to ATID = H (addrA, addrB, ts, salt);
S3:B将资源R分成若干份R=[R1,R2,...,RN];S3: B divides the resource R into several shares R = [R1, R2, ..., RN];
S4:B向A提供资源RX,并向A请求得到承诺PX:A承认收到之前
并会为此付费V
X
S4: B provides resource RX to A, and asks A for commitment PX: A acknowledges before receiving And will pay V X for this
S5:当A收到PX后,验证PX内容,用A私钥对Px签名得到PX′,并将PX′发送给BPX′=Sign(PX,KeyA);S5: After A receives PX, verify the content of PX, sign Px with A private key to get PX ′, and send PX ′ to BPX ′ = Sign (PX, KeyA);
S6:B收到A已签名的承诺PX′,则继续发送下一个资源RX+1(跳到步骤4),否则进入下一步骤;S6: B receives the signed commitment PX ′ from A, and then continues to send the next resource RX + 1 (skip to step 4), otherwise proceeds to the next step;
S7:B完成或中断交易,并将最后一次收到的PX′放到区块链上进行验证;S7: B completes or interrupts the transaction, and puts the last received PX ′ on the blockchain for verification;
S8:区块链验证PX′内容并检查TID是否唯一,通过后根据内容执行相关的合约。S8: The blockchain verifies the content of PX ′ and checks whether the TID is unique. After passing, the relevant contract is executed according to the content.
其中,所述在此交易过程中,无论交易粒度划分多小,实际只执行一次交易,开销很低,并且交易内容不可否认。在整个过程中都不需要第三方的介入,而且可以实时验证。Among them, in this transaction process, no matter how small the transaction granularity is, the transaction is actually executed only once, the overhead is very low, and the content of the transaction is undeniable. No third-party intervention is required during the entire process, and it can be verified in real time.
综上所述:本发明提供的一种无需仲裁解决录入区块链的交易数据真实有效的方法,与现有技术相比具备以下优点:To sum up: The method provided by the present invention does not require arbitration to solve the real and effective method of entering transaction data entered into the blockchain, and has the following advantages compared with the prior art:
1、现有技术使用预言机来获取区块链外的数据;预言机是一个中心化的组织,相比去中心化的分布式网络缺少数据的不可篡改属性,数据不完全可信;在数据错误时,需要借助第三方仲裁机构判定,且时效性滞后;另外,使用预言机需要支付一定的使用费用。1. Existing technologies use oracles to obtain data outside the blockchain; oracles are a centralized organization. Compared with decentralized distributed networks, they lack the data's tamper-proof attributes, and the data is not completely trusted. When it is wrong, it needs to be judged by a third-party arbitration agency, and the timeliness is lagging; in addition, the use of the oracle needs to pay a certain use fee.
2、本发明解决了获取链外数据使用预言机带来的数据不完全可信,需要仲裁,时效性滞后,且成本较高的问题。2. The invention solves the problems that the data brought by using the oracle to obtain the data outside the chain is not completely credible, requires arbitration, lags in timeliness, and has a high cost.
3、本发明提供了一种交易方案,交易双方在不完全信任的情况下,为降低损失以很小的交易粒度进行交易,一旦某次交易失败,则后续交易停止,这样双方只会在最后一次交易出现争议。当交易粒度足够小,这种损失也将变得微不足道。但在实际交易存在开销(手续费等)的情况下,交易粒度将会被限制,特别是在区块链中,更小粒度的交易开销将变得难以接受。3. The present invention provides a trading scheme. In the case of incomplete trust between the two parties to the transaction, the transaction is conducted with a small transaction granularity in order to reduce losses. Once a transaction fails, subsequent transactions are stopped, so that the two parties will only A transaction was disputed. When the transaction granularity is small enough, this loss will also become negligible. However, in the case of actual transaction overhead (such as fees), the granularity of the transaction will be limited, especially in the blockchain, the smaller granularity of the transaction overhead will become difficult to accept.
4、本发明为解决上面的问题提出了一种算法,其核心思想是增量承诺算法。4. The present invention proposes an algorithm for solving the above problem, and its core idea is an incremental commitment algorithm.
5、通过本发明的算法,在此交易过程中,无论交易粒度划分多小,实际只执行一次交易,开销很低,并且交易内容不可否认。在整个过程中都不需要第三方的介入,而且可以实时验证。5. Through the algorithm of the present invention, during this transaction process, no matter how small the transaction granularity is, the transaction is actually executed only once, the overhead is very low, and the content of the transaction is undeniable. No third-party intervention is required during the entire process, and it can be verified in real time.
最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, it will remain to those skilled in the art. Modifications to the technical solutions described in the foregoing embodiments, or equivalent replacement of some of the technical features may be made. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall be included in Within the scope of the present invention.
Claims (2)
- 一种无需仲裁解决录入区块链的交易数据真实有效的方法,其特征在于:包括如下步骤:A method for solving the real and effective transaction data entered into the blockchain without arbitration, which is characterized by the following steps:S1:资源使用者A向资源提供者B请求资源R;S1: Resource user A requests resource R from resource provider B;S2:B以A和B的地址,当前时间戳ts及一个随机salt来生成当前交易的唯一标识TID(Transaction ID),并将TID发送给ATID=H(addrA,addrB,ts,salt);S2: B uses the addresses of A and B, the current timestamp ts, and a random salt to generate the unique identifier TID (Transaction ID) of the current transaction, and sends the TID to ATID = H (addrA, addrB, ts, salt);S3:B将资源R分成若干份R=[R1,R2,...,RN];S3: B divides the resource R into several shares R = [R1, R2, ..., RN];S4:B向A提供资源RX,并向A请求得到承诺PX:A承认收到之前 并会为此付费V X S4: B provides resource RX to A, and asks A for commitment PX: A acknowledges before receiving And will pay V X for thisS5:当A收到PX后,验证PX内容,用A私钥对Px签名得到PX′,并将PX′发送给BPX′=Sign(PX,KeyA);S5: After A receives PX, verify the content of PX, sign Px with A private key to get PX ′, and send PX ′ to BPX ′ = Sign (PX, KeyA);S6:B收到A已签名的承诺PX′,则继续发送下一个资源RX+1(跳到步骤4),否则进入下一步骤;S6: B receives the signed commitment PX ′ from A, and then continues to send the next resource RX + 1 (skip to step 4), otherwise proceeds to the next step;S7:B完成或中断交易,并将最后一次收到的PX′放到区块链上进行验证;S7: B completes or interrupts the transaction, and puts the last received PX ′ on the blockchain for verification;S8:区块链验证PX′内容并检查TID是否唯一,通过后根据内容执行相关的合约。S8: The blockchain verifies the content of PX ′ and checks whether the TID is unique. After passing, the relevant contract is executed according to the content.
- 根据权利要求1所述的一种无需仲裁解决录入区块链的交易数据真实有效的方法,其特征在于:所述在此交易过程中,无论交易粒度划分多小,实际只执行一次交易,开销很低,并且交易内容不可否认。在整个过程中都不需要第三方的介入,而且可 以实时验证。The method according to claim 1 for realizing the transaction data entered into the blockchain without arbitration, which is characterized in that: in this transaction process, no matter how small the transaction granularity is, only one transaction is actually executed, and the overhead is Very low, and the content of the transaction is undeniable. No third party involvement is required throughout the process, and it can be verified in real time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/095015 WO2020010490A1 (en) | 2018-07-09 | 2018-07-09 | Method for arbitration-less resolution of accuracy and validity of transaction data recorded in blockchain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2018/095015 WO2020010490A1 (en) | 2018-07-09 | 2018-07-09 | Method for arbitration-less resolution of accuracy and validity of transaction data recorded in blockchain |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020010490A1 true WO2020010490A1 (en) | 2020-01-16 |
Family
ID=69143256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/095015 WO2020010490A1 (en) | 2018-07-09 | 2018-07-09 | Method for arbitration-less resolution of accuracy and validity of transaction data recorded in blockchain |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2020010490A1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106503994A (en) * | 2016-11-02 | 2017-03-15 | 西安电子科技大学 | Block chain private data access control method based on encryption attribute |
WO2018020370A1 (en) * | 2016-07-29 | 2018-02-01 | nChain Holdings Limited | Blockchain-implemented method and system |
CN107993066A (en) * | 2017-12-20 | 2018-05-04 | 国民认证科技(北京)有限公司 | A kind of resource transaction method and electronic purse system |
-
2018
- 2018-07-09 WO PCT/CN2018/095015 patent/WO2020010490A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018020370A1 (en) * | 2016-07-29 | 2018-02-01 | nChain Holdings Limited | Blockchain-implemented method and system |
CN106503994A (en) * | 2016-11-02 | 2017-03-15 | 西安电子科技大学 | Block chain private data access control method based on encryption attribute |
CN107993066A (en) * | 2017-12-20 | 2018-05-04 | 国民认证科技(北京)有限公司 | A kind of resource transaction method and electronic purse system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111316615B (en) | System and method for ensuring correct execution of a computer program using a mediator computer system | |
WO2020024968A1 (en) | Resource transfer data management method and apparatus, and storage medium | |
US10587413B1 (en) | Decentralized identities for cross-enterprise authentication and/or authorization | |
WO2020134653A1 (en) | Method and device for uploading electronic certificate | |
CN111418184B (en) | Credible insurance letter based on block chain | |
CN110599213B (en) | Article management method and device based on blockchain network and electronic equipment | |
US20200007525A1 (en) | Network authentication for real-time interaction using pre-authorized data record | |
US20200074470A1 (en) | Database configuration for asset transfers | |
CN112651052A (en) | Data right confirming method and system based on block chain technology | |
TWI636411B (en) | System to provide non-repudiation for non-blockchain node and method thereof | |
CN112020705A (en) | Block chain random timer transaction synchronization | |
CN111373431B (en) | Credible insurance letter based on block chain | |
CN109388957B (en) | Block chain-based information transfer method, device, medium and electronic equipment | |
Piao et al. | Privacy preserving in blockchain-based government data sharing: A Service-On-Chain (SOC) approach | |
WO2022105600A1 (en) | Blockchain cross-chain transaction method and apparatus based on internet-of-things | |
CN110851877B (en) | Data processing method and device, block chain node equipment and storage medium | |
CN111433798B (en) | Credible insurance letter based on block chain | |
CN111433799B (en) | Credible insurance letter based on block chain | |
CN111417945A (en) | Credible insurance letter based on block chain | |
CN111357026A (en) | Credible insurance letter based on block chain | |
KR20220027809A (en) | Systems and Methods for Virtual Distributed Ledger Networks | |
CN113826134A (en) | Credible insurance letter based on block chain | |
CN112232828A (en) | Power grid data transaction method and system | |
CN111612452A (en) | Intellectual property management system and method based on block chain | |
CN111915308A (en) | Transaction processing method of blockchain network and blockchain network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18925903 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 28/05/2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18925903 Country of ref document: EP Kind code of ref document: A1 |