CN109711821A - A kind of digital wallet transaction, creation method, device and storage medium - Google Patents

A kind of digital wallet transaction, creation method, device and storage medium Download PDF

Info

Publication number
CN109711821A
CN109711821A CN201811584498.5A CN201811584498A CN109711821A CN 109711821 A CN109711821 A CN 109711821A CN 201811584498 A CN201811584498 A CN 201811584498A CN 109711821 A CN109711821 A CN 109711821A
Authority
CN
China
Prior art keywords
digital wallet
pond
user
wallet
address
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.)
Pending
Application number
CN201811584498.5A
Other languages
Chinese (zh)
Inventor
刘霄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Culture Technology Co Ltd
Original Assignee
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MIGU Culture Technology Co Ltd filed Critical MIGU Culture Technology Co Ltd
Priority to CN201811584498.5A priority Critical patent/CN109711821A/en
Publication of CN109711821A publication Critical patent/CN109711821A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of digital wallet method of commerce, the digital wallet method of commerce is applied to block chain network, it include: the transaction request for receiving the first user and issuing, the transaction request is initiated to trade for characterizing first user to the virtual address in the digital wallet pond of second user;In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;The corresponding intelligent contract in the digital wallet pond is executed, the Transaction Information of first user and the Transaction Information of the second user are obtained to complete the transaction request by the intelligent contract.The invention also discloses a kind of digital wallet creation method, device and storage mediums.

Description

