CN104811310B - A kind of methods of exhibiting and wearable device - Google Patents
A kind of methods of exhibiting and wearable device Download PDFInfo
- Publication number
- CN104811310B CN104811310B CN201510144156.1A CN201510144156A CN104811310B CN 104811310 B CN104811310 B CN 104811310B CN 201510144156 A CN201510144156 A CN 201510144156A CN 104811310 B CN104811310 B CN 104811310B
- Authority
- CN
- China
- Prior art keywords
- account
- terminal
- private key
- information
- wearable device
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000001747 exhibiting effect Effects 0.000 title claims abstract description 13
- 238000004891 communication Methods 0.000 claims abstract description 12
- 238000012795 verification Methods 0.000 claims description 49
- 230000004044 response Effects 0.000 claims description 46
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000004040 coloring Methods 0.000 claims description 6
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000036772 blood pressure Effects 0.000 claims description 3
- 230000036760 body temperature Effects 0.000 claims description 2
- 238000004590 computer program Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000003860 storage Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 235000021061 dietary behavior Nutrition 0.000 description 3
- 235000006694 eating habits Nutrition 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000004913 activation Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 229910002056 binary alloy Inorganic materials 0.000 description 2
- 229910003460 diamond Inorganic materials 0.000 description 2
- 239000010432 diamond Substances 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- DMBHHRLKUKUOEG-UHFFFAOYSA-N diphenylamine Chemical compound C=1C=CC=CC=1NC1=CC=CC=C1 DMBHHRLKUKUOEG-UHFFFAOYSA-N 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of methods of exhibiting and wearable devices, including:Communication module, the account synchronizing information sent for receiving second terminal under the control of a processor, the account synchronizing information is what the second terminal was sent after the account fresh information for receiving network side;The processor, for after receiving the account synchronizing information, the account synchronizing information is verified according to the private key of the public and private key centering of the wearable device, and updates the account balance of account in the first terminal according to the account synchronizing information after being verified;Display module for determining the corresponding displaying information of the account balance according to the account balance of the account under the control of the processor, and is shown according to the displaying information.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of methods of exhibiting and wearable device.
Background technology
Product of the ideal money as e-commerce, starts to play the part of more and more important role, moreover, increasingly and real
The world crosses.The industrialization of ideal money will form ideal money market.Ideal money is usually a kind of P2P (peer-to-
It is peer, point-to-point) digital cash of form.The transmission of P2P means the payment system of a decentralization.
Ideal money can be stored in ideal money wallet, and ideal money wallet is a kind of net for abiding by the special ideal money
The software of network agreement, it can be used for storing, sending, collecting ideal money.Since ideal money is to the more demanding of safety,
The ideal money wallet of mainstream is generally hardware wallet at present, and hardware wallet is a kind of operation Signing-only Wallet
Special arrangement.Its specificity keeps it safer relative to the above-mentioned wallet for operating in general purpose system.Meanwhile relative to
Other cold storage means, the static signature function that hardware wallet is supported can make its directly carry out data interaction with networking end and
Private key is imported and exported by hand without user.Its convenience is not lost yet while more preferably safety is provided.
Although many ideal money fans are considered as hardware wallet on " unique skill " for ensureing encryption currency safety, hardware
Wallet is an ice-cold hardware entities, can not embody the quantity of the ideal money wherein carried, for example, purchase is bored
Stone can determine what price the diamond is in by size, the quality of diamond, and people can not be determined by hardware wallet
Hardware wallet holder rich in degree, when only interacting hardware wallet by mobile Internet, it could be embodied and held
Person rich in degree.
Currently, the quantity of the ideal money wherein stored cannot be shown for the hardware wallet of ideal money, there has been no
Preferable technical solution.
Invention content
An embodiment of the present invention provides a kind of methods of exhibiting and wearable devices, to show the void stored in hardware wallet
The quantity of quasi- currency.
A kind of methods of exhibiting provided in an embodiment of the present invention includes:
First terminal receives the account synchronizing information that second terminal is sent, and the account synchronizing information is the second terminal
It is sent after the account fresh information for receiving network side;
The first terminal is after receiving the account synchronizing information, according to the public and private key centering of the first terminal
Private key the account synchronizing information is verified, and according to account synchronizing information update described the after being verified
The account balance of account in one terminal;
The first terminal determines the corresponding displaying information of the account balance, and root according to the account balance of the account
It is shown according to the displaying information.
Preferably, further including:
When the first terminal initialization, the verification password sent with the second terminal of first terminal binding is received,
And the private key of the first terminal is encrypted according to the verification password, obtain encrypted private key;The first terminal
The encrypted private key is stored, and deletes the private key of unencryption.
Preferably, the private key of the public and private key centering according to the first terminal carries out the account synchronizing information
Verification, including:
The first terminal is according to the encryption of the verification password to the first terminal in the account synchronizing information
Private key afterwards is decrypted, and obtains the private key, and using the private key to the account information in the account synchronizing information
It is verified.
Preferably, before the first terminal receives the account synchronizing information that second terminal is sent, further include:
The first terminal receives the transaction request message that the second terminal is sent, and the transaction request message is at least wrapped
The password containing verification;
The first terminal is according to the verification password in the transaction request message to encrypted private in the first terminal
Key is decrypted, and is verified to the private key after decryption according to the public key of the public and private key centering, raw after being verified
At transaction request response, the transaction request response message is including at least target account, the public key of the first terminal;
The first terminal is digitally signed the transaction request response message by the private key, generates number label
Transaction request response message after name;
Transaction request response message after the digital signature is sent to the second terminal by the first terminal, so that
Transaction request response message after the digital signature is sent to the target account by the second terminal, and receiving
After the account fresh information for stating network side transmission, account synchronizing information, the account fresh information are sent to the first terminal
It is sent after confirmation is merchandised successfully by the network side.
Preferably, the first terminal determines that the corresponding displaying of the account balance is believed according to the account balance of the account
Breath, and be shown according to the displaying information, including:
The corresponding displaying information of the account balance is colouring information, described in the first terminal is shown in display module
The corresponding color of account balance;Alternatively,
The corresponding displaying information of the account balance is audio-frequency information, and the first terminal plays the account by loud speaker
The corresponding audio-frequency information of family remaining sum.
An embodiment of the present invention provides a kind of wearable devices, including:
Communication module, the account synchronizing information sent for receiving second terminal under the control of a processor, the account
Synchronizing information is what the second terminal was sent after the account fresh information for receiving network side;
The processor, for after receiving the account synchronizing information, according to the public and private key of the wearable device
The private key of centering verifies the account synchronizing information, and updates institute according to the account synchronizing information after being verified
State the account balance of account in first terminal;
Display module, for being determined more than the account according to the account balance of the account under the control of the processor
The corresponding displaying information of volume, and be shown according to the displaying information.
Preferably, the processor is additionally operable to:
When initializing the wearable device, the verification password sent with the second terminal of wearable device binding is received,
And the private key at the wearable device end is encrypted according to the verification password, obtain encrypted private key;The wearing is set
It is standby to store the encrypted private key, and delete the private key of unencryption.
Preferably, the communication module is specifically used for:
The transaction request message that the second terminal is sent is received, the transaction request message includes at least verification password;
The processor is specifically used for:
Encrypted private key in wearable device is decrypted according to the verification password in the transaction request message, and according to
The public key of the public and private key centering verifies the private key after decryption, and transaction request response is generated after being verified and is disappeared
Breath, the transaction request response message is including at least target account, the public key of the wearable device;
The transaction request response message is digitally signed by the private key, the transaction after digital signature is generated and asks
Seek response message;
Transaction request response message after the digital signature is sent to the second terminal, so that the second terminal
Transaction request response message after the digital signature is sent to the target account, and is sent receiving the network side
Account fresh information after, to the wearable device send account synchronizing information, the account fresh information is by the network side
It is sent after confirmation is merchandised successfully.
Preferably, the display module is specifically used for:
The corresponding displaying information of the account balance is colouring information, shows that the account balance corresponds in display module
Color;Alternatively,
The corresponding displaying information of the account balance is audio-frequency information, and it is corresponding to play the account balance by loud speaker
Audio-frequency information.
Preferably, further including:
Electronic clock module, for showing the time by the display module;
Locating module, for determining the position coordinates where user;
Physiological signal collection module, the physiological signal for acquiring user, the physiological signal include at least the body of user
Temperature, the blood pressure of user, user electrocardiosignal.
The methods of exhibiting and device provided according to embodiments of the present invention, first terminal is in the account according to account in first terminal
Family remaining sum determines the corresponding displaying information of the account balance, and shows remaining sum according to determining displaying information.Through the invention
The method that embodiment provides, will be stored in the account balance that can not be shown in first terminal and is converted to corresponding displaying information, from
And so that only the hardware wallet of storage ideal money has more attractive appearance, more practicability originally.
Description of the drawings
Fig. 1 is a kind of structure chart of wearable device provided in an embodiment of the present invention;
Fig. 2 is a kind of methods of exhibiting flow diagram provided in an embodiment of the present invention.
Specific implementation mode
As shown in Figure 1, an embodiment of the present invention provides a kind of structure charts of wearable device, including:
Communication module 110, the account synchronizing information sent for receiving second terminal under the control of processor 100, institute
It is what the second terminal was sent after the account fresh information for receiving network side to state account synchronizing information;
The processor 100 is synchronized for reading and executing the program in memory 120, and receiving the account
After information, the account synchronizing information is verified according to the private key of the public and private key centering of the wearable device, and is testing
Card updates the account balance of account in the first terminal according to the account synchronizing information after passing through;
Display module 130 is used under the control of the processor 100 according to described in the determination of the account balance of the account
The corresponding displaying information of account balance, and be shown according to the displaying information.
Preferably, wearable device further includes:
Electronic clock module 140, for showing the time by the display module 130;
Locating module 150, for determining the position coordinates where user;
Physiological signal collection module 160, the physiological signal for acquiring user, the physiological signal include at least user's
Body temperature, the blood pressure of user, user electrocardiosignal.
Wherein, in Fig. 1, bus architecture may include the bus and bridge of any number of interconnection, specifically by processor 100
The various circuits for the memory that the one or more processors and memory 120 of representative represent link together.Bus architecture is also
Various other circuits of such as peripheral equipment, voltage-stablizer and management circuit or the like can be linked together, these are all
It is it is known in the art, therefore, it will not be further described herein.Bus interface provides interface.Communication module 110
It can be multiple element, that is, include transmitter and receiver, provide for over a transmission medium being communicated with various other devices
Unit, communication module 110 are generally communicated using bluetooth or USB interface with second terminal.Display module 130 can be liquid
Crystal display device, OLED show equipment etc., and it is not limited in the embodiment of the present invention.Locating module 150 can be believed by GPS
Number, Big Dipper satellite signal etc. is positioned, can also be to be positioned using other modes, the embodiment of the present invention does not limit this
It is fixed.
Wearable device is for the first time in use, initialized.When initializing the wearable device, receive with it is described
The verification password that the second terminal of wearable device binding is sent, and according to the verification password to the private key at the wearable device end
It is encrypted, obtains encrypted private key;The wearable device stores the encrypted private key, and deletes the private of unencryption
Key.Specifically, the flow of wearable device initialization is as follows:
1, verification password is arranged in user in second terminal, is sent to the wearing by the communication module of wearable device and sets
It is standby.Preferably, in order to protect password not to be leaked, the arrangement combination of preset number button in wearable device and second terminal,
The arrangement combining random of the digital button shown every time occurs, what the user of second terminal only showed on seeing wearable device
After the arrangement combination of digital button, the arrangement combination for inputting current digital button in second terminal is needed, is inputted in this way
Number can just be transmitted to wearable device.In this way, in setting verification password in second terminal, even if in second terminal
By also can be well protected the verification password inputted in the case of having virus attack.
2, for wearable device after receiving verification password for the first time, wearable device can generate private key.Private key is substantially 32
The array of a byte compositions, 1 byte are equal to 8 binary systems, and only there are two types of possibilities 0 or 1 for a binary system, so private key
Sum be exactly 2256A, this quantity has been over the sum of atom in universe, it is desirable to traverse all private keys, exhaust whole
The energy of a sun is also can not possibly be successfully.If the array of 32 byte compositions shows that not only discrimination is too
Difference, and it is too long.Therefore it needs to do 32 byte arrays of private key the conversion of Base58, Base58 is in ideal money
A kind of unique coding mode used, mainly for generation of the wallet address of ideal money and private key.Compared to Base64,
Base58 does not use digital " 0 ", letter capitalization " O ", letter capitalization " I " and lower-case letters " l ", and "+" and "/" symbol.It is main
It is exactly to be not easy to misplay when input to visually easily identify.
3, public key is generated according to private key.One private key can generate one 65 after ellipse curve signature algorithm transformation
The array private key pair of byte.Public key is the data for unlocking private key signature, after being merchandised using private key signature, can oneself
Public key is sent together, and the data of private key signature can be using public key decryptions, and miner is just able to verify that the label of private key after transmission public key
The correctness of name, private key and public key occur in pairs, and the data of a private key signature, only corresponding public key can just be unlocked,
And address is also to be generated from public key, can thus verify whether transaction belongs to this address.
4, address is generated according to public key.Address is for receiving ideal money, its card number similar to bank card.Public address
There is no concern that the ideal money of the inside is stolen.A string of characters that it is made of English alphabet and number, for example, bit coin
Address is started by " 1 " or " 3 ", case sensitive, does not include " IlO0 ", and the address of " 1 " beginning grows 26~34, and " 3 " are opened
Grow 34, such as " 1DwunA9otZZQyhkVvkLJ8DV1tuSwMF7r3v " in the address of head.Ideal money first does one to public key
Secondary SHA256, then a RIPEMD160 is done to the public key after SHA256, then the array of 20 byte is taken from result, at this
The array of a 1byte is added before 20 byte arrays, the array of the 1byte is the version of the address (version)
Information to obtain a key hash (hash160), then calculates preceding 4 verifications after being SHA256 twice to key hash
(Checksum) carries out Base58 and converts to form address after connecting Cheksum with key hash.
5, wearable device is encrypted the private key at the wearable device end by the verification password received, is encrypted
Private key afterwards;The wearable device stores the encrypted private key, and deletes the private key of unencryption.Preferably, in order to protect
Verification password is not leaked, another password may be used and just encrypted to verification password, hereon referred to as quick password will pass through
Verification password after quick password encryption is stored.In this way, when being transferred accounts using wearable device progress ideal money, first may be used
To obtain quick password, and encrypted verification password is decrypted with quick password, then again with the verification password solution decrypted
The close private key for being verified password encryption, and the private key by decrypting carries out authentication.
6, the public key of generation is sent to second terminal by wearable device.
After wearable device initializes successfully, wearable device end can show a string by number and/or word by display module 130
Mother composition character string, referred to as seed, the seed is corresponding with the address in the wearable device, if wearable device loss or by
Damage etc., can restore using this seed or reset a new wearable device, to which the wearing that will be lost or damage is set
The account information of ideal money in standby is transferred in new wearable device.
Wearable device is after initialization, so that it may to be traded by second terminal, such as the operations such as transfer accounts.Wearing
Equipment receives the transaction request message that second terminal is sent by communication module 110, and the transaction request message is included at least and tested
Demonstrate,prove password;Wearable device solves encrypted private key in wearable device according to the verification password in the transaction request message
It is close, and the private key after decryption is verified according to the public key of the public and private key centering, transaction is generated after being verified asks
Response message is sought, the transaction request response message is including at least target account, the public key of the wearable device;Wearable device is logical
It crosses the private key to be digitally signed the transaction request response message, generates the response of the transaction request after digital signature and disappear
Breath;Transaction request response message after the digital signature is sent to the second terminal by wearable device;The second terminal
Transaction request response message after the digital signature is sent to the target account, and is sent receiving the network side
Account fresh information after, to the wearable device send account synchronizing information, the account fresh information is by the network side
It is sent after confirmation is merchandised successfully.
It should be noted that the Transaction Information in order to avoid wearable device is maliciously stolen, it is traded in wearable device
When operation, wearable device is not direct and network side into row information interaction, but by second terminal and network side into row information
Interaction.Wearable device receives the transaction request message for the network side that second terminal is sent by communication module, and transaction is asked
Second terminal is sent to after asking response message to be digitally signed using private key, so that second terminal disappears transaction request response
Breath is sent to network side.Since wearable device is in non-networked state in process of exchange, to solve base in the related technology
Safety issue when P2P networks are traded.
The flow that wearable device is traded operation is as follows:
1. carrying out authentication first.
Only storage is by the private key after verifying password encryption in wearable device, when wearable device carries out ideal money transaction
When, the verification password sent using the second terminal received decrypts encrypted private key, and then using public key and after decrypting
Private key pairing, with confirm second terminal send verification password it is whether correct.At the same time it can also add to verification password
Verification password close, that only storage passes through quick password encryption.After receiving the quick password of second terminal transmission, using quick
Password decrypts verification password, is then verified the private key of password encryption with the verification password decryption decrypted again, finally uses public affairs
Key is matched with the private key after decryption, to realize the authentication to wearable device.
2. wearable device receives the transaction request message of second terminal transmission, which includes at least verification
Password;It should be noted that in order to complete this transaction, in transaction request message can also include target account, transaction amount,
The information such as the account of wearable device.
3. wearable device to verification password verify, specifically, wearable device according to verification password in wearable device
Encrypted private key is decrypted, and is verified to the private key after decryption according to the public key of public and private key centering, is equivalent to public affairs
Key and private key are matched, if successful match, are illustrated that the private key decrypted is the period, are proved to be successful at this time, while wearing is set
It is standby to show that transaction general information confirms for user by display module, for example, the former positions of display target account, transaction amount
Deng;If authentication failed is prompted by display module.
4. after being proved to be successful, user generates transaction request response message by wearable device, and by private key to transaction
Request response is digitally signed, and the transaction request response message after digital signature is sent to second by communication module
Terminal.The public key etc. in target account, transaction amount, public private key pair is generally comprised in transaction request response message.
5. the transaction request response message after digital signature is sent to the target account by the second last terminal.Second eventually
After transaction request response message is sent to network side by end, in all network sides for receiving this transaction request response message
Whether node can all verify the transaction request response message accurate, for example, can signature verification, can be in the account of effect wearable device
Whether enough account balance etc. is had, if after all confirming by all nodes of network side, this transaction just can confirm that success
?.Preferably, before second terminal sends the transaction request response message after digital signature, it is also necessary to user be allowed to confirm transaction
The amount of money and the account balance of account in wearable device are compared, when transaction amount is less than the account balance of account in wearable device
When, just confirm this transaction.
Since wearable device cannot be directly attached with network side, wearable device after each transaction, needs to lead to
It crosses second terminal and account balance update is carried out to the account in wearable device so that the account balance in wearable device and network side
In other nodes records account balance it is consistent.
After transaction obtains all nodes confirmation of network side every time, second terminal sends account to wearable device and synchronizes letter
It ceases, the account of wearable device and newest account balance is included at least in account synchronizing information, wearable device is receiving
After stating account synchronizing information, the account synchronizing information is verified according to the private key of the public and private key centering of wearable device,
And the account balance of account in the first terminal is updated according to the account synchronizing information after being verified.
Most costly articles all have the function of externally showing in the world, and it is all with life that " showing off " can be described as the mankind
One of the instinct demand come.For such a virtual goods for lacking practical value of ideal money, shows off or show more
It is essential requirement.If lacking a kind of method that safely, obviously, grazioso can externally show, ideal money conduct
A kind of value of commodity will undoubtedly have a greatly reduced quality.Ideal money is combined with wearable device in the embodiment of the present invention so that wear
Equipment is worn while wearing, the account balance of the ideal money representated by account therein can be shown, even if the wearing
Equipment is due to excessively exposing the wealth, and after being grabbed by criminal, criminal can not also turn the ideal money in the wearable device
Account is to other accounts, to fully ensure that the safety of ideal money in wearable device.
As described above, wearable device can show the time there are many function by display module;Pass through positioning
Module determines the position coordinates where user;The physiological signal etc. of user can be acquired.Meanwhile in order to save electricity, wearing is set
It is standby without using in the case of, may be at standby mode or Low-power-consumptiodormancy dormancy state.By there are many kinds of wearable device activation
Mode, for example, the push button exciting of wearable device, short to touch, the switching of the key modes Dietary behavior such as long-press or entrance can be passed through
Standby mode;It can be switched by the sensor Dietary behavior inside wearable device or enter standby mode, such as pass through weight
The sensors such as force snesor, gyroscope enter activation, pattern switching and standby mode by induction mode;USB can be passed through
Interface or the switching of bluetooth Dietary behavior or entrance standby mode etc..
Wearable device can show the time or show the account balance of ideal money, dress when being active
Equipment can make display or the hidden displaying shown according to the account balance of ideal money in account.For example, for bit coin, Ke Yitong
LED is crossed to show the quantity of bit coin in account balance.Display can be segmented when display, for example 0.001BTC or less is shown
It is 0, is more than 0.001 and is less than the forms such as 1 display, 1,1~100 display 2 to show the quantity of bit coin.
The corresponding displaying information of account balance of wearable device can also be colouring information, by showing that different colors is believed
It ceases to represent different account balances, the corresponding color of account balance is shown in display module.For example, red represents 100, Huang
Color represents 1000, when showing yellow, so that it may to allow people around to know the account balance of the ideal money in your wearable device
It is 1000.The corresponding displaying information of account balance of wearable device can also be audio-frequency information, by different audio-frequency informations come
Different account balances is represented, the corresponding audio-frequency information of account balance is played by loud speaker.This makes it possible to reach displaying account
The purpose of family remaining sum.The size of volume and the frequency of loud speaker can be adjusted according to the difference of coin amount.Sound is very brief or continuous
Length can be indicated by the way that different frequency values are arranged.
The corresponding displaying information of account balance of wearable device can also be other information, as the brightness of display module is believed
Breath represents different account balances by showing different brightness, for example, when account balance is 0, the brightness of display module is most
Secretly.
It should be noted that the method for displaying account balance described above is some embodiments, people in the art
The scheme for the displaying account balance that member obtains according to foregoing description under the premise of without creative work is all implemented in the present invention
In the protection domain of example, this is no longer going to repeat them.
According to wearable device described above, the embodiment of the present invention also provides a kind of methods of exhibiting, the methods of exhibiting it is interior
Foregoing description can be referred to by holding, and details are not described herein.
As shown in Fig. 2, a kind of methods of exhibiting provided in an embodiment of the present invention, this method include:
Step 201:First terminal receives the account synchronizing information that second terminal is sent, and the account synchronizing information is described
What second terminal was sent after the account fresh information for receiving network side;
Step 202:The first terminal is after receiving the account synchronizing information, according to the public and private of the first terminal
The private key of cipher key pair verifies the account synchronizing information, and after being verified according to the account synchronizing information more
The account balance of account in the new first terminal;
Step 203:The first terminal determines the corresponding displaying of the account balance according to the account balance of the account
Information, and be shown according to the displaying information.
First terminal can be wearable device etc. in the embodiment of the present invention, and second terminal can be mobile phone, tablet computer etc..
Preferably, further including:
When the first terminal initialization, the verification password sent with the second terminal of first terminal binding is received,
And the private key of the first terminal is encrypted according to the verification password, obtain encrypted private key;The first terminal
The encrypted private key is stored, and deletes the private key of unencryption.
Preferably, the private key of the public and private key centering according to the first terminal carries out the account synchronizing information
Verification, including:
The first terminal is according to the encryption of the verification password to the first terminal in the account synchronizing information
Private key afterwards is decrypted, and obtains the private key, and using the private key to the account information in the account synchronizing information
It is verified.
Preferably, before the first terminal receives the account synchronizing information that second terminal is sent, further include:
The first terminal receives the transaction request message that the second terminal is sent, and the transaction request message is at least wrapped
The password containing verification;
The first terminal is according to the verification password in the transaction request message to encrypted private in the first terminal
Key is decrypted, and is verified to the private key after decryption according to the public key of the public and private key centering, raw after being verified
At transaction request response, the transaction request response message is including at least target account, the public key of the first terminal;
The first terminal is digitally signed the transaction request response message by the private key, generates number label
Transaction request response message after name;
Transaction request response message after the digital signature is sent to the second terminal by the first terminal, so that
Transaction request response message after the digital signature is sent to the target account by the second terminal, and receiving
After the account fresh information for stating network side transmission, account synchronizing information, the account fresh information are sent to the first terminal
It is sent after confirmation is merchandised successfully by the network side.
Preferably, the first terminal determines that the corresponding displaying of the account balance is believed according to the account balance of the account
Breath, and be shown according to the displaying information, including:
The corresponding displaying information of the account balance is colouring information, described in the first terminal is shown in display module
The corresponding color of account balance;Alternatively,
The corresponding displaying information of the account balance is audio-frequency information, and the first terminal plays the account by loud speaker
The corresponding audio-frequency information of family remaining sum.
In conclusion the methods of exhibiting and device that provide according to embodiments of the present invention, first terminal is according to first terminal
The account balance of middle account determines the corresponding displaying information of the account balance, and shows remaining sum according to determining displaying information.
The method provided through the embodiment of the present invention will be stored in the account balance that can not be shown in first terminal and be converted to corresponding exhibition
Show information, so that only the hardware wallet of storage ideal money has more attractive appearance, more practicability originally.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of wearable device, which is characterized in that including:
Communication module, the account synchronizing information sent for receiving second terminal under the control of a processor, the account synchronize
Information is what the second terminal was sent after the account fresh information for receiving network side;
The processor, for after receiving the account synchronizing information, according to the public and private key centering of the wearable device
Private key the account synchronizing information is verified, and after being verified according to the account synchronizing information update described in wear
Wear the account balance of account in equipment;
Display module, for determining the account balance pair according to the account balance of the account under the control of the processor
The displaying information answered, and be shown according to the displaying information;
The processor is additionally operable to:When initializing the wearable device, receives and sent out with the second terminal of wearable device binding
The verification password sent, and the private key at the wearable device end is encrypted according to the verification password, obtain encrypted private
Key;The wearable device stores the encrypted private key, and deletes the private key of unencryption.
2. wearable device according to claim 1, which is characterized in that the communication module is specifically used for:
The transaction request message that the second terminal is sent is received, the transaction request message includes at least verification password;
The processor is specifically used for:
Encrypted private key in wearable device is decrypted according to the verification password in the transaction request message, and according to described
The public key of public and private key centering verifies the private key after decryption, and transaction request response message, institute are generated after being verified
Transaction request response message is stated including at least target account, the public key of the wearable device;
The transaction request response message is digitally signed by the private key, the transaction request after digital signature is generated and rings
Answer message;
Transaction request response message after the digital signature is sent to the second terminal, so that the second terminal is by institute
It states the transaction request response message after digital signature and is sent to the target account, and in the account for receiving the network side transmission
After the fresh information of family, account synchronizing information is sent to the wearable device, the account fresh information is by the network side true
Recognize after merchandising successfully and sends.
3. according to claim 1 to 2 any one of them wearable device, which is characterized in that the display module is specifically used for:
The corresponding displaying information of the account balance is colouring information, and the corresponding face of the account balance is shown in display module
Color;Alternatively,
The corresponding displaying information of the account balance is audio-frequency information, and the corresponding audio of the account balance is played by loud speaker
Information.
4. wearable device according to claim 3, which is characterized in that further include:
Electronic clock module, for showing the time by the display module;
Locating module, for determining the position coordinates where user;
Physiological signal collection module, the physiological signal for acquiring user, the physiological signal include at least the body temperature of user, use
The blood pressure at family, the electrocardiosignal of user.
5. a kind of methods of exhibiting, which is characterized in that this method includes:
First terminal receives the account synchronizing information that second terminal is sent, and the account synchronizing information is that the second terminal is connecing
It is sent after the account fresh information of receipts network side;
The first terminal is after receiving the account synchronizing information, according to the private of the public and private key centering of the first terminal
Key verifies the account synchronizing information, and whole according to account synchronizing information update described first after being verified
The account balance of account in end;
The first terminal determines the corresponding displaying information of the account balance according to the account balance of the account, and according to institute
Displaying information is stated to be shown;
Further include:When the first terminal initialization, it is close to receive the verification that the second terminal bound with the first terminal is sent
Code, and the private key of the first terminal is encrypted according to the verification password, obtain encrypted private key;Described first eventually
End stores the encrypted private key, and deletes the private key of unencryption.
6. according to the method described in claim 5, it is characterized in that, the public and private key centering according to the first terminal
Private key verifies the account synchronizing information, including:
The first terminal is according to the verification password in the account synchronizing information to the described encrypted of the first terminal
Private key is decrypted, and obtains the private key, and using the private key to being carried out to the account information in the account synchronizing information
Verification.
7. according to the method described in claim 6, it is characterized in that, the account of first terminal reception second terminal transmission is same
Before walking information, further include:
The first terminal receives the transaction request message that the second terminal is sent, and the transaction request message is included at least and tested
Demonstrate,prove password;
The first terminal according to the verification password in the transaction request message to encrypted private key in the first terminal into
Row decryption, and the private key after decryption is verified according to the public key of the public and private key centering, it generates and hands over after being verified
Easy request response, the transaction request response message is including at least target account, the public key of the first terminal;
The first terminal is digitally signed the transaction request response message by the private key, after generating digital signature
Transaction request response message;
Transaction request response message after the digital signature is sent to the second terminal by the first terminal, so that described
Transaction request response message after the digital signature is sent to the target account by second terminal, and is receiving the net
After the account fresh information that network side is sent, account synchronizing information is sent to the first terminal, the account fresh information is by institute
Network side is stated to send after confirmation is merchandised successfully.
8. according to claim 5 to 7 any one of them method, which is characterized in that the first terminal is according to the account
Account balance determines the corresponding displaying information of the account balance, and is shown according to the displaying information, including:
The corresponding displaying information of the account balance is colouring information, and the first terminal shows the account in display module
The corresponding color of remaining sum;Alternatively,
The corresponding displaying information of the account balance is audio-frequency information, and the first terminal is played by loud speaker more than the account
The corresponding audio-frequency information of volume.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144156.1A CN104811310B (en) | 2015-03-30 | 2015-03-30 | A kind of methods of exhibiting and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510144156.1A CN104811310B (en) | 2015-03-30 | 2015-03-30 | A kind of methods of exhibiting and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104811310A CN104811310A (en) | 2015-07-29 |
CN104811310B true CN104811310B (en) | 2018-11-13 |
Family
ID=53695827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510144156.1A Expired - Fee Related CN104811310B (en) | 2015-03-30 | 2015-03-30 | A kind of methods of exhibiting and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104811310B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI615785B (en) * | 2015-09-15 | 2018-02-21 | 台灣銘板股份有限公司 | Inductive trade system and method thereof |
CN105245507B (en) * | 2015-09-23 | 2019-06-11 | 宇龙计算机通信科技(深圳)有限公司 | The method for building up and device of communication link |
CN106130885A (en) * | 2016-07-18 | 2016-11-16 | 吴东辉 | Method and system based on image recognition opening relationships |
CN108011719A (en) * | 2017-11-16 | 2018-05-08 | 深圳市文鼎创数据科技有限公司 | A kind of endorsement method, device and digital signature system |
CN108234133B (en) * | 2017-12-28 | 2020-12-15 | 中国人民银行数字货币研究所 | Method and system for replacing key of digital currency wallet |
CN108776892B (en) * | 2018-05-21 | 2022-05-31 | 北京橙鑫数据科技有限公司 | Storage system, device, and recovery method of storage system |
CN109257341B (en) * | 2018-09-04 | 2021-04-06 | 广州矩阵信息科技有限公司 | Block chain address management method and equipment |
CN109389377A (en) * | 2018-09-27 | 2019-02-26 | 杭州秘猿科技有限公司 | A kind of contactless static signature method, apparatus, electronic equipment and system |
CN109508986A (en) * | 2018-12-05 | 2019-03-22 | 上海第二工业大学 | A kind of portable block chain terminal wearable device control method |
CN109670840A (en) * | 2018-12-05 | 2019-04-23 | 上海第二工业大学 | A kind of block chain terminal equipment control method based on cryptography |
CN109727128B (en) * | 2018-12-07 | 2020-10-09 | 杭州秘猿科技有限公司 | Asset management method and system based on multiple hardware wallets |
CN111082927B (en) * | 2019-11-07 | 2023-12-12 | 贵州警察学院 | Private key management method and device and terminal equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425861A (en) * | 2008-12-08 | 2009-05-06 | 中兴通讯股份有限公司 | Mobile multimedia broadcast terminal and charging method thereof |
CN103455913A (en) * | 2013-08-26 | 2013-12-18 | 天地融科技股份有限公司 | NFC payment method, device, system and mobile terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
BRPI0806457A2 (en) * | 2007-01-09 | 2011-09-06 | Visa Usa Inc | Method mobile phone and system |
CN102479405A (en) * | 2010-11-30 | 2012-05-30 | 英业达股份有限公司 | Portable storage device as well as use method and system thereof |
CN102917351B (en) * | 2011-08-05 | 2015-04-01 | ***通信集团公司 | Method and device for realizing application in user identification card and user identification card |
CN103188212A (en) * | 2011-12-27 | 2013-07-03 | 上海博泰悦臻电子设备制造有限公司 | Security management method and service terminal of electronic wallet, and electronic wallet system |
CN103220145B (en) * | 2013-04-03 | 2015-06-17 | 天地融科技股份有限公司 | Method and system for electronic signature token to respond to operation request, and electronic signature token |
CN104200363B (en) * | 2014-08-11 | 2017-07-04 | 济南曼维信息科技有限公司 | A kind of method of payment of the electronic purse system based on encrypting fingerprint |
-
2015
- 2015-03-30 CN CN201510144156.1A patent/CN104811310B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101425861A (en) * | 2008-12-08 | 2009-05-06 | 中兴通讯股份有限公司 | Mobile multimedia broadcast terminal and charging method thereof |
CN103455913A (en) * | 2013-08-26 | 2013-12-18 | 天地融科技股份有限公司 | NFC payment method, device, system and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104811310A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811310B (en) | A kind of methods of exhibiting and wearable device | |
CN106533687B (en) | A kind of identity identifying method and equipment | |
CN106527673B (en) | Bind method and apparatus, electric paying method and the device of wearable device | |
CN101960762B (en) | system and method for performing wireless financial transactions | |
CN107533620A (en) | Enhancing certification based on secondary device interaction | |
CN105491077B (en) | A kind of system of authentication | |
CN104270517B (en) | Information ciphering method and mobile terminal | |
CN107278307A (en) | Software layer is mutually authenticated | |
CN108780548A (en) | Using Elliptic Curve Cryptography for Personal Device Security to Share Secrets | |
CN104463001A (en) | Method for independently generating and storing encrypted digital currency private key and device for bearing encrypted digital currency private key | |
CN108964903A (en) | password storage method and device | |
JP2010526368A (en) | System and method for transferring protected data over a network from a mobile device | |
CN106611310B (en) | Data processing method, wearable electronic device and system | |
CN109474420A (en) | A kind of private key backup method and relevant device | |
CN107358441A (en) | Method, system and the mobile device and safety certificate equipment of payment verification | |
US11565186B2 (en) | Method and device for acquiring probability information of gacha system, and computer program | |
CN108199847A (en) | Security processing method, computer equipment and storage medium | |
CN107707518A (en) | Device and method for the information security based on affairs | |
US20080172339A1 (en) | Method and system for authenticating transactions | |
CN109660344A (en) | Anti- quantum calculation block chain method of commerce and system based on unsymmetrical key pond route device | |
ES2686113T3 (en) | Procedure for the authentication of a participant | |
CN104966193A (en) | System and method for safely transmitting ID (identity )by using Bluetooth | |
CA3044991A1 (en) | Secure transactional cryptocurrency hardware wallet | |
CN110287733A (en) | A kind of file tamper resistant method and device | |
JP2005208841A (en) | Communication system, portable terminal and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200330 Address after: 201999 room 203-j, building 1, 1508 Mudanjiang Road, Baoshan District, Shanghai Patentee after: Shanghai brilliant Smart Technology Co.,Ltd. Address before: 201114 room 67, No. 2639, Lane 404, Pu Shen road, Shanghai, Minhang District Co-patentee before: Tang Yanbo Patentee before: Zhao Yuxiang Co-patentee before: Chen Xiangru |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20181113 |
|
CF01 | Termination of patent right due to non-payment of annual fee |