CN109102399A - A method of the transaction data without arbitrating solution typing block chain is authentic and valid - Google Patents

A method of the transaction data without arbitrating solution typing block chain is authentic and valid Download PDF

Info

Publication number
CN109102399A
CN109102399A CN201810746454.1A CN201810746454A CN109102399A CN 109102399 A CN109102399 A CN 109102399A CN 201810746454 A CN201810746454 A CN 201810746454A CN 109102399 A CN109102399 A CN 109102399A
Authority
CN
China
Prior art keywords
resource
transaction
block chain
authentic
arbitrating
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.)
Withdrawn
Application number
CN201810746454.1A
Other languages
Chinese (zh)
Inventor
李名良
彭英均
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810746454.1A priority Critical patent/CN109102399A/en
Publication of CN109102399A publication Critical patent/CN109102399A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The authentic and valid method of the transaction data that the invention discloses a kind of without arbitrating solution typing block chain, include the following steps: S1: resource user A requests resource R to resource provider B;TID is sent to ATID=H (addrA, addrB, ts, salt) to generate the unique identification TID currently to trade (Transaction ID) with the address of A and B, current time stamp ts and a random salt by S2:B;Resource R is divided into several pieces R=[R1, R2 ..., RN] by S3:B;S4:B provides resource RX to A, and before to A requesting to obtain and promising to undertake that PX:A recognizes to receiveAnd it can pay thusS5: after A receives PX, PX content is verified, Px is signed with A private key to obtain PX ', and PX ' is sent to BPX '=Sign (PX, KeyA);S6:B receives the promise PX ' that A has signed, then continues to send next resource RX+1 and (jump to step 4), otherwise enter next step.The present invention solves the outer data of acquisition chain and uses prophesy machine bring data transformation credible, needs to arbitrate, timeliness lag, and the problem of higher cost.

Description

A method of the transaction data without arbitrating solution typing block chain is authentic and valid
Technical field
It is the present invention relates to internet block chain field, in particular to a kind of without arbitrating the transaction for solving typing block chain The authentic and valid method of data.
Background technique
During vanilla transaction, both parties are likely to deny trading activity, such as buyer denies receiving Cargo and refuse payment, the general mode for solving Transaction Disputes is exactly to arbitrate, and arbitration needs both parties to provide the card that can verify that It is bright.Then and not all transaction can provide the proof that can verify that, it is also possible to provide proof and verifying needs consuming a large amount of Resource.
Block chain can guarantee that transaction data is not tampered after entering system, so that it is credible to reach data safety, but simultaneously It cannot be guaranteed that the transaction data of typing must be just authentic and valid.Current method is to introduce external number using prophesy machine According to.User sends contract request to prophesy machine, to obtain data.Prophesy machine is the tissue of a centralization, compared to going What the distributed network of centralization lacked data can not distort attribute, and data transformation is credible;In error in data, need to borrow Third party arbitration organ is helped to determine, and timeliness lags;In addition, needing to pay certain cost of use using prophesy machine.For This, it is proposed that a kind of method that transaction data without arbitrating solution typing block chain is authentic and valid.
Summary of the invention
The transaction data that the main purpose of the present invention is to provide a kind of without arbitrating solution typing block chain is authentic and valid Method, the present invention solve typing block chain transaction data it is authentic and valid;Its main feature is that expense is very low, and transaction content Undeniably;Third-party arbitration intervention is not all needed in the whole process, and can effectively be solved with real-time verification The problems in background technique.
To achieve the above object, the technical scheme adopted by the invention is as follows: it is a kind of without arbitrate solve typing block chain friendship The authentic and valid method of easy data, includes the following steps
S1: resource user A requests resource R to resource provider B;
S2:B generates the unique identification currently traded with the address of A and B, current time stamp ts and a random salt TID (Transaction ID), and TID is sent to ATID=H (addrA, addrB, ts, salt);
Resource R is divided into several pieces R=[R1, R2 ..., RN] by S3:B;
S4:B provides resource RX to A, and before to A requesting to obtain and promising to undertake that PX:A recognizes to receiveIt and can be this pair Take
S5: after A receives PX, verifying PX content, signs to obtain PX ' to Px with A private key, and by PX ' be sent to BPX '= Sign(PX,KeyA);
S6:B receives the promise PX ' that A has signed, then continue to send next resource RX+1 (jump to step 4), otherwise into Enter next step;
S7:B is completed or is interrupted transaction, and the PX ' received for the last time is put on block chain and is verified;
S8: block chain verifying PX ' content simultaneously checks whether TID is unique, executes relevant contract according to content by rear.
Further, described in this process of exchange, how small granularity division of no matter trading is, practical Exactly-once transaction, Expense is very low, and transaction content is undeniable.Third-party intervention is not all needed in the whole process, and can be real-time Verifying.
Compared with prior art, the authentic and valid method tool of the transaction data that this kind solves typing block chain without arbitration It has the advantages that::
1, the prior art obtains the data outside block chain using prophesy machine;Prophesy machine is the tissue of a centralization, phase Than decentralization distributed network lack data can not distort attribute, data transformation is credible;In error in data, need To determine by third party arbitration organ, and timeliness lags;In addition, needing to pay certain usage charges using prophesy machine With.
2, the present invention solves that obtain the outer data of chain credible using prophesy machine bring data transformation, needs to arbitrate, when Effect property lag, and the problem of higher cost.
3, the present invention provides a kind of trading scheme, both parties it is incomplete trust in the case where, for reduce loss with The transaction granularity of very little is traded, once certain Fail Transaction, then subsequent transaction stops, and such both sides only can be at last Secondary transaction is disputed on.When transaction granularity is sufficiently small, this loss will also be become insignificant.But exists in real trade and open In the case where selling (service charge etc.), transaction granularity will be limited, especially in block chain, the transactional overhead of smaller particle size It will become difficult to receive.
4, for the present invention to solve the problems, such as to propose a kind of algorithm above, core concept is that increment promises to undertake algorithm;Pass through Algorithm of the invention, in this process of exchange, how small granularity division of no matter trading is, and practical Exactly-once transaction, expense is very It is low, and transaction content is undeniable.Third-party intervention is not all needed in the whole process, and can be with real-time verification.
Detailed description of the invention
Fig. 1 is the software flow of the present invention method authentic and valid without the transaction data of arbitration solution typing block chain Figure.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, right below in conjunction with specific embodiment The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, It is not intended to limit the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor Every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
Embodiment 1
S1: resource user A requests resource R to resource provider B;
S2:B generates the unique identification currently traded with the address of A and B, current time stamp ts and a random salt TID (Transaction ID), and TID is sent to ATID=H (addrA, addrB, ts, salt);
Resource R is divided into several pieces R=[R1, R2 ..., RN] by S3:B;
S4:B provides resource RX to A, and before to A requesting to obtain and promising to undertake that PX:A recognizes to receiveAnd it can pay thus
S5: after A receives PX, verifying PX content, signs to obtain PX ' to Px with A private key, and by PX ' be sent to BPX '= Sign(PX,KeyA);
S6:B receives the promise PX ' that A has signed, then continue to send next resource RX+1 (jump to step 4), otherwise into Enter next step;
S7:B is completed or is interrupted transaction, and the PX ' received for the last time is put on block chain and is verified;
S8: block chain verifying PX ' content simultaneously checks whether TID is unique, executes relevant contract according to content by rear.
Wherein, described in this process of exchange, how small granularity division of no matter trading is, practical Exactly-once transaction, expense It is very low, and transaction content is undeniable.Third-party intervention is not all needed in the whole process, and can be with real-time verification.
In summary: a kind of transaction data without arbitrating solution typing block chain provided by the invention is authentic and valid Method has following advantages compared with prior art:
1, the prior art obtains the data outside block chain using prophesy machine;Prophesy machine is the tissue of a centralization, phase Than decentralization distributed network lack data can not distort attribute, data transformation is credible;In error in data, need To determine by third party arbitration organ, and timeliness lags;In addition, needing to pay certain usage charges using prophesy machine With.
2, the present invention solves that obtain the outer data of chain credible using prophesy machine bring data transformation, needs to arbitrate, when Effect property lag, and the problem of higher cost.
3, the present invention provides a kind of trading scheme, both parties it is incomplete trust in the case where, for reduce loss with The transaction granularity of very little is traded, once certain Fail Transaction, then subsequent transaction stops, and such both sides only can be at last Secondary transaction is disputed on.When transaction granularity is sufficiently small, this loss will also be become insignificant.But exists in real trade and open In the case where selling (service charge etc.), transaction granularity will be limited, especially in block chain, the transactional overhead of smaller particle size It will become difficult to receive.
4, for the present invention to solve the problems, such as to propose a kind of algorithm above, core concept is that increment promises to undertake algorithm.
5, algorithm through the invention, in this process of exchange, how small granularity division of no matter trading is, actually only carries out one Secondary transaction, expense is very low, and transaction content is undeniable.Third-party intervention, Er Qieke are not all needed in the whole process With real-time verification.
Finally, it should be noted that the foregoing is only a preferred embodiment of the present invention, it is not limited to this hair It is bright, although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, according to It is so possible to modify the technical solutions described in the foregoing embodiments, or part of technical characteristic is equal Replacement, all within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in this Within the protection scope of invention.

Claims (2)

1. a kind of authentic and valid method of transaction data without arbitrating solution typing block chain, it is characterised in that: including as follows Step:
S1: resource user A requests resource R to resource provider B;
S2:B generates the unique identification TID currently to trade with the address of A and B, current time stamp ts and a random salt (Transaction ID), and TID is sent to ATID=H (addrA, addrB, ts, salt);
Resource R is divided into several pieces R=[R1, R2 ..., RN] by S3:B;
S4:B provides resource RX to A, and before to A requesting to obtain and promising to undertake that PX:A recognizes to receiveAnd the V that can pay thusX
S5: after A receives PX, PX content is verified, Px is signed with A private key to obtain PX ', and PX ' is sent to BPX '=Sign (PX,KeyA);
S6:B receives the promise PX ' that A has signed, then continues to send next resource RX+1 and (jump to step 4), otherwise enter next Step;
S7:B is completed or is interrupted transaction, and the PX ' received for the last time is put on block chain and is verified;
S8: block chain verifying PX ' content simultaneously checks whether TID is unique, executes relevant contract according to content by rear.
2. a kind of authentic and valid method of transaction data without arbitrating solution typing block chain according to claim 1, It is characterized by: described in this process of exchange, how small granularity division of no matter trading is, and practical Exactly-once transaction, expense is very It is low, and transaction content is undeniable.Third-party intervention is not all needed in the whole process, and can be with real-time verification.
CN201810746454.1A 2018-07-09 2018-07-09 A method of the transaction data without arbitrating solution typing block chain is authentic and valid Withdrawn CN109102399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810746454.1A CN109102399A (en) 2018-07-09 2018-07-09 A method of the transaction data without arbitrating solution typing block chain is authentic and valid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810746454.1A CN109102399A (en) 2018-07-09 2018-07-09 A method of the transaction data without arbitrating solution typing block chain is authentic and valid

Publications (1)

Publication Number Publication Date
CN109102399A true CN109102399A (en) 2018-12-28

Family

ID=64845957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810746454.1A Withdrawn CN109102399A (en) 2018-07-09 2018-07-09 A method of the transaction data without arbitrating solution typing block chain is authentic and valid

Country Status (1)

Country Link
CN (1) CN109102399A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474903A (en) * 2019-08-15 2019-11-19 广州蚁比特区块链科技有限公司 Trust data acquisition methods, device and block chain node

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110474903A (en) * 2019-08-15 2019-11-19 广州蚁比特区块链科技有限公司 Trust data acquisition methods, device and block chain node
CN110474903B (en) * 2019-08-15 2022-04-01 广州蚁比特区块链科技有限公司 Trusted data acquisition method and device and block link point

Similar Documents

Publication Publication Date Title
Tan et al. A blockchain-empowered crowdsourcing system for 5G-enabled smart cities
CN112132447B (en) Block chain-based algorithm for evaluating and guaranteeing trust of computing power network
TWI714359B (en) Method and device for uploading electronic certificates
CN109684375B (en) Method, accounting node and medium for querying transaction information in blockchain network
CN108881187A (en) A kind of across chain data transferring method and equipment suitable for permitting chain scene
CN109522735A (en) A kind of data permission verification method and device based on intelligent contract
CN109544160A (en) A kind of transaction authenticity verification methods and system based on block chain and intelligent contract
CN110335147A (en) A kind of digital asset Information Exchange System and method based on block chain
CN108713209B (en) Management method and system of maintenance station and data management server
CN108876669B (en) Course notarization system and method applied to multi-platform education resource sharing
CN106878000A (en) A kind of alliance's chain common recognition method and system
CN107294916A (en) Single-point logging method, single-sign-on terminal and single-node login system
CN112765656B (en) Electric car sharing charging credible system and method based on block chain
TW201826182A (en) T-BOX, vehicle payment system based on T-BOX and method thereof
CN109359948A (en) A kind of measure of managing contract and relevant device based on block chain
CN112232828A (en) Power grid data transaction method and system
CN113379485B (en) Hash algorithm and secondary quotation-based demand response bidding transaction method and system
CN109636610A (en) A kind of data transacting system and method for decentralization
CN113726767A (en) Block chain based distributed multi-party privacy computing system and method
CN107256479B (en) Transaction mode classification execution method and device
CN109102399A (en) A method of the transaction data without arbitrating solution typing block chain is authentic and valid
CN110163784A (en) A kind of fusion self-help serving system and method
CN108540335A (en) The management method and managing device of device analysis report
CN110060163A (en) Method of commerce, system, medium and the device of podcast chain based on ether mill
CN115631579A (en) Charging pile metering method and system based on block chain

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181228

WW01 Invention patent application withdrawn after publication