CN104811310A - Display method and wearing device - Google Patents

Display method and wearing device Download PDF

Info

Publication number
CN104811310A
CN104811310A CN 201510144156 CN201510144156A CN104811310A CN 104811310 A CN104811310 A CN 104811310A CN 201510144156 CN201510144156 CN 201510144156 CN 201510144156 A CN201510144156 A CN 201510144156A CN 104811310 A CN104811310 A CN 104811310A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
account
terminal
information
private key
display
Prior art date
Application number
CN 201510144156
Other languages
Chinese (zh)
Inventor
赵宇翔
唐彦波
陈湘如
Original Assignee
赵宇翔
唐彦波
陈湘如
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

Links

Abstract

The invention discloses a display method and a wearing device. The device comprises a communication module, a processor and a display module, wherein the communication module is used for receiving account synchronizing information transmitted by a second terminal under the control of the processor, wherein the account synchronizing information is transmitted by the second terminal after receiving the account update information from the network side; the processor is used for verifying the account synchronizing information through an exclusive key in the public-exclusive keys of the wearing device after receiving the account synchronizing information, and updating the balance of the account in the first terminal according to the account synchronizing information after verifying; the display module is used for determining the display information corresponding to the account balance according to the balance of the account under the control of the processor and displaying according to the display information.

Description

一种展示方法及穿戴设备 The wearable device and method type of Display

技术领域 FIELD

[0001] 本发明涉及计算机技术领域,尤其涉及一种展示方法及穿戴设备。 [0001] The present invention relates to computer technologies, and particularly to a method and a wearable display apparatus.

背景技术 Background technique

[0002] 虚拟货币作为电子商务的产物,开始扮演越来越重要的角色,而且,越来越和现实世界交汇。 [0002] virtual currency as a product of e-commerce, began to play an increasingly important role, but also, and more and more real-world intersection. 虚拟货币的产业化将形成虚拟货币市场。 Industrialization will form a virtual currency virtual currency market. 虚拟货币一般是一种P2P(peer-to-peer,点对点)形式的数字货币。 Virtual currency is generally a P2P (peer-to-peer, peer to peer) forms of digital currency. P2P的传输意味着一个去中心化的支付系统。 P2P transmission means a decentralized payment system.

[0003] 虚拟货币可以存储在虚拟货币钱包中,虚拟货币钱包是一种遵特该虚拟货币的网络协议的软件,它可以用来存储、发送、收取虚拟货币。 [0003] Virtual money may be stored in the virtual wallet currency, virtual currency wallet Laid-compliance is a virtual currency network protocol software, which can be used to store, transmit, receive virtual currency. 由于虚拟货币对安全性的要求较高,目前主流的虚拟货币钱包一般为硬件钱包,硬件钱包是一种运行Signing-only Wallet的专门装置。 Because virtual currency higher security requirements, the current mainstream virtual currency wallet general hardware purse, wallet hardware is a Signing-only Wallet special device operation. 它的专用性使其相对于上述运行在通用目的系统的钱包更加安全。 So its specificity with respect to the general-purpose operating system in a purse safer. 同时,相对于其他的冷存储手段,硬件钱包支持的离线签名功能可以使其与联网端直接进行数据交互而无需用户手工导入导出私钥。 At the same time, compared to other means of cold storage, offline support hardware purse signature feature can make it exchanges data directly with the network without the need for end users to manually import and export the private key. 在提供更佳的安全性的同时也不失其便捷性。 At the same time provide better security does not lose its convenience.

[0004] 尽管许多虚拟货币爱好者把硬件钱包视为保证加密货币安全的“必杀技”,但硬件钱包只是一个冰冷的硬件实体,并不能体现出其中所承载的虚拟货币的数量,例如,购买钻石可以通过钻石的大小、品质确定该钻石处于什么价位,而人们并不能通过硬件钱包确定该硬件钱包持有者的富有程度,只有将硬件钱包通过移动互联网交互时,才能体现其持有者的富有程度。 [0004] Although many fans of virtual currency wallet regarded as the hardware encryption to ensure the safety of money, "nirvana", but only a cold hardware purse hardware entity, and does not reflect the number of virtual currency which carried, for example, buying diamonds can determine at what price the diamond by diamond size, quality, and people can not determine the full extent of hardware wallet purse holder of the hardware, only the mobile Internet through interaction, in order to realize its holder hardware wallets the full extent.

[0005]目前,针对虚拟货币的硬件钱包不能展示其中所存储的虚拟货币的数量,尚未有较好的技术方案。 [0005] Currently, the hardware virtual currency wallet does not show the number of virtual money stored therein, yet has good technical solutions.

发明内容 SUMMARY

[0006] 本发明实施例提供了一种展示方法及穿戴设备,用以展示硬件钱包中所存储的虚拟货币的数量。 Embodiment [0006] The present invention provides a method and a wearable display apparatus for display of the number of virtual money stored in the wallet hardware.

[0007] 本发明实施例提供的一种展示方法包括: [0007] A display method according to an embodiment of the present invention comprises:

[0008] 第一终端接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; [0008] The first terminal receives the second synchronization information sent by the terminal the account, the account of the second synchronization information transmitted by the terminal after receiving the account update information to the network side;

[0009] 所述第一终端在接收到所述账户同步信息后,根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; [0009] The first terminal upon receiving the synchronization information to the account, public-private key pair in accordance with the first terminal of the private key to verify the account synchronization information, and authentication is passed according to the account synchronization information to update the first terminal of the account balance of the account;

[0010] 所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 [0010] The account balance of the account of the first terminal determining the presentation information corresponding to the account balance based, according to the display and display information.

[0011] 较佳的,还包括: [0011] Preferably, further comprising:

[0012] 所述第一终端初始化时,接收与所述第一终端绑定的第二终端发送的验证密码,并根据所述验证密码对所述第一终端的私钥进行加密,获得加密后的私钥;所述第一终端存储所述加密后的私钥,并删除未加密的私钥。 After the [0012] initialization of the first terminal, a second terminal receiving the authentication password with the first terminal transmitting the binding, according to the encryption and authentication cryptographic key pair of the first terminal, obtaining an encryption private key; said encrypted secret key of the first storage terminal, and delete the unencrypted private key.

[0013] 较佳的,所述根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,包括: [0013] Preferably, the verification of the private key of the private-public key account according to the synchronization information of the first terminal, comprising:

[0014] 所述第一终端根据所述账户同步信息中的验证密码对所述第一终端的所述加密后的私钥进行解密,获得所述私钥,并使用所述私钥对对所述账户同步信息中的账户信息进行验证。 [0014] The first terminal synchronization information in accordance with the account authentication password for the encrypted private key of the first terminal to decrypt the private key is obtained, and using the private key of their account of said account information to verify synchronization information.

[0015] 较佳的,所述第一终端接收第二终端发送的账户同步信息之前,还包括: Before [0015] Preferably, the first terminal receiving account information of the second terminal transmits the synchronization, further comprising:

[0016] 所述第一终端接收所述第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码; Receiving a second transaction terminal [0016] the request message sent by a first terminal, comprises at least the transaction request message authentication code;

[0017] 所述第一终端根据所述交易请求消息中的验证密码对所述第一终端中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述第一终端的公钥; [0017] The first terminal of the transaction request message to the first terminal authentication password to decrypt the private key encrypted according to the public-private key pair according to a public key in the decrypted private key for authentication, generates a transaction request response message after the verification, the transaction request response message includes at least destination account, the public key of the first terminal;

