[go: up one dir, main page]

CN104811310B - A kind of methods of exhibiting and wearable device - Google Patents

A kind of methods of exhibiting and wearable device Download PDF

Info

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
transaction request
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
Application number
CN201510144156.1A
Other languages
Chinese (zh)
Other versions
CN104811310A (en
Inventor
赵宇翔
唐彦波
陈湘如
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Brilliant Smart Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510144156.1A priority Critical patent/CN104811310B/en
Publication of CN104811310A publication Critical patent/CN104811310A/en
Application granted granted Critical
Publication of CN104811310B publication Critical patent/CN104811310B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Display method and wearable device
Technical Field
The invention relates to the technical field of computers, in particular to a display method and wearing equipment.
Background
Virtual currency, as a product of electronic commerce, begins to play an increasingly important role and, moreover, increasingly meets the real world. The industrialization of virtual currency will form the virtual currency market. The virtual currency is typically a digital currency in the form of P2P (peer-to-peer). The transmission of P2P implies a decentralized payment system.
The virtual currency may be stored in a virtual currency wallet, which is software that complies with the network protocol for the virtual currency and may be used to store, send, and collect the virtual currency. Because of the high security requirement of virtual currency, the current mainstream of virtual currency Wallet is generally hardware Wallet, which is a special device running signaling-only Wallet. Its specificity makes it more secure than the aforementioned wallets which operate on general purpose systems. Meanwhile, compared with other cold storage means, the off-line signature function supported by the hardware wallet can enable the hardware wallet to directly perform data interaction with a networking end without manually importing and exporting a private key by a user. The convenience is not lost while better safety is provided.
Although many virtual currency enthusiasts regard the hardware wallet as "immortal" for guaranteeing the security of cryptocurrency, the hardware wallet is a cold hardware entity and cannot reflect the amount of virtual currency carried therein, for example, purchasing a diamond can determine the price of the diamond according to the size and quality of the diamond, while people cannot determine the richness of the holder of the hardware wallet through the hardware wallet, and the richness of the holder can be reflected only when the hardware wallet is interacted with the mobile internet.
At present, a hardware wallet aiming at virtual currency cannot show the quantity of the virtual currency stored in the hardware wallet, and a better technical scheme is not provided.
Disclosure of Invention
The embodiment of the invention provides a display method and wearable equipment, which are used for displaying the number of virtual money stored in a hardware wallet.
The display method provided by the embodiment of the invention comprises the following steps:
the method comprises the steps that a first terminal receives account synchronization information sent by a second terminal, wherein the account synchronization information is sent by the second terminal after receiving account updating information of a network side;
the first terminal verifies the account synchronization information according to a private key in a public and private key pair of the first terminal after receiving the account synchronization information, and updates the account balance of an account in the first terminal according to the account synchronization information after the verification is passed;
and the first terminal determines display information corresponding to the account balance according to the account balance of the account and displays the display information according to the display information.
Preferably, the method further comprises the following steps:
when the first terminal is initialized, receiving a verification password sent by a second terminal bound with the first terminal, and encrypting a private key of the first terminal according to the verification password to obtain an encrypted private key; and the first terminal stores the encrypted private key and deletes the unencrypted private key.
Preferably, the verifying the account synchronization information according to a private key of the public-private key pair of the first terminal includes:
and the first terminal decrypts the encrypted private key of the first terminal according to a verification password in the account synchronization information to obtain the private key, and verifies the account information in the account synchronization information by using the private key.
Preferably, before the first terminal receives the account synchronization information sent by the second terminal, the method further includes:
the first terminal receives a transaction request message sent by the second terminal, wherein the transaction request message at least comprises an authentication password;
the first terminal decrypts the encrypted private key in the first terminal according to the verification password in the transaction request message, verifies the decrypted private key according to the public key in the public-private key pair, and generates a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the first terminal;
the first terminal carries out digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature;
the first terminal sends the transaction request response message after the digital signature to the second terminal, so that the second terminal sends the transaction request response message after the digital signature to the target account, and sends account synchronization information to the first terminal after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after the network side confirms that the transaction is successful.
Preferably, the determining, by the first terminal, the display information corresponding to the account balance according to the account balance of the account, and displaying according to the display information includes:
the display information corresponding to the account balance is color information, and the first terminal displays the color corresponding to the account balance in a display module; or,
the display information corresponding to the account balance is audio information, and the first terminal plays the audio information corresponding to the account balance through a loudspeaker.
The embodiment of the invention provides a wearable device, which comprises:
the communication module is used for receiving account synchronization information sent by a second terminal under the control of the processor, wherein the account synchronization information is sent by the second terminal after receiving account update information of a network side;
the processor is used for verifying the account synchronization information according to a private key in a public and private key pair of the wearable device after receiving the account synchronization information, and updating the account balance of the account in the first terminal according to the account synchronization information after the account synchronization information passes verification;
and the display module is used for determining display information corresponding to the account balance according to the account balance of the account under the control of the processor and displaying according to the display information.
Preferably, the processor is further configured to:
when the wearable device is initialized, receiving a verification password sent by a second terminal bound with the wearable device, and encrypting a private key of the wearable device end according to the verification password to obtain an encrypted private key; the wearing device stores the encrypted private key and deletes the unencrypted private key.
Preferably, the communication module is specifically configured to:
receiving a transaction request message sent by the second terminal, wherein the transaction request message at least comprises an authentication password;
the processor is specifically configured to:
decrypting an encrypted private key in the wearing equipment according to a verification password in the transaction request message, verifying the decrypted private key according to a public key in the public-private key pair, and generating a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the wearing equipment;
performing digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature;
and sending the transaction request response message after the digital signature to the second terminal so that the second terminal sends the transaction request response message after the digital signature to the target account, and sending account synchronization information to the wearable device after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after confirming that the transaction is successful.
Preferably, the display module is specifically configured to:
the display information corresponding to the account balance is color information, and the color corresponding to the account balance is displayed in a display module; or,
and the display information corresponding to the account balance is audio information, and the audio information corresponding to the account balance is played through a loudspeaker.
Preferably, the method further comprises the following steps:
the electronic clock module is used for displaying time through the display module;
the positioning module is used for determining the position coordinates of the user;
the physiological signal acquisition module is used for acquiring physiological signals of a user, and the physiological signals at least comprise the body temperature of the user, the blood pressure of the user and electrocardiosignals of the user.
According to the display method and device provided by the embodiment of the invention, the first terminal determines the display information corresponding to the account balance according to the account balance of the account in the first terminal, and displays the balance according to the determined display information. By the method provided by the embodiment of the invention, account balance which cannot be displayed and is stored in the first terminal is converted into corresponding display information, so that the hardware wallet which only stores virtual currency originally has more beautiful appearance and more practicability.
Drawings
Fig. 1 is a structural diagram of a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a display method according to an embodiment of the present invention.
Detailed Description
As shown in fig. 1, an embodiment of the present invention provides a structure diagram of a wearable device, including:
a communication module 110, configured to receive, under the control of the processor 100, account synchronization information sent by a second terminal, where the account synchronization information is sent by the second terminal after receiving account update information of a network side;
the processor 100 is configured to read and execute a program in the memory 120, verify the account synchronization information according to a private key of a public-private key pair of the wearable device after receiving the account synchronization information, and update an account balance of an account in the first terminal according to the account synchronization information after the verification is passed;
a display module 130, configured to determine, under the control of the processor 100, display information corresponding to the account balance according to the account balance of the account, and display according to the display information.
Preferably, the wearing device further comprises:
an electronic clock module 140 for displaying time through the display module 130;
the positioning module 150 is used for determining the position coordinates of the user;
the physiological signal collecting module 160 is configured to collect a physiological signal of the user, where the physiological signal at least includes a body temperature of the user, a blood pressure of the user, and an electrocardiographic signal of the user.
Where in fig. 1, the bus architecture may include any number of interconnected buses and bridges, with various circuits of one or more processors, represented by processor 100, and memory, represented by memory 120, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The communication module 110 may be a plurality of elements, i.e. including a transmitter and a receiver, providing a means for communicating with various other devices over a transmission medium, the communication module 110 typically communicating with a second terminal using a bluetooth or USB interface. The display module 130 may be a liquid crystal display device, an OLED display device, and the like, which is not limited in the embodiment of the present invention. The positioning module 150 may perform positioning through a GPS signal, a beidou satellite signal, or the like, or perform positioning in other manners, which is not limited in the embodiment of the present invention.
The wearable device needs to be initialized when used for the first time. When the wearable device is initialized, receiving a verification password sent by a second terminal bound with the wearable device, and encrypting a private key of the wearable device end according to the verification password to obtain an encrypted private key; the wearing device stores the encrypted private key and deletes the unencrypted private key. Specifically, the initialization process of the wearable device is as follows:
1. the user sets up the verification password on the second terminal, sends for this wearing equipment through wearing equipment's communication module. Preferably, in order to protect the password from being leaked, the arrangement combination of the digital buttons is preset in the wearable device and the second terminal, the arrangement combination of the digital buttons displayed at each time appears randomly, and a user of the second terminal needs to input the current arrangement combination of the digital buttons in the second terminal only after seeing the arrangement combination of the digital buttons displayed on the wearable device, so that the input numbers can be transmitted to the wearable device. By the method, when the verification password is set on the second terminal, the input verification password can be well protected even if the second terminal is attacked by viruses.
2. After the wearable device receives the verification password for the first time, the wearable device generates a private key. The private key is essentially an array of 32 bytes, 1byte equals an 8-bit binary, and a binary has only two possibilities, 0 or 1, so that the total number of private keys is 2256This number already exceeds the total number of atoms in the universe, and it is not possible to succeed in depleting the energy of the entire sun in an attempt to traverse all the private keys. An array of 32 bytes, if displayed, is not only too poor in recognition rate, but also too long. Therefore, 32 byte arrays of private keys need to be subjected to Base58 conversion, and Base58 is a unique encoding mode used in virtual currency and is mainly used for generating wallet addresses and private keys of the virtual currency. In contrast to Base64, Base58 does not use the numbers "0", the letters uppercase "O", the letters uppercase "I", and the letters lowercase "l", as well as the "+" and "/" symbols. Mainly for the easy discernment of naked eye, be difficult to beat the mistake when inputing.
3. And generating a public key according to the private key. A private key is transformed by the elliptic curve signature algorithm to generate an array private key pair of 65 bytes. The public key is used for decoding the data signed by the private key, the public key of the public key is sent together after the private key is used for signing the transaction, the data signed by the private key can be decrypted by the public key, a mineworker can verify the correctness of the signature of the private key after the public key is sent, the private key and the public key are paired, the data signed by one private key can be decoded only by the corresponding public key, and the address is also generated from the public key, so that whether the transaction belongs to the address or not can be verified.
4. An address is generated from the public key. The address is used to receive virtual currency, which resembles the card number of a bank card. Only the public address does not need to worry about stealing the virtual currency in the public address. It is a string of characters composed of English letters and numbers, for example, the address of the bitcoin is started by "1" or "3", which is distinguished from case to case, and does not include "IlO 0", the address length of "1" is 26-34 bits, the address length of "3" is 34 bits, for example, "1Dwuna9otZZQyhkVvkLJ8DV1tuSwMF7r3 v". The virtual currency firstly makes SHA256 to the public key once, then makes RIPEMD160 to the public key after SHA256 once, then takes 20 byte arrays from the result, adds a 1byte array in front of the 20 bit byte array, the 1byte array is the version (version) information of the address, thus obtains a key hash (hash160), then makes SHA256 to the key hash twice, calculates the Checksum (Checksum) of the first 4 bits, connects Cheksum and the key hash, and then carries out Base58 conversion to form the address.
5. The wearable device encrypts a private key of the wearable device end through the received verification password to obtain an encrypted private key; the wearing device stores the encrypted private key and deletes the unencrypted private key. Preferably, in order to protect the verification password from being leaked, another password may be used to encrypt the verification password, which is referred to as a shortcut password herein, and the verification password encrypted by the shortcut password is stored. Therefore, when the wearable device is used for virtual money transfer, the quick password can be acquired firstly, the encrypted verification password is decrypted by the quick password, the decrypted verification password is used for decrypting the private key encrypted by the verification password, and the identity is verified through the decrypted private key.
6. And the wearable device sends the generated public key to the second terminal.
After the wearable device is initialized successfully, the wearable device end displays a string of character strings composed of numbers and/or letters through the display module 130, which is called seed, the seed corresponds to an address in the wearable device, if the wearable device is lost or damaged, etc., the seed can be used to recover or reset a new wearable device, so that account information of virtual money in the lost or damaged wearable device is transferred to the new wearable device.
After the wearable device is initialized, the transaction, such as the operation of transferring money and the like, can be carried out through the second terminal. The wearable device receives a transaction request message sent by a second terminal through the communication module 110, wherein the transaction request message at least comprises a verification password; the wearable device decrypts the encrypted private key in the wearable device according to the verification password in the transaction request message, verifies the decrypted private key according to the public key in the public-private key pair, and generates a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the wearable device; the wearable device carries out digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature; the wearable device sends the transaction request response message after the digital signature to the second terminal; and the second terminal sends the transaction request response message after the digital signature to the target account, and sends account synchronization information to the wearable device after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after the transaction is confirmed to be successful.
It should be noted that, in order to avoid malicious stealing of the transaction information of the wearable device, when the wearable device performs a transaction operation, the wearable device does not directly perform information interaction with the network side, but performs information interaction with the network side through the second terminal. The wearable device receives a transaction request message of the network side sent by the second terminal through the communication module, and sends the transaction request response message to the second terminal after carrying out digital signature by using a private key, so that the second terminal sends the transaction request response message to the network side. Because the wearable device is in the non-networking state in the transaction process, the safety problem in the related art when the transaction is carried out based on the P2P network is solved.
The process of the transaction operation of the wearable device is as follows:
1. first, identity authentication is performed.
The wearable device only stores the private key encrypted through the verification password, when the wearable device conducts virtual currency transaction, the received verification password sent by the second terminal is used for decrypting the encrypted private key, and then the public key is paired with the decrypted private key to confirm whether the verification password sent by the second terminal is correct. Meanwhile, the verification password can be encrypted, and only the verification password encrypted by the quick password is stored. After the quick password sent by the second terminal is received, the quick password is used for decrypting the verification password, then the decrypted verification password is used for decrypting the private key encrypted by the verification password, and finally the public key is paired with the decrypted private key, so that the identity verification of the wearable device is realized.
2. The wearable device receives a transaction request message sent by a second terminal, wherein the transaction request message at least comprises a verification password; it should be noted that, in order to complete the transaction, the transaction request message may further include information such as a target account, a transaction amount, an account of the wearable device, and the like.
3. The wearing device verifies the verification password, specifically, the wearing device decrypts the encrypted private key in the wearing device according to the verification password, verifies the decrypted private key according to the public key in the public-private key pair, which is equivalent to matching the public key and the private key, if the matching is successful, the decrypted private key is periodic, the verification is successful, and meanwhile, the wearing device displays approximate transaction information through the display module for the user to confirm, for example, displays the first few digits of the target account, the transaction amount and the like; and if the verification fails, prompting through a display module.
4. After the verification is successful, the user generates a transaction request response message through the wearable device, digitally signs the transaction request response message through the private key, and sends the digitally signed transaction request response message to the second terminal through the communication module. The transaction request response message generally includes a target account, a transaction amount, a public key in a public-private key pair, and the like.
5. And finally, the second terminal sends the transaction request response message after the digital signature to the target account. After the second terminal sends the transaction request response message to the network side, all nodes in the network side which receive the transaction request response message check whether the transaction request response message is accurate, for example, check a signature, check whether an account of the wearable device has enough account balance, and the like. Preferably, before the second terminal sends the transaction request response message after the digital signature, the user is required to confirm that the transaction amount is compared with the account balance of the account in the wearable device, and when the transaction amount is smaller than the account balance of the account in the wearable device, the transaction is confirmed.
Because the wearable device cannot be directly connected with the network side, after each transaction, the account balance of the account in the wearable device needs to be updated by the second terminal, so that the account balance of the wearable device is consistent with the account balance recorded by other nodes in the network side.
After all nodes on the network side confirm each transaction, the second terminal sends account synchronization information to the wearable device, the account synchronization information at least comprises an account of the wearable device and the latest account balance, after the wearable device receives the account synchronization information, the wearable device verifies the account synchronization information according to a private key of a public and private key pair of the wearable device, and updates the account balance of the account in the first terminal according to the account synchronization information after the verification is passed.
Most valuable articles in the world have the function of outward display, and the 'dazzling' is one of the natural demands of human beings. For a virtual commodity lacking practical value, such as virtual currency, dazzling or display is an indispensable requirement. Without a method of safely, visibly, and elegantly displaying the money to the outside, the value of the virtual currency as a commodity is undoubtedly discounted. In the embodiment of the invention, the virtual currency is combined with the wearable device, so that the account balance of the virtual currency represented by the account can be displayed while the wearable device is worn, and even if the wearable device is too rich and is seized by a lawbreaker, the lawbreaker cannot transfer the virtual currency in the wearable device to other accounts, thereby fully ensuring the safety of the virtual currency in the wearable device.
As described above, the wearable device may have various functions, and may display time through the display module; determining the position coordinates of the user through a positioning module; physiological signals of the user can be collected, and the like. Meanwhile, in order to save electric quantity, the wearable device can be in a standby state or a low-power-consumption dormant state under the condition of not using. The wearable device can be activated in various ways, for example, the wearable device can enter a mode switching mode or a standby state through key activation, short touch, long press and the like; the wearable device can enter a mode switching state or a standby state through a sensor inside the wearable device, for example, the wearable device enters an activation state, a mode switching state and a standby state through a sensor such as a gravity sensor and a gyroscope in an induction mode; mode switching or entering a standby state and the like can be achieved through a USB interface or Bluetooth.
When the wearable device is in an activated state, time or account balance of the virtual currency can be displayed, and the wearable device can make display or hidden display according to the account balance of the virtual currency in the account. For example, for bitcoins, the number of bitcoins in the account balance may be displayed by an LED. The number of the bitcoins can be displayed in a segmented manner, for example, the number of the bitcoins can be displayed in a manner that 0 is displayed below 0.001BTC, 1 is displayed above 0.001BTC and below 1BTC, 2 is displayed between 1BTC and 100 BTC, and the like.
The display information corresponding to the account balance of the wearable device can also be color information, different account balances can be represented by displaying different color information, and the color corresponding to the account balance is displayed in the display module. For example, red for 100 and yellow for 1000, when yellow is displayed, the surrounding people can be made aware that the account balance of the virtual currency in your wearable device is 1000. The display information corresponding to the account balance of the wearable device can also be audio information, different account balances can be represented through different audio information, and the audio information corresponding to the account balance can be played through a loudspeaker. Thus, the purpose of displaying the account balance can be achieved. The volume and the frequency of the loudspeaker can be adjusted according to different coin amounts. Short or long sounds can be represented by setting different frequency values.
The display information corresponding to the account balance of the wearable device may also be other information, such as brightness information of the display module, and different brightness is displayed to represent different account balances, for example, when the account balance is 0, the brightness of the display module is darkest.
It should be noted that the above-described method for displaying account balance is only some embodiments, and the solutions for displaying account balance obtained without creative work by those skilled in the art according to the above description are all within the protection scope of the embodiments of the present invention, and are not described in detail herein.
According to the wearable device described above, an embodiment of the present invention further provides a display method, and the content of the display method may refer to the above description, which is not described herein again.
As shown in fig. 2, an exhibition method provided in an embodiment of the present invention includes:
step 201: the method comprises the steps that a first terminal receives account synchronization information sent by a second terminal, wherein the account synchronization information is sent by the second terminal after receiving account updating information of a network side;
step 202: the first terminal verifies the account synchronization information according to a private key in a public and private key pair of the first terminal after receiving the account synchronization information, and updates the account balance of an account in the first terminal according to the account synchronization information after the verification is passed;
step 203: and the first terminal determines display information corresponding to the account balance according to the account balance of the account and displays the display information according to the display information.
In the embodiment of the invention, the first terminal can be a wearable device and the like, and the second terminal can be a mobile phone, a tablet computer and the like.
Preferably, the method further comprises the following steps:
when the first terminal is initialized, receiving a verification password sent by a second terminal bound with the first terminal, and encrypting a private key of the first terminal according to the verification password to obtain an encrypted private key; and the first terminal stores the encrypted private key and deletes the unencrypted private key.
Preferably, the verifying the account synchronization information according to a private key of the public-private key pair of the first terminal includes:
and the first terminal decrypts the encrypted private key of the first terminal according to a verification password in the account synchronization information to obtain the private key, and verifies the account information in the account synchronization information by using the private key.
Preferably, before the first terminal receives the account synchronization information sent by the second terminal, the method further includes:
the first terminal receives a transaction request message sent by the second terminal, wherein the transaction request message at least comprises an authentication password;
the first terminal decrypts the encrypted private key in the first terminal according to the verification password in the transaction request message, verifies the decrypted private key according to the public key in the public-private key pair, and generates a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the first terminal;
the first terminal carries out digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature;
the first terminal sends the transaction request response message after the digital signature to the second terminal, so that the second terminal sends the transaction request response message after the digital signature to the target account, and sends account synchronization information to the first terminal after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after the network side confirms that the transaction is successful.
Preferably, the determining, by the first terminal, the display information corresponding to the account balance according to the account balance of the account, and displaying according to the display information includes:
the display information corresponding to the account balance is color information, and the first terminal displays the color corresponding to the account balance in a display module; or,
the display information corresponding to the account balance is audio information, and the first terminal plays the audio information corresponding to the account balance through a loudspeaker.
In summary, according to the display method and the display device provided by the embodiments of the present invention, the first terminal determines the display information corresponding to the account balance according to the account balance of the account in the first terminal, and displays the balance according to the determined display information. By the method provided by the embodiment of the invention, account balance which cannot be displayed and is stored in the first terminal is converted into corresponding display information, so that the hardware wallet which only stores virtual currency originally has more beautiful appearance and more practicability.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A wearable device, comprising:
the communication module is used for receiving account synchronization information sent by a second terminal under the control of the processor, wherein the account synchronization information is sent by the second terminal after receiving account update information of a network side;
the processor is used for verifying the account synchronization information according to a private key in a public and private key pair of the wearable device after receiving the account synchronization information, and updating the account balance of an account in the wearable device according to the account synchronization information after the account synchronization information passes verification;
the display module is used for determining display information corresponding to the account balance according to the account balance of the account under the control of the processor and displaying according to the display information;
the processor is further configured to: when the wearable device is initialized, receiving a verification password sent by a second terminal bound with the wearable device, and encrypting a private key of the wearable device end according to the verification password to obtain an encrypted private key; the wearing device stores the encrypted private key and deletes the unencrypted private key.
2. The wearable device of claim 1, wherein the communication module is specifically configured to:
receiving a transaction request message sent by the second terminal, wherein the transaction request message at least comprises an authentication password;
the processor is specifically configured to:
decrypting an encrypted private key in the wearing equipment according to a verification password in the transaction request message, verifying the decrypted private key according to a public key in the public-private key pair, and generating a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the wearing equipment;
performing digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature;
and sending the transaction request response message after the digital signature to the second terminal so that the second terminal sends the transaction request response message after the digital signature to the target account, and sending account synchronization information to the wearable device after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after confirming that the transaction is successful.
3. The wearable device of any of claims 1-2, wherein the display module is specifically configured to:
the display information corresponding to the account balance is color information, and the color corresponding to the account balance is displayed in a display module; or,
and the display information corresponding to the account balance is audio information, and the audio information corresponding to the account balance is played through a loudspeaker.
4. The wearable device of claim 3, further comprising:
the electronic clock module is used for displaying time through the display module;
the positioning module is used for determining the position coordinates of the user;
the physiological signal acquisition module is used for acquiring physiological signals of a user, and the physiological signals at least comprise the body temperature of the user, the blood pressure of the user and electrocardiosignals of the user.
5. A method of displaying, the method comprising:
the method comprises the steps that a first terminal receives account synchronization information sent by a second terminal, wherein the account synchronization information is sent by the second terminal after receiving account updating information of a network side;
the first terminal verifies the account synchronization information according to a private key in a public and private key pair of the first terminal after receiving the account synchronization information, and updates the account balance of an account in the first terminal according to the account synchronization information after the verification is passed;
the first terminal determines display information corresponding to the account balance according to the account balance of the account, and displays the display information according to the display information;
further comprising: when the first terminal is initialized, receiving a verification password sent by a second terminal bound with the first terminal, and encrypting a private key of the first terminal according to the verification password to obtain an encrypted private key; and the first terminal stores the encrypted private key and deletes the unencrypted private key.
6. The method of claim 5, wherein the verifying the account synchronization information according to a private key of a public-private key pair of the first terminal comprises:
and the first terminal decrypts the encrypted private key of the first terminal according to a verification password in the account synchronization information to obtain the private key, and verifies the account information in the account synchronization information by using the private key.
7. The method of claim 6, wherein before the first terminal receives the account synchronization information sent by the second terminal, the method further comprises:
the first terminal receives a transaction request message sent by the second terminal, wherein the transaction request message at least comprises an authentication password;
the first terminal decrypts the encrypted private key in the first terminal according to the verification password in the transaction request message, verifies the decrypted private key according to the public key in the public-private key pair, and generates a transaction request response message after the verification is passed, wherein the transaction request response message at least comprises a target account and the public key of the first terminal;
the first terminal carries out digital signature on the transaction request response message through the private key to generate a transaction request response message after digital signature;
the first terminal sends the transaction request response message after the digital signature to the second terminal, so that the second terminal sends the transaction request response message after the digital signature to the target account, and sends account synchronization information to the first terminal after receiving account updating information sent by the network side, wherein the account updating information is sent by the network side after the network side confirms that the transaction is successful.
8. The method according to any one of claims 5 to 7, wherein the determining, by the first terminal, the display information corresponding to the account balance according to the account balance of the account and displaying according to the display information by the first terminal includes:
the display information corresponding to the account balance is color information, and the first terminal displays the color corresponding to the account balance in a display module; or,
the display information corresponding to the account balance is audio information, and the first terminal plays the audio information corresponding to the account balance through a loudspeaker.
CN201510144156.1A 2015-03-30 2015-03-30 A kind of methods of exhibiting and wearable device Expired - Fee Related CN104811310B (en)

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)