A kind of digital wallet transaction, creation method, device and storage medium
Technical field
The present invention relates to the digital wallet transaction technology in block chain network, especially a kind of digital wallet transaction, creation Method, apparatus and storage medium.
Background technique
In the prior art, mutual business contact is carried out using block catenary system between enterprise, individual, transaction is transferred accounts More and more frequently, carrier of the digital wallet in block chain as transaction, safety is particularly important, if the number of user Word wallet occurs wallet private key and loses, and the digital wallet that payer is still lost to private key for user carries out payment by the transfer of accounts, and user is simultaneously It can not know the performance of payment, the assets in the digital wallet can not be used, cause the monetary losses of user, Accordingly, it is desirable to provide a kind of digital wallet method of commerce, allow digital wallet pond of the transaction payment side to transaction acceptance side It issues transaction request and triggers the corresponding intelligent corresponding digital wallet of contract choice of execution and complete transaction, user is losing as a result, Lose digital wallet private key when, can timely be adjusted by intelligent contract user receive payment by the transfer of accounts digital wallet, avoid by The payment of user is influenced in losing digital wallet private key.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of digital wallet transaction, creation method, device and storages to be situated between While guaranteeing to carry out digital wallet transaction normal through block chain network number wallet private key can occur for matter When loss, subsequent transaction can be kept unaffected by modifying configuration.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of digital wallet method of commerce, the digital wallet method of commerce is applied to block Chain network, comprising:
The transaction request of the first user sending is received, the transaction request is for characterizing first user to second user Digital wallet pond virtual address initiate transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, the friendship of first user is obtained by the intelligent contract The Transaction Information of easy information and the second user is to complete the transaction request.
It is described to execute the corresponding intelligent contract in the digital wallet pond in above scheme, it is obtained by the intelligent contract The Transaction Information of first user and the Transaction Information of the second user are to complete the transaction request, comprising:
Based on the corresponding intelligent contract in the digital wallet pond, the first digital wallet address, the described first digital money are obtained Packet address is the digital wallet actual address of first user;
It is corresponding using strategy according to the digital wallet pond, determine the second digital wallet address, the described second digital money Packet address is the actual address of the digital wallet of the second user;
According to the actual address of the digital wallet address of first user and the digital wallet of second user, described in completion Transaction request.
It is described to determine the second digital wallet address using strategy according to the digital wallet pond is corresponding in above scheme, Include:
Based on the digital wallet pond intelligence contract, determine primary digital wallet in the digital wallet pond practically Location;
By the actual address of the primary digital wallet, as the second digital wallet address.
It is described corresponding using strategy according to the digital wallet pond in above scheme, determine the digital money of second user The actual address of packet, comprising:
Based on the digital wallet pond intelligence contract, any one digital wallet in the digital wallet pond is randomly choosed Actual address;
By randomly selected actual address, as the second digital wallet address.
In above scheme, the method also includes:
When being verified by the transaction key in the digital wallet pond, in response to the adjustment instruction of first user, adjust The configuration in the whole digital wallet pond.
In above scheme, the adjustment instruction in response to first user adjusts the configuration in the digital wallet pond, Include:
The primary digital wallet in the digital wallet pond is adjusted using strategy according to the digital wallet pond is corresponding, The actual address of primary digital wallet in the digital wallet pond adjusted and the use strategy are stored in the area In block chain network in corresponding node.
In above scheme, the adjustment instruction in response to first user adjusts the configuration in the digital wallet pond, Include:
The primary wallet in the digital wallet pond is abandoned using strategy according to the digital wallet pond is corresponding, and The primary digital wallet of determination newly in spare wallet, by digital wallet pond virtual address adjusted, the digital money The actual address of the digital wallet of Bao Chizhong and the use strategy are stored in the block chain network in corresponding node.
The embodiment of the invention also provides a kind of digital wallet creation method, the digital wallet creation method is applied to area Block chain network, comprising:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond includes The actual address of at least one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is institute State the address that digital wallet pond is externally traded;
Determine the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligence in the digital wallet pond is closed About for when receiving transaction request, determine from the actual address of at least one digital wallet for trading Actual address.
In above scheme, it is described in response to it is received creation digital wallet pond request, creation include at least one number The digital wallet pond of the actual address of word wallet, comprising:
Determine the actual address of the corresponding digital wallet to be added of third user;
The actual address of the digital wallet to be added of identified third user is added to the digital wallet pond, with Form the actual address of digital wallet corresponding with the virtual address in the digital wallet pond;
It determines corresponding with the digital wallet pond using strategy;
Determine virtual address corresponding with the digital wallet pond and corresponding transaction key;
By the actual address of the digital wallet in digital wallet pond virtual address, the digital wallet pond and described make It is stored in the block chain network in corresponding node with strategy.
In above scheme, the actual address of the corresponding digital wallet to be added of the determining third user, comprising:
The association identification in the corresponding all digital wallets of the third user is read, the association identification is for characterizing The no user to block chain network discloses corresponding digital wallet;
Based on the association identification of the read digital wallet, the corresponding number to be added of the third user is determined Wallet, and obtain the actual address of the digital wallet to be added.
In above scheme, the determination is corresponding with the digital wallet pond to use strategy, comprising:
A digital wallet in the digital wallet pond is determined as primary digital wallet, in the digital wallet pond Remaining digit wallet is redundant digital wallet, and the spare wallet is in locking state.
In above scheme, the determination is corresponding with the digital wallet pond to use strategy, comprising:
When starting process of exchange, a digital wallet in the digital wallet pond is selected to carry out by Random matching algorithm It trades, the remaining digit wallet in the digital wallet pond is in locking state.
In above scheme, determination digital wallet pond intelligence contract corresponding with the digital wallet pond, comprising:
Determine the executing subject of the digital wallet pond intelligence contract;
Based on the digital wallet pond virtual address determine in the digital wallet pond actual address of digital wallet and It is corresponding to use strategy;
Provide the executing rule of the digital wallet pond intelligence contract.
The embodiment of the invention also provides a kind of digital wallet the transaction device, the digital wallet method of commerce is applied to area Block chain network, comprising:
First information transmission module, for receiving the transaction request of the first user sending, the transaction request is for characterizing First user initiates to trade to the virtual address in the digital wallet pond of second user;
First processing module, for triggering the digital wallet pond of the second user in response to a received transaction request Corresponding intelligent contract;
The first processing module is closed for executing the corresponding intelligent contract in the digital wallet pond by the intelligence Obtain the Transaction Information of first user and the Transaction Information of the second user about to complete the transaction request.
In above scheme,
The first processing module, for obtaining the first digital money based on the corresponding intelligent contract in the digital wallet pond Packet address, first digital wallet address are the digital wallet actual address of first user;
The first processing module determines the second digital money for using strategy according to the digital wallet pond is corresponding Packet address, second digital wallet address are the actual address of the digital wallet of the second user;
The first processing module, for according to the digital wallet address of first user and the digital money of second user The actual address of packet completes the transaction request.
In above scheme,
The first processing module determines in the digital wallet pond for being based on the digital wallet pond intelligence contract Primary digital wallet actual address;
The first processing module, for by the actual address of the primary digital wallet, as the second digital wallet Location.
In above scheme,
The first processing module randomly chooses the digital wallet for being based on the digital wallet pond intelligence contract The actual address of any one digital wallet in pond;
The first processing module is used for by randomly selected actual address, as the second digital wallet address.
In above scheme, described device further include:
Module is adjusted, for when verifying by the transaction key in the digital wallet pond, in response to first user Adjustment instruction, adjust the configuration in the digital wallet pond.
In above scheme,
The adjustment module adjusts the digital wallet pond for using strategy according to the digital wallet pond is corresponding In primary digital wallet;
The first processing module, for by the primary digital wallet in the digital wallet pond adjusted practically Location and the use strategy are stored in the block chain network in corresponding node.
In above scheme,
The adjustment module abandons the digital wallet pond for using strategy according to the digital wallet pond is corresponding In primary wallet, and the primary digital wallet that determination in spare wallet is new;
The first processing module is used for digital wallet pond virtual address adjusted, the digital wallet pond In digital wallet actual address and described be stored in the block chain network in corresponding node using strategy.
The embodiment of the invention also provides a kind of digital wallet creating device, the digital wallet creating device is applied to area Block chain network, comprising:
Second information transmission modular, for receiving the request in creation digital wallet pond;
Second processing module, in response to it is received creation digital wallet pond request, create digital wallet pond, institute The actual address that digital wallet pond includes at least one digital wallet is stated, the digital wallet pond corresponds to a virtual address, The virtual address is the address that the digital wallet pond is externally traded;
The Second processing module, for determining the intelligent contract in digital wallet pond corresponding with the digital wallet pond, The intelligent contract in the digital wallet pond is used for when receiving transaction request, practically from least one described digital wallet The actual address for trading is determined in location.
In above scheme,
The Second processing module, for determining the actual address of the corresponding digital wallet to be added of third user;
The Second processing module, for adding the actual address of the digital wallet to be added of identified third user The digital wallet pond is added to, to form the actual address of digital wallet corresponding with the virtual address in the digital wallet pond;
The Second processing module, it is corresponding with the digital wallet pond using strategy for determining;
The Second processing module, for determine corresponding with digital wallet pond virtual address and it is corresponding trade it is close Key;
The Second processing module, for by the number in digital wallet pond virtual address, the digital wallet pond The actual address of wallet and the use strategy are stored in the block chain network in corresponding node.
In above scheme,
The Second processing module, for reading the association identification in the corresponding all digital wallets of the third user, Whether the association identification to the user of block chain network discloses corresponding digital wallet for characterizing;
The Second processing module determines the third for the association identification based on the read digital wallet The corresponding digital wallet to be added of user, and obtain the actual address of the digital wallet to be added.
In above scheme,
The Second processing module, for a digital wallet in the digital wallet pond to be determined as primary digital money It wraps, the remaining digit wallet in the digital wallet pond is redundant digital wallet, wherein the spare wallet is in locked shape State.
In above scheme,
The Second processing module when for starting process of exchange, selects the digital wallet by Random matching algorithm A digital wallet in pond is traded, and the remaining digit wallet in the digital wallet pond is in locking state.
In above scheme,
The Second processing module, for determining the executing subject of the digital wallet pond intelligence contract;
The Second processing module, for being determined in the digital wallet pond based on the virtual address in the digital wallet pond The actual address of digital wallet uses strategy with corresponding;
The Second processing module, for providing the executing rule of the digital wallet pond intelligence contract.
The embodiment of the invention also provides a kind of digital wallet the transaction devices, comprising:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
The transaction request of the first user sending is received, the transaction request is for characterizing first user to second user Digital wallet pond virtual address initiate transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, the friendship of first user is obtained by the intelligent contract The Transaction Information of easy information and the second user is to complete the transaction request.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored with executable instruction, can be performed Instruction realizes operation below when being executed by processor:
The transaction request of the first user sending is received, the transaction request is for characterizing first user to second user Digital wallet pond virtual address initiate transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, the friendship of first user is obtained by the intelligent contract The Transaction Information of easy information and the second user is to complete the transaction request.
The embodiment of the invention also provides a kind of digital wallet creating devices, comprising:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond includes The actual address of at least one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is institute State the address that digital wallet pond is externally traded;
Determine the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligence in the digital wallet pond is closed About for when receiving transaction request, determine from the actual address of at least one digital wallet for trading Actual address.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored with executable instruction, can be performed Instruction realizes operation below when being executed by processor:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond includes The actual address of at least one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is institute State the address that digital wallet pond is externally traded;
Determine the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligence in the digital wallet pond is closed About for when receiving transaction request, determine from the actual address of at least one digital wallet for trading Actual address.
The embodiment of the present invention enables to transaction payment side that can ask to the sending transaction of the digital wallet pond of transaction acceptance side It asks and triggers the corresponding intelligent corresponding digital wallet of contract choice of execution and complete transaction, guaranteeing as a result, normal through block In the case that chain network carries out digital wallet transaction, when number wallet private key loss occurs, modification can be passed through and configured Keep subsequent transaction unaffected, avoiding influences the payment of user due to losing digital wallet private key, meanwhile, the embodiment of the present invention Disclosed digital wallet creation method can create the digital wallet pond including multiple digital wallets, allow users to lead to The digital wallet crossed in created digital wallet pond completes corresponding transaction.
Detailed description of the invention
Figure 1A is the institutional framework schematic diagram of digital cash used in digital wallet process of exchange in the embodiment of the present invention;
Figure 1B is digital wallet process of exchange schematic diagram in the prior art;
Fig. 2 is one optional process schematic of digital wallet method of commerce provided in an embodiment of the present invention;
Fig. 3 is one optional process schematic of digital wallet method of commerce provided in an embodiment of the present invention;
Fig. 4 is 400 1 optional process schematics of digital wallet the transaction device provided in an embodiment of the present invention;
Fig. 5 is one optional process schematic of digital wallet creation method provided in an embodiment of the present invention;
Fig. 6 is one optional process schematic of digital wallet creation method provided in an embodiment of the present invention;
Fig. 7 is 700 1 optional process schematics of digital wallet creating device provided in an embodiment of the present invention;
Fig. 8 is one optional composition schematic diagram of digital wallet of embodiment of the present invention the transaction device;
Fig. 9 is one optional composition schematic diagram of digital wallet of embodiment of the present invention the transaction device.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, described embodiment is not construed as limitation of the present invention, and those of ordinary skill in the art are not having All other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term used herein is intended merely to the purpose of the description embodiment of the present invention, It is not intended to limit the present invention.
Before the embodiment of the present invention is further elaborated, to noun involved in the embodiment of the present invention and term It is illustrated, noun involved in the embodiment of the present invention and term are suitable for following explanation.
1) Transaction Information is characterization by block chain network progress information exchange, for example, trade between carrying out account, Trading Authorization access, account trading fusing.
2) new block is included in a series of, the acentric node of block chain by block chain network by way of common recognition Set, there is the ability for disposing intelligent contract.
3) intelligent contract, the program that execution is triggered according to condition being deployed in block chain network, for example, in the area In block chain network complete to each single item included in first Transaction Information do not spend transaction export signature verification with it is corresponding The process verified of matching of public key can be carried out by corresponding intelligent contract automatic trigger.
4) digital wallet is deployed in block chain network, and transaction undertakes carrier, wherein each digital wallet has Corresponding digital wallet address.
5) digital wallet pond is deployed in block chain network, including at least two different digital wallets, the number money Block chain network described in Bao Chixiang provides a common transaction address, during carrying on a deal, by included At least one digital wallet complete.
Illustrate to realize in block chain network shown in the embodiment of the present invention first, digital cash used in process of exchange Institutional framework.
Figure 1A is the institutional framework schematic diagram of digital cash used in digital wallet process of exchange in the embodiment of the present invention, It wherein, is the initiator of transaction from the owner 1, the owner 2 is the recipient of transaction, and during transaction, input includes all The digital signature of person 1 can be used for verifying all specifically, can be the digital signature and public key of the public key for the owner 1 The assets that person 0 binds on the public key of the owner 1, output include the public key Hash of the owner 2;When the owner 2 uses in transaction 2 The digital signature signed using the private key of the owner 2 for the public key of the owner 2 when assets obtained and the owner 2 Public key is verified.Further, it also needs to verify participating user's identity of transaction in process of exchange, in scheming For transaction 1 (the 1st transaction), owner 0 obtains a stroke numeral assets by transaction 1, if necessary to be transferred to by transaction 1 Owner 1, then the transaction that client (can show as the node with wallet function) is submitted includes:
1) in the input of the data structure of transaction 1, digital signature (the i.e. owner 0 of the private key signature including owner 0 Signature, for owner 0 transaction 1 in obtain digital asset public key sign).
2) in the output of transaction 1, the public key Hash including owner 1.Exporting in script further includes encrypted transmission ciphertext.
Wherein, encrypted transmission ciphertext includes the identity coding of the sender of i.e. current transaction 1, numeral system information and timestamp Sequence, numeral system information numeral system used by identity coding to indicate.Above- mentioned information are with the public key of the owner 1 currently to trade It is encrypted.When owner 1 needs that the digital asset obtained in transaction 1 is transferred to owner 2 by client, client End utilizes the encrypted transmission ciphertext such as under type in the output for forming transaction 2.
The identity coding of owner 0, base are obtained after decrypting using the private key of owner 1 to the encrypted transmission ciphertext of transaction 1 It is updated to obtain the identity coding of owner 1 in the identity coding of owner 0, and by updated identity coding (that is, transaction 2 sender: the identity coding of owner 1) utilize the public key of the recipient currently to trade (that is, next bit owner, reference are worked as The owner 2 of next transaction of preceding transaction) public key according to irreversible encryption algorithm such as elliptic curve cryptography (ECC) algorithm Cryptographic calculation is carried out, encrypted transmission ciphertext is formed.
Figure 1B is digital wallet process of exchange schematic diagram in the prior art, wherein the mistake that user 1 transfers accounts to user 2 Cheng Zhong, user 2 notify the digital wallet address of user 1 itself, and user 1 passes through the digital wallet of itself to the digital money of user 2 Packet address is transferred accounts, and the defect of this mode is to be lost if wallet private key occurs for the digital wallet of user, it will is caused Payer is paid without the digital wallet of normal direction user, is influenced its affiliate and is transferred accounts to the user.
Fig. 2 is one optional process schematic of digital wallet method of commerce provided in an embodiment of the present invention, such as Fig. 2 institute Show, digital wallet method of commerce one optional process provided in an embodiment of the present invention the following steps are included:
Step 201: receive the first user issue transaction request, the transaction request for characterize first user to The virtual address in the digital wallet pond of second user initiates transaction;
Step 202: in response to the received transaction request of institute, triggering intelligence corresponding to the digital wallet pond of the second user It can contract;
Step 203: executing the corresponding intelligent contract in the digital wallet pond, obtain described first by the intelligent contract The Transaction Information of user and the Transaction Information of the second user are to complete the transaction request.
In one embodiment of the invention, described to execute the corresponding intelligent contract in the digital wallet pond, by described Intelligent contract obtains the Transaction Information of first user and the Transaction Information of the second user to complete the transaction request, Include:
Based on the corresponding intelligent contract in the digital wallet pond, the first digital wallet address, the described first digital money are obtained Packet address is the digital wallet actual address of first user;It is corresponding using strategy according to the digital wallet pond, it determines Second digital wallet address, second digital wallet address are the actual address of the digital wallet of the second user;According to The actual address of the digital wallet of the digital wallet address and second user of first user, completes the transaction request.
Technical solution shown in through this embodiment, during executing transaction request, due to the second user Include at least two digital wallets in digital wallet pond, therefore, can be determined by the way that digital wallet pond is corresponding using strategy Which of digital wallet pond digital wallet participates in this time trading, and passes through the corresponding intelligent contract in digital wallet pond, Available first digital wallet address, the first digital wallet address here be the digital wallet of first user practically Location, it is possible thereby to execute from digital wallet address the transferring accounts to the actual address of the digital wallet of second user of the first user Journey.
In one embodiment of the invention, described corresponding using strategy according to the digital wallet pond, determine second Digital wallet address, comprising:
Based on the digital wallet pond intelligence contract, determine primary digital wallet in the digital wallet pond practically Location;By the actual address of the primary digital wallet, as the second digital wallet address.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet, will be identified as spare wallet It is solidificated in the intelligent contract in the digital wallet pond using strategy, it, can be true by intelligent contract as a result, in process of exchange The actual address of primary wallet in the fixed digital wallet pond is to complete to trade accordingly.
In one embodiment of the invention, described corresponding using strategy according to the digital wallet pond, determine second The actual address of the digital wallet of user, comprising:
Based on the digital wallet pond intelligence contract, any one digital wallet in the digital wallet pond is randomly choosed Actual address;By randomly selected actual address, as the second digital wallet address.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet is as spare wallet, due to block chain The selection that excessively frequent transaction is easy to happen primary wallet in fusing therefore the present embodiment in network is then selected at random, is passed through Caused fixed master can only be carried out to avoid the transaction of user by fixed primary digital wallet by randomly choosing primary wallet It is frequent with digital wallet transaction.It is solidificated in identified in the intelligent contract in the digital wallet pond using strategy, is existed as a result, In process of exchange, the actual address of the primary wallet in the digital wallet pond can be determined to complete at random by intelligent contract Corresponding transaction.Further, due to receive payment primary digital wallet be in each process of exchange it is randomly selected, Therefore, compared to fixed primary digital wallet is possessed the case where, the money in the wallet pond of the present embodiment in each digital wallet Gold distribution is all more balanced, when avoiding the fund in digital wallet and excessively concentrating, key lose caused by user's property loss.
In one embodiment of the invention, the method also includes:
When being verified by the transaction key in the digital wallet pond, in response to the adjustment instruction of first user, adjust The configuration in the whole digital wallet pond.
Technical solution shown in through this embodiment can pass through when user loses the key of some digital wallet Adjustment instruction adjusts the configuration in digital wallet pond to realize the primary digital wallet of switching, and avoiding losing due to key influences user Transaction carry out.Certainly, before user issues adjustment instruction, user needs the verifying of the transaction key by digital wallet pond, To guarantee the safety in number wallet pond.
In one embodiment of the invention, the adjustment instruction in response to first user, adjusts the number The configuration in wallet pond, comprising:
The primary digital wallet in the digital wallet pond is adjusted using strategy according to the digital wallet pond is corresponding, The actual address of primary digital wallet in the digital wallet pond adjusted and the use strategy are stored in the area In block chain network in corresponding node.
Technical solution shown in through this embodiment, the primary digital wallet in the digital wallet pond be select at random when, The wallet of Lost Security Key can be removed, the digital wallet that key is lost in random selection process is avoided to be selected as leading It is participated in business with digital wallet.
In one embodiment of the invention, the adjustment instruction in response to first user is stated, the digital money is adjusted The configuration of Bao Chi, comprising:
The primary wallet in the digital wallet pond is abandoned using strategy according to the digital wallet pond is corresponding, and The primary digital wallet of determination newly in spare wallet, by digital wallet pond virtual address adjusted, the digital money The actual address of the digital wallet of Bao Chizhong and the use strategy are stored in the block chain network in corresponding node.
Technical solution shown in through this embodiment, when there is fixed primary wallet in the digital wallet pond, when When the key of primary digital wallet is lost, primary digital wallet, tool can be replaced by the intelligent contract in the digital wallet pond Body process includes: to select a digital wallet as new primary digital wallet in the redundant digital wallet in digital wallet pond, And by the actual address of the digital wallet in digital wallet pond virtual address adjusted, the digital wallet pond and described It is stored in the block chain network in corresponding node using strategy, to realize the old master for replacing and being saved in intelligent contract With digital wallet, primary wallet key loss old in process of exchange is avoided to participate in business.
Fig. 3 is one optional process schematic of digital wallet method of commerce provided in an embodiment of the present invention, such as Fig. 3 institute Show, digital wallet method of commerce one optional process provided in an embodiment of the present invention the following steps are included:
Step 301: user 1 initiates money transfer transactions to user 2;
Wherein, destination address is the intelligent contract address traded towards digital wallet, and input data is the number of user 2 Wallet address.
Step 302: executing corresponding intelligent contract;
Wherein, intelligent contract obtains 1 wallet address of user, while obtaining the user 2 in transaction data (input data) Digital wallet address because intelligent contract is executed in 2 place block chain link point of user, therefore can obtain the number stored on present node Word wallet Key-Value configuration data, then through 2 digital wallet address of user from digital wallet Key-Value configuration data Its practical wallet address is found, if the use of strategy being active and standby strategy, the wallet address of user 2 is uniquely determined, if used Strategy is random selection strategy, then obtains an address from practical wallet address list at random, with obtaining the practical wallet of user 2 Behind location, completed by intelligent contract from user 1 to the money transfer transactions of 2 wallet address of user.
Wherein, the digital wallet pond of user 2 includes multiple digital wallets, and the digital wallet pond of user 2 can be using master Standby to use strategy, at this point, a digital wallet in digital wallet pond is as primary digital wallet, remaining digital wallet is as standby Use digital wallet;Alternatively, strategy can be used using random selection, at this point, in transaction carry out process, it can be in the digital money Bao Chizhong randomly chooses a digital wallet as primary digital wallet by the intelligent contract.
Fig. 4 is 400 1 optional process schematics of digital wallet the transaction device provided in an embodiment of the present invention, such as Fig. 4 Shown, digital wallet the transaction device provided in an embodiment of the present invention includes:
First information transmission module 401, for receiving the transaction request of the first user sending, the transaction request is used for table It levies first user and initiates to trade to the virtual address in the digital wallet pond of second user;
First processing module 402, for triggering the digital wallet of the second user in response to a received transaction request Intelligent contract corresponding to pond;
The first processing module 402 passes through the intelligence for executing the corresponding intelligent contract in the digital wallet pond Contract obtains the Transaction Information of first user and the Transaction Information of the second user to complete the transaction request.
In one embodiment of the invention, the first processing module 402, for corresponding based on the digital wallet pond Intelligent contract, obtain the first digital wallet address, first digital wallet address be first user digital wallet Actual address;The first processing module 402 determines the second number for using strategy according to the digital wallet pond is corresponding Word wallet address, second digital wallet address are the actual address of the digital wallet of the second user;At described first Module 402 is managed, it is complete for the actual address according to the digital wallet of the digital wallet address and second user of first user At the transaction request.
Technical solution shown in through this embodiment, during executing transaction request, due to the second user Include at least two digital wallets in digital wallet pond, therefore, can be determined by the way that digital wallet pond is corresponding using strategy Which of digital wallet pond digital wallet participates in this time trading, and passes through the corresponding intelligent contract in digital wallet pond, Available first digital wallet address, the first digital wallet address here be the digital wallet of first user practically Location, it is possible thereby to execute from digital wallet address the transferring accounts to the actual address of the digital wallet of second user of the first user Journey.
In one embodiment of the invention, the first processing module 402, for based on the digital wallet pond intelligence Contract determines the actual address of the primary digital wallet in the digital wallet pond;
The first processing module 402, for by the actual address of the primary digital wallet, as the second digital wallet Address.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet, will be identified as spare wallet It is solidificated in the intelligent contract in the digital wallet pond using strategy, it, can be true by intelligent contract as a result, in process of exchange The actual address of primary wallet in the fixed digital wallet pond is to complete to trade accordingly.
In one embodiment of the invention, the first processing module 402, for based on the digital wallet pond intelligence Contract randomly chooses the actual address of any one digital wallet in the digital wallet pond;
The first processing module 402 is used for by randomly selected actual address, as the second digital wallet address.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet is as spare wallet, due to block chain The selection that excessively frequent transaction is easy to happen primary wallet in fusing therefore the present embodiment in network is then selected at random, is passed through Caused fixed master can only be carried out to avoid the transaction of user by fixed primary digital wallet by randomly choosing primary wallet It is frequent with digital wallet transaction.It is solidificated in identified in the intelligent contract in the digital wallet pond using strategy, is existed as a result, In process of exchange, the actual address of the primary wallet in the digital wallet pond can be determined to complete at random by intelligent contract Corresponding transaction.Further, due to receive payment primary digital wallet be in each process of exchange it is randomly selected, Therefore, compared to fixed primary digital wallet is possessed the case where, the money in the wallet pond of the present embodiment in each digital wallet Gold distribution is all more balanced, when avoiding the fund in digital wallet and excessively concentrating, key lose caused by user's property loss.
In one embodiment of the invention, described device further include:
Module (not shown) is adjusted, for when being verified by the transaction key in the digital wallet pond, in response to The adjustment instruction of first user adjusts the configuration in the digital wallet pond.
Technical solution shown in through this embodiment can pass through when user loses the key of some digital wallet Adjustment instruction adjusts the configuration in digital wallet pond to realize the primary digital wallet of switching, and avoiding losing due to key influences user Transaction carry out.Certainly, before user issues adjustment instruction, user needs the verifying of the transaction key by digital wallet pond, To guarantee the safety in number wallet pond.
In one embodiment of the invention, the adjustment module, for according to the corresponding use in the digital wallet pond Strategy adjusts the primary digital wallet in the digital wallet pond;
The first processing module 402, for by the reality of the primary digital wallet in the digital wallet pond adjusted Border address and the use strategy are stored in the block chain network in corresponding node.
Technical solution shown in through this embodiment, the primary digital wallet in the digital wallet pond be select at random when, The wallet of Lost Security Key can be removed, the digital wallet that key is lost in random selection process is avoided to be selected as leading It is participated in business with digital wallet.
In one embodiment of the invention, the adjustment module, for according to the corresponding use in the digital wallet pond Strategy abandons the primary wallet in the digital wallet pond, and the primary digital wallet that the determination in spare wallet is new;
The first processing module 402 is used for digital wallet pond virtual address adjusted, the digital wallet The actual address of digital wallet in pond and the use strategy are stored in the block chain network in corresponding node.
Technical solution shown in through this embodiment, when there is fixed primary wallet in the digital wallet pond, when When the key of primary digital wallet is lost, primary digital wallet, tool can be replaced by the intelligent contract in the digital wallet pond Body process includes: to select a digital wallet as new primary digital wallet in the redundant digital wallet in digital wallet pond, And by the actual address of the digital wallet in digital wallet pond virtual address adjusted, the digital wallet pond and described It is stored in the block chain network in corresponding node using strategy, to realize the old master for replacing and being saved in intelligent contract With digital wallet, primary wallet key loss old in process of exchange is avoided to participate in business.
Fig. 5 is one optional process schematic of digital wallet creation method provided in an embodiment of the present invention, such as Fig. 5 institute Show, digital wallet creation method one optional process provided in an embodiment of the present invention the following steps are included:
Step 501: receiving the request in creation digital wallet pond;
Step 502: in response to it is received creation digital wallet pond request, create digital wallet pond;
Wherein, the digital wallet pond includes the actual address of at least one digital wallet, and the digital wallet pond is corresponding In a virtual address, the virtual address is the address that the digital wallet pond is externally traded;
Step 503: determining the intelligent contract in digital wallet pond corresponding with the digital wallet pond;
Wherein, the intelligent contract in the digital wallet pond is used for when receiving transaction request, from least one described number The actual address for trading is determined in the actual address of word wallet.
In one embodiment of the invention, it is described in response to it is received creation digital wallet pond request, creation packet Include the digital wallet pond of the actual address of at least one digital wallet, comprising:
Determine the actual address of the corresponding digital wallet to be added of third user;By identified third user wait add The actual address of the digital wallet added is added to the digital wallet pond, to form the virtual address pair with the digital wallet pond The actual address for the digital wallet answered;It determines corresponding with the digital wallet pond using strategy;The determining and digital wallet The corresponding virtual address in pond and corresponding transaction key;It will be in digital wallet pond virtual address, the digital wallet pond The actual address of digital wallet and the use strategy are stored in the block chain network in corresponding node.
Technical solution shown in through this embodiment is being created when third user is there are when multiple and different digital wallets During digital wallet pond, third user, which can choose, needs digital wallet to be added, by by identified third user The actual address of digital wallet to be added be added to the digital wallet pond, it is virtual with the digital wallet pond to be formed The actual address of the corresponding digital wallet in address;Wherein, the digital wallet only shows that virtual address connects in situation network Mouthful;Further, through this embodiment shown in technical solution, can also determine corresponding with the digital wallet pond using plan Slightly;Determine virtual address corresponding with the digital wallet pond and corresponding transaction key;Virtually by the digital wallet pond Location, digital wallet in the digital wallet pond actual address and described be stored in phase in the block chain network using strategy In the node answered, complete, the digital wallet pond including multiple digital wallets is thus formed.
In one embodiment of the invention, the corresponding digital wallet to be added of the determining third user is practically Location, comprising:
The association identification in the corresponding all digital wallets of the third user is read, the association identification is for characterizing The no user to block chain network discloses corresponding digital wallet;Based on the association identification of the read digital wallet, really Determine the corresponding digital wallet to be added of the third user, and obtains the actual address of the digital wallet to be added.
Technical solution shown in through this embodiment, when the third user possesses multiple digital wallets, third user User of all wallets that may be not intended to be possessed into block chain network discloses, therefore, by reading the third Association identification in the corresponding all digital wallets of user can determine the corresponding digital money to be added of the third user Packet, and the actual address of the digital wallet to be added is obtained, user is wished that disclosed digital wallet is added to accordingly In digital wallet pond, to promote the privacy in the digital wallet pond of user.
In one embodiment of the invention, the determination is corresponding with the digital wallet pond uses strategy, comprising:
A digital wallet in the digital wallet pond is determined as primary digital wallet, in the digital wallet pond Remaining digit wallet is redundant digital wallet, and the spare wallet is in locking state.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet, will be identified as spare wallet It is solidificated in the intelligent contract in the digital wallet pond using strategy, it, can be true by intelligent contract as a result, in process of exchange The actual address of primary wallet in the fixed digital wallet pond is to complete to trade accordingly, further, due to digital wallet The digital wallet for including in pond it is large number of, therefore, spare money when using fixed digital wallet, in digital wallet pond Packet is in locking state, can generate mistake to avoid transaction.
In one embodiment of the invention, the determination is corresponding with the digital wallet pond uses strategy, comprising:
When starting process of exchange, a digital wallet in the digital wallet pond is selected to carry out by Random matching algorithm It trades, the remaining digit wallet in the digital wallet pond is in locking state.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet is as spare wallet, due to block chain The selection that excessively frequent transaction is easy to happen primary wallet in fusing therefore the present embodiment in network is then selected at random, is passed through Caused fixed master can only be carried out to avoid the transaction of user by fixed primary digital wallet by randomly choosing primary wallet It is frequent with digital wallet transaction.It is solidificated in identified in the intelligent contract in the digital wallet pond using strategy, is existed as a result, In process of exchange, the actual address of the primary wallet in the digital wallet pond can be determined to complete at random by intelligent contract Corresponding transaction.Further, random selection is selected as due to primary digital wallet, only handed in digital wallet During easily, remaining redundant digital wallet is in locking state.
In one embodiment of the invention, determination digital wallet pond corresponding with the digital wallet pond is intelligently closed About, comprising:
Determine the executing subject of the digital wallet pond intelligence contract;It is determined based on the virtual address in the digital wallet pond The actual address of digital wallet uses strategy with corresponding in the digital wallet pond;Provide the digital wallet pond intelligence contract Executing rule.
Technical solution shown in through this embodiment, when the third user possesses multiple digital wallets, third user User of all wallets that may be not intended to be possessed into block chain network discloses, therefore, can be only to block link network Other users in network only show the virtual address in the digital wallet pond, are intelligently closed by the digital wallet pond of defined Executing rule about can determine the digital wallet pond based on the virtual address in the digital wallet pond when trading generation The actual address of middle digital wallet uses strategy with corresponding.
Fig. 6 is one optional process schematic of digital wallet creation method provided in an embodiment of the present invention, such as Fig. 6 institute Show, digital wallet method of commerce one optional process provided in an embodiment of the present invention the following steps are included:
Step 601: user logs in any wallet and operates, and creates digital wallet pond, generates wallet pond virtual address simultaneously Wallet pond operation password is set.
Step 602: several practical wallets of oneself are added to by digital wallet pond by wallet pond operation password.
Step 603: after addition digital wallet, being arranged accordingly using strategy.
Wherein, first way are as follows: a main prepare more strategy is set as by operation password, sets one of wallet to Main wallet, other, wallet is automatically set as standby wallet, and only main wallet can trade;
Wherein, the second way are as follows: random selection strategy is set as by operation password, when transaction passes through random algorithm and selects In wallet pond wallet is selected to trade.
Step 604: the practical wallet for including by digital wallet address that step 601-603 is created, digital wallet pond Location is saved on the block chain node of active user using configuration datas such as strategies.
Wherein, data format Key-Value form, Key are digital wallet address, and Value includes using strategy, practical money Packet address list, main wallet address list.
Step 605: constructing and dispose the intelligent contract towards digital wallet transaction;
Wherein, block chain link point executes where which only allows to be fabricated user, and entering ginseng is digital wallet address, holds Line discipline is that wallet pond configuration data is obtained from block chain link point where user, by entering parameter word wallet address, is obtained real Money transfer transactions are completed behind wallet address in border.
Step 606: user being supported to modify digital wallet pond by operation password and use strategy;
Specifically, when user some wallet private key lose, other wallets can be logged in, if using strategy be it is active and standby, lose The wallet for losing private key is main wallet, and need to first pass through operation password to switch other wallets is main wallet, otherwise will directly lose private key Wallet removed from digital wallet pond, the update of modified configuration data is saved on the block chain node of active user.
Fig. 7 is 700 1 optional process schematics of digital wallet creating device provided in an embodiment of the present invention, such as Fig. 7 Shown, digital wallet creating device provided in an embodiment of the present invention includes:
Second information transmission modular 701, for receiving the request in creation digital wallet pond;
Second processing module 702, in response to it is received creation digital wallet pond request, create digital wallet Pond, the digital wallet pond include the actual address of at least one digital wallet, and the digital wallet pond corresponds to one virtually Address, the virtual address are the address that the digital wallet pond is externally traded;
The Second processing module 702, for determining that the intelligence in digital wallet pond corresponding with the digital wallet pond is closed About, the intelligent contract in the digital wallet pond is used for when receiving transaction request, from the reality of at least one digital wallet The actual address for trading is determined in the address of border.
In one embodiment of the invention, the Second processing module 702, for determining that third user is corresponding wait add The actual address of the digital wallet added;
The Second processing module 702, for by the digital wallet to be added of identified third user practically Location is added to the digital wallet pond, to form digital wallet corresponding with the virtual address in the digital wallet pond practically Location;The Second processing module 702, it is corresponding with the digital wallet pond using strategy for determining;The second processing mould Block 702, for determining virtual address corresponding with the digital wallet pond and corresponding transaction key;The Second processing module 702, for by the actual address of the digital wallet in digital wallet pond virtual address, the digital wallet pond and described making It is stored in the block chain network in corresponding node with strategy.
Technical solution shown in through this embodiment is being created when third user is there are when multiple and different digital wallets During digital wallet pond, third user, which can choose, needs digital wallet to be added, by by identified third user The actual address of digital wallet to be added be added to the digital wallet pond, it is virtual with the digital wallet pond to be formed The actual address of the corresponding digital wallet in address;Wherein, the digital wallet only shows that virtual address connects in situation network Mouthful;Further, through this embodiment shown in technical solution, can also determine corresponding with the digital wallet pond using plan Slightly;Determine virtual address corresponding with the digital wallet pond and corresponding transaction key;Virtually by the digital wallet pond Location, digital wallet in the digital wallet pond actual address and described be stored in phase in the block chain network using strategy In the node answered, complete, the digital wallet pond including multiple digital wallets is thus formed.
In one embodiment of the invention, the Second processing module 702, it is corresponding for reading the third user Whether the association identification in all digital wallets, the association identification disclose accordingly for characterizing to the user of block chain network Digital wallet;The Second processing module 702, for the association identification based on the read digital wallet, determine described in The corresponding digital wallet to be added of third user, and obtain the actual address of the digital wallet to be added.
Technical solution shown in through this embodiment, when the third user possesses multiple digital wallets, third user User of all wallets that may be not intended to be possessed into block chain network discloses, therefore, by reading the third Association identification in the corresponding all digital wallets of user can determine the corresponding digital money to be added of the third user Packet, and the actual address of the digital wallet to be added is obtained, user is wished that disclosed digital wallet is added to accordingly In digital wallet pond, to promote the privacy in the digital wallet pond of user.
In one embodiment of the invention, the Second processing module 702, for by one in the digital wallet pond A digital wallet is determined as primary digital wallet, and the remaining digit wallet in the digital wallet pond is redundant digital wallet, In, the spare wallet is in locking state.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet, will be identified as spare wallet It is solidificated in the intelligent contract in the digital wallet pond using strategy, it, can be true by intelligent contract as a result, in process of exchange The actual address of primary wallet in the fixed digital wallet pond is to complete to trade accordingly, further, due to digital wallet The digital wallet for including in pond it is large number of, therefore, spare money when using fixed digital wallet, in digital wallet pond Packet is in locking state, can generate mistake to avoid transaction.
In one embodiment of the invention, the Second processing module 702, when for starting process of exchange, by with Machine matching algorithm selects a digital wallet in the digital wallet pond to trade, the remainder in the digital wallet pond Word wallet is in locking state.
Technical solution shown in through this embodiment, when the digital wallet pond includes multiple digital wallets, Ke Yi One is selected in multiple digital wallets as primary digital wallet, remaining digital wallet is as spare wallet, due to block chain The selection that excessively frequent transaction is easy to happen primary wallet in fusing therefore the present embodiment in network is then selected at random, is passed through Caused fixed master can only be carried out to avoid the transaction of user by fixed primary digital wallet by randomly choosing primary wallet It is frequent with digital wallet transaction.It is solidificated in identified in the intelligent contract in the digital wallet pond using strategy, is existed as a result, In process of exchange, the actual address of the primary wallet in the digital wallet pond can be determined to complete at random by intelligent contract Corresponding transaction.Further, random selection is selected as due to primary digital wallet, only handed in digital wallet During easily, remaining redundant digital wallet is in locking state.
In one embodiment of the invention, the Second processing module 702, for determining the digital wallet pond intelligence The executing subject of contract;
The Second processing module 702, for determining the digital wallet based on the virtual address in the digital wallet pond The actual address of digital wallet uses strategy with corresponding in pond;
The Second processing module 702, for providing the executing rule of the digital wallet pond intelligence contract.
Technical solution shown in through this embodiment, when the third user possesses multiple digital wallets, third user User of all wallets that may be not intended to be possessed into block chain network discloses, therefore, can be only to block link network Other users in network only show the virtual address in the digital wallet pond, are intelligently closed by the digital wallet pond of defined Executing rule about can determine the digital wallet pond based on the virtual address in the digital wallet pond when trading generation The actual address of middle digital wallet uses strategy with corresponding.
Fig. 8 is one optional composition schematic diagram of digital wallet of embodiment of the present invention the transaction device, as shown in figure 8, digital It includes the device with the information processing function that purse transaction device 800, which can be and have,.Digital wallet the transaction device shown in Fig. 8 800 include: at least one processor 801, memory 802, at least one network interface 804 and user interface 803.Digital wallet Various components in the transaction device 800 are coupled by bus system 805.It is understood that bus system 805 is for realizing this Connection communication between a little components.Bus system 805 except include data/address bus in addition to, further include power bus, control bus and Status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 805 in fig. 8.
Wherein, user interface 803 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 802 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.The memory 802 of description of the embodiment of the present invention is intended to include these and any other suitable type Memory.
Various types of data that memory 802 in the embodiment of the present invention is used to store include in storing information are to support The operation of digital wallet the transaction device 800.The example of these data includes: for operating in digital wallet the transaction device 800 Any computer program, such as operating system 8021 and application program 8022;Transaction data, user information, intelligent contract etc..Its In, operating system 8021 includes various system programs, such as ccf layer, core library layer, driving layer etc., for realizing various bases Business and the hardware based task of processing.Application program 8022 may include various application programs, such as with digital wallet Client, media player (Media Player), browser (Browser) of the information processing function etc., for realizing including Pass through the various applied business including digital wallet transaction program.Realize the program of digital wallet of embodiment of the present invention method of commerce It may be embodied in application program 8022.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the operation of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 801 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 802, and processor 801 reads the information in memory 802, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, digital wallet the transaction device 800 can be by one or more application specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing the storing information processing method.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory 802 of computer program, above-mentioned computer program can be executed by the processor 801 of digital wallet the transaction device 800, with Complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include one of above-mentioned memory or any group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
The transaction request of the first user sending is received, the transaction request is for characterizing first user to second user Digital wallet pond virtual address initiate transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, the friendship of first user is obtained by the intelligent contract The Transaction Information of easy information and the second user is to complete the transaction request.
Fig. 9 is one optional composition schematic diagram of digital wallet of embodiment of the present invention the transaction device, as shown in figure 9, digital It includes the device with the information processing function that purse transaction device 900, which can be and have,.Digital wallet the transaction device shown in Fig. 9 900 include: at least one processor 901, memory 902, at least one network interface 904 and user interface 903.Digital wallet Various components in the transaction device 900 are coupled by bus system 905.It is understood that bus system 905 is for realizing this Connection communication between a little components.Bus system 905 except include data/address bus in addition to, further include power bus, control bus and Status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 905 in Fig. 9.
Wherein, user interface 903 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 902 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.The memory 902 of description of the embodiment of the present invention is intended to include these and any other suitable type Memory.
Various types of data that memory 902 in the embodiment of the present invention is used to store include in storing information are to support The operation of digital wallet the transaction device 900.The example of these data includes: for operating in digital wallet the transaction device 900 Any computer program, such as operating system 9021 and application program 9022;Transaction data, user information, intelligent contract etc..Its In, operating system 9021 includes various system programs, such as ccf layer, core library layer, driving layer etc., for realizing various bases Business and the hardware based task of processing.Application program 9022 may include various application programs, such as with digital wallet Client, media player (Media Player), browser (Browser) of the information processing function etc., for realizing including Pass through the various applied business including digital wallet transaction program.Realize the program of digital wallet of embodiment of the present invention method of commerce It may be embodied in application program 9022.
The method that the embodiments of the present invention disclose can be applied in processor 901, or be realized by processor 901. Processor 901 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 901 or the operation of software form.Above-mentioned processing Device 901 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 901 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 902, and processor 901 reads the information in memory 902, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, digital wallet the transaction device 900 can be by one or more application specific integrated circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing the storing information processing method.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory 902 of computer program, above-mentioned computer program can be executed by the processor 901 of digital wallet the transaction device 900, with Complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash The memories such as Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include one of above-mentioned memory or any group The various equipment closed, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond includes The actual address of at least one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is institute State the address that digital wallet pond is externally traded;
Determine the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligence in the digital wallet pond is closed About for when receiving transaction request, determine from the actual address of at least one digital wallet for trading Actual address.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as the production of method, system or computer program Product.Therefore, hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the embodiment of the present invention Form.Moreover, it wherein includes the calculating of computer usable program code that the embodiment of the present invention, which can be used in one or more, The form for the computer program product implemented in machine usable storage medium (including magnetic disk storage and optical memory etc.).
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be operated by computer program in implementation flow chart and/or block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine procedure operation to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the operation that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
The operation of these computer programs, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes behaviour that operation stored in the computer readable memory, which generates, Make the manufacture of device, the operating device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
The operation of these computer programs also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The operation executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.

Claims (14)

1. a kind of digital wallet method of commerce, the digital wallet method of commerce is applied to block chain network, which is characterized in that institute The method of stating includes:
The transaction request of the first user sending is received, the transaction request is for characterizing number of first user to second user The virtual address in word wallet pond initiates transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, is believed by the transaction that the intelligent contract obtains first user Breath and the Transaction Information of the second user are to complete the transaction request.
2. the method according to claim 1, wherein the corresponding intelligence in the digital wallet pond that executes is closed About, the Transaction Information of first user and the Transaction Information of the second user are obtained to complete by the intelligent contract State transaction request, comprising:
Based on the corresponding intelligent contract in the digital wallet pond, the first digital wallet address is obtained, first digital wallet Location is the digital wallet actual address of first user;
The second digital wallet address is determined using strategy according to the digital wallet pond is corresponding, second digital wallet Location is the actual address of the digital wallet of the second user;
According to the actual address of the digital wallet address of first user and the digital wallet of second user, the transaction is completed Request.
3. according to the method described in claim 2, it is characterized in that, described use plan according to the digital wallet pond is corresponding Slightly, the second digital wallet address is determined, comprising:
Based on the digital wallet pond intelligence contract, the actual address of the primary digital wallet in the digital wallet pond is determined;
By the actual address of the primary digital wallet, as the second digital wallet address.
4. according to the method described in claim 2, it is characterized in that, described use plan according to the digital wallet pond is corresponding Slightly, the actual address of the digital wallet of second user is determined, comprising:
Based on the digital wallet pond intelligence contract, the reality of any one digital wallet in the digital wallet pond is randomly choosed Border address;
By randomly selected actual address, as the second digital wallet address.
5. the method according to claim 1, wherein the method also includes:
When verifying by the transaction key in the digital wallet pond, in response to the adjustment instruction of first user, institute is adjusted State the configuration in digital wallet pond.
6. according to the method described in claim 5, it is characterized in that, the adjustment instruction in response to first user, is adjusted The configuration in the whole digital wallet pond, comprising:
It is corresponding using strategy according to the digital wallet pond, the primary digital wallet in the digital wallet pond is adjusted, will be adjusted The actual address of the primary digital wallet in the digital wallet pond after whole and the use strategy are stored in the block chain In network in corresponding node.
7. according to the method described in claim 5, it is characterized in that, the adjustment instruction in response to first user, is adjusted The configuration in the whole digital wallet pond, comprising:
It is corresponding using strategy according to the digital wallet pond, the primary wallet in the digital wallet pond is abandoned, and spare The primary digital wallet of determination newly in wallet, by digital wallet pond virtual address adjusted, the digital wallet pond In digital wallet actual address and described be stored in the block chain network in corresponding node using strategy.
8. a kind of digital wallet creation method, the digital wallet creation method is applied to block chain network, which is characterized in that institute The method of stating includes:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond include at least The actual address of one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is the number The address that word wallet pond is externally traded;
Determine that the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligent contract in the digital wallet pond are used In when receiving transaction request, the reality for trading is determined from the actual address of at least one digital wallet Address.
9. a kind of digital wallet the transaction device, the digital wallet method of commerce is applied to block chain network, which is characterized in that institute Stating device includes:
First information transmission module, for receiving the transaction request of the first user sending, the transaction request is described for characterizing First user initiates to trade to the virtual address in the digital wallet pond of second user;
First processing module, in response to the received transaction request of institute, the digital wallet pond for triggering the second user to be right The intelligent contract answered;
The first processing module is obtained for executing the corresponding intelligent contract in the digital wallet pond by the intelligent contract The Transaction Information of the Transaction Information and the second user that take first user is to complete the transaction request.
10. a kind of digital wallet creating device, the digital wallet creating device is applied to block chain network, which is characterized in that Described device includes:
Second information transmission modular, for receiving the request in creation digital wallet pond;
Second processing module, in response to it is received creation digital wallet pond request, create digital wallet pond, the number Word wallet pond includes the actual address of at least one digital wallet, and the digital wallet pond corresponds to a virtual address, described Virtual address is the address that the digital wallet pond is externally traded;
The Second processing module, it is described for determining the intelligent contract in digital wallet pond corresponding with the digital wallet pond The intelligent contract in digital wallet pond is used for when receiving transaction request, from the actual address of at least one digital wallet Determine the actual address for trading.
11. a kind of digital wallet the transaction device, which is characterized in that described device includes:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
The transaction request of the first user sending is received, the transaction request is for characterizing number of first user to second user The virtual address in word wallet pond initiates transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, is believed by the transaction that the intelligent contract obtains first user Breath and the Transaction Information of the second user are to complete the transaction request.
12. a kind of computer readable storage medium, is stored with executable instruction, which is characterized in that executable instruction is processed Device realizes operation below when executing:
The transaction request of the first user sending is received, the transaction request is for characterizing number of first user to second user The virtual address in word wallet pond initiates transaction;
In response to the received transaction request of institute, intelligent contract corresponding to the digital wallet pond of the second user is triggered;
The corresponding intelligent contract in the digital wallet pond is executed, is believed by the transaction that the intelligent contract obtains first user Breath and the Transaction Information of the second user are to complete the transaction request.
13. a kind of digital wallet creating device, which is characterized in that described device includes:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond include at least The actual address of one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is the number The address that word wallet pond is externally traded;
Determine that the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligent contract in the digital wallet pond are used In when receiving transaction request, the reality for trading is determined from the actual address of at least one digital wallet Address.
14. a kind of computer readable storage medium, is stored with executable instruction, which is characterized in that executable instruction is processed Device realizes operation below when executing:
Receive the request in creation digital wallet pond;
In response to it is received creation digital wallet pond request, create digital wallet pond, the digital wallet pond include at least The actual address of one digital wallet, the digital wallet pond correspond to a virtual address, and the virtual address is the number The address that word wallet pond is externally traded;
Determine that the intelligent contract in digital wallet pond corresponding with the digital wallet pond, the intelligent contract in the digital wallet pond are used In when receiving transaction request, the reality for trading is determined from the actual address of at least one digital wallet Address.
CN201811584498.5A 2018-12-24 2018-12-24 A kind of digital wallet transaction, creation method, device and storage medium Pending CN109711821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811584498.5A CN109711821A (en) 2018-12-24 2018-12-24 A kind of digital wallet transaction, creation method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811584498.5A CN109711821A (en) 2018-12-24 2018-12-24 A kind of digital wallet transaction, creation method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109711821A true CN109711821A (en) 2019-05-03