[0018] 所述第一终端通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息; [0018] by the private key of the first terminal a request for the digitally signed transaction response message, the transaction request response message generating a digital signature;

[0019] 所述第一终端将所述数字签名后的交易请求响应消息发送给所述第二终端,以使所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新信息后,向所述第一终端发送账户同步信息,所述账户更新信息由所述网络侧在确认交易成功后发送。 [0019] The first terminal of a transaction request after the digital signature response message to the second terminal, the second terminal so that the transaction request message sent in response to the digital signature to the target account, and the account after receiving the update information transmitted from the network side, sending account synchronization information to the first terminal, the account update information sent by the network side after confirming the transaction is successful.

[0020] 较佳的,所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示,包括: [0020] Preferably, the first terminal of the display account balance information corresponding to the account balance is determined according to the account, and display according to the display information, comprising:

[0021] 所述账户余额对应的展示信息为颜色信息,所述第一终端在显示模块中显示所述账户余额对应的颜色;或者, [0021] The display account balance information corresponding to the color information of the first terminal displays the account balance in a color corresponding to the display module; or

[0022] 所述账户余额对应的展示信息为音频信息,所述第一终端通过扬声器播放所述账户余额对应的音频信息。 [0022] The display account balance information corresponding to the audio information, the first information terminal through a speaker to play the audio corresponding to the account balance.

[0023] 本发明实施例提供了一种穿戴设备,包括: [0023] The present invention provides a wearable device, comprising:

[0024] 通信模块,用于在处理器的控制下接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; [0024] communication module, for receiving account information of the second terminal transmits the synchronization under control of the processor, synchronizing the account information of the second terminal sent by the network side after receiving the account update information;

[0025] 所述处理器,用于在接收到所述账户同步信息后,根据所述穿戴设备的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; [0025] the processor for the account after receiving synchronization information from the synchronization information to verify the account of the private key of the private-public key wearable device pair, and in accordance with the authentication is passed account said synchronization information to update the first terminal of the account balance of the account;

[0026] 显示模块,用于在所述处理器的控制下根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 [0026] The display module under control of the processor determining an account balance of the account balance display information corresponding to the account, and according to the display information according to display.

[0027] 较佳的,所述处理器还用于: [0027] Preferably, the processor is further configured to:

[0028] 初始化所述穿戴设备时,接收与所述穿戴设备绑定的第二终端发送的验证密码,并根据所述验证密码对所述穿戴设备端的私钥进行加密,获得加密后的私钥;所述穿戴设备存储所述加密后的私钥,并删除未加密的私钥。 [0028] The initializing device worn, the wearer receives the authentication password and the second terminal device transmits the binding, the private key and the password is encrypted end wearable device according to the verification, the encrypted private key to obtain ; Put the private key after the encrypted storage device, and deletes the unencrypted private key.

[0029] 较佳的,所述通信模块具体用于: [0029] Preferably, the communications module is configured to:

[0030] 接收所述第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码; [0030] receiving the transaction request message sent by the second terminal, comprises at least the transaction request message authentication password;

[0031] 所述处理器具体用于: [0031] In particular the processor is configured to:

[0032] 根据所述交易请求消息中的验证密码对穿戴设备中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述穿戴设备的公钥; [0032] The transaction request message to the authentication password to the wearer apparatus decrypts the encrypted private key, and verify the decrypted private key based on the public-private key pair of the public key, generated after the verification transaction request response message, the transaction request response message includes at least destination account, the public key wearable device;

[0033] 通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息; [0033] The request by the private key to digitally sign the transaction response message, the transaction request response message generating a digital signature;

[0034] 将所述数字签名后的交易请求响应消息发送给所述第二终端,以使所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新信息后,向所述穿戴设备发送账户同步信息,所述账户更新信息由所述网络侧在确认交易成功后发送。 [0034] The transaction request after the digital signature response message to the second terminal, the second terminal so that the transaction request to the digital signature response message to the destination account, and the receiving after the network side to update the account information, the synchronization information to the wearable device sending account, the account update information sent by the network side after confirming the transaction is successful.

[0035] 较佳的,所述显示模块具体用于: [0035] Preferably, the display module is configured to:

[0036] 所述账户余额对应的展示信息为颜色信息,在显示模块中显示所述账户余额对应的颜色;或者, [0036] The display account balance information corresponding to the color information, to display the account balance in a color corresponding to the display module; or

[0037] 所述账户余额对应的展示信息为音频信息,通过扬声器播放所述账户余额对应的音频ί目息。 The [0037] display account balance information corresponding to the audio information played through a speaker of the account balance information corresponding to the audio ί mesh.

[0038] 较佳的,还包括: [0038] Preferably, further comprising:

[0039] 电子时钟模块,用于通过所述显示模块显示时间; [0039] The electronic clock module configured to display time by the display module;

[0040] 定位模块,用于确定用户所在的位置坐标; [0040] The positioning module, the position coordinates of the user for determining location;

[0041] 生理信号采集模块,用于采集用户的生理信号,所述生理信号至少包括用户的体温、用户的血压、用户的心电信号。 [0041] The physiological signal acquisition module, for collecting the user's physiological signal, the physiological signal comprises at least a user's body temperature, blood pressure of the user, the user's ECG.

[0042] 根据本发明实施例提供的展示方法及装置,第一终端在根据第一终端中账户的账户余额,确定所述账户余额对应的展示信息,并根据确定的展示信息展示余额。 [0042] The method and the display apparatus according to an embodiment of the present invention, a first terminal of the first terminal according to the account balance in the account, the account balance is determined to show corresponding information and presentation information in accordance with the determined display balance. 通过本发明实施例提供的方法,将存储在第一终端中无法展示的账户余额转换为对应的展示信息,从而使得原本只存储虚拟货币的硬件钱包具有更美观的外表,更具实用性。 Method provided by the present invention, converting the terminal can not be stored in the first display account balance information corresponding to the display, so that only the original storage hardware virtual money purse has a more attractive appearance, is more practical.

附图说明 BRIEF DESCRIPTION

[0043] 图1为本发明实施例提供的一种穿戴设备的结构图; [0043] FIG. 1 is configuration diagram of a wearable device according to an embodiment of the present invention;

[0044] 图2为本发明实施例提供的一种展示方法流程示意图。 [0044] FIG. 2 shows schematic diagram of a process flow according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0045] 如图1所示,本发明实施例提供了一种穿戴设备的结构图,包括: [0045] 1, the embodiment of the present invention provides a structural diagram of a wearable device, comprising:

[0046] 通信模块110,用于在处理器100的控制下接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; [0046] The communication module 110, a second terminal for receiving the processor 100 under control of the synchronization information transmitted account, the account synchronization information sent by the second terminal after receiving the account update information to the network side;

[0047] 所述处理器100,用于读取并执行存储器120中的程序,并在接收到所述账户同步信息后,根据所述穿戴设备的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; [0047] The processor 100 reads and executes a program memory 120, and the account after receiving the synchronization information, the wearable device according to private-public key pair of a private key of the account synchronization information to verify and validate the account according to the account balance by the first synchronization information terminal in updating the account;

[0048] 显示模块130,用于在所述处理器100的控制下根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 [0048] The display module 130 for displaying account balance information corresponding to the account balance is determined according to the account under the control of the processor 100, and display information according to the presentation.