* Cited by examiner, † Cited by third party
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 for establishing relationship based on image recognition
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 changing keys of digital currency wallets
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
CN109670840A (en) * 2018-12-05 2019-04-23 上海第二工业大学 A kind of block chain terminal equipment control method based on cryptography
CN109508986A (en) * 2018-12-05 2019-03-22 上海第二工业大学 A kind of portable block chain terminal wearable device control method
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090097960A (en) * 2007-01-09 2009-09-16 비자 유에스에이 인코포레이티드 Mobile phone payment process including threshold indicator
CN102479405A (en) * 2010-11-30 2012-05-30 英业达股份有限公司 Portable storage device and using 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
CN106779636B (en) Block chain digital currency wallet based on mobile phone earphone interface
US12041189B2 (en) Method for storing and recovering key for blockchain-based system, and device therefor
JP2020109671A (en) Method and device for personal authentication
RU2710897C2 (en) Methods for safe generation of cryptograms
CN101960762B (en) system and method for performing wireless financial transactions
CN105701661B (en) Method, apparatus and system for secure configuration, transmission and verification of payment data
KR102322118B1 (en) Private key securing methods of decentralizedly storying keys in owner's device and/or blockchain nodes
US20190050554A1 (en) Logo image and advertising authentication
CN105491077B (en) A kind of system of authentication
CN106611310B (en) Data processing method, wearable electronic device and system
KR20200054226A (en) Cash equivalent device for digital currency
CN108964903A (en) password storage method and device
CN109063438A (en) A kind of data access method, device, local data secure access equipment and terminal
JP2023523437A (en) Card management method, user terminal, server, system, and storage medium
CN106469370A (en) A kind of method of commerce, system and electronic signature equipment
US11128453B2 (en) Visual image authentication
CN102447699A (en) Safe transaction method for mobile Internet lottery based on hardware information
CN109257381A (en) A kind of key management method, system and electronic equipment
CN109389397B (en) Hardware wallet
US20230086015A1 (en) Ic card asymmetric labelling system and ic card built-in password input system
WO2019232766A1 (en) Trading method, hardware wallet and trading device
CN114170736A (en) Express cabinet unpacking method based on near field communication technology
CN104104505A (en) Electronic signature device, realization method and client
CN105245257B (en) Point-to-point payment communication means between near-field communication equipment

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