CN109583893A - The traceable digital cash transaction system based on block chain - Google Patents

The traceable digital cash transaction system based on block chain Download PDF

Info

Publication number
CN109583893A
CN109583893A CN201811393040.1A CN201811393040A CN109583893A CN 109583893 A CN109583893 A CN 109583893A CN 201811393040 A CN201811393040 A CN 201811393040A CN 109583893 A CN109583893 A CN 109583893A
Authority
CN
China
Prior art keywords
certificate
transaction
sending node
digital cash
node
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
CN201811393040.1A
Other languages
Chinese (zh)
Other versions
CN109583893B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201811393040.1A priority Critical patent/CN109583893B/en
Publication of CN109583893A publication Critical patent/CN109583893A/en
Application granted granted Critical
Publication of CN109583893B publication Critical patent/CN109583893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash

Landscapes

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

Abstract

The invention discloses a kind of traceable digital cash transaction systems based on block chain, comprising: certificate request module generates corresponding parameter and public and private key for certificate authority and transaction sending node;Certificate release module is signed for public key of the certificate authority to transaction sending node, generates the certificate of transaction sending node;Certificate randomization module is randomized the certificate that terminal device obtains for sending node of trading, and the certificate after randomization is sent to remote verification terminal;Digital cash transaction modules carry out the digital cash transaction based on block chain for trading between sending node, miner's node and transaction acceptance node;User identity tracing module is tracked for identity of the certificate authority to transaction sending node.The system, which passes through, combines existing PKI system and digital money transaction system to enhance the scalability of system so that system has good cross-platform characteristic, and ensures the anonymity and traceability of terminal device.

Description