[0049] 较佳的,穿戴设备还包括: [0049] Preferably, the wearable device further comprises:

[0050] 电子时钟模块140,用于通过所述显示模块130显示时间; [0050] The electronic clock module 140, through the display module 130 for displaying time;

[0051] 定位模块150,用于确定用户所在的位置坐标; [0051] The positioning module 150, for determining the position coordinates of the user is located;

[0052] 生理信号采集模块160,用于采集用户的生理信号,所述生理信号至少包括用户的体温、用户的血压、用户的心电信号。 [0052] The signal sampling module 160 for collecting the user's physiological signal, the physiological signal comprises at least a user's body temperature, blood pressure of the user, the user's ECG.

[0053] 其中,在图1中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器100代表的一个或多个处理器和存储器120代表的存储器的各种电路链接在一起。 [0053] where, in FIG. 1, a bus architecture may include any number of interconnecting buses and bridges, particularly linked together by various circuits of the memory 120 represents one or more processors and a memory 100 represents a processor. 总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。 Bus architecture may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like together, these are well known in the art, therefore, it will not be further described herein. 总线接口提供接口。 Bus interface provides interface. 通信模块110可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元,通信模块110 —般采用蓝牙或者USB接口与第二终端进行通信。 The communication module 110 may be a plurality of elements, i.e. comprising a transmitter and a receiver, provided with means for communication with various other devices, a communication module 110 over a transmission medium - like Bluetooth or USB interface to communicate with the second terminal. 显示模块130可以是液晶显示设备、OLED显示设备等,本发明实施例对此不做限定。 The display module 130 may be a liquid crystal display apparatus embodiment is not limited to this embodiment, the OLED display devices, according to the present invention. 定位模块150可以是通过GPS信号、北斗卫星信号等进行定位,也可以是采用其他方式进行定位,本发明实施例对此不做限定。 Positioning module 150 may be performed by a GPS signal, Beidou satellite positioning signals, may be positioned in other ways, this embodiment is not limited in embodiments of the present invention.

[0054] 穿戴设备在第一次使用时,需要进行初始化。 [0054] The wearable device using the first time, initialization is required. 初始化所述穿戴设备时,接收与所述穿戴设备绑定的第二终端发送的验证密码,并根据所述验证密码对所述穿戴设备端的私钥进行加密,获得加密后的私钥;所述穿戴设备存储所述加密后的私钥,并删除未加密的私钥。 Initializing the device worn, the wearer receives the authentication password and the second terminal device transmits the binding, the private key and the password is encrypted end wearable device according to the verification, the encrypted private key is obtained; the Wear private device stores the encrypted, and the encrypted private key is not deleted. 具体的,穿戴设备初始化的流程如下: Specifically, the wearable device initialization process is as follows:

[0055] 1、用户在第二终端上设置验证密码,通过穿戴设备的通信模块发送给该穿戴设备。 [0055] 1, the user authentication password disposed on the second terminal, sent to the device worn by a wearable device communication module. 优选的,为了保护密码不被泄露,在穿戴设备和第二终端中预设数字按钮的排布组合,每次显示的数字按钮的排布组合随机出现,第二终端的用户只有在看到穿戴设备上显示的数字按钮的排布组合后,需要在第二终端中输入当前的数字按钮的排布组合,这样输入的数字才能传递到穿戴设备。 Preferably, in order to protect the password is not leaked, the preset buttons are arranged in the combined digital wearable device and the second terminal, a combination of numbers arranged buttons displayed at a time randomly, users see only the second terminal is worn after the combined digital buttons arranged on the display device, arranged to enter the current combination of numeric button in the second terminal, so that the digital input can be transmitted to the wearable device. 通过这种方式,在第二终端上设置验证密码时,即使在第二终端遭到有病毒攻击的情况下也能很好的保护好输入的验证密码。 In this way, disposed on the second terminal authentication password, even when the second terminal being a virus attack can also be well protected authentication password good input.

[0056] 2、穿戴设备在第一次接收到验证密码后,穿戴设备会生成私钥。 [0056] 2, worn after the first device receives the authentication password, the wearable device will generate a private key. 私钥本质上是32个byte组成的数组,I个byte等于8位二进制,一个二进制只有两种可能性O或者1,所以私钥的总数就是2256个,这个数量已经超过了宇宙中原子的总数,想要遍历所有的私钥,耗尽整个太阳的能量也是不可能成功的。 The private key is essentially composed of 32 byte array, the I-bit binary one byte is equal to 8, a binary 1 or O only two possibilities, the total number of the private key is 2256, the number has exceeded the total number of atoms in the universe , you want to traverse all of the private key, the depletion of the entire solar energy is unlikely to be successful. 32个byte组成的数组如果显示出来,不仅仅是识别率太差,而且太长。 Consisting of 32 byte array, if displayed, not only poor recognition rate, but too long. 因此需要对私钥的32个byte数组做Base58的转换,Base58是用于虚拟货币中使用的一种独特的编码方式,主要用于产生虚拟货币的钱包地址和私钥。 Base58 is required to do the conversion of the private key 32 byte array, Base58 encoding for a unique way to use virtual currency, primarily for production purse address and a private virtual currency. 相比Base64,Base58不使用数字〃0〃,字母大写〃0〃,字母大写〃1〃,和字母小写〃1〃,以及〃+〃和V"符号。主要就是为了肉眼容易识别,在输入的时候不容易打错。 Compared Base64, Base58 〃0〃 does not use numbers, letters capitalized 〃0〃, 〃1〃 uppercase and lowercase 〃1〃, and 〃 〃 and + V "symbols mainly to visually easily recognize, at the input when not easy wrong.

[0057] 3、根据私钥生成公钥。 [0057] 3, according to a public key secret key generation. 一个私钥经过椭圆曲线签名算法变换之后会生成一个65个字节的数组私钥对。 After a private key signature algorithm is an elliptic curve transformation generates a 65 byte array private key pair. 公钥是用来解开私钥签名的数据,使用私钥签名交易之后,会把自己的公钥一起发送,私钥签名的数据可以使用公钥解密,发送公钥之后矿工才能验证私钥的签名的正确性,私钥和公钥是成对出现的,一个私钥签名的数据,只有对应的公钥才能解开,而地址也是从公钥生成的,这样就可以验证交易是不是属于这个地址的。 The public key is used to unlock the private key signature data, using the private key signature after the transaction, will be sent with your public key, private key signature data can be decrypted using the public key, then sends the public key to verify the private key of the miners signature correctness, private and public keys come in pairs, a private key signature data, only the corresponding public key to unlock, and the address is generated from the public key, so that you can verify that the transaction is not part of this address.

