[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109961276A - Digital cash wallet, method of commerce, transaction system and computer storage medium - Google Patents

Digital cash wallet, method of commerce, transaction system and computer storage medium Download PDF

Info

Publication number
CN109961276A
CN109961276A CN201910144222.3A CN201910144222A CN109961276A CN 109961276 A CN109961276 A CN 109961276A CN 201910144222 A CN201910144222 A CN 201910144222A CN 109961276 A CN109961276 A CN 109961276A
Authority
CN
China
Prior art keywords
transaction information
digital cash
terminal
cipher
obtains
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
CN201910144222.3A
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.)
Netac Technology Co Ltd
Original Assignee
Netac 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 Netac Technology Co Ltd filed Critical Netac Technology Co Ltd
Priority to CN201910144222.3A priority Critical patent/CN109961276A/en
Publication of CN109961276A publication Critical patent/CN109961276A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3674Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a kind of digital cash wallet, method of commerce, transaction system and computer storage medium.The method of commerce of the digital cash is applied to digital cash wallet, digital cash wallet and terminal wireless communication, user creates original transaction information in terminal, terminal carries out the first encryption to original transaction information and obtains the first Transaction Information, and this method includes receiving the first Transaction Information that terminal is sent;First Transaction Information is decrypted and verification obtains original transaction information;Operation is digitally signed to original transaction information according to mnemonic word and cipher, obtains the second Transaction Information;Second encryption is carried out to the second Transaction Information, obtains third Transaction Information;Third Transaction Information is sent to terminal, wherein terminal is traded according to the digital cash that third Transaction Information completes digital cash wallet.By the above-mentioned means, can be improved digital cash in the safety and convenience for storing and trading.

Description