The traceable digital cash transaction system based on block chain
Technical field
The present invention relates to block chain and digital cash technical field, in particular to a kind of traceable number based on block chain Word money transaction system.
Background technique
In recent years, the innovation and development of informationization technology, development of Mobile Internet technology and cloud computing technology, changes deeply The means of payment of people.It is even more to indicate to believe by the birth of the digital cash based on block chain of representative and circulation of bit coin Breath generates the internet being characterized with flowing and accelerates to march toward the value internet new era characterized by being worth and generate with transfer. Have many characteristics, such as that center, the digital cash that can not be forged can eliminate conventional currency design printing and escort the cost of storage, Cross-region, the flow of fund obstacle across mechanism are reduced, the convenience and transparency of transaction are promoted, is to adapt to modernization and net The form of money of network demand.Block chain is one kind for becoming increasingly popular and gradually rising with the digital encryptions currency such as bit coin Decentralization architecture, the unique job mechanism of all-web authentication make it have anti-take advantage of in distributed system and P2P node It deceives, prevent the characteristics of dual payment, to guarantee the safety and stablization of digital coin systems.Through development and improvement in a few years, area Block chain has been increasingly becoming a kind of novel distribution, decentralization, the technical solution for going trustization.
The generation of digital cash and the innovation and development of block chain while bringing change to social production, are also to transaction More stringent requirements are proposed for information security and personal privacy protection in system.The digital coin systems such as bit coin are only capable of providing at present The secret protection of weaker assumed name mode.In addition, the design of existing digital cash transaction system got around it is any it is existing tissue or The supervision of mechanism.Due to the missing of oversight mechanism, so that doing credit endorsement without any mechanism or tissue for it, it is easy to cause out Existing excessively high currency fluctuation, and breed using the tax evasion of the digital cash such as bit coin, extort money laundering etc. and break laws and commit crime.How to mention For the secret protection of dealer, how to execute the efficient supervision of registration body, how the secret protection in hedge system with The problem of security control etc. etc. all suffers from urgent need to resolve and challenge.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, it is an object of the invention to propose a kind of traceable digital cash transaction system based on block chain.
In order to achieve the above objectives, the invention proposes the traceable digital cash transaction systems based on block chain, comprising: Certificate request module generates card for creating the system parameter of digital cash transaction system, and according to the system parameter respectively The public and private key of book certification authority and the public and private key of transaction sending node, and chased after according to the generation of the public and private key of the certificate authority Track parameter;Certificate release module, for according to the private key of the certificate authority to the public key of the transaction sending node into Row signature generates certificate, and the certificate and the trace parameters are added in certificate repository;Certificate is randomized module, is used for institute It states transaction sending node and signature verification is carried out to the certificate, and after confirming that the certificate is effective, the transaction sending node The public key of the certificate and the terminal device is randomized, and the certificate after randomization is sent to digital cash transaction Module;Digital cash transaction modules initiate the transaction to transaction acceptance node for the transaction sending node, generate transaction Single, miner's node collects the trading card, and is reached common understanding between miner's node based on POW common recognition mechanism and generate new district Block completes transaction in the form of block chain;And user identity tracing module, for obtaining the tracking ginseng from the certificate repository Number, and according to the public key of the terminal device after randomization to the terminal device be tracked with realize to user identity into Row tracking.
The traceable digital cash transaction system based on block chain of the embodiment of the present invention, by combining existing public key base The digital cash transaction system such as Infrastructure PKI architectural framework and bit coin, so that system has good cross-platform characteristic, enhancing The scalability of system, and ensured the anonymity and traceability of terminal device.
In addition, the traceable digital cash transaction system based on block chain according to the above embodiment of the present invention can be with With following additional technical characteristic:
Further, in one embodiment of the invention, the certificate request module and the certificate are randomized module Operation completed by user terminal, the operation of the certificate release module and the user identity tracing module is by the certificate verification Mechanism completes, and the operation of the digital cash transaction modules is by the transaction sending node, miner's node and the transaction Receiving node is completed.
Further, in one embodiment of the invention, the transaction sending node is the initiation of digital cash transaction Side, the transaction acceptance node are the recipient of digital cash transaction.
Further, in one embodiment of the invention, the certificate request module is specifically used for: handing in digital cash The system parameter of the certificate authority and the transaction sending node is created in easy system;The certificate authority utilizes The corresponding system parameter of the certificate authority generates public private key pair, saves private key, announces public key;The transaction sending node Generate public private key pair using the corresponding system parameter of the transaction sending node, save private key, send public key and trace parameters to The certificate authority.
Further, in one embodiment of the invention, the certificate release module is specifically used for: receiving the certificate Apply for that the public key of the transaction sending node in module, the certificate authority are corresponding using the certificate authority Private key signature carried out to the public key of the transaction sending node generate certificate, and the certificate is sent to transaction transmission Node;The certificate authority registers the transaction sending node in certificate registration unit, and by the friendship The certificate of easy sending node and the trace parameters are added in certificate repository.
Further, in one embodiment of the invention, the certificate randomization module is specifically used for: the transaction hair After sending node to receive certificate, signature verification is carried out to the certificate;The transaction sending node to the certificate that is verified and Public key is randomized;It proves that the validity of certificate will be randomized using zero-knowledge proof technology, and will be after the randomization Certificate is sent to digital cash transaction modules.
Optionally, in one embodiment of the invention, if the certification authentication that the transaction sending node receives passes through, The then transaction sending node output 1, receives certificate;If the certification authentication that the transaction sending node receives does not pass through, The transaction sending node output 0, and warning message is returned to the certificate authority.
Further, in one embodiment of the invention, the digital cash transaction modules are specifically used for: the transaction Sending node generates the trading card comprising the randomization certificate of the transaction acceptance node, and is sent to miner's section Point;After miner's node receives the trading card, to the certificate and trading card progress validity after the randomization Verifying;Reached common understanding between miner's node based on POW common recognition mechanism and generate new block, and to the friendship in the form of block chain Yi Dan is recorded, and transaction is completed.
Further, in one embodiment of the invention, the user identity tracing module is specifically used for: the certificate After certification authority receives user identity tracking request, the certificate authority transfers all terminal device registrations in certificate repository When trace parameters;The certificate authority according to it is described randomization certificate after public key and relevant parameter to user identity into Row tracking.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the traceable digital cash transaction system structural representation based on block chain of one embodiment of the invention Figure;
Fig. 2 is the traceable digital cash transaction system frame diagram based on block chain of one embodiment of the invention;
Fig. 3 is the traceable digital cash transaction system general flow chart based on block chain of one embodiment of the invention;
Fig. 4 is the certificate request of the traceable digital cash transaction system based on block chain of one embodiment of the invention Module, certificate release module and certificate are randomized module journey schematic diagram;
Fig. 5 is the digital cash of the traceable digital cash transaction system based on block chain of one embodiment of the invention Transaction modules schematic diagram;
Fig. 6 is the user identity of the traceable digital cash transaction system based on block chain of one embodiment of the invention Tracing module schematic diagram.
Specific embodiment
The embodiment of the present invention is described below in detail, the example of embodiment is shown in the accompanying drawings, wherein identical from beginning to end Or similar label indicates same or similar element or element with the same or similar functions.It is retouched below with reference to attached drawing The embodiment stated is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
The traceable digital cash based on block chain for describing to propose according to embodiments of the present invention with reference to the accompanying drawings is handed over Easy system.
Fig. 1 is the traceable digital cash transaction system structural representation based on block chain of one embodiment of the invention Figure.
As shown in Figure 1, the traceable digital cash transaction system 10 based on block chain includes: certificate request module 100, certificate release module 200, certificate randomization module 300, digital cash transaction modules 400 and user identity tracing module 500。
It should be noted that the digital cash transaction system of the embodiment of the present invention includes: certificate authority CA (Certificate Authority), transaction sending node, miner's node and the big entity of transaction acceptance node four.Wherein, certificate Certification authority CA (Certificate Authority) is that mechanism is signed and issued and tracked to certificate, it is the core of PKI system;It hands over Easy sending node is the sender of digital cash transaction system and the user of PKI certificate;Transaction acceptance node is digital goods The recipient of coin transaction system;Miner's node is the verifier for the randomization certificate that transaction sends user.
Wherein, certificate request module 100 is used to create the system parameter of digital cash transaction system, and according to system parameter The public and private key of certificate authority and the public and private key of transaction sending node are generated respectively, and according to the public and private key of certificate authority Generate trace parameters.
Further, in one embodiment of the invention, certificate request module 100 is specifically used for: handing in digital cash The system parameter of creation certificate authority and sending node of trading in easy system;Certificate authority certificate of utility certification authority Corresponding system parameter generates public private key pair, saves private key, announces public key;Sending node of trading is corresponding using transaction sending node System parameter generate public private key pair, save private key, send public key and trace parameters to certificate authority.
In other words, the implementation procedure of certificate request module 100 are as follows:
Step 1:CA mechanism and transaction sending node create corresponding system parameter;
Step 2:CA mechanism generates the public private key pair of oneself using system parameter, saves private key, announces public key;
Step 3: transaction sending node generates oneself public private key pair using system parameter, saves private key, send public key and Trace parameters give CA mechanism.
It should be noted that the operation of certificate request module 100 and certificate randomization module 300 is completed by user terminal, demonstrate,prove The operation of book release module 200 and user identity tracing module 500 is completed by certificate authority, digital cash transaction modules 400 operation is completed by transaction sending node, miner's node and transaction acceptance node.
Certificate release module 200 is used to sign to the public key of transaction sending node according to the private key of certificate authority Certificate is generated, and certificate and trace parameters are added in certificate repository.
Further, in one embodiment of the invention, certificate release module 200 is specifically used for: receiving certificate request The public key of transaction sending node in module, the corresponding private key of certificate authority certificate of utility certification authority send transaction The public key of node carries out signature and generates certificate, and sends the certificate to transaction sending node;Certificate authority is registered in certificate Transaction sending node is registered by mechanism, and the certificate for sending node of trading and trace parameters are added to certificate repository In.
Briefly, the implementation procedure of certificate release module 200 are as follows:
Step 1: after the public key for receiving transaction sending node, client public key is signed using the private key of oneself by CA mechanism Name generates certificate, and sends the certificate to user;
Transaction sending node is simultaneously registered by step 2:CA mechanism, and user certificate and trace parameters are added Into certificate repository.
Certificate randomization module 300 carries out signature verification to certificate for trading sending node, and effective in confirmation certificate Afterwards, transaction sending node is randomized the public key of certificate and terminal device, and the certificate after randomization is sent to number Moneytary operations module.
Further, in one embodiment of the invention, certificate randomization module 300 is specifically used for: transaction sends section After point receives certificate, signature verification is carried out to certificate;Transaction sending node carries out the certificate and public key being verified random Change;It will be randomized the validity of certificate using zero-knowledge proof technology proof, and the certificate after randomization is sent to digital goods Coin transaction modules 400.
Wherein, if the certification authentication that transaction sending node receives passes through, sending node of trading output 1 receives certificate; If the certification authentication that transaction sending node receives does not pass through, sending node of trading output 0, and warning message is returned to certificate Certification authority.
In other words, the implementation procedure of certificate randomization module are as follows:
Step 1: after receiving certificate, transaction sending node carries out signature verification to certificate.If certificate passes through verifying, output 1, receive the certificate.Otherwise user's output 0, and return to information warning ⊥ and give CA mechanism;
Step 2: user is randomized the certificate and public key that are verified;
Step 3: user has carried out effective randomization (i.e. user holds and certificate master using zero-knowledge proof technology proof The corresponding private key of the public key of body).
Digital cash transaction modules 400 initiate the transaction to transaction acceptance node for sending node of trading, and generate transaction Single, miner's node collects trading card, and is reached common understanding between miner's node based on POW common recognition mechanism and generate new block, with area Block chain form completes transaction.
Further, in one embodiment of the invention, digital cash transaction modules 400 are specifically used for: transaction is sent Node generates the trading card comprising randomization certificate of transaction acceptance node, and is sent to miner's node;Miner's node receives After trading card, to the certificate and trading card progress validation verification after randomization;It is reached between miner's node based on POW common recognition mechanism New block is generated at common recognition, and trading card is recorded in the form of block chain, completes transaction.
Specifically, the implementation procedure of digital cash transaction modules 400 are as follows:
Step 1: transaction sending node generates the trading card comprising randomization certificate to transaction acceptance node;
Step 2: after miner is collected into trading card, validation verification being carried out to trading card and randomization certificate;
Step 3: being reached common understanding between miner based on POW common recognition mechanism and generate new block, and ultimately form block chain form Trading card is recorded, transaction is completed.
User identity tracing module 500 is set for obtaining trace parameters from certificate repository according to the terminal after randomization Standby public key is tracked to realize and be tracked to user identity terminal device.
That is, certificate authority transfers certificate repository after certificate authority receives user identity tracking request In all terminal devices registration when trace parameters;Certificate authority is according to the public key and relevant parameter pair after randomization certificate User identity is tracked.
It should be noted that in an embodiment of the present invention, the format of certificate meets X509.V3 specification and have can be random Property, transaction sending node has identity traceability.
Below with reference to specific example as shown in figures 2-6 to the traceable number based on block chain of the embodiment of the present invention Money transaction system is completely described.
As shown in Fig. 2, including: certificate authority CA, transaction transmission user, transaction acceptance in specific example of the invention User and miner.It should be noted that the transaction referred in specific example sends user and user is the above-mentioned transaction referred to Sending node, transaction acceptance user are the above-mentioned transaction acceptance node referred to, and miner is the above-mentioned miner's node referred to.
Wherein, in this specific example, the model of CA server and database server is Dell OptiPlex 3046Mini Tower, transaction sends user and the host model of transaction acceptance user terminal associates ThinkCentre E74S Tower simultaneously installs bit coin wallet Bitcoin Core for digital cash transaction, and purchase F2Pool mine pond software is used for miner Mine is dug, network environment is campus-level network environment.
As shown in Figures 3 and 4, CA mechanism and transaction transmission user need creation corresponding public in certificate request module 100 Parameter generates respective public private key pair, and user needs to fill in personal certificate application form, and wherein client public key is confirmation user identity Primary fields, other identifier symbol be option.The address Email is to use when transmitting certificate after generating certificate, it is necessary to which input has Otherwise the address of effect is applied unsuccessful.Specifically includes the following steps:
Step 1:CA mechanism and transaction send user and create corresponding system parameter.
Enable G1, G2And GTIt is three p rank cyclic groups (p is prime number), e:G1×G2→GTIt is the Bilinear map of the 3rd seed type, That is G1≠G2, G1With G2Between be not present any effective Homomorphic Mapping.DefinitionOutput system parameter pp ← (p, G1,G2,GT,e)。
Step 2:CA mechanism generates the public private key pair (cpk, csk) of oneself using system parameter pp, saves private key csk, public Cloth public key cpk.
CA mechanism randomly selectsIt calculatesGeneration private key csk=(x, Y), public keyCA mechanism saves private key csk, announces public key cpk.
Step 3: transaction sends the public private key pair (upk, usk) that user generates oneself using system parameter pp, saves private key Usk sends public key upk and gives CA mechanism.Parameter needed for generating tracing module according to the public key cpk of CA mechanism simultaneously.
User randomly selects g ← G1, α ← Zp, generation private key is usk=α, and public key isIt calculates simultaneouslyUser saves private key usk, sends public key upk and trace parameters T Give CA mechanism.
As shown in Figures 3 and 4, after client public key and relevant parameter being received in certificate release module 200, CA mechanism is utilized The private key of oneself carries out signature generation certificate to client public key and is sent to transaction transmission user, while stepping on to certificate user User certificate and trace parameters, are finally added in certificate repository by note registration.Specifically includes the following steps:
Step 1: after receiving client public key upk, CA mechanism carries out signature generation to client public key using the private key of oneself Certificate Cert, and certificate Cert is sent to user.
After receiving client public key upk=(X, Y), CA mechanism randomly selects r ← Zp, calculate upkr=(X, Y)r=(gr,gαr), generate signature sigma=(gr,grX·gαr·Y)=(gr,gr(X+Yα))=(σ12).CA mechanism is by signature sigma=(σ12) as card Book Cert is sent to user.
Certificate user is simultaneously registered by step 2:CA mechanism, and user certificate Cert and trace parameters T are added It is added in certificate repository.
As shown in Figures 3 and 4, transaction sends the validity that user first verifies that certificate in certificate randomization module 300.If Certificate is randomized the certificate and public key and proves to have carried out effective randomization operation by verifying, user.If certificate It is unverified, then it returns to information warning ⊥ and gives CA mechanism.Specifically includes the following steps:
Step 1: after receiving certificate Cert, user carries out signature verification to certificate, verifies the validity of certificate.
Receive certificate Cert=σ=(σ12), whether first verify that hasSecondly verifying equationIt is whether true.If equation is set up, output 1 receives the certificate.Otherwise user's output 0, and return It returns information warning ⊥ and gives CA mechanism.
Step 2: if certificate, by verifying, user is randomized the certificate and public key that are verified.
User randomly selects u ← Zp, calculate g1=gu,Public key upk ' after being randomized= (g1,X1)。
User randomly selects v ← Zp, calculateCertificate Cert '=σ ' after being randomized= (σ′1,σ′2)。
Step 3: user has carried out effective randomization (i.e. user holds and certificate master using zero-knowledge proof technology proof The corresponding private key of the public key of body).
User has carried out effective randomization operation using correct private key really to prove oneself, calculates first It is calculated later using non-interactive zero-knowledge proof agreement (Non.InteractiveZeroKnowledge, NIZK)End user by after randomization certificate and prove parameter Cert "= (Cert′,σ34)=(σ '1,σ′234) it is used for digital cash transaction modules.
As shown in Figures 3 and 5, transaction sends user's generation to transaction acceptance user's in digital cash transaction modules 400 Trading card, the trading card not only include the I/O Address required in general transaction list and sender's signature, further include random Certificate and proof parameter after change.Based on digital coin systems such as existing bit coin, the miner in mine pond collects trading card, to friendship Yi Dan and randomization certificate carry out validation verification.Reached common understanding between miner based on POW common recognition mechanism and generate new block, and most End form records trading card at block chain form, completes transaction.
Specifically includes the following steps:
Step 1: it includes the trading card for being randomized certificate that transaction, which sends user and generates to transaction acceptance user,.
Transaction sends transaction of user's initiation to transaction acceptance user, generates trading card.Trading card includes the label of sender Name verification public key, recipient's public key, transaction amount, sender is to the signature of trading card and the randomization public key and card of sender Book.Signature algorithm is signed using ECDSA herein, and specific ECDSA signature is as follows:
If ECDSA signature algorithm system parameter is (Fq, E, G, n, a, b, h), wherein FqIt is finite field, E is FqOn ellipse Curve, G are a basic points on E, and the rank of G is n (n is prime number), and a, b are the coefficients of elliptic curve E, and h is one-way safety Hash function.If transaction sends the signature key of user to for (upkt,uskt)=(Q, d), wherein Q=dG, transaction to be signed are believed Breath is m.
A random number k is chosen, 1≤k≤n-1 calculates kG=(x1,y1), r=x1Modn, e=H (m), s=k-1(e+ Dr), generate transaction and send user to the signature sigma of trading card information mt=(r, s).
Step 2: after miner is collected into trading card, validation verification being carried out to trading card and randomization certificate.
(1) trading card signature-verification process: after miner is collected into trading card, signature sigma is obtainedt=(r, s) calculates e=H (m), w=s-1modn;Calculate u1=ewmodn, u2=rwmodn, u1G+u2Q=(x0,y0);Calculate v=x0modn;If v=r, Then signature passes through verifying, otherwise authentication failed.
(2) it is randomized credentials verification process: receiving certificate Cert "=(Cert ', σ34)=(σ '1,σ′234), Whether first verify that hasSecondly verifying equationIt is whether true.If equation is set up, Then signature passes through verifying, otherwise authentication failed.
If signature and randomization certificate that transaction sends user receive the trading card by verifying.Otherwise not to this friendship Yi Dan is recorded.
As can be seen that the certificate after the randomization is still effectively to demonstrate,prove if user has carried out correct randomization to original certificate Book.Because ifThen equationIt is equivalent toTo haveCertificate after being randomized still meets original The validity of beginning certificate.
Step 3: being reached common understanding between miner based on POW common recognition mechanism and generate new block, and ultimately form block chain form Trading card is recorded, transaction is completed.
In the POW common recognition mechanism of block chain, there are critical data items in data block --- random number N once.Miner passes through It collects and verifies each and every one trading card to continuously attempt to find this random number, that is, digging mine=hash puzzles:H (Nonce | | prev_block||tx||tx||...||tx)<Bits.In every 10 minutes, the miner only successfully dug to mine obtains primary book keeping operation Right generates new block and synchronizes newly-increased account book information to other nodes.After 6 new blocks generate, original transaction is just identified To complete.
As shown in figs. 3 and 6, after user identity tracing module 500 receives user identity tracking request, CA mechanism is transferred Trace parameters when All Activity sends user's registration in certificate repository, and public key and relevant parameter pair after being randomized according to user User identity is tracked.Specifically includes the following steps:
Step 1: after receiving user identity tracking request, CA mechanism transfers the All Activity in certificate repository and sends user's note Trace parameters when volumeWhereinαiFor the private key cc of i-th of user;
Step 2:CA mechanism be randomized according to user after public key upk '=(g1,X1) and trace parameters listUser identity is tracked.CA mechanism verifies equation using trace parameters one by oneSome T if it existsiSo that equation is set up, then the TiCorresponding registration user is to chase after The user of track.
As can be seen that CA mechanism certainly being capable of trace parameters flow table in certificate of utility libraryTrack corresponding user.Because For a certain user i,As long as so having submitted tracking when user's registration Parameter just can centainly be checked one by one according to above-mentioned equation by CA mechanism and be tracked.
The traceable digital cash transaction system based on block chain proposed according to embodiments of the present invention, it is existing by combining Have the digital cash transaction system such as Public Key Infrastructure PKI architectural framework and bit coin so that system have it is good cross-platform Characteristic enhances the scalability of system, and has ensured the anonymity and traceability of terminal device.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc. Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below " One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (9)