[0058] 4、根据公钥生成地址。 [0058] 4, generates the address in accordance with a public key. 地址用于接收虚拟货币,它类似银行卡的卡号。 Address for receiving virtual currency, which is similar to a bank card card number. 只公开地址不必担心里面的虚拟货币被盗走。 Only public address need not worry about the inside of the virtual currency stolen. 它是由英文字母和数字组成的一串字元,例如,比特币的地址是由“ I”或者“3”开头,区分大小写,不包括“ 1100”,“ I”开头的地址长26〜34位,“3”开头的地址长34位,例如〃lDwunA9otZZQyhkVvkLJ8DVltuSwMF7r3v〃。 It is a string of characters consisting of letters and numbers, e.g., by address bit or currency beginning "I" "3", case sensitive, does not include the address of the beginning of "1100", "I" long 26~ 34, "3" at the beginning of a long address 34, e.g. 〃lDwunA9otZZQyhkVvkLJ8DVltuSwMF7r3v〃. 虚拟货币先对公钥做一次SHA256,再对SHA256后的公钥做一次RIPEMD160,再从结果中取20个byte的数组,在这个20位的byte数组前面再加上一个Ibyte的数组,该Ibyte的数组是该地址的版本(vers1n)信息,从而获得一个key hash(hashl60),再对key hash做两次SHA256后计算前4位的校验和(Checksum),将Cheksum与key hash连接后进行Base58转换形成地址。 Virtual currency to do a public key SHA256, SHA256 again after the public to do a RIPEMD160, then take the 20 byte array from the results, coupled with a Ibyte array in front of this 20 byte array, the Ibyte array version (vers1n) the address information, so as to obtain a key hash (hashl60), after the checksum (checksum), to connect four of the key hash Cheksum then done twice before the calculation of the key hash SHA256 Base58 form an address conversion.

[0059] 5、穿戴设备通过接收到的验证密码对所述穿戴设备端的私钥进行加密,获得加密后的私钥;所述穿戴设备存储所述加密后的私钥,并删除未加密的私钥。 [0059] 5, the wearable device by the received private key of the authentication password wearable device side encrypted private key to obtain encrypted; the wearer of the device after storing the private key is encrypted and unencrypted delete private key. 优选的,为了保护验证密码不被泄露,可以采用另一个密码对验证密码就行加密,在此称为快捷密码,将通过快捷密码加密后的验证密码进行存储。 Preferably, in order to protect the authentication password is not leaked, the password can be used to further encrypt authentication password, referred to herein as quick password, the password is stored by the fast verification password encryption. 这样,在使用穿戴设备进行虚拟货币转账时,首先可以获取快捷密码,并运用快捷密码解密出加密的验证密码,然后再用解密出的验证密码解密被验证密码加密的私钥,并通过解密出的私钥进行身份验证。 Thus, when using a device worn virtual money transfer, first of all you can get quick password, and use quick password to decrypt the encrypted authentication password, and then use the decrypted authentication password authentication password to decrypt the encrypted private key, and decrypted by the private key for authentication.

[0060] 6、穿戴设备将生成的公钥发送给第二终端。 [0060] 6, the wearable device transmits the generated public key to the second terminal.

[0061] 穿戴设备初始化成功后,穿戴设备端会通过显示模块130显示一串由数字和/或字母组成的字符串,称之为seed,该seed与该穿戴设备中的地址相对应,若穿戴设备丢失或被损毁等,可以利用这个seed来恢复或重置一个新的穿戴设备,从而将丢失或损毁的穿戴设备中的虚拟货币的账户信息转移到新的穿戴设备中。 [0061] After successful initialization wearable device, worn by a string of a string of numbers and / or letters will be displayed on the display device side module 130, called the seed, the seed corresponding to the address of the device in the wearer, if worn account information is lost or damaged equipment, etc., you can use this seed to recover or reset a new wearable device, which will be lost or damaged equipment worn in virtual money is transferred to a new wearable device.

[0062] 穿戴设备经过初始化之后,就可以通过第二终端进行交易,例如转账等操作。 [0062] After initialization wearable device, transactions can be carried out via the second terminal, for example, transfer and other operations. 穿戴设备通过通信模块110接收第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码;穿戴设备根据所述交易请求消息中的验证密码对穿戴设备中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述穿戴设备的公钥;穿戴设备通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息;穿戴设备将所述数字签名后的交易请求响应消息发送给所述第二终端;所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新信息后,向所述穿戴设备发送账户同步信息,所述账户更新信息由所述网络侧在确认交易成功后发送。 Put a second terminal device receives via the communication module 110 transmits transaction request message, the transaction request message including at least authentication password; message authentication password wearable device private key to decrypt the encrypted wearable device according to the transaction request, and according to the public-private key pair the public key of the decrypted private key, and generates the transaction request response message after the verification, the transaction request response message includes at least destination account, the public key wearable device; Garments device via the private key of the digital signature in response to the transaction request message, the transaction request message in response generating a digital signature; wearable device after the transaction request message sent in response to the digital signature to the second terminal; the the second terminal after the transaction request digital signature response message to the destination account, and the account after receiving the update information transmitted from the network side, the wearable device transmits the synchronization information to the account, the account updating information is sent by the network side after confirming the transaction is successful.

[0063] 需要说明的是,为了避免穿戴设备的交易信息被恶意盗取,在穿戴设备进行交易操作时,穿戴设备不直接和网络侧进行信息的交互,而是通过第二终端和网络侧进行信息的交互。 [0063] Incidentally, in order to avoid transaction information stolen by malicious wearable device, when worn device trading operations, the wearable device and the network side does not directly interact with the information, but through a second terminal and a network side interactive information. 穿戴设备通过通信模块接收第二终端发送的网络侧的交易请求消息,并将交易请求响应消息使用私钥进行数字签名后发送给第二终端,以便第二终端将该交易请求响应消息发送给网络侧。 Transaction network-side transmitting apparatus wearable terminal receiving a second request message via the communication module, and the transaction request in response to a message using a private digital signature after the second terminal, a second terminal to the transaction request response message to the network side. 由于在交易过程中穿戴设备处于非联网状态,从而解决了相关技术中基于P2P网络进行交易时的安全性问题。 Due to wear in the transaction process equipment in a non-networked state, so as to solve the security problem of trade-related technologies based on P2P networks.

[0064] 穿戴设备进行交易操作的流程如下: [0064] The wearable device trading operations process is as follows:

[0065] 1.首先进行身份认证。 [0065] 1. First authentication.

[0066] 穿戴设备中只存储通过验证密码加密后的私钥,当穿戴设备进行虚拟货币交易时,利用接收到的第二终端发送的验证密码对加密后的私钥解密,进而使用公钥与解密后的私钥配对,以确认第二终端发送的验证密码是否正确。 [0066] The wearable device stores only the private key by encrypting the password authentication, the device when worn virtual currency transactions, with the second terminal receives the transmitted password authentication private key to decrypt the encrypted, using the public key and further decrypted private key pairs, to confirm that the second terminal sends the authentication password is correct. 同时,还可以对验证密码进行加密,只存储通过快捷密码加密的验证密码。 At the same time, it can also be encrypted authentication password, password storage only by quick encrypted authentication password. 当接收到第二终端发送的快捷密码后,利用快捷密码解密出验证密码,然后再用解密出的验证密码解密被验证密码加密的私钥,最后用公钥与解密后的私钥配对,从而实现对穿戴设备的身份验证。 Upon receipt of the second shortcut password transmitted by the terminal, using the quick decryption password authentication, and then use the decrypted authentication password authentication password to decrypt the encrypted private key, and finally the private key pairing with the public key decryption, thereby realization of a wearable device authentication.

[0067] 2.穿戴设备接收到第二终端发送的交易请求消息,该交易请求消息至少包含验证密码;需要说明的是,为了完成本次交易,交易请求消息中还可以包括目标账户、交易金额、穿戴设备的账户等信息。 [0067] 2. Wear device receives the transaction request message sent by the second terminal, comprises at least the transaction request message authentication code; should be noted that, in order to complete the transaction, the transaction request message may further include a destination account, the amount of the transaction , wearable devices and other account information.