Digital cash wallet, method of commerce, transaction system and computer storage medium
Technical field
This application involves block chain technical fields, and in particular to a kind of digital cash wallet, method of commerce, transaction system and Computer storage medium.
Background technique
With the beginning of this century, with the development of block chain technology, digital cash and digital goods based on block chain technology The market of coin transaction is flourished, following, and all kinds of wallets for storing and trading applied to digital cash come into being.
Present inventor has found that hardware wallet on the market, majority are to pass through usb data at present in long-term R & D Line connects upper layer application end to complete the transaction of relevant digital cash, this make the storage of digital cash and transaction in safety and Have the defects that on convenience certain.
Summary of the invention
The application provides a kind of digital cash wallet, method of commerce, transaction system and computer storage medium, existing to solve There are the storage of digital cash in technology and the problem that transaction is lower in safety and convenience.
In order to solve the above technical problems, the technical solution that the application uses is: providing a kind of transaction of digital cash Method is applied to digital cash wallet, wherein the digital cash wallet and terminal wireless communication, user create in the terminal Original transaction information is built, the terminal carries out the first encryption to original transaction information and obtains the first Transaction Information, the method packet It includes: after the terminal obtains the first Transaction Information to the first encryption of original transaction information progress, receiving the institute that the terminal is sent State the first Transaction Information;First Transaction Information is decrypted and verification obtains the original transaction information;According to mnemonic(al) Word and cipher are digitally signed operation to the original transaction information, obtain the second Transaction Information;To the second transaction letter Breath carries out the second encryption, obtains third Transaction Information;The third Transaction Information is sent to the terminal, wherein the terminal The digital cash transaction of the digital cash wallet is completed according to the third Transaction Information.
In order to solve the above technical problems, another technical solution that the application uses is: a kind of digital cash wallet is provided, Wherein, the digital cash wallet and the terminal wireless communication, user create original transaction information, the end in the terminal End carries out the first encryption to original transaction information and obtains the first Transaction Information, and the digital cash wallet includes: receiving module, is used After the terminal obtains the first Transaction Information to the first encryption of original transaction information progress, the described of the terminal transmission is received First Transaction Information;Decryption and correction verification module, for first Transaction Information is decrypted and verification obtain it is described original Transaction Information;Digital Signature module, for being digitally signed operation to the original transaction information according to mnemonic word and cipher, Obtain the second Transaction Information;Encrypting module obtains third transaction letter for carrying out the second encryption to second Transaction Information Breath;Sending module, for the third Transaction Information to be sent to the terminal, wherein the terminal is traded according to the third Information completes the digital cash transaction of the digital cash wallet.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of friendship of digital cash Easy system, wherein the transaction system includes the digital cash wallet and terminal of above embodiment, the digital cash wallet With the terminal wireless communication.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of computer storage Jie Matter, wherein for storing program data, described program data can be performed to realize above-mentioned reality the computer storage medium Apply method described in any one of mode.
The beneficial effect of the application is: being in contrast to the prior art, the application provides a kind of digital cash wallet, hands over Easy method, transaction system and computer storage medium.The method of commerce of the digital cash is applied to digital cash wallet, number Currency wallet and terminal wireless communication, user create original transaction information in terminal, and terminal carries out first to original transaction information Encryption obtains the first Transaction Information, and this method includes receiving the first Transaction Information that terminal is sent;First Transaction Information is carried out Decryption and verification obtain original transaction information;Operation is digitally signed to original transaction information according to mnemonic word and cipher, is obtained To the second Transaction Information;Second encryption is carried out to the second Transaction Information, obtains third Transaction Information;Third Transaction Information is sent To terminal, wherein terminal is traded according to the digital cash that third Transaction Information completes digital cash wallet.By in digital cash When being digitally signed operation to original transaction information in wallet, multiple cryptographic operation is carried out, and side by wireless communication Formula realizes the communication of digital cash wallet and terminal, can complete the digital cash transaction of digitlization currency wallet, solve existing There are the storage of digital cash in technology and the problem that transaction is lower in safety and convenience.
Detailed description of the invention
It, below will be to required use in embodiment description in order to illustrate more clearly of the technical solution in application embodiment Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only apply some embodiments, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure, in which:
Fig. 1 is a kind of flow diagram of one embodiment of method of commerce of digital cash of the application;
Fig. 2 is a kind of flow diagram of another embodiment of the method for commerce of digital cash of the application;
Fig. 3 is a kind of structural schematic diagram of one embodiment of digital cash wallet of the application;
Fig. 4 is a kind of structural schematic diagram of one embodiment of transaction system of digital cash of the application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other when not making creative work Embodiment belongs to the range of the application protection.
It is to be appreciated that if relating to the description of " first ", " second " etc. in the embodiment of the present application, " first ", " the Two " etc. description is used for description purposes only, and is not understood to indicate or imply its relative importance or is implicitly indicated meaning The quantity of the technical characteristic shown." first " is defined as a result, the feature of " second " can explicitly or implicitly include at least one A this feature.In addition, the technical solution not conflicted between each embodiment can be combined with each other.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of one embodiment of method of commerce of digital cash of the application.This reality The method for applying example announcement is applied to digital cash wallet, and digital cash wallet and terminal wireless communication, this method specifically can wrap Include following steps:
S11: the first Transaction Information that terminal is sent is received.
Digital cash wallet is used for the transaction of digital cash, and in the present embodiment, digital cash wallet can be logical with terminal The transaction that the mode being wirelessly connected carries out digital cash is crossed, carries out digital cash friendship compared to terminal is connected by USB data line Easily, it is more convenient to have the characteristics that.
Terminal (Terminal) is also referred to as terminal device, is the equipment that network outermost is in computer network, main to use In the input and the output of processing result etc. of user information.In the present embodiment, terminal can be mobile phone, notebook, plate The application ends such as computer, POS machine.
Transaction Information may include identity information, exchange hour, transaction sequence number, the identity of the transaction terminal letter of user Breath, the address information of digital cash wallet, the name information of digital cash wallet, beneficiary address, payer address and transaction Amount of money etc..
After terminal and digital cash wallet are wirelessly connected, user creates original transaction information at the terminal, and terminal is to original Transaction Information obtains the first Transaction Information after carrying out the first encryption, then the first Transaction Information is sent to digital cash wallet, makes Digital cash wallet receives the first Transaction Information.
Wherein, the first encryption can be, when by original transaction information from terminal transmission to digital cash wallet, to guarantee peace Full property and the encryption carried out, such as the processing that can be carried out by online or connection external equipment according to Encryption Algorithm, For example Encryption Algorithm can be AES (Advanced Encryption Standard, Advanced Encryption Standard), DES (Data Encryption Standard, symmetry algorithm), 3DES (Triple DES, the symmetry algorithm based on DES), IDEA (International Data Encryption Algorithm, international data encryption algorithm), BLOWFISH algorithm etc..
S12: the first Transaction Information is decrypted and verification obtains original transaction information.
Digital cash wallet is first decrypted the first Transaction Information after receiving the first Transaction Information, then into Row checks that verification obtains original transaction information after confirmation is errorless.
S13: operation is digitally signed to original transaction information according to mnemonic word and cipher, obtains the second Transaction Information.
Mnemonic word is private key to be converted into 12 to 24 common English words, word is by private key using fixed algorithm It is selected in fixed dictionary with fixed algorithm.Mnemonic word and private key are intercommunications, can mutually be converted, and mnemonic word is private key Another form of expression, have function same with private key.
Private key is the random number generated according to the random factor in user environment by cryptographic algorithm by system.Generally For be a 256bits number, be not easy to remember, this string number the assets of corresponding wallet address can be operated, must Palpus safe preservation is got up.The mobile phone that general wallet can only be stored in private key user is local, will not upload in network server It saves.
In the present embodiment, mnemonic word and cipher are stored in digital cash wallet, are received in digital cash wallet After original transaction information, operation can be digitally signed to original transaction information by mnemonic word and cipher, obtain that there is number Second Transaction Information of word signature.
S14: the second encryption is carried out to the second Transaction Information, obtains third Transaction Information.
After digital cash wallet obtains the second Transaction Information, the second encryption is carried out to the second Transaction Information, the second encryption can At least one Encryption Algorithm is thought, to obtain third Transaction Information.
S15: being sent to terminal for third Transaction Information, and wherein terminal completes digital cash wallet according to third Transaction Information Digital cash transaction.
Digital cash wallet will complete digital signature and encrypted third Transaction Information is sent to terminal, can guarantee to hand over The digital signature of Transaction Information is completed while easily convenient, safe, so that the digital cash for completing digital cash wallet side is handed over Easily.Correspondingly, after terminal obtains third Transaction Information, third Transaction Information can be decrypted, obtains that there is number Second Transaction Information of signature, then performs corresponding processing the second Transaction Information, to complete the digital goods of terminal side Coin transaction.
It should be noted that cipher mode used in the multiple encryption mentioned in the present embodiment, either Using same cipher mode, it is also possible to cipher mode not of the same race, can also is Hybrid Encryption mode, herein without limitation. Above description can equally be well applied to decryption processing.
The application provides a kind of method of commerce of digital cash, is applied to digital cash wallet, digital cash wallet and end End wireless communication, user create original transaction information in terminal, and terminal carries out the first encryption to original transaction information and obtains first Transaction Information, this method include receiving the first Transaction Information that terminal is sent;First Transaction Information is decrypted and is verified To original transaction information;Operation is digitally signed to original transaction information according to mnemonic word and cipher, obtains the second transaction letter Breath;Second encryption is carried out to the second Transaction Information, obtains third Transaction Information;Third Transaction Information is sent to terminal, wherein Terminal is traded according to the digital cash that third Transaction Information completes digital cash wallet.By in digital cash wallet to original When Transaction Information is digitally signed operation, multiple cryptographic operation is carried out, and realizes digital goods through wireless communication The communication of coin wallet and terminal, can complete digitlization currency wallet digital cash transaction, improve digital cash storage and The safety of transaction and convenience.
Referring to Fig. 2, Fig. 2 is a kind of flow diagram of another embodiment of the method for commerce of digital cash of the application.This The method that embodiment discloses is applied to digital cash wallet, digital cash wallet and terminal wireless communication, this method and above-mentioned reality It applies the identical part of mode to be not repeated herein, can specifically include following steps:
S21: the first Transaction Information that terminal is sent is received.
Wireless communication can pass through bluetooth, WI-FI (Wireless-Fidelity, wireless network), NFC (near field Communication, near-field communication), the modes such as RFID (Radio Frequency Identification, radio frequency identification) it is real Existing, in the present embodiment, digital cash wallet and terminal are carried out wireless communication by bluetooth, realize digital cash wallet and terminal Real-time, interactive, correspondingly, digital cash wallet may include bluetooth communication.
When digital cash wallet and terminal wireless communication, the Bluetooth signal of terminal recognition digital cash wallet is attached. The title of bluetooth communication can follow default setting, the MAC Address (Media that terminal passes through identification bluetooth communication Access Control Address, media access control address) to confirm bluetooth communication to be connected.
S22: the first Transaction Information is decrypted and verification obtains original transaction information.
Digital cash wallet receives the first Transaction Information of terminal transmission by receiving bluetooth communication, to first Transaction Information is first decrypted, then carries out inspection verification, after confirmation is errorless, obtains original transaction information, completes original friendship The secure communication of easy information.
S23: operation is digitally signed to original transaction information according to mnemonic word and cipher, obtains the second Transaction Information.
It may include encrypting module, such as encryption chip, friendship when for digital signing operations in digital cash wallet Easy information is encrypted, and data information when digital signing operations can also be stored.When being digitally signed operation, need to plant The data information of sub, main private key, public key and address, by the data information of mnemonic word and available needs of talking secretly, therefore will Mnemonic word and cipher are stored in encryption chip.
In one embodiment, it when digital cash wallet is connect with terminal for the first time, needs to initialize, specifically May include:
S231: initialization directive is obtained.
When digital cash wallet is connect with terminal for the first time, user initializes digital cash wallet, digital goods Coin wallet obtains initialization directive.
S232: response initialization directive formation entropy, and mnemonic word is obtained according to entropy.
Entropy characterizes one of the parameter of state of matter in thermodynamics, and physical significance is the measurement of system confusion degree.Believing During breath is learned, entropy is used to characterize the uncertainty of a symbol or system, and entropy is bigger, shows that useful information content contained by system is got over Few, uncertainty is bigger.Here entropy is exactly random number source, and value is bigger, and the randomness for indicating data in entropy pool is better.
Digital cash wallet can be layering certainty wallet, be able to use the electronic money of layering certainty addressing mechanism Packet.Be layered certainty wallet pass through Elliptic Curve Cryptography mechanism, it is ensured that can by no private key participate in the case where, by Public key is directly dispersed into sub- public key, and the sub- public key dispersed can be authenticated by the sub- private key dispersed.
Wherein, public key and private key are the key pairs (i.e. a public key and a private key) obtained by a kind of algorithm, Public key is part disclosed in cipher key pair, and private key is then private part.Public key is commonly used in encrypted session key, verifying number Word signature, or the data that encryption can be decrypted with corresponding private key.It can guarantee by the key pair that this algorithm obtains in the world It is unique in range.When using this key pair, if encrypting one piece of data with one of key, it is necessary to another A key decryption.For example must just be decrypted with private key with public key encryption data, if must also use public key decryptions with private key encryption, Otherwise decryption will not succeed.
In the present embodiment, digital cash wallet may include MCU (Microcontroller Uni, micro-control unit), The randomizer of MCU generates 32 random numbers as entropy, using elliptic curve encryption algorithm and related aided algorithm phase After deriving that private key, public key and the significant data of address three, such as public key generate address by hash function.According to digital cash The certainty wallet framework of wallet introduces 24 English words generated by random number as mnemonic word.
Wherein, entropy is converted to 24 English words as mnemonic word allows user to write down, and facilitates user and gives account for change later Family.Terminal is returned to by the address that key extended function is derived, for showing the public identity information of active user.
S233: the trading password of user is obtained as cipher.
For digital cash wallet using trading password set by user as cipher, trading password can number, letter, symbol etc. Form can also be the form of the biological informations such as fingerprint, iris, derive private key jointly by mnemonic word and cipher.
S234: main private key is obtained according to mnemonic word and cipher.
Mnemonic word and cipher are obtained seed and main private key according to cryptographic algorithm by digital cash wallet, are obtained according to main private key Public key and address.
It specifically, can according to algorithm after mnemonic word and cipher are obtained seed according to cryptographic algorithm by digital cash wallet To obtain key according to seed, then obtain include public key and private key a key pair.According to the BIP44 of block chain (Bitcoin Improvement Proposal 44, the 44th improvement of bit coin are proposed) framework definition, will be direct by mnemonic word The private key name derived is main private key.After obtaining matched public key according to main private key, Hash letter can be passed through according to public key Number generates address.
In one embodiment, it after obtaining mnemonic word and cipher, is encrypted and is stored in digital cash wallet again, It can specifically include and mnemonic word and cipher progress third are encrypted to obtain the first mnemonic word and the first cipher;To the first mnemonic word and First cipher carries out the 4th encryption and obtains the second mnemonic word and the second cipher.
Specifically, the trading password that digital cash wallet is inputted in the mnemonic word for receiving 24 English words and user As cipher, by way of encrypting online first carry out world Encryption Standard algorithm AES256 progress third and encrypt to obtain first to help Remember word and the first cipher.Professional encryption chip is recycled to utilize profession encryption core to the first mnemonic word encrypted and the first cipher Piece carries out secondary cryptographic operation and obtains the second mnemonic word and the second cipher, is finally again encrypting the second mnemonic word and the second cipher It is stored in the FLASH (flash memory) of chip.
FLASH flash memory is the one kind for belonging to memory devices.Flash memory is then a kind of non-volatile (Non-Volatile) memory, Data also can be muchly kept under conditions of the supply of no electric current, storage characteristics is equivalent to hard disk, this characteristic is exactly Flash memory is able to the basis of the storage medium as all kinds of pocket digital devices.
S235: level private key is obtained according to the corresponding hierarchy of users of user.
Main private key derives multiple level private keys by different layers series, and level private key includes sub- private key, grandson's private key and more Deep layer grade private key, so that the user that the private keys such as, grandson a little using this are different levels is digitally signed operation.
When user is digitally signed, according to the corresponding hierarchy of users of user, the available hierarchy of users private key.
S236: operation is digitally signed to original transaction information according to level private key.
Digital cash wallet is decrypted to obtain main private key to the second mnemonic word and the second cipher, is obtained according to hierarchy of users The corresponding level private key of hierarchy of users, to be digitally signed operation to original transaction information according to level private key.
When user carries out signature transaction, digital cash wallet takes the second mnemonic word and the second cipher from encryption chip Out, and online decryption oprerations are carried out, obtains mnemonic word and cipher, derive main private key further according to mnemonic word and cipher, then pass through The number of levels of different user derives the affiliated private key of corresponding level user, i.e. level private key, thus according to level private key to original Beginning Transaction Information is digitally signed operation, obtains the second Transaction Information.
S24: the second encryption is carried out to the second Transaction Information, obtains third Transaction Information.
Digital cash wallet carries out the second encryption at least once after obtaining the second Transaction Information, to the second Transaction Information, Obtain third Transaction Information.
It is illustrated for carrying out the second encryption twice to the second Transaction Information in the present embodiment.It can specifically include Following steps:
S241: the second Transaction Information and public key are subjected to the second encryption and obtain the 4th Transaction Information.
The second Transaction Information signed and the affiliated public key of user are carried out the second encryption and obtain the 4th by digital cash wallet Transaction Information.
S242: the 4th Transaction Information is subjected to serializing operation and obtains the 5th Transaction Information.
Digital cash wallet integrates the sequence number of the 4th Transaction Information and Transaction Information, to obtain the 5th transaction Information.
S243: the 5th encryption is carried out to the 5th Transaction Information and obtains the 6th Transaction Information.
5th Transaction Information is carried out the 5th encryption and obtains the 6th Transaction Information by digital cash wallet, such as the 5th is traded Information is sent to the I2C/USART communication interface of MCU, and data carry out the 5th encryption by international standard algorithm AES256 encryption and obtain 6th Transaction Information.
S244: carrying out the first subpackage to the 6th Transaction Information and handle to obtain at least one first data packet, obtains third friendship Easy information.
After obtaining the 6th Transaction Information, the 6th Transaction Information is carried out the first subpackage processing by MCU, obtain at least one the One data packet obtains third Transaction Information.For example, the 6th Transaction Information is split, the number that at least one 64 are one is obtained According to packet, insufficient position zero padding, i.e. the first data packet include 64 data.
Then the first data packet is encrypted using international Encryption Standard algorithm AES encryption algorithm, then passed through The I2C/USART interface of MCU is sent to Bluetooth communication according to standard I2C/USART agreement, by the first data packet of 64 data Module I 2C/USART interface.
S25: third Transaction Information is sent to terminal.
In one embodiment, it may comprise steps of:
S251: third Transaction Information is subjected to the second subpackage and handles to obtain at least one second data packet.
Bluetooth communication is by dedicated I2C/USART interface to the first data packet of 64 data, to the first number The second subpackage processing is carried out according to packet, is divided into 23 for a data packet, i.e. the second data packet includes 23 data, the second data packet Data bits of the data bits less than the first data packet.
S252: being sent to terminal at least one second data packet, and wherein terminal completes number according to third Transaction Information The digital cash of currency wallet is traded.
Bluetooth communication by the way that finally by Bluetooth signal, at least one second data packet is sent to terminal, thus Third Transaction Information is sent to terminal.
Terminal carries out online AES256 decryption after receiving third Transaction Information, then the third after decryption is traded and is believed Breath is broadcasted to block chain network.After miner puts this transaction packing into block, terminal and digital cash wallet are traded Information is completed, thus end number moneytary operations.
It should be noted that cipher mode used in the multiple encryption mentioned in the present embodiment, either Using same cipher mode, it is also possible to cipher mode not of the same race, can also is Hybrid Encryption mode, herein without limitation. Above description can equally be well applied to decryption processing.
The application provides a kind of method of commerce of digital cash, is applied to digital cash wallet, digital cash wallet and end End wireless communication, user create original transaction information in terminal, and terminal carries out the first encryption to original transaction information and obtains first Transaction Information, this method include receiving the first Transaction Information that terminal is sent;Then the first Transaction Information is decrypted and school It tests to obtain original transaction information;Operation is digitally signed to original transaction information further according to mnemonic word and cipher, obtains second Transaction Information;Then the second encryption is carried out to the second Transaction Information, obtains third Transaction Information;Finally third Transaction Information is sent out It send to terminal, wherein terminal is traded according to the digital cash that third Transaction Information completes digital cash wallet.By in digital goods When being digitally signed operation to original transaction information in coin wallet, mnemonic word and cipher are stored in digital cash wallet, Seed, main private key, public key and address are obtained according to mnemonic word and cipher, can be improved the safety of digital cash storage, according to The corresponding level private key of hierarchy of users is digitally signed operation to original transaction information, to complete digital cash wallet side Digital cash transaction, and multiple cryptographic operation is carried out during digital signing operations, and through wireless communication The communication for realizing digital cash wallet and terminal can be improved digital cash in the safety and convenience for storing and trading.
Corresponding above-mentioned method, the application proposes a kind of digital cash wallet, referring to Fig. 3, Fig. 3 is a kind of number of the application The structural schematic diagram of one embodiment of word currency wallet.The revealed digital cash wallet 100 of the present embodiment and 200 channel radio of terminal Letter, user create original transaction information in terminal 200, and terminal 200 carries out the first encryption to original transaction information and obtains the first friendship Easy information, digital cash wallet 100 include:
Receiving module 11, for receiving the first Transaction Information of the transmission of terminal 200;
Decryption and correction verification module 12, for the first Transaction Information being decrypted and verification obtains original transaction information;
Digital Signature module 13 is obtained for being digitally signed operation to original transaction information according to mnemonic word and cipher To the second Transaction Information;
Encrypting module 14 obtains third Transaction Information for carrying out the second encryption to the second Transaction Information;
Sending module 15, for third Transaction Information to be sent to terminal 200, wherein terminal 200 is traded according to third and is believed Breath completes the digital cash transaction of digital cash wallet 100.
The revealed digital cash wallet 100 of the present embodiment can be realized the method for commerce of digital cash, specific embodiment party Formula is similar to the above, is not repeated herein.
The application provides a kind of digital cash wallet 100, can be improved digital cash store and trade safety and Convenience.
Corresponding above-mentioned method, the application propose a kind of transaction system 300 of digital cash, referring to Fig. 4, Fig. 4 is this Apply for a kind of structural schematic diagram of one embodiment of transaction system of digital cash.The revealed transaction system 300 of the present embodiment is wrapped Include digital cash wallet 31 and terminal 32, digital cash wallet 31 and terminal 32 wirelessly communicate, digital cash wallet 31 it is specific Embodiment is similar with the digital cash wallet 100 in above-described embodiment, is not repeated herein.
The application provides a kind of transaction system 300 of digital cash, can be improved digital cash in the peace for storing and trading Full property and convenience.
In several embodiments provided herein, it should be recognized that system disclosed by the application, device and side Method may be implemented in other ways.For example, device embodiments described above are only schematical, for example, institute The division of module or unit is stated, only a kind of logical function partition, there may be another division manner in actual implementation, such as Multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device Or the indirect coupling or communication connection of unit, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize present embodiment scheme according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the application can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The above is only presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize the application Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is applied directly or indirectly in other relevant technologies Field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of method of commerce of digital cash, be applied to digital cash wallet, which is characterized in that the digital cash wallet with Terminal wireless communication, user create original transaction information in the terminal, and the terminal carries out first to original transaction information and adds It is close to obtain the first Transaction Information, which comprises
Receive first Transaction Information that the terminal is sent;
First Transaction Information is decrypted and verification obtains the original transaction information;
Operation is digitally signed to the original transaction information according to mnemonic word and cipher, obtains the second Transaction Information;
Second encryption is carried out to second Transaction Information, obtains third Transaction Information;
The third Transaction Information is sent to the terminal, wherein the terminal is according to third Transaction Information completion The digital cash of digital cash wallet is traded.
2. the method according to claim 1, wherein according to mnemonic word and cipher to the original transaction information into The step of line number signature operations includes:
Obtain initialization directive;
The initialization directive formation entropy is responded, and the mnemonic word is obtained according to the entropy;
The trading password of user is obtained as the cipher;
Main private key is obtained according to the mnemonic word and the cipher;
Level private key is obtained according to the corresponding hierarchy of users of the user;
Operation is digitally signed to the original transaction information according to the level private key.
3. according to the method described in claim 2, it is characterized in that, obtaining main private key according to the mnemonic word and the cipher Step includes:
The mnemonic word and the cipher are obtained into seed and the main private key according to cryptographic algorithm;
Public key and address are obtained according to the main private key.
4. according to the method described in claim 3, it is characterized in that, according to mnemonic word and cipher to the original transaction information into The step of line number signature operations further include:
Third is carried out to the mnemonic word and the cipher to encrypt to obtain the first mnemonic word and the first cipher;
4th encryption is carried out to first mnemonic word and first cipher and obtains the second mnemonic word and the second cipher.
5. according to the method described in claim 4, it is characterized in that, according to the hierarchy of users to the original transaction information into The step of line number signature operations includes:
Second mnemonic word and second cipher are decrypted to obtain the main private key;
The corresponding level private key of the hierarchy of users is obtained according to the hierarchy of users;
Operation is digitally signed to the original transaction information according to the level private key.
6. being obtained the method according to claim 1, wherein carrying out the second encryption to second Transaction Information The step of third Transaction Information includes:
Second Transaction Information and the public key are subjected to second encryption and obtain the 4th Transaction Information;
4th Transaction Information is subjected to serializing operation and obtains the 5th Transaction Information;
5th encryption is carried out to the 5th Transaction Information and obtains the 6th Transaction Information;
The first subpackage is carried out to the 6th Transaction Information to handle to obtain at least one first data packet, obtains third transaction letter Breath.
7. according to the method described in claim 6, it is characterized in that, the third Transaction Information to be sent to the step of the terminal Suddenly include:
The third Transaction Information is carried out the second subpackage to handle to obtain at least one second data packet, second data packet Data bits is less than the data bits of first data packet;
At least one described second data packet is sent to the terminal.
8. a kind of digital cash wallet, which is characterized in that the digital cash wallet and the terminal wireless communication, user is in institute Terminal creation original transaction information is stated, the terminal carries out the first encryption to original transaction information and obtains the first Transaction Information, institute Stating digital cash wallet includes:
Receiving module, first Transaction Information sent for receiving the terminal;
Decryption and correction verification module, for first Transaction Information being decrypted and verification obtains the original transaction information;
Digital Signature module is obtained for being digitally signed operation to the original transaction information according to mnemonic word and cipher Second Transaction Information;
Encrypting module obtains third Transaction Information for carrying out the second encryption to second Transaction Information;
Sending module, for the third Transaction Information to be sent to the terminal, wherein the terminal is handed over according to the third Easy information completes the digital cash transaction of the digital cash wallet.
9. a kind of transaction system of digital cash, which is characterized in that the transaction system includes digital goods according to any one of claims 8 Coin wallet and terminal, the digital cash wallet and the terminal wireless communication.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is described for storing program data Program data can be performed to realize method of any of claims 1-7.
CN201910144222.3A 2019-02-27 2019-02-27 Digital cash wallet, method of commerce, transaction system and computer storage medium Pending CN109961276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910144222.3A CN109961276A (en) 2019-02-27 2019-02-27 Digital cash wallet, method of commerce, transaction system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910144222.3A CN109961276A (en) 2019-02-27 2019-02-27 Digital cash wallet, method of commerce, transaction system and computer storage medium