1. a kind of traceable digital cash transaction system based on block chain characterized by comprising
Certificate request module is given birth to respectively for creating the system parameter of digital cash transaction system, and according to the system parameter At the public and private key of certificate authority and the public and private key of transaction sending node, and according to the life of the public and private key of the certificate authority At trace parameters;
Certificate release module, for being signed according to the private key of the certificate authority to the public key of the transaction sending node Name generates certificate, and the certificate and the trace parameters are added in certificate repository;
Certificate is randomized module, carries out signature verification to the certificate for the transaction sending node, and confirming the card After book is effective, the transaction sending node is randomized the public key of the certificate and the terminal device, and will randomization Certificate afterwards is sent to digital cash transaction modules;
Digital cash transaction modules initiate the transaction to transaction acceptance node for the transaction sending node, generate trading card, Miner's node collects the trading card, and is reached common understanding between miner's node based on POW common recognition mechanism and generate new block, Transaction is completed in the form of block chain;And
User identity tracing module, for obtaining the trace parameters from the certificate repository, and according to after randomization The public key of terminal device is tracked to realize and be tracked to user identity the terminal device.
2. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described The operation of certificate request module and certificate randomization module is completed by user terminal, the certificate release module and the user The operation of Identity escrow module is completed by the certificate authority, and the operation of the digital cash transaction modules is by the transaction Sending node, miner's node and the transaction acceptance node are completed.
3. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described Trade the initiator that sending node is digital cash transaction, and the transaction acceptance node is the reception of digital cash transaction Side.
4. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described Certificate request module, is specifically used for:
The system parameter of the certificate authority and the transaction sending node is created in digital cash transaction system;
The certificate authority generates public private key pair using the corresponding system parameter of the certificate authority, saves private key, Announce public key;And
The transaction sending node generates public private key pair using the corresponding system parameter of the transaction sending node, saves private key, Public key and trace parameters are sent to the certificate authority.
5. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described Certificate release module, is specifically used for:
The public key of the transaction sending node in the certificate request module is received, the certificate authority utilizes the card The corresponding private key of book certification authority carries out signature to the public key of the transaction sending node and generates certificate, and the certificate is sent out Give the transaction sending node;
The certificate authority registers the transaction sending node in certificate registration unit, and by the transaction The certificate of sending node and the trace parameters are added in certificate repository.
6. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described Certificate is randomized module, is specifically used for:
After the transaction sending node receives certificate, signature verification is carried out to the certificate;
The transaction sending node is randomized the certificate and public key that are verified;
It will be randomized the validity of certificate using zero-knowledge proof technology proof, and the certificate after the randomization is sent to number Word moneytary operations module.
7. the traceable digital cash transaction system based on block chain according to claim 6, which is characterized in that
If the certification authentication that the transaction sending node receives passes through, the transaction sending node output 1 receives certificate;
If the certification authentication that the transaction sending node receives does not pass through, the transaction sending node output 0, and return to police Information is accused to the certificate authority.
8. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described Digital cash transaction modules, are specifically used for:
The transaction sending node generates the trading card comprising the randomization certificate of the transaction acceptance node, and is sent to Miner's node;
After miner's node receives the trading card, to the certificate and trading card progress validity after the randomization Verifying;
Reached common understanding between miner's node based on POW common recognition mechanism and generate new block, and to the friendship in the form of block chain Yi Dan is recorded, and transaction is completed.
9. the traceable digital cash transaction system based on block chain according to claim 1, which is characterized in that described User identity tracing module, is specifically used for:
After the certificate authority receives user identity tracking request, the certificate authority, which is transferred in certificate repository, to be owned Trace parameters when terminal device is registered;
The certificate authority according to it is described randomization certificate after public key and relevant parameter user identity is tracked.
CN201811393040.1A 2018-11-21 2018-11-21 Traceable block chain-based digital currency transaction system Active CN109583893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811393040.1A CN109583893B (en) 2018-11-21 2018-11-21 Traceable block chain-based digital currency transaction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811393040.1A CN109583893B (en) 2018-11-21 2018-11-21 Traceable block chain-based digital currency transaction system

Publications (2)

Publication Number Publication Date
CN109583893A true CN109583893A (en) 2019-04-05
CN109583893B CN109583893B (en) 2020-07-10

Family

ID=65923657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811393040.1A Active CN109583893B (en) 2018-11-21 2018-11-21 Traceable block chain-based digital currency transaction system

Country Status (1)

Country Link
CN (1) CN109583893B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110223067A (en) * 2019-06-12 2019-09-10 北京航空航天大学 A pair of of pay this extra method and system under a kind of chain with decentralization characteristic
CN110544167A (en) * 2019-07-25 2019-12-06 晋商博创(北京)科技有限公司 data processing method, server and storage medium of alliance chain
WO2020227920A1 (en) * 2019-05-14 2020-11-19 Daolicloud Information Technology (Beijing) Co., Ltd. Trustlessly agreeable distributed consensus authentication for identity as a public key
CN112365268A (en) * 2020-11-10 2021-02-12 深圳易派支付科技有限公司 Internet payment information system and method based on block chain architecture
CN112819467A (en) * 2021-02-23 2021-05-18 中国信息通信研究院 Privacy transaction method, device and system
CN113269649A (en) * 2021-06-16 2021-08-17 上海势炎信息科技有限公司 System and method for tracking digital currency
CN113364596A (en) * 2021-05-27 2021-09-07 南方科技大学 Ore digging method and device based on block chain, mobile terminal and storage medium
CN113450093A (en) * 2021-07-06 2021-09-28 山西特信环宇信息技术有限公司 Real-time consensus authentication method and system for digital change wallet based on cone block chain
CN113554436A (en) * 2020-04-24 2021-10-26 中国科学院信息工程研究所 User identity anonymization method, tracking method and system for block chain system
CN113554436B (en) * 2020-04-24 2024-07-02 中国科学院信息工程研究所 User identity anonymizing method, tracking method and system of blockchain system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106910072A (en) * 2017-02-15 2017-06-30 捷德(中国)信息科技有限公司 Digital cash management method and system
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
CN108537546A (en) * 2018-04-11 2018-09-14 北京奇虎科技有限公司 Node identities method for tracing, device and computing device based on number of addresses
EP3396612A1 (en) * 2017-04-24 2018-10-31 BlockSettle AB Method and system for creating a user identity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106910072A (en) * 2017-02-15 2017-06-30 捷德(中国)信息科技有限公司 Digital cash management method and system
EP3396612A1 (en) * 2017-04-24 2018-10-31 BlockSettle AB Method and system for creating a user identity
CN107911216A (en) * 2017-10-26 2018-04-13 矩阵元技术(深圳)有限公司 A kind of block chain transaction method for secret protection and system
CN108537546A (en) * 2018-04-11 2018-09-14 北京奇虎科技有限公司 Node identities method for tracing, device and computing device based on number of addresses

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MINGMING WANG,QIANHONG WU,等: "Lightweight and Manageable Digital Evidence Preservation System on Bitcoin", 《JOURNAL OR COMPUTER SCIENCE AND TECHNOLOGY》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020227920A1 (en) * 2019-05-14 2020-11-19 Daolicloud Information Technology (Beijing) Co., Ltd. Trustlessly agreeable distributed consensus authentication for identity as a public key
CN110223067A (en) * 2019-06-12 2019-09-10 北京航空航天大学 A pair of of pay this extra method and system under a kind of chain with decentralization characteristic
CN110223067B (en) * 2019-06-12 2021-04-06 北京航空航天大学 Under-chain one-to-many payment method and system with decentralized characteristic
CN110544167A (en) * 2019-07-25 2019-12-06 晋商博创(北京)科技有限公司 data processing method, server and storage medium of alliance chain
CN110544167B (en) * 2019-07-25 2022-03-01 晋商博创(北京)科技有限公司 Data processing method, server and storage medium of alliance chain based on CPK
CN113554436A (en) * 2020-04-24 2021-10-26 中国科学院信息工程研究所 User identity anonymization method, tracking method and system for block chain system
CN113554436B (en) * 2020-04-24 2024-07-02 中国科学院信息工程研究所 User identity anonymizing method, tracking method and system of blockchain system
CN112365268A (en) * 2020-11-10 2021-02-12 深圳易派支付科技有限公司 Internet payment information system and method based on block chain architecture
CN112819467A (en) * 2021-02-23 2021-05-18 中国信息通信研究院 Privacy transaction method, device and system
CN113364596A (en) * 2021-05-27 2021-09-07 南方科技大学 Ore digging method and device based on block chain, mobile terminal and storage medium
CN113269649A (en) * 2021-06-16 2021-08-17 上海势炎信息科技有限公司 System and method for tracking digital currency
CN113450093A (en) * 2021-07-06 2021-09-28 山西特信环宇信息技术有限公司 Real-time consensus authentication method and system for digital change wallet based on cone block chain
CN113450093B (en) * 2021-07-06 2023-02-24 山西特信环宇信息技术有限公司 Real-time consensus authentication method and system for digital change wallet based on cone block chain

Also Published As

Publication number Publication date
CN109583893B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109583893A (en) The traceable digital cash transaction system based on block chain
JP7203829B2 (en) Systems and methods for communicating, storing, and processing data provided by entities on a blockchain
US20200313884A1 (en) Smart contract execution using distributed coordination
US20190164153A1 (en) Blockchain system for confidential and anonymous smart contracts
EP3465578B1 (en) Methods and systems to establish trusted peer-to-peer communications between nodes in a blockchain network
CN107395349A (en) A kind of block chain network cryptographic key distribution method based on self-certified public key system
CN109889497B (en) Distrust-removing data integrity verification method
CN102170356B (en) Authentication system realizing method supporting exclusive control of digital signature key
Zhu et al. Interactive incontestable signature for transactions confirmation in bitcoin blockchain
CN107979840A (en) A kind of the car networking V2I Verification Systems and method of Key-insulated safety
CN103733564A (en) Digital signatures with implicit certificate chains
CN106059747A (en) Reusable public key certificate scheme based on public key infrastructure
CN103248478A (en) Multi-party security agreement based sealed electric auction scheme and verification method
US20220086006A1 (en) Computer-implemented system and method for asset mixing
CN108712259A (en) Identity-based acts on behalf of the efficient auditing method of cloud storage for uploading data
CN114424223A (en) Divisible token
CN115174570A (en) Cross-chain consensus method and system based on dynamic committee
Liu et al. A blockchain-based cross-domain authentication management system for IoT devices
CN103259658A (en) Interactive type zero-knowledge identity authentication method based on multivariate public-key cryptosystem
CN109102286A (en) Across account book method of commerce and device
Hu et al. Strong designated verifier signature schemes with undeniable property and their applications
CN111669268A (en) Block chain-based electronic data processing method and device and related products
TW202040967A (en) Computer-implemented system and method for determining or verifying location
Chalkias et al. HashWires: Hyperefficient credential-based range proofs
Javaid et al. A lightweight and secure energy trading framework for electric vehicles

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