[0068] 3.穿戴设备对验证密码进行验证,具体的,穿戴设备根据验证密码对穿戴设备中加密的私钥进行解密,并根据公私密钥对中的公钥对解密后的私钥进行验证,相当于对公钥和私钥进行匹配,若匹配成功,说明解密出的私钥是周期的,此时验证成功,同时穿戴设备会通过显示模块显示交易大致信息供用户确认,例如,显示目标账户前几位、交易金额等;如果验证失败,则通过显示模块进行提示。 [0068] 3. The apparatus of wearable authentication password for authentication. Specifically, the wearable device to decrypt the encrypted private key wearable device according to the authentication password, and verified in accordance with the decrypted private key private-public key pair of the public key , equivalent to matching public and private keys, if the matching succeeds, the private key is decrypted period, in which case the verification is successful, and the transaction will be substantially wearable device confirmation display information for the user through the display module, for example, the display target several former account, transaction amount; if the validation fails, the prompt through the display module.

[0069] 4.在验证成功后,用户通过穿戴设备生成交易请求响应消息,并通过私钥对交易请求响应消息进行数字签名,将数字签名后的交易请求响应消息通过通信模块发送给第二终端。 [0069] 4. After a successful authentication, the user through the wearable device generates a transaction request response message, the digital signature by the private key and the transaction response to the request message, the digital signature of the transaction request response message to the second terminal through the communication module . 交易请求响应消息中一般包含目标账户、交易金额、公私钥对中的公钥等。 Transaction request response message typically contains destination account, transaction amount, public and private key pair and the public key.

[0070] 5.最后第二终端将数字签名后的交易请求响应消息发送给所述目标账户。 [0070] 5. Finally, the second terminal digital signature after the transaction request response message to the destination account. 第二终端把交易请求响应消息发送到网络侧以后,所有收到这个交易请求响应消息的网络侧中的节点都会校验该交易请求响应消息是否准确,比如会校验签名,会效验穿戴设备的账户中是否有足够的账户余额等,如果经过网络侧所有节点都确认之后,本次交易就能确认成功了。 A second terminal after the response to the transaction request message to the network side, all the received message in response to the transaction request of the network will check node side in response to the transaction request message is accurate, such as will verify the signature, the wearable device will efficacy whether there is sufficient account balance and other accounts, if after the network side after all nodes are confirmed, the transaction will be able to confirm successful. 优选的,在第二终端发送数字签名后的交易请求响应消息之前,还需要让用户确认交易金额与穿戴设备中账户的账户余额进行对比,当交易金额小于穿戴设备中账户的账户余额时,才确认本次交易。 Preferably, before the transaction after the second terminal transmits a digital signature request response message, the need to the user to confirm the transaction amount in comparison with the account balances wearable device, when the account balance is less than the transaction amount in the account wearable devices, it confirm the transaction.

[0071] 由于穿戴设备不能直接与网络侧进行连接,因此穿戴设备在每次交易后,需要通过第二终端对穿戴设备中的账户进行账户余额更新,使得穿戴设备中的账户余额与网络侧中其他节点记录的账户余额一致。 [0071] Since a wearable device is not connected directly to the network side, the equipment worn after each transaction, need to be updated account balance of the account in the wearable device via the second terminal, so that the account balance wearable device and the network side consistent record of account balances to other nodes.

[0072] 每次交易得到网络侧的所有节点确认之后,第二终端向穿戴设备发送账户同步信息,账户同步信息中至少包括穿戴设备的账户以及最新的账户余额,穿戴设备在接收到所述账户同步信息后,根据穿戴设备的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额。 After all the nodes [0072] network side of each transaction confirmation obtained, the second terminal device transmits the account to the wearer synchronization information, the account information includes at least synchronization worn device and the latest account balances, wearable devices receiving the account after the synchronization information, the wearable device according to private-public key pair of the private key to verify the account synchronization information, and the account balance after the verification by the first terminal according to the account in the account information update synchronization.

[0073] 世界上绝大多数值钱的物品都具备对外展示的功能,“炫耀”可以说是人类与生俱来的本能需求之一。 [0073] the vast majority of the world's valuables are equipped with external display function, "showing off" arguably one of the innate instinct of human needs. 对于虚拟货币这样一种缺乏实用价值的虚拟商品而言,炫耀或展示更是必不可少的要求。 For virtual currency such a lack of practical value of virtual goods, show off or show even more essential requirement. 如果缺少一种能够安全、明显、优雅地对外展示的方法,虚拟货币作为一种商品的价值无疑将大打折扣。 If the lack of a safe, obviously, the method gracefully external display, virtual currency value as a commodity will no doubt be greatly reduced. 本发明实施例中将虚拟货币与穿戴设备相结合,使得穿戴设备在穿戴的同时,能够展示出其中的账户所代表的虚拟货币的账户余额,即使该穿戴设备由于过于炫富,被不法分子抢夺之后,不法分子也无法将该穿戴设备中的虚拟货币转账到其它账户,从而充分保证了穿戴设备中虚拟货币的安全性。 In the embodiments of the invention with virtual currency combined wearable device, such wearable devices worn at the same time, able to show where the virtual money account balance of the account represented, even if the equipment due to too worn off their wealth, criminals robbed after that, the criminals can not wear the device in virtual currency transfers to other accounts, in order to fully ensure the safety of the wearable device in virtual currency.

[0074] 如上面的描述,穿戴设备可以有多种功能,可以通过显示模块显示时间;通过定位模块确定用户所在的位置坐标;可以采集用户的生理信号等。 [0074] As described above, wearable device may have multiple functions, the time may be displayed by the display module; position coordinates of the user is located is determined by the positioning module; user can acquire physiological signals. 同时,为了节省电量,穿戴设备在不使用的情况下,可以处于待机状态或低功耗休眠状态。 Meanwhile, in order to save power, wearable devices without the use, or may be in a standby state low-power sleep state. 将该穿戴设备激活有很多种方式,例如,可以通过穿戴设备的按键激活,短触,长按等按键方式进入模式切换或是进入待机状态;可以通过穿戴设备内部的传感器进入模式切换或是进入待机状态,例如通过重力传感器、陀螺仪等传感器通过感应方式进入激活,模式切换,以及待机状态;可以通过USB接口或蓝牙进入模式切换或是进入待机状态等。 The wearable device activates There are many ways, for example, by button to activate the wearable device, a short touch, etc. press button or switch mode enters into standby mode; mode switching may be worn by the sensor into the device or into the interior standby state, for example by gravity into the sensor, a gyro sensor such as activated inductively, mode switching, and the standby state; mode switching may be accessed through the USB interface or Bluetooth or the like into a standby state.

[0075] 穿戴设备在处于激活状态时,可以显示时间或者显示虚拟货币的账户余额,穿戴设备会根据账户中虚拟货币的账户余额做出显示或隐示的展示。 [0075] The wearable device when in the active state, the time may be displayed or virtual money account balance display, the device will make wearable displays or display according to the implicit account of virtual currency account balance. 例如,对于比特币,可以通过LED来显示账户余额中比特币的数量。 For example, for bit currency, account balance may be displayed in the number of bits of credits by LED. 显示的时候可以分段显示,比如0.001BTC以下显示为0,大于0.001小于I显示1,I〜100显示2等形式来展示比特币的数量。 It can be displayed when a segment display, such as shown below 0.001BTC 0, I is less than 0.001 show greater than 1, I~100 like display 2 to display the number of bits in the form of coins.