Publications (1)

Publication Number Publication Date
CN109961276A true CN109961276A (en) 2019-07-02

Family

ID=67023985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910144222.3A Pending CN109961276A (en) 2019-02-27 2019-02-27 Digital cash wallet, method of commerce, transaction system and computer storage medium

Country Status (1)

Country Link
CN (1) CN109961276A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443607A (en) * 2019-07-31 2019-11-12 中国工商银行股份有限公司 To creation method, method of commerce and the device of public digital cash wallet
CN111144862A (en) * 2019-12-31 2020-05-12 深圳四方精创资讯股份有限公司 Method, device, equipment and storage medium for realizing digital currency double-off-line payment
CN111311210A (en) * 2020-02-04 2020-06-19 中国建设银行股份有限公司 Asymmetric encryption digital currency transaction data processing method and device
CN111768199A (en) * 2020-06-30 2020-10-13 数字钱包(北京)科技有限公司 Digital currency transaction method and local wallet system
CN112001717A (en) * 2020-10-27 2020-11-27 四川泰立科技股份有限公司 Method, system and storage medium for calculating encryption currency of digital television
CN112365250A (en) * 2020-11-26 2021-02-12 楚天龙股份有限公司 Full-function equipment terminal based on digital currency payment, transaction system and transaction method
CN112419062A (en) * 2020-11-26 2021-02-26 深圳市朗科科技股份有限公司 NFC digital currency transaction method and system
CN114270777A (en) * 2019-08-23 2022-04-01 三星电子株式会社 Electronic device for providing block chain account information and operation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050081038A1 (en) * 2001-12-27 2005-04-14 David Arditti Modiano Cryptographic system for group signature
CN108846662A (en) * 2018-05-29 2018-11-20 数字乾元科技有限公司 wireless payment method and wearable device
CN109003059A (en) * 2018-06-29 2018-12-14 北京金山安全软件有限公司 Management method and device of digital currency wallet, electronic equipment and storage medium
CN109064324A (en) * 2018-06-15 2018-12-21 重庆金融资产交易所有限责任公司 Method of commerce, electronic device and readable storage medium storing program for executing based on alliance's chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050081038A1 (en) * 2001-12-27 2005-04-14 David Arditti Modiano Cryptographic system for group signature
CN108846662A (en) * 2018-05-29 2018-11-20 数字乾元科技有限公司 wireless payment method and wearable device
CN109064324A (en) * 2018-06-15 2018-12-21 重庆金融资产交易所有限责任公司 Method of commerce, electronic device and readable storage medium storing program for executing based on alliance's chain
CN109003059A (en) * 2018-06-29 2018-12-14 北京金山安全软件有限公司 Management method and device of digital currency wallet, electronic equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443607B (en) * 2019-07-31 2022-08-02 中国人民银行数字货币研究所 Method for creating public digital wallet, transaction method and device
CN110443607A (en) * 2019-07-31 2019-11-12 中国工商银行股份有限公司 To creation method, method of commerce and the device of public digital cash wallet
US11979485B2 (en) 2019-08-23 2024-05-07 Samsung Electronics Co., Ltd. Electronic device providing blockchain account information and method of operating the same
CN114270777A (en) * 2019-08-23 2022-04-01 三星电子株式会社 Electronic device for providing block chain account information and operation method thereof
CN111144862A (en) * 2019-12-31 2020-05-12 深圳四方精创资讯股份有限公司 Method, device, equipment and storage medium for realizing digital currency double-off-line payment
CN111144862B (en) * 2019-12-31 2022-11-18 深圳四方精创资讯股份有限公司 Method, device, equipment and storage medium for realizing digital currency double-off-line payment
CN111311210A (en) * 2020-02-04 2020-06-19 中国建设银行股份有限公司 Asymmetric encryption digital currency transaction data processing method and device
CN111311210B (en) * 2020-02-04 2023-12-26 建信金融科技有限责任公司 Asymmetric encryption digital currency transaction data processing method and device
CN111768199A (en) * 2020-06-30 2020-10-13 数字钱包(北京)科技有限公司 Digital currency transaction method and local wallet system
CN112001717A (en) * 2020-10-27 2020-11-27 四川泰立科技股份有限公司 Method, system and storage medium for calculating encryption currency of digital television
CN112419062A (en) * 2020-11-26 2021-02-26 深圳市朗科科技股份有限公司 NFC digital currency transaction method and system
CN112365250A (en) * 2020-11-26 2021-02-12 楚天龙股份有限公司 Full-function equipment terminal based on digital currency payment, transaction system and transaction method
CN112419062B (en) * 2020-11-26 2024-05-24 深圳市朗科科技股份有限公司 NFC digital currency transaction method and system

