CN109614767A - A kind of logical card exchange method and apparatus of the O2O resource of decentralization - Google Patents

A kind of logical card exchange method and apparatus of the O2O resource of decentralization Download PDF

Info

Publication number
CN109614767A
CN109614767A CN201811378181.6A CN201811378181A CN109614767A CN 109614767 A CN109614767 A CN 109614767A CN 201811378181 A CN201811378181 A CN 201811378181A CN 109614767 A CN109614767 A CN 109614767A
Authority
CN
China
Prior art keywords
resource
logical card
token
exchange
public key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811378181.6A
Other languages
Chinese (zh)
Other versions
CN109614767B (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.)
China University of Geosciences
Original Assignee
China University of Geosciences
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 China University of Geosciences filed Critical China University of Geosciences
Priority to CN201811378181.6A priority Critical patent/CN109614767B/en
Publication of CN109614767A publication Critical patent/CN109614767A/en
Application granted granted Critical
Publication of CN109614767B publication Critical patent/CN109614767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/101Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities
    • G06F21/1014Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM] by binding digital rights to specific entities to tokens
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • G06F21/1073Conversion
    • 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/602Providing cryptographic facilities or services
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Technology Law (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Storage Device Security (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention proposes a kind of logical card exchange method and devices of decentralization O2O resource, the present invention is a kind of disposable power exchange agreement of resource of decentralization, both the uniqueness that can have guaranteed the logical card right of attribution of resource in acentric exchange process can also guarantee the confidentiality of the logical card raw information of resource in this disclosed exchange process.Wherein, the uniqueness of the logical card right of attribution of resource is the basis of decentralization Resource Exchange, and to the secrecy of the logical card raw information of resource is then the premise of the disposable power exchange of resource under line.The logical card exchange method and device of O2O resource for implementing decentralization of the invention, goes under the transaction scene at center, can effectively ensure that the uniqueness of the logical card right of attribution of resource and the confidentiality of the logical card raw information of resource.

Description

A kind of logical card exchange method and apparatus of the O2O resource of decentralization
Technical field
The present invention relates to block chain fields, lead to card exchange method more specifically to a kind of O2O resource of decentralization With device.
Background technique
Logical card (Token) trade agreement of traditional block chain, is a kind of logical card right of attribution proof system of decentralization, it It can prove whom this current logical card belongs to, but cannot maintain secrecy for the raw information of this logical card, all accounting nodes What the content for both knowing about this logical card is, therefore a true resource can only have a logical card, this logical card represents this The ownership or the right to use of a resource.For the transaction scene of O2O class, the ownership issue of resource is in the offer of resource Side, and it is the right to use of resource that the provider of resource, which sells,.The right to use of one resource can be divided into repeatedly, and use every time Quan Ze needs an individually logical card, and other than true user, other intermediate holders not can know that logical card Content.Under the transaction scene of centralization, resource transaction platform is the tie point of resource and online trading under line, they be in addition to Supplier and the logical unique holder of card of resource other than user, they can be controlled by various permissions guarantees that only user can make With this logical card.But in the case where going the transaction scene at center, resource transaction platform is a public environment, all platform nodes It is all the participant of transaction, they are the intermediate holders of the logical card of resource, then how to guarantee that these intermediate holders will not These logical cards of Misuse? i.e. before exchange, how to guarantee the validity of logical card.Especially online lower usage scenario network item In the case that part is poor, cannot in real time the logical card right of attribution on checkout line when.
Summary of the invention
The technical problem to be solved in the present invention is that for the prior art in the case where going the transaction scene at center, before exchange, Lead to the validity demonstrate,proved to be difficult to ensure, it, cannot real-time checkout line in the case that especially lower usage scenario network condition is poor online On the logical card right of attribution technological deficiency, provide the invention proposes a kind of logical card exchange method of the O2O resource of decentralization and Device can be based on block chain technology, realize the O2O Resource Exchange for going to center.
The decentralization exchange agreement that resource first use is weighed under a kind of line is designed, needs to solve the problems, such as following two:
Problem one: under conditions of decentralization, how to guarantee the uniqueness of the logical card right of attribution of resource.
Problem two: in public interactive environment, how to guarantee the confidentiality of the logical card raw information of resource.
In order to solve the above-mentioned technical problems, the present invention provides a kind of logical card exchange methods of the resource of decentralization, include:
(1) the logical card Token that resource provision side A0 weighs resource first use is published to resource after public key encryption Switching plane, first start node Token_2 of the logical card exchange chain of establishing resource;
(2) when there is resource purchaser A1 to initiate exchange process to resource provision side A0, supplying party A0 first uses oneself Private key is once decrypted, and primary encryption information Token_1 is obtained, and the public key for then reusing purchaser A1 believes primary encryption Breath Token_1 is encrypted, and to obtain the secondary encryption information Token_3 for belonging to A1, and the information is published to Resource Exchange Platform becomes second intermediate node of the logical card exchange chain of resource;
(3) when next purchaser A2, which wants purchase, leads to card, exchange process is initiated to A1, A1 uses the private of oneself first Key is decrypted, and obtains primary encryption information Token_1, and the public key for then reusing A2 encrypts Token_1, to obtain Belong to the secondary encryption information Token_4 of A2, and publish to resource interaction platform, becomes the of the logical card exchange chain of resource Three intermediate nodes;
(4) when next purchaser A3, which wants purchase, leads to card, exchange process is initiated to A2, A2 uses the private of oneself first Key is decrypted, and obtains primary encryption information Token_1, and the public key for then reusing A3 encrypts Token_1, to obtain Belong to the secondary encryption information Token_5 of A3, and publish to resource interaction platform, becomes the of the logical card exchange chain of resource Four intermediate nodes;
(5) when other purchasers want purchase logical card, according to (3), (4), to the last a purchaser Ak When wanting using the logical card, logical card decryption process is initiated to A0, and primary encryption information Token_1 is sent A0 after decryption, A0 is decrypted the original logical card Token of acquisition using the private key of oneself first and is sent to Ak completion decryption process, then simultaneously will A part of information of Token obtains Token_ (n-1) later using the public key encryption of interaction platform, and publishes to resource friendship Platform is changed, the penultimate node as the logical card exchange chain of resource;Wherein, k >=2;
(6) after Ak has used down original logical card Token online, last logical card logout flow path is initiated, by Token Remaining information equally use the public key encryption of interaction platform after obtain Token_n, and be published to Resource Exchange platform, become The last one node of the logical card exchange chain of resource.
Further, in the logical card exchange method of the O2O resource of decentralization of the invention, also include:
(7) it if Transaction Disputes occur in A0 and Ak, is arbitrated by switching plane, switching plane uses the private key of oneself Most latter two node is decrypted, original logical card Token is obtained.
Further, in the logical card exchange method of the O2O resource of decentralization of the invention, step is passed through described in (1) Public key encryption refers to be encrypted by secondary public key encryption agreement.
The present invention is to solve its technical problem, additionally provides a kind of logical card switch of O2O resource of decentralization, packet Contain:
Computer-readable medium, comprising:
(1), it is sent out after public key encryption for realizing the resource provision side A0 logical card Token for weighing resource first use For cloth to Resource Exchange platform, establishing resource is logical to demonstrate,prove the code for exchanging first start node Token_2 of chain;
(2), for realizing when there is resource purchaser A1 to initiate exchange process to resource provision side A0, supplying party A0 is first It is once decrypted using the private key of oneself, obtains primary encryption information Token_1, then reuse the public key pair of purchaser A1 Primary encryption information Token_1 is encrypted, and to obtain the secondary encryption information Token_3 for belonging to A1, and the information is issued To Resource Exchange platform, become the code of second intermediate node of the logical card exchange chain of resource;
(3), for realizing when next purchaser A2 wants to buy logical card, exchange process is initiated to A1, A1 makes first It is decrypted with the private key of oneself, obtains primary encryption information Token_1, the public key for then reusing A2 carries out Token_1 Encryption to obtain the secondary encryption information Token_4 for belonging to A2, and publishes to resource interaction platform, becomes the logical card of resource Exchange the code of the third intermediate node of chain;
(4), for realizing when next purchaser A3 wants to buy logical card, exchange process is initiated to A2, A2 makes first It is decrypted with the private key of oneself, obtains primary encryption information Token_1, the public key for then reusing A3 carries out Token_1 Encryption to obtain the secondary encryption information Token_5 for belonging to A3, and publishes to resource interaction platform, becomes the logical card of resource Exchange the code of the 4th intermediate node of chain;
(5), when wanting the logical card of purchase for realizing other purchasers, according to (3), (4), to the last one When purchaser Ak is want using the logical card, logical card decryption process is initiated to A0, and primary encryption information Token_ after decryption 1 sends A0, and A0 is decrypted the original logical card Token of acquisition using the private key of oneself first and is sent to Ak completion decryption process, so A part of information of Token is obtained into Token_ (n-1) later using the public key encryption of interaction platform simultaneously afterwards, and is issued To Resource Exchange platform, the code of the penultimate node as the logical card exchange chain of resource;Wherein, k >=2;
(6), for realizing after Ak has used down original logical card Token online, last logical card logout flow path is initiated, The public key encryption of interaction platform is equally used to obtain Token_n later the remaining information of Token, and it is flat to be published to Resource Exchange Platform becomes the code of the last one node of the logical card exchange chain of resource.
Further, in the logical card switch of the O2O resource of decentralization of the invention, also include:
(7) it if there are Transaction Disputes for realizing A0 and Ak, is arbitrated by switching plane, switching plane uses certainly Oneself private key decrypts most latter two node, obtains the code of original logical card Token.
Further, in the logical card switch of the O2O resource of decentralization of the invention, public key is passed through described in (1) Encryption refers to be encrypted by secondary public key encryption agreement.
The logical card exchange method and device of resource proposed by the present invention is that a kind of disposable power of resource of decentralization is handed over Agreement is changed, can both guarantee the uniqueness of the logical card right of attribution of resource in acentric exchange process, it can also be in this disclosure Exchange process in guarantee the confidentiality of the logical card raw information of resource.Wherein, the uniqueness of the logical card right of attribution of resource is center Change the basis of Resource Exchange, and is then before the disposable power of resource exchanges under line to the secrecy of the logical card raw information of resource It mentions.The logical card exchange method and device of resource for implementing decentralization of the invention, goes under the transaction scene at center, can effectively protect Demonstrate,prove the uniqueness of the logical card right of attribution of resource and the confidentiality of the logical card raw information of resource.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is the flow chart of logical card one embodiment of exchange method of O2O resource of decentralization of the invention;
Fig. 2 is the flow chart of secondary cryptographic protocol of the invention;
Fig. 3 is the logical card exchange flow chart of resource of the invention;
Fig. 4 is the state circulation figure of logical card information;
Fig. 5 is PayPal card exchange flow chart.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail A specific embodiment of the invention.
With reference to Fig. 1, the logical card exchange method of the O2O resource of the decentralization of the present embodiment is specific as follows shown:
(1) the logical card (Token) that resource first use is weighed is published to by resource provision side A after public key encryption twice Resource Exchange platform creates first start node (Token_2) of the logical card exchange chain of the resource;
With reference to Fig. 2, the secondary public key encryption agreement that the publication of the logical card of resource uses is encrypted by first time, it is ensured that In entire exchange process, in addition to the last one is using the exchange side of logical card, other intermediate exchange sides cannot get original logical Carried out under demonstrate,proving and being online using.And encrypt for the second time, the start node of logical card exchange chain can be generated, the nodal information is exclusive In the publisher of logical card, the only publisher could be decrypted primary encryption information (Token_1) by the private key of oneself, and with Next exchange side completes to exchange for the first time, i.e. the currently the only publisher for belonging to logical card of the logical card.
The first time encryption of secondary public key encryption agreement realizes the confidentiality of original logical card information, and encrypts for the second time then Realize the uniqueness of the logical card right of attribution of resource.
Calculation formula used in secondary cryptographic protocol is as follows:
Token_1=Encrypt (token, public_key_a)
Token_2=Encrypt (token_1, public_key_a)
Wherein, Encrypt indicates Encryption Algorithm, and pub_key_a indicates the public key of A.
(2) when there is resource purchaser B to initiate exchange process to resource provision side A, supplying party A first uses the private key of oneself It is once decrypted, obtains primary encryption information (Token_1), then reuse the public key of purchaser B to primary encryption information (Token_1) it is encrypted, to obtain the secondary encryption information (Token_3) for belonging to B, and the information is published to Resource Exchange Platform becomes second intermediate node of the logical card exchange chain of resource;
After the logical card publication of resource, first resource purchaser B can start lead to demonstrate,proving with resource provision side A to hand over It changes.Before exchange is completed, lead to card ownership and A, after completion of the exchange, leads to card ownership and B.After B holds logical card, can both it select It selects using the logical card, also can choose and swapped with next purchaser C.The detailed process of logical card exchange is as shown in Fig. 3.
In multiple exchange process, because logical card raw information encrypt for the first time by the public key of resource provision side A, So each intermediate exchange side can only get and encrypt later logical card, unless being interacted with A, completes logical card in next step and use stream Journey.The process can guarantee that validity of the logical card before swapping, used calculation formula are as follows:
Token_1=Decrypt (token_2, private_key_a)
Token_3=Encrypt (token_1, public_key_b)
Wherein, Decrypt indicates that decipherment algorithm, private_key_a indicate the private key of A.
(3) because the encryption of Token_3 outermost layer uses the public key of B, when the desired purchase of next purchaser C should It when logical card, needs to initiate exchange process to B, same B is decrypted using the private key of oneself first, obtains primary encryption information (Token_1), the public key for then reusing C encrypts Token_1, to obtain the secondary encryption information (Token_ for belonging to C 4), and resource interaction platform is published to, becomes the third intermediate node of the logical card exchange chain of resource;
(4) and so on, when to the last a purchaser Z is want using the logical card, logical card decryption stream can be initiated to A Journey, and primary encryption information (Token_1) is sent A after decryption, it is former that acquisition is decrypted using the private key of oneself first in A Beginning logical card (Token) is sent to Z and completes decryption process, then while by a part of information of Token uses the public affairs of interaction platform Token_n-1 is obtained after key encryption, and publishes to Resource Exchange platform, reciprocal the as the logical card exchange chain of resource Two nodes;
(5) after Z has used down original logical card (Token) online, last logical card logout flow path is initiated, by Token Remaining information equally use the public key encryption of interaction platform after obtain Token_n, and be published to Resource Exchange platform, become The last one node of the logical card exchange chain of resource;
When being consumed under the last one resource purchaser Z needs to carry out line using logical card, interacted with resource provider A Original logical card decryption process is initiated, A can be made to trigger first step logout flow path, and after purchaser Z has used down logical card online, Second step logout flow path can be then initiated, the exchange chain of entire logical card is terminated.Wherein, first step logout flow path can be to avoid other Purchaser continues to exchange logical card, and two step logout flow paths respectively using a part of original logical card information of platform public key encryption be then for Prevent platform logical card of Misuse before the last one purchaser Z is using original logical card.It is calculated used in the process for using Formula is as follows:
Token=Decrypt (token_1, private_key_a)
Token_n-1=Encrypt (Prefix (token), public_key_platform)
Token_n=Encrypt (Suffix (token), public_key_platform)
Wherein, Prefix expression takes prefix algorithm, and Suffix expression takes suffix algorithm.
(6) it if Transaction Disputes occur in A and Z, can be arbitrated by switching plane, switching plane uses the private of oneself Key decrypts most latter two node, same available original logical card (Token).
If there is dispute after the logical card exchange of resource is completed, platform side can then be restored original by following formula Logical card information to carry out relevant arbitration.
Token=Merge (Decrypt (token_n-1, private_key_platform), Decrypt (token_n,
private_key_platform))
Wherein, Merge indicates to merge algorithm.
In entirely exchange process, the state circulation for leading to card information is as shown in Figure 4.
With reference to Fig. 5, Resource Exchange is a two-way operation, provides the same of the logical card of resource in resource provision direction purchaser When, resource purchaser also needs to provide PayPal card to supplying party, and after exchange is completed, payment is can be used in resource provision side Logical card goes to extract corresponding resource accounting at purchaser.PayPal card exchange there are two types of agreement it can be selected that the first Using exchange agreement identical with the logical card of resource, one PayPal card can be exchanged in many ways, be avoided more using the agreement It is operated under secondary line;Second can directly by purchaser by PayPal card encrypted using the public key of supplying party after be sent to Supplying party, the card of PayPal caused by the process can only be exchanged once, and supplying party cannot hand over again after taking PayPal card Other exchange sides are given, because logical proof text has been known by the supplying party.
The present invention is based on the logical card exchanges of O2O resource that block chain technology and public-key cryptosystem propose a kind of decentralization Agreement, the agreement can be realized and exchange on the line of resource first use power under line, be to solve O2O in the scene of decentralization Resource Exchange is a kind of just Resource Exchange agreement in one of decentralization scene effective solution, can be used Cross-platform resource in supply chain side distributes scene.In interaction protocol described in the invention, one kind is used to go to center The user authentication and key management system of change, it is true with system user in rear chain and its society which can solve decentralization The binding of identity, the incidence relation are also the basis for realizing O2O Resource Exchange.
The present invention also provides a kind of logical card switch of the O2O resource of decentralization, have computer can in the device Medium is read, the code for realizing the above method is stored in the computer-readable medium.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (6)

1. a kind of logical card exchange method of the O2O resource of decentralization, characterized by comprising:
(1) the logical card Token that resource provision side A0 weighs resource first use is published to Resource Exchange after public key encryption Platform, first start node Token_2 of the logical card exchange chain of establishing resource;
(2) when there is resource purchaser A1 to initiate exchange process to resource provision side A0, supplying party A0 first uses the private key of oneself It is once decrypted, obtains primary encryption information Token_1, then reuse the public key of purchaser A1 to primary encryption information Token_1 is encrypted, and to obtain the secondary encryption information Token_3 for belonging to A1, and the information is published to Resource Exchange and is put down Platform becomes second intermediate node of the logical card exchange chain of resource;
(3) when next purchaser A2 wants the logical card of purchase, initiate exchange process to A1, A1 use first the private key of oneself into Row decryption, obtains primary encryption information Token_1, the public key for then reusing A2 encrypts Token_1, to be belonged to The secondary encryption information Token_4 of A2, and resource interaction platform is published to, become the third of the logical card exchange chain of resource Intermediate node;
(4) when next purchaser A3 wants the logical card of purchase, initiate exchange process to A2, A2 use first the private key of oneself into Row decryption, obtains primary encryption information Token_1, the public key for then reusing A3 encrypts Token_1, to be belonged to The secondary encryption information Token_5 of A3, and resource interaction platform is published to, become the 4th of the logical card exchange chain of resource Intermediate node;
(5) when other purchasers want purchase logical card, according to (3), (4), to the last a purchaser Ak wants to make When with the logical card, logical card decryption process is initiated to A0, and primary encryption information Token_1 is sent A0 after decryption, A0 is first The original logical card Token of acquisition first is decrypted using the private key of oneself and is sent to Ak completion decryption process, then simultaneously by Token A part of information using obtaining Token_ (n-1) after the public key encryption of interaction platform, and it is flat to publish to Resource Exchange Platform, the penultimate node as the logical card exchange chain of resource;Wherein, k >=2;
(6) after Ak has used down original logical card Token online, last logical card logout flow path is initiated, by the residue of Token Information equally uses the public key encryption of interaction platform to obtain Token_n later, and is published to Resource Exchange platform, and it is logical to become resource The last one node of card exchange chain.
2. the logical card exchange method of the O2O resource of decentralization according to claim 1, which is characterized in that also include:
(7) it if Transaction Disputes occur in A0 and Ak, is arbitrated by switching plane, switching plane is decrypted using the private key of oneself Most latter two node obtains original logical card Token.
3. the logical card exchange method of the O2O resource of decentralization according to claim 1, which is characterized in that institute in step (1) It states and refers to by public key encryption by the encryption of secondary public key encryption agreement.
4. a kind of logical card switch of the O2O resource of decentralization, characterized by comprising:
Computer-readable medium, comprising:
(1), it is published to after public key encryption for realizing the resource provision side A0 logical card Token for weighing resource first use Resource Exchange platform, the code of first start node Token_2 of the logical card exchange chain of establishing resource;
(2), for realizing when there is resource purchaser A1 to initiate exchange process to resource provision side A0, supplying party A0 is first used certainly Oneself private key is once decrypted, and primary encryption information Token_1 is obtained, and the public key for then reusing purchaser A1 adds to primary Confidential information Token_1 is encrypted, and to obtain the secondary encryption information Token_3 for belonging to A1, and the information is published to resource Switching plane becomes the code of second intermediate node of the logical card exchange chain of resource;
(3), for realizing when next purchaser A2 wants to buy logical card, exchange process is initiated to A1, A1 is used certainly first Oneself private key is decrypted, and obtains primary encryption information Token_1, and the public key for then reusing A2 encrypts Token_1, To obtain the secondary encryption information Token_4 for belonging to A2, and resource interaction platform is published to, becomes the logical card exchanging chain of resource The code of the third intermediate node of item;
(4), for realizing when next purchaser A3 wants to buy logical card, exchange process is initiated to A2, A2 is used certainly first Oneself private key is decrypted, and obtains primary encryption information Token_1, and the public key for then reusing A3 encrypts Token_1, To obtain the secondary encryption information Token_5 for belonging to A3, and resource interaction platform is published to, becomes the logical card exchanging chain of resource Article the 4th intermediate node code;
(5), when wanting the logical card of purchase for realizing other purchasers, according to (3), (4), a to the last purchase When square Ak is want using the logical card, logical card decryption process is initiated to A0, and primary encryption information Token_1 is sent after decryption A0, A0 are decrypted the original logical card Token of acquisition using the private key of oneself first and are sent to Ak completion decryption process, then simultaneously A part of information of Token is obtained into Token_ (n-1) later using the public key encryption of interaction platform, and publishes to resource Switching plane, the code of the penultimate node as the logical card exchange chain of resource;Wherein, k >=2;
(6), for realizing after Ak has used down original logical card Token online, last logical card logout flow path is initiated, it will The remaining information of Token equally uses the public key encryption of interaction platform to obtain Token_n later, and it is flat to be published to Resource Exchange Platform becomes the code of the last one node of the logical card exchange chain of resource.
5. the logical card switch of the O2O resource of decentralization according to claim 4, which is characterized in that also include:
(7) it if there are Transaction Disputes for realizing A0 and Ak, is arbitrated by switching plane, switching plane uses oneself Private key decrypts most latter two node, obtains the code of original logical card Token.
6. the logical card switch of the O2O resource of decentralization according to claim 4, which is characterized in that (1) passed through described in Public key encryption is crossed to refer to by the encryption of secondary public key encryption agreement.
CN201811378181.6A 2018-11-19 2018-11-19 Decentralized O2O resource evidence exchange method and device Active CN109614767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811378181.6A CN109614767B (en) 2018-11-19 2018-11-19 Decentralized O2O resource evidence exchange method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811378181.6A CN109614767B (en) 2018-11-19 2018-11-19 Decentralized O2O resource evidence exchange method and device

Publications (2)

Publication Number Publication Date
CN109614767A true CN109614767A (en) 2019-04-12
CN109614767B CN109614767B (en) 2021-05-25

Family

ID=66003517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811378181.6A Active CN109614767B (en) 2018-11-19 2018-11-19 Decentralized O2O resource evidence exchange method and device

Country Status (1)

Country Link
CN (1) CN109614767B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN112749957A (en) * 2019-10-30 2021-05-04 天宿智能科技股份有限公司 Asset right management system and method based on block chain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160306982A1 (en) * 2015-04-14 2016-10-20 Manifold Technology, Inc. System and method for providing a cryptographic platform for exchanging information
CN106713218A (en) * 2015-07-17 2017-05-24 腾讯科技(深圳)有限公司 Resource exchange method and resource exchange device
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160306982A1 (en) * 2015-04-14 2016-10-20 Manifold Technology, Inc. System and method for providing a cryptographic platform for exchanging information
CN106713218A (en) * 2015-07-17 2017-05-24 腾讯科技(深圳)有限公司 Resource exchange method and resource exchange device
CN108600301A (en) * 2018-03-08 2018-09-28 青岛墨客区块链有限公司 A kind of across chain method between block chain and main block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JAEWON CHOI 等: "Modeling the Intergrated Customer Loyalty Program on Blockchain Technology by Using Credit Card", 《INTERNATIONAL JOURNAL ON FUTURE REVOLUTION IN COMPUTER SCIENCE & COMMUNICATION ENGINEERING》 *
刘敖迪 等: "区块链技术及其在信息安全领域的研究进展", 《软件学报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112749957A (en) * 2019-10-30 2021-05-04 天宿智能科技股份有限公司 Asset right management system and method based on block chain
CN111198922A (en) * 2020-01-02 2020-05-26 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain
CN111198922B (en) * 2020-01-02 2023-04-18 腾讯科技(深圳)有限公司 Game resource management method and device based on block chain

Also Published As

Publication number Publication date
CN109614767B (en) 2021-05-25

Similar Documents

Publication Publication Date Title
CN103729942B (en) Transmission security key is transferred to the method and system of key server from terminal server
CA2808369C (en) System for protecting an encrypted information unit
CN109347878A (en) The data verification of decentralization and data safety transaction system and method
CN109155730A (en) Technology for device authorization
CN108781161A (en) Method for controlling and distributing blockchain implementation of digital content
CN107210914A (en) The method supplied for security credence
CN106600252A (en) Payment method and payment system based on block chain
RU2584500C2 (en) Cryptographic authentication and identification method with real-time encryption
CN103716168A (en) Secret key management method and system
CN106327723B (en) A kind of mPOS transaction systems based on intelligent platform
JPS6091477A (en) Automatic transaction processing system
CN108510270A (en) A kind of move and transfer accounts method of quantum safety
CN104462874B (en) It is a kind of to support the offline DRM method and system for sharing digital resource
CN113158143B (en) Key management method and device based on block chain digital copyright protection system
Lee et al. An innovative electronic group-buying system for mobile commerce
CN109818741A (en) A kind of decryption calculation method and device based on elliptic curve
CN108199847A (en) Security processing method, computer equipment and storage medium
CN109614767A (en) A kind of logical card exchange method and apparatus of the O2O resource of decentralization
CN109040109A (en) Data trade method and system based on key management mechanism
JPWO2019186978A1 (en) Electronic trading system, trading server, verification server, electronic trading method and program
JPH07219762A (en) Software protection system
CN110266483B (en) Quantum communication service station key negotiation method, system and device based on asymmetric key pool pair and QKD
CN109389503A (en) Block chain account model and implementation method
JPH09212553A (en) Electronic credit system and communication equipment
CN112187802A (en) Bus system and communication method

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