[0076] 穿戴设备的账户余额对应的展示信息还可以为颜色信息,通过显示不同的颜色信息来代表不同的账户余额,在显示模块中显示账户余额对应的颜色。 [0076] Display account balance information corresponding to the wearable device may also be color information to represent different account balance information by displaying a different color, a color corresponding to the account balance display in the display module. 例如,红色代表100,黄色代表1000,当显示黄色时,就可以让周围人知道你的穿戴设备中的虚拟货币的账户余额为1000。 For example, representatives of 100 red, yellow 1000, when yellow display, you can make the people around them know your account balance wearable device virtual currency for 1000. 穿戴设备的账户余额对应的展示信息还可以为音频信息,通过不同的音频信息来代表不同的账户余额,通过扬声器播放账户余额对应的音频信息。 Display account balance information corresponding to the wearable device may also be audio information, to represent different account balance through different audio information, audio information is played through speakers corresponding account balances. 这样就能够达到展示账户余额的目的。 This makes it possible to achieve the purpose to show the account balance. 可以根据币量的不同来调整音量的大小以及扬声器的频率。 You can adjust the frequency and volume of the speaker in size depending on the amount of currency. 声音短促或绵长可以通过设置不同的频率值来表示。 Short or lingering sound can be represented by a different set of frequency values.

[0077] 穿戴设备的账户余额对应的展示信息还可以为其他信息,如显示模块的亮度信息,通过显示不同的亮度来代表不同的账户余额,例如,账户余额为O时,显示模块的亮度最暗。 [0077] Display account balance information corresponding to the wearable device may be other information, such as the luminance information of the display module, to represent different account balance by displaying different luminance, e.g., when the account balance is O, maximum display luminance module dark.

[0078] 需要说明的是,上面描述的展示账户余额的方法只是一些实施例,本领域技术人员根据上述描述在不经创造性劳动的前提下获得的展示账户余额的方案都在本发明实施例的保护范围内,在此不再一一赘述。 [0078] Incidentally, showing the account balance of the above described methods are just some embodiments, those skilled in the art according to the above described without showing the account balance of the program is obtained on the premise of creative work are embodiments of the present invention. within the scope of protection, which I will not enumerate.

[0079] 根据上面描述的穿戴设备,本发明实施例还提供一种展示方法,该展示方法的内容可以参考上述描述,在此不再赘述。 [0079] The wearable apparatus described above, embodiments of the present invention further provides a display method, the contents of which reference may display methods described above, are not repeated here.

[0080] 如图2所示,本发明实施例提供的一种展示方法,该方法包括: [0080] 2 A display method according to an embodiment of the present invention, the method comprising:

[0081] 步骤201:第一终端接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; [0081] Step 201: the first terminal receives a second terminal synchronization information sent by the account, the account of the second synchronization information transmitted by the terminal after receiving the account update information to the network side;

[0082] 步骤202:所述第一终端在接收到所述账户同步信息后,根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; After the first terminal upon receiving the synchronization information to the account, public-private key pair in accordance with the first terminal of the private key to verify the account synchronization information, and verified by: [0082] Step 202 account balance in the account of the first terminal according to the synchronization information update said account;

[0083] 步骤203:所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 [0083] Step 203: Display the account balance information corresponding to the account balance is determined according to a first terminal of the account, and display according to the display information.

[0084] 本发明实施例中第一终端可以为穿戴设备等,第二终端可以为手机、平板电脑等。 [0084] The first embodiment of the present invention may be a wearable device and other terminal, the second terminal may be a mobile phone, a tablet computer.

[0085] 较佳的,还包括: [0085] Preferably, further comprising:

[0086] 所述第一终端初始化时,接收与所述第一终端绑定的第二终端发送的验证密码,并根据所述验证密码对所述第一终端的私钥进行加密,获得加密后的私钥;所述第一终端存储所述加密后的私钥,并删除未加密的私钥。 After the [0086] initialization of the first terminal, a second terminal receiving the authentication password with the first terminal transmitting the binding, according to the encryption and authentication cryptographic key pair of the first terminal, obtaining an encryption private key; said encrypted secret key of the first storage terminal, and delete the unencrypted private key.

[0087] 较佳的,所述根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,包括: [0087] Preferably, the verification of the private key of the private-public key account according to the synchronization information of the first terminal, comprising:

[0088] 所述第一终端根据所述账户同步信息中的验证密码对所述第一终端的所述加密后的私钥进行解密,获得所述私钥,并使用所述私钥对对所述账户同步信息中的账户信息进行验证。 [0088] The first terminal synchronization information in accordance with the account authentication password for the encrypted private key of the first terminal to decrypt the private key is obtained, and using the private key of their account of said account information to verify synchronization information.

[0089] 较佳的,所述第一终端接收第二终端发送的账户同步信息之前,还包括: Before [0089] Preferably, the first terminal receiving account information of the second terminal transmits the synchronization, further comprising:

[0090] 所述第一终端接收所述第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码; Receiving a second transaction terminal [0090] the request message sent by a first terminal, comprises at least the transaction request message authentication code;

[0091] 所述第一终端根据所述交易请求消息中的验证密码对所述第一终端中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述第一终端的公钥; [0091] The first terminal of the transaction request message to the first terminal authentication password to decrypt the private key encrypted according to the public-private key pair according to a public key in the decrypted private key for authentication, generates a transaction request response message after the verification, the transaction request response message includes at least destination account, the public key of the first terminal;

[0092] 所述第一终端通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息; [0092] by the private key of the first terminal a request for the digitally signed transaction response message, the transaction request response message generating a digital signature;

[0093] 所述第一终端将所述数字签名后的交易请求响应消息发送给所述第二终端,以使所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新信息后,向所述第一终端发送账户同步信息,所述账户更新信息由所述网络侧在确认交易成功后发送。 [0093] The first terminal of a transaction request after the digital signature response message to the second terminal, the second terminal so that the transaction request message sent in response to the digital signature to the target account, and the account after receiving the update information transmitted from the network side, sending account synchronization information to the first terminal, the account update information sent by the network side after confirming the transaction is successful.

[0094] 较佳的,所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示,包括: [0094] Preferably, the first terminal of the display account balance information corresponding to the account balance is determined according to the account, and display according to the display information, comprising:

[0095] 所述账户余额对应的展示信息为颜色信息,所述第一终端在显示模块中显示所述账户余额对应的颜色;或者, [0095] The display account balance information corresponding to the color information of the first terminal displays the account balance in a color corresponding to the display module; or

[0096] 所述账户余额对应的展示信息为音频信息,所述第一终端通过扬声器播放所述账户余额对应的音频信息。 [0096] The display account balance information corresponding to the audio information, the first information terminal through a speaker to play the audio corresponding to the account balance.

[0097] 综上所述,根据本发明实施例提供的展示方法及装置,第一终端在根据第一终端中账户的账户余额,确定所述账户余额对应的展示信息,并根据确定的展示信息展示余额。 [0097] As described above, according to the present invention is to provide display method and apparatus of the embodiment, a first terminal of the first terminal according to the account balance in the account, the account balance is determined to show corresponding information and presentation information in accordance with the determined show balance. 通过本发明实施例提供的方法,将存储在第一终端中无法展示的账户余额转换为对应的展示信息,从而使得原本只存储虚拟货币的硬件钱包具有更美观的外表,更具实用性。 Method provided by the present invention, converting the terminal can not be stored in the first display account balance information corresponding to the display, so that only the original storage hardware virtual money purse has a more attractive appearance, is more practical.