Similar Documents

Publication Publication Date Title
CN109961276A (en) Digital cash wallet, method of commerce, transaction system and computer storage medium
CN105516201B (en) Lightweight anonymous authentication and cryptographic key negotiation method under a kind of environment of multi-server
US8949616B2 (en) Methods, apparatus and systems for securing user-associated passwords used for identity authentication
CN105052072A (en) Remote authentication and transaction signatures
CN101765996A (en) Remote Authentication And Transaction Signatures
US20210398134A1 (en) Biocrypt Digital Wallet
CN106664206A (en) Efficient methods for authenticated communication
CN113316798B (en) Methods, systems, and computer program products for network binding agent re-encryption and PIN translation
CN107493168B (en) Quanta identity authentication method and its application method during quantum key distribution
CN103971241A (en) Two-channel payment method and system
CA3114896A1 (en) Systems and methods for amplifying the strength of cryptographic algorithms
CN108141363A (en) For the device of certification, method and computer program product
CN107819571A (en) The generation method and device of private key
CN107241196A (en) Digital signature method and system based on block chain technology
CN109670826A (en) Anti- quantum calculation block chain method of commerce based on unsymmetrical key pond
CN101819614A (en) System and method for enhancing network transaction safety by utilizing voice verification USBKey
CN110402560A (en) System and method in the authentication key exchange scheme of identity-based with forward security for calculating publicly-owned session key
CN101944216A (en) Two-factor online transaction safety authentication method and system
CN111047305A (en) Private key storage and mnemonic method for encrypted digital currency wallet based on digital watermarking technology
CN116108410A (en) Identity credential generation method and device
CN107615797B (en) Device, method and system for hiding user identification data
CN106789977A (en) A kind of method and system that handset token is realized based on Secret splitting
US20060192651A1 (en) Data transmit system and transmit methods by using n-dimensional information
US20230261854A1 (en) Signature-free optimized post-quantum authentication scheme, methods and devices
JP5405057B2 (en) Information communication apparatus and public key authentication method

Legal Events

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

Application publication date: 20190702

RJ01 Rejection of invention patent application after publication