Family

ID=66256143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811584498.5A Pending CN109711821A (en) 2018-12-24 2018-12-24 A kind of digital wallet transaction, creation method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109711821A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264186A (en) * 2019-06-28 2019-09-20 杭州复杂美科技有限公司 A kind of cashing method, equipment and storage medium
CN113743915A (en) * 2020-05-29 2021-12-03 富泰华工业(深圳)有限公司 Block chain transfer transaction privacy protection method, block chain link point equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106462877A (en) * 2014-04-16 2017-02-22 核软件出口有限公司 Method and system for implementing a wireless digital wallet
US20180025350A1 (en) * 2016-07-25 2018-01-25 Mastercard International Incorporated Methods, systems, networks, and media for transferring data streams through vibration to haptic devices
CN108256866A (en) * 2016-12-29 2018-07-06 陈新 Digital asset wallet
CN108352015A (en) * 2016-02-23 2018-07-31 恩链控股有限公司 The anti-loss storage of Secure for the system combination wallet management system based on block chain and encryption key transfer
CN108596608A (en) * 2018-04-28 2018-09-28 比飞力(深圳)科技有限公司 A kind of method and device of digital wallet transaction
CN108734584A (en) * 2018-05-27 2018-11-02 王刚 A kind of public welfare fund welfare lottery ticket distributing method based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106462877A (en) * 2014-04-16 2017-02-22 核软件出口有限公司 Method and system for implementing a wireless digital wallet
CN108352015A (en) * 2016-02-23 2018-07-31 恩链控股有限公司 The anti-loss storage of Secure for the system combination wallet management system based on block chain and encryption key transfer
US20180025350A1 (en) * 2016-07-25 2018-01-25 Mastercard International Incorporated Methods, systems, networks, and media for transferring data streams through vibration to haptic devices
CN108256866A (en) * 2016-12-29 2018-07-06 陈新 Digital asset wallet
CN108596608A (en) * 2018-04-28 2018-09-28 比飞力(深圳)科技有限公司 A kind of method and device of digital wallet transaction
CN108734584A (en) * 2018-05-27 2018-11-02 王刚 A kind of public welfare fund welfare lottery ticket distributing method based on block chain

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
NIKITA SANGHI: ""BlockCloud: Blockchain with Cloud Computing"", 《2018 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING, COMMUNICATION CONTROL AND NETWORKING (ICACCCN)》 *
SLOW_WAKLER: ""以Windows为例,通过以太坊钱包部署和运行智能合约"", 《CSDN博客》 *
无: ""区块链的安全与防护"", 《信息化建设》 *
李赫的博客: ""区块链开发(二)部署和运行第一个以太坊智能合约"", 《CSDN博客》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110264186A (en) * 2019-06-28 2019-09-20 杭州复杂美科技有限公司 A kind of cashing method, equipment and storage medium
CN113743915A (en) * 2020-05-29 2021-12-03 富泰华工业(深圳)有限公司 Block chain transfer transaction privacy protection method, block chain link point equipment and medium

Similar Documents

Publication Publication Date Title
Herlihy et al. Cross-chain deals and adversarial commerce
CN106530088B (en) Method for trading certificate products based on blockchain security nodes
JP6697008B2 (en) System and method for updating distributed ledger based on partial authorization of transaction
CN110599143B (en) Data processing method, related device and medium
US20220309505A1 (en) Reissuing obligations to preserve privacy
US20170221053A1 (en) Digital asset conversion
CN108122159A (en) A kind of factoring information processing method and system based on block chain
CN109934582B (en) Digital currency transaction data processing method, server, client and system
TWM561279U (en) Blockchain system and node server for processing strategy model scripts of financial assets
US20210374853A1 (en) Atomically swapping ownership certificates
CN109829824A (en) A kind of commodity transaction information sharing method based on block chain technology
TW202009841A (en) Least decentralized fund trading system and method thereof
CN109726229A (en) A kind of block chain date storage method and device
JP2021533502A (en) Transaction verification methods, devices, storage media and electronic devices
Herlihy et al. Cross-chain deals and adversarial commerce
TW202011312A (en) Authenticating server and method for transactions on blockchain
TW201935299A (en) Blockchain system, node server and method for processing strategy model scripts of financial assets
KR20210047311A (en) Verify that the transaction address is whitelisted prior to allowing the transfer of the self-regulatory token to the transaction address, which requires a whitelisted transaction address to withdraw the self-regulatory token.
WO2020079423A1 (en) Computer-implemented method and system for digital signing of transactions
CN109784924A (en) Warehouse receipt authentication method and device based on block chain framework
CN109711821A (en) A kind of digital wallet transaction, creation method, device and storage medium
CN113095913A (en) Block chain-based shopping method
Xu et al. Exploring blockchain technology through a modular lens: A survey
WO2013138933A1 (en) Automated forex function in an asset storage and transfer system
US20240070791A1 (en) Re100 energy transaction system and method using blockchain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190503

RJ01 Rejection of invention patent application after publication