[0098] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0098] skilled in the art should understand that the embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Thus, embodiments of the present invention may be employed entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。 Further, in the present invention may comprise one or more of which computer usable storage medium having computer-usable program code (including but not limited to disk storage, and optical storage) in the form of a computer program product implemented on.

[0099] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0099] The present invention has been described in accordance with the method of Example of the present invention, apparatus (systems) and computer program products flowchart and / or block diagrams described. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood and implemented by computer program instructions and block, and the flowchart / or block diagrams each process and / or flowchart illustrations and / or block diagrams of processes and / or blocks. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions may be provided to a processor a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus generating in a device for implementing the flow chart or more flows and / or block diagram block or blocks in a specified functions.

[0100] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0100] These computer program instructions may also be stored in a computer can direct a computer or other programmable data processing apparatus to function in a particular manner readable memory produce an article of manufacture such that the storage instruction means comprises a memory in the computer-readable instructions the instruction means implemented in a flowchart or more flows and / or block diagram block or blocks in a specified function.

[0101] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0101] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps on the computer or other programmable apparatus to produce a computer implemented so that the computer or other programmable apparatus execute instructions to provide processes for implementing a process or flows and / or block diagram block or blocks a function specified step.

[0102] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0102] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (10)

  1. 1.一种穿戴设备,其特征在于,包括: 通信模块,用于在处理器的控制下接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; 所述处理器,用于在接收到所述账户同步信息后,根据所述穿戴设备的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; 显示模块,用于在所述处理器的控制下根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 A wearable device, characterized by comprising: a communication module for receiving account information of the second terminal transmits the synchronization under control of the processor, synchronizing the account information to the second terminal receives the network side after the account update information; and the processor for the account after receiving the synchronization information, the synchronization verify the account information to the wearable device according to private-public key pair of private key and validate the balance of the account by the account in the account information update synchronizing a first terminal; and a display module for displaying account balance information corresponding to the account balance is determined according to the account under the control of the processor, and display based on the display information.
  2. 2.根据权利要求1所述的穿戴设备,其特征在于,所述处理器还用于: 初始化所述穿戴设备时,接收与所述穿戴设备绑定的第二终端发送的验证密码,并根据所述验证密码对所述穿戴设备端的私钥进行加密,获得加密后的私钥;所述穿戴设备存储所述加密后的私钥,并删除未加密的私钥。 The wearable device according to claim 1, wherein the processor is further configured to: when initializing the device worn, the wearer receives the authentication password and the second terminal device transmits bound, and according to the private key of the authentication password wearable device side encrypted private key to obtain encrypted; the wearable device stores the private key after encrypting the unencrypted private key and delete.
  3. 3.根据权利要求2所述的穿戴设备,其特征在于,所述通信模块具体用于: 接收所述第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码; 所述处理器具体用于: 根据所述交易请求消息中的验证密码对穿戴设备中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述穿戴设备的公钥; 通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息; 将所述数字签名后的交易请求响应消息发送给所述第二终端,以使所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新信息后,向所述穿戴设备发送账户同步信息,所述账户更新信息由所述网 3. The wearable device according to claim 2, wherein said communication module is configured to: receive a transaction request message sent by the second terminal, comprises at least the transaction request message authentication password; the processor specifically configured to: message authentication password wearable device decrypts the encrypted private key, and verify the decrypted private key based on the public-private key pair the public key according to the transaction request, after validation by generating a transaction request response message, the transaction request response message includes at least destination account, the public key wearable device; digitally signed by the private key in response to the transaction request message, the transaction request message in response generating a digital signature ; transaction request after the digital signature response message to the second terminal, the second terminal so that the transaction request to the digital signature response message to the destination account, and to receive the later account updating information sent by the network, the wearable device transmits the synchronization information to the account, the account information is updated by the network 络侧在确认交易成功后发送。 Network side is sent after confirming the transaction is successful.
  4. 4.根据权利要求1至3任一项所述的穿戴设备,其特征在于,所述显示模块具体用于: 所述账户余额对应的展示信息为颜色信息,在显示模块中显示所述账户余额对应的颜色;或者, 所述账户余额对应的展示信息为音频信息,通过扬声器播放所述账户余额对应的音频信息。 The wearable device according to any one of claims 1-3 1, wherein the display module is specifically configured to: display the account balance information corresponding to the color information, the account balance display in the display module corresponding color; or display the account balance information corresponding to the audio information, information is played through a speaker of the audio corresponding to the account balance.
  5. 5.根据权利要求4所述的穿戴设备,其特征在于,还包括: 电子时钟模块,用于通过所述显示模块显示时间; 定位模块,用于确定用户所在的位置坐标; 生理信号采集模块,用于采集用户的生理信号,所述生理信号至少包括用户的体温、用户的血压、用户的心电信号。 The wearable device according to claim 4, characterized in that, further comprising: an electronic clock module configured to display time by the display module; positioning module, the position coordinates of the user for determining a location; physiological signal acquisition module, for acquiring physiological signals of a user, the physiological signal comprises at least a user's body temperature, blood pressure of the user, the user's ECG.
  6. 6.一种展示方法,其特征在于,该方法包括: 第一终端接收第二终端发送的账户同步信息,所述账户同步信息为所述第二终端在接收网络侧的账户更新信息后发送的; 所述第一终端在接收到所述账户同步信息后,根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,并在验证通过后根据所述账户同步信息更新所述第一终端中账户的账户余额; 所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示。 A display method, characterized in that, the method comprising: a first terminal receiving account information of the second terminal transmitting the synchronization, the synchronizing account information from the second terminal of the network side after receiving the account update information ; the first terminal upon receiving the synchronization information to the account, public-private key pair in accordance with the first terminal of the private key to verify the account synchronization information, and synchronization based on the account after the verification updating the information in the account balance of the account of the first terminal; the first terminal of the account balance of the account information of the display is determined according to the corresponding account balance, according to the presentation and display information.
  7. 7.根据权利要求6所述的方法,其特征在于,还包括: 所述第一终端初始化时,接收与所述第一终端绑定的第二终端发送的验证密码,并根据所述验证密码对所述第一终端的私钥进行加密,获得加密后的私钥;所述第一终端存储所述加密后的私钥,并删除未加密的私钥。 7. The method according to claim 6, characterized in that, further comprising: initializing the first terminal, a second terminal with the first terminal receiving the transmitted authentication password binding, and verify the password according to the the private key for encrypting the first terminal, the private key to obtain encrypted; private storage after the first terminal of the encrypted private key and deleting non-encrypted.
  8. 8.根据权利要求7所述的方法,其特征在于,所述根据所述第一终端的公私密钥对中的私钥对所述账户同步信息进行验证,包括: 所述第一终端根据所述账户同步信息中的验证密码对所述第一终端的所述加密后的私钥进行解密,获得所述私钥,并使用所述私钥对对所述账户同步信息中的账户信息进行验证。 8. The method according to claim 7, wherein said synchronization verify the account information according to private-public key pair of the private key of the first terminal, comprising: a first terminal in accordance with the the encrypted private key of said synchronization information in the account authentication password for decrypting the first terminal to obtain the private key, the private key and using the synchronization information of the account information to verify the account .
  9. 9.根据权利要求7所述的方法,其特征在于,所述第一终端接收第二终端发送的账户同步信息之前,还包括: 所述第一终端接收所述第二终端发送的交易请求消息,所述交易请求消息至少包含验证密码; 所述第一终端根据所述交易请求消息中的验证密码对所述第一终端中加密的私钥进行解密,并根据所述公私密钥对中的公钥对解密后的私钥进行验证,在验证通过后生成交易请求响应消息,所述交易请求响应消息至少包含目标账户、所述第一终端的公钥; 所述第一终端通过所述私钥对所述交易请求响应消息进行数字签名,生成数字签名后的交易请求响应消息; 所述第一终端将所述数字签名后的交易请求响应消息发送给所述第二终端,以使所述第二终端将所述数字签名后的交易请求响应消息发送给所述目标账户,并在接收到所述网络侧发送的账户更新 9. The method according to claim 7, characterized in that, prior to the account information of the second terminal transmitting the synchronization of the first receiving terminal, further comprising: a first terminal receiving the transaction request message sent by the second terminal , comprises at least the transaction request message authentication password; message authentication password of the first terminal decrypts the encrypted private key of the first terminal according to the transaction request, and according to the public-private key pair public key to verify the decrypted private key, generates a transaction request response message after the verification, the transaction request response message includes at least destination account, the public key of the first terminal; the first terminal through the private key in response to the transaction request message a digital signature, the transaction request message in response generating a digital signature; transaction request to the first terminal after the digital signature response message to the second terminal, so that the the second terminal after the transaction request account updating the digital signature response message to the destination account, and transmits to the network side receives 息后,向所述第一终端发送账户同步信息,所述账户更新信息由所述网络侧在确认交易成功后发送。 After the message, sending account synchronization information to the first terminal, the account update information sent by the network side after confirming the transaction is successful.
  10. 10.根据权利要求6至9任一项所述的方法,其特征在于,所述第一终端根据所述账户的账户余额确定所述账户余额对应的展示信息,并根据所述展示信息进行展示,包括: 所述账户余额对应的展示信息为颜色信息,所述第一终端在显示模块中显示所述账户余额对应的颜色;或者, 所述账户余额对应的展示信息为音频信息,所述第一终端通过扬声器播放所述账户余额对应的音频信息。 10. The method according to any one of claims 6-9, characterized in that display information corresponding to the account balance of the account balance is determined according to a first terminal of the account, and display information according to the presentation , comprising: a display of the account balance information corresponding to the color information of the first terminal displays the account balance in a color corresponding to the display module; or the account balance information corresponding to the audio information display, said first a terminal through a speaker to play the audio information corresponding to the account balance.
CN 201510144156 2015-03-30 2015-03-30 Display method and wearing device CN104811310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510144156 CN104811310A (en) 2015-03-30 2015-03-30 Display method and wearing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510144156 CN104811310A (en) 2015-03-30 2015-03-30 Display method and wearing device

Publications (1)

Publication Number Publication Date
CN104811310A true true CN104811310A (en) 2015-07-29

Family

ID=53695827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510144156 CN104811310A (en) 2015-03-30 2015-03-30 Display method and wearing device

Country Status (1)

Country Link
CN (1) CN104811310A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080167000A1 (en) * 2007-01-09 2008-07-10 Visa U.S.A. Inc. Mobile phone payment process including threshold indicator
CN101425861A (en) * 2008-12-08 2009-05-06 中兴通讯股份有限公司 Mobile multimedia broadcast terminal and charging method thereof
CN102479405A (en) * 2010-11-30 2012-05-30 英业达股份有限公司 Portable storage device as well as use method and system thereof
CN102917351A (en) * 2011-08-05 2013-02-06 中国移动通信集团公司 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
CN103220145A (en) * 2013-04-03 2013-07-24 天地融科技股份有限公司 Method and system for electronic signature token to respond to operation request, and electronic signature token
CN103455913A (en) * 2013-08-26 2013-12-18 天地融科技股份有限公司 NFC payment method, device, system and mobile terminal
CN104200363A (en) * 2014-08-11 2014-12-10 济南曼维信息科技有限公司 Fingerprint-encryption-based electronic purse system payment method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080167000A1 (en) * 2007-01-09 2008-07-10 Visa U.S.A. Inc. Mobile phone payment process including threshold indicator
CN101425861A (en) * 2008-12-08 2009-05-06 中兴通讯股份有限公司 Mobile multimedia broadcast terminal and charging method thereof
CN102479405A (en) * 2010-11-30 2012-05-30 英业达股份有限公司 Portable storage device as well as use method and system thereof
CN102917351A (en) * 2011-08-05 2013-02-06 中国移动通信集团公司 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
CN103220145A (en) * 2013-04-03 2013-07-24 天地融科技股份有限公司 Method and system for electronic signature token to respond to operation request, and electronic signature token
CN103455913A (en) * 2013-08-26 2013-12-18 天地融科技股份有限公司 NFC payment method, device, system and mobile terminal
CN104200363A (en) * 2014-08-11 2014-12-10 济南曼维信息科技有限公司 Fingerprint-encryption-based electronic purse system payment method

Similar Documents

Publication Publication Date Title
US7606560B2 (en) Authentication services using mobile device
US20110060913A1 (en) Otp generation using a camouflaged key
EP2098985A2 (en) Secure financial reader architecture
US20130305392A1 (en) System, device, and method of secure entry and handling of passwords
US20140149746A1 (en) Method and system of providing authentication of user access to a computer resource on a mobile device
US20140325220A1 (en) "Unpassword": Risk Aware End-to-End Multi-Factor Authentication Via Dynamic Pairing
US20150324789A1 (en) Cryptocurrency Virtual Wallet System and Method
US20140282878A1 (en) Methods, apparatuses and systems for providing user authentication
US20120066504A1 (en) Methods, apparatus and systems for securing user-associated passwords used for identity authentication
US20140149742A1 (en) Method and system of providing authentication of user access to a computer resource via a mobile device using multiple separate security factors
CN104065653A (en) Interactive authentication method, device, system and related equipment
CN102983892A (en) Method and system for bluetooth pairing
US20160261411A1 (en) Method and system of providing authentication of user access to a computer resource via a mobile device using multiple separate security factors
US20160005032A1 (en) Method and system of providing authentication of user access to a computer resource via a mobile device using multiple separate security factors
US20150213433A1 (en) Secure provisioning of credentials on an electronic device using elliptic curve cryptography
CN103220271A (en) Downloading method, management method, downloading management method, downloading management device and downloading management system for secret key
CN102118251A (en) Security authentication method for internet banking remote payment based on multi-interface intelligent safety card
CN103793815A (en) Mobile intelligent terminal acquirer system and method suitable for bank cards and business cards
JP2003060635A (en) Personal authentication system, method therefor, authentication device and computer program
CN104331796A (en) Wearable device and working method thereof
CN201035502Y (en) Safety accidental dynamic soft keyboard
CN103501191A (en) Mobile payment device and method thereof based on NFC technology
CN102768744A (en) Remote safe payment method and system
CN101605325A (en) Method for identity authentication, mobile terminal, server, and identity authentication system
CN204360381U (en) Mobile devices

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination