CN108229142B - Method and device for upgrading wallet based on digital currency wallet terminal - Google Patents

Method and device for upgrading wallet based on digital currency wallet terminal Download PDF

Info

Publication number
CN108229142B
CN108229142B CN201711458940.5A CN201711458940A CN108229142B CN 108229142 B CN108229142 B CN 108229142B CN 201711458940 A CN201711458940 A CN 201711458940A CN 108229142 B CN108229142 B CN 108229142B
Authority
CN
China
Prior art keywords
wallet
upgrade
facilitator
upgrading
terminal
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.)
Active
Application number
CN201711458940.5A
Other languages
Chinese (zh)
Other versions
CN108229142A (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.)
Digital Currency Institute of the Peoples Bank of China
Original Assignee
Digital Currency Institute of the Peoples Bank of China
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 Digital Currency Institute of the Peoples Bank of China filed Critical Digital Currency Institute of the Peoples Bank of China
Priority to CN201711458940.5A priority Critical patent/CN108229142B/en
Publication of CN108229142A publication Critical patent/CN108229142A/en
Application granted granted Critical
Publication of CN108229142B publication Critical patent/CN108229142B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention discloses a method and a device for upgrading a wallet based on a digital currency wallet terminal, and relates to the technical field of computers. One embodiment of the method comprises: the digital currency wallet terminal sends an upgrade request to a wallet facilitator under the condition that the upgrade request of a user is received, the wallet facilitator verifies the upgrade request, and the upgrade installation information is returned to the digital currency wallet terminal under the condition that the upgrade request passes the verification; and after the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade opening instruction to the wallet facilitator, and the wallet facilitator finishes upgrading the wallet. This embodiment has overcome lack wallet terminal among the prior art and has upgraded self to and service system accomplishes the renewal technical problem that wallet upgrading corresponds, and then reaches safe and reliable's technical effect that upgrades to wallet.

Description

Method and device for upgrading wallet based on digital currency wallet terminal
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for upgrading a wallet based on a digital currency wallet terminal.
Background
In the digital economy era, rapid development and rapid evolution of science and technology promote deep changes of social economy and industrial modes. Especially in the Internet industry and field, the innovation value and competitiveness brought by the technical driving force continuously and rapidly urge the generation of various innovation product forms and service capacities. A new round of technological innovation and technology upgrade is comprehensively spread, and the industrial change is deeply influenced.
At present, payment settlement methods around the world are greatly changed, and various electronic money, virtual digital money, digital money products and payment settlement services thereof are layered endlessly. The digital currency wallet is a digital currency product, and can meet the application requirements of safer and more convenient digital currency products in the digital economy era.
There are three forms of prior art currency wallets:
1. the electronic or digital wallet based on the account system is an extension of the account function, even only one entrance or medium for account access, and the wallet is not an independent wallet but depends on the original account system, so that the transaction in which the wallet participates is only the transaction of the original account system, namely the wallet does not actually store any actual fund or asset and is only used as the front-end display of the accounting data and functions of the background account system;
2. the electronic wallet which is used as an aggregation entrance for accessing the bank card or other card media is only the aggregation management of the card functions, the wallet does not have the functions of direct fund operation and transaction processing, the realization of the functions also needs to call the network application function of a corresponding certain card, namely the wallet payment and other functions are not realized, but the network payment entrance functions of a plurality of cards are encapsulated, the access of a single entrance is realized, and the complexity of the multi-card operation of a user is simplified;
3. private quasi-digital currency purses, such as bitcoin purses, which are developed based on blockchain technology, are mainly used for keeping private keys and signing the private quasi-digital currency recorded on the blockchain, namely, the purses are similar to address or key safekeeping boxes and do not have the function of storing funds or assets; meanwhile, the wallet is completely anonymous, and anyone can generate a new wallet address and transfer the digital assets to any address through a private key, and the digital assets cannot be recovered once the transfer target is wrong. The simplified wallet address or key safe deposit box has the main function of keeping the key.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art:
the existing account wallet depends on a background account system, the wallet is not independent and cannot hold real digital currency issued by a digital currency issuing mechanism, so that the existing account wallet has no interaction and access mechanism with the digital currency issuing mechanism, the existing account wallet too depends on mechanisms such as a wallet facilitator or a commercial bank in the aspect of key management, the safety of the account wallet is also insufficient, a localized safety technology cannot be fully utilized, and a plurality of difficulties exist when a system of an account wallet terminal is upgraded.
Therefore, how to upgrade the wallet terminal and how to synchronously update the wallet service provider and the digital currency issuing and registering authority according to the upgrade of the wallet terminal are technical problems to be solved urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for upgrading a wallet based on a digital currency wallet terminal, which can solve the technical problems that the wallet terminal is lacking to upgrade itself in the prior art, and a wallet service provider and a digital currency issuing and registering authority perform corresponding synchronous updating according to the upgrade of the wallet terminal.
To achieve the above object, according to an aspect of embodiments of the present invention, there is provided a method for upgrading a wallet based on a digital money wallet terminal.
The method for upgrading the wallet based on the digital currency wallet terminal comprises the following steps: the digital currency wallet terminal sends an upgrade request to a wallet facilitator under the condition that the upgrade request of a user is received, the wallet facilitator verifies the upgrade request, and the upgrade installation information is returned to the digital currency wallet terminal under the condition that the upgrade request passes the verification; and after the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade opening instruction to the wallet facilitator, and the wallet facilitator finishes upgrading the wallet.
In one embodiment, the steps of the digital money wallet terminal of the present invention, in a case where an upgrade request of a user is received, transmitting the upgrade request to a wallet facilitator, verifying the upgrade request by the wallet facilitator, and in a case where the upgrade request is verified, returning upgrade installation information to the digital money wallet terminal, include: the digital currency wallet terminal sends the upgrading request of the user to a wallet facilitator, the wallet facilitator verifies the upgrading request of the user, and the upgradable item information is returned to the digital currency wallet terminal under the condition that the upgrading request of the user passes the verification; under the condition that the digital currency wallet terminal receives item information to be upgraded selected from the upgradable item information by a user, the item information to be upgraded is sent to a wallet facilitator, and the wallet facilitator returns an upgrading instruction to the digital currency wallet terminal; and the digital currency wallet terminal sends the upgrading instruction confirmed by the user to a wallet facilitator, the wallet facilitator verifies the upgrading instruction confirmed by the user, and the upgrading installation information is returned to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user passes verification.
In one embodiment, before the step of sending the upgrade opening instruction to the wallet facilitator, the method further includes: and the digital currency wallet terminal downloads the upgrade packet data according to the upgrade installation information and then sends an upgrade opening instruction to the wallet facilitator.
In one embodiment, the step of upgrading the wallet by the wallet service provider comprises: the wallet service provider updates the wallet service provider according to the upgrade opening instruction; the wallet facilitator transmits the upgrade opening instruction to the digital money issuance registration mechanism so that the digital money issuance registration mechanism updates the digital money issuance registration mechanism itself according to the upgrade opening instruction.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an apparatus for upgrading a wallet based on a digital money wallet terminal.
The device for upgrading the wallet based on the digital currency wallet terminal comprises: the first processing module is used for sending an upgrade request to a wallet facilitator under the condition that the upgrade request of a user is received, verifying the upgrade request by the wallet facilitator and returning upgrade installation information to the digital currency wallet terminal under the condition that the upgrade request is verified; and the second processing module is used for sending the upgrade opening instruction to the wallet facilitator after the user confirms the upgrade installation information, and finishing the upgrade of the wallet through the wallet facilitator.
In one embodiment, the first processing module of the present invention is configured to: sending the upgrading request of the user to a wallet facilitator, verifying the upgrading request of the user by the wallet facilitator, and returning upgradable item information to the digital currency wallet terminal under the condition that the upgrading request of the user is verified; under the condition of receiving the information of the item to be upgraded selected from the upgradable item information by the user, sending the information of the item to be upgraded to a wallet facilitator, and returning an upgrading instruction to the digital currency wallet terminal by the wallet facilitator; and the digital currency wallet terminal sends the upgrading instruction confirmed by the user to a wallet facilitator, the wallet facilitator verifies the upgrading instruction confirmed by the user, and the upgrading installation information is returned to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user passes verification.
In one embodiment, the present invention further comprises a verification module for: and downloading the upgrade package data according to the upgrade installation information, and then sending an upgrade opening instruction to the wallet facilitator.
In one embodiment, the present invention further comprises an upgrade module configured to: enabling the wallet facilitator to update the wallet facilitator according to the upgrade opening instruction; and sending the upgrade opening instruction to the digital currency issuing and registering mechanism through the wallet facilitator so that the digital currency issuing and registering mechanism updates the digital currency issuing and registering mechanism according to the upgrade opening instruction.
To achieve the above object, according to still another aspect of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention, on which a computer program is stored, is characterized in that the program, when executed by a processor, implements the method of the present invention for upgrading a wallet based on a digital money wallet terminal.
One embodiment of the above invention has the following advantages or benefits: because the technical means that the upgrade request is sent to the wallet facilitator for verification and the wallet upgrading is completed by the wallet facilitator through the interaction of the digital currency wallet terminal and the wallet facilitator is adopted, the technical problems that the wallet terminal is lack of upgrading in the prior art, and the wallet facilitator and the digital currency issuing and registering mechanism perform corresponding synchronous updating according to the wallet terminal upgrading are solved, and the technical effect of safely and reliably upgrading the wallet is achieved; the invention provides a set of complete full-process safety protection mechanism which can complete upgrading when the digital money wallet terminal is operated, can effectively protect the operation and transaction processing process of the whole digital money wallet, and greatly improves the safety protection capability of the existing electronic wallet.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a main flow of a method for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a framework for wallet upgrade based on a digital money wallet terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of main modules of an apparatus for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of a main flow of a method for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention, and as shown in fig. 1, the method for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention mainly includes the following steps:
step S101: and the digital currency wallet terminal sends the upgrade request to the wallet facilitator under the condition that the upgrade request of the user is received, the wallet facilitator verifies the upgrade request, and the digital currency wallet terminal returns upgrade installation information under the condition that the upgrade request passes the verification. Firstly, a user logs in a local digital money wallet terminal, then the user initiates an upgrade request according to the requirement, and finally the digital money wallet terminal starts to upgrade the wallet after receiving the upgrade request of the user. In order to ensure the safety and reliability of the upgrading process, the upgrading request of the user needs to be verified, and the upgrading operation can be triggered only if the verification is passed.
Further, in some usage scenarios, in order to improve security and reliability, the verification needs to be performed again, in an embodiment of the present invention, the step of sending, by the digital money wallet terminal, the upgrade request to the wallet service provider when receiving the upgrade request from the user, verifying the upgrade request by the wallet service provider, and returning, when the upgrade request is verified, the upgrade installation information to the digital money wallet terminal includes: the digital currency wallet terminal sends the upgrading request of the user to a wallet facilitator, the wallet facilitator verifies the upgrading request of the user, and the upgradable item information is returned to the digital currency wallet terminal under the condition that the upgrading request of the user passes the verification; under the condition that the digital currency wallet terminal receives item information to be upgraded selected from the upgradable item information by a user, the item information to be upgraded is sent to a wallet facilitator, and the wallet facilitator returns an upgrading instruction to the digital currency wallet terminal; and the digital currency wallet terminal sends the upgrading instruction confirmed by the user to a wallet facilitator, the wallet facilitator verifies the upgrading instruction confirmed by the user, and the upgrading installation information is returned to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user passes verification. . It should be noted that the upgrade instruction may include information such as an upgrade protocol/wallet id/certificate/two-party signed/upgraded contract code hash of the original signed contract package, and then the digital money wallet terminal sends the upgrade instruction confirmed by the user to the wallet service provider for verification and obtaining upgrade installation information. That is, in step S101, the upgradable item information is acquired, and then further confirmed by the user, and the item information to be upgraded that needs to be upgraded is selected from the upgradable item information, so that the corresponding item is upgraded according to the item information to be upgraded.
Step S102: and after the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade opening instruction to the wallet facilitator, and the wallet facilitator finishes upgrading the wallet. In the step S101, the information of the item to be upgraded is determined, the upgrading instruction is determined, the upgrading installation information is determined according to the upgrading instruction confirmed by the user, the upgrading package data can be downloaded through the upgrading installation information in the step, and the upgrading of the wallet is completed through the upgrading package book.
In addition, after the upgrade installation information that needs to be upgraded is determined, it is further necessary to obtain upgrade package data according to the determined upgrade installation information, where the upgrade package data is used to upgrade the digital money wallet terminal and update the wallet facilitator and the digital money issuance registration authority, and specifically, before the step of sending the upgrade fulfillment instruction to the wallet facilitator, the method further includes: the digital money wallet terminal downloads the upgrade package data according to the upgrade installation information and then transmits an upgrade opening instruction to the wallet facilitator (the upgrade opening instruction carries the fingerprint information related to the upgrade package data which has been downloaded and installed). Then, the wallet upgrading operation can be completed by the wallet facilitator, and specifically, the wallet upgrading step by the wallet facilitator includes: the wallet service provider updates the wallet service provider according to the upgrade opening instruction; the wallet facilitator transmits the upgrade opening instruction to the digital money issuance registration mechanism so that the digital money issuance registration mechanism updates the digital money issuance registration mechanism itself according to the upgrade opening instruction.
Fig. 2 is a schematic diagram of a framework for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention. Before the implementation steps of the present invention are elaborated, the following explanations are also needed to make the terms used in the present invention:
the related technology of the invention comprises: asymmetric encryption and hashing algorithms.
TEE: the security area which is present in the mobile terminal equipment and is isolated from the rich execution environment and the application on the rich execution environment ensures that various sensitive data are safely transmitted, stored and processed in the security area through the combination of a group of hardware and software, and ensures the confidentiality and the integrity of the execution of the trusted application and the end-to-end security of the data access authority. The implementation of TEE can be based on different technologies, and its composition mainly includes:
a system software layer: the credibility of hardware resources (such as CPU, RAM, FLASH, SPI bus, etc.) is fully utilized to realize the system execution environment isolated by hardware, and the system has the resource calling capability of safe calculation and the running of various safety devices, and can provide the following functions: various system services such as security encryption and decryption, security storage, trusted user interface, trusted identity authentication and the like; a key hierarchy that ensures system and application security; the safe communication mechanism with the REE, the SE and the external equipment and the corresponding access control are carried out; a trusted virtualization layer is provided that can support multiple trusted OSs to coexist and run.
And an application software layer: the application is generally combined with corresponding REE application, so that convenient and safe user experience is provided for users, and the trusted application is mainly deployed under mechanism control.
On the basis of the smart card technology, the terminal can defend various malicious attacks on the hardware and software level so as to run various applications with high safety requirements, and the overall aim is to ensure the high safety of the applications. Generally, the software and hardware resources of the device are limited, and the device can be mutually complemented with TEE, so that the device can provide applications with more balanced functions and safety requirements. The composition mainly comprises:
a system software layer: operating a verifiable card operating system, and mainly providing functions of security encryption and decryption, key storage and the like for the application on the card operating system;
and an application software layer: the method comprises security applications, such as financial, public transportation, social security, telecommunication and the like, and is applied to secure acquisition and deployment under the control of the TSM of an industrial institution.
Aiming at the technical problems in the background art, the digital money wallet terminal is provided for the application requirement of a safer and more convenient digital money wallet terminal under the digital economy, and the digital money wallet terminal combines a plurality of driving factors such as the continuous improvement of the electronization and networking of financial infrastructure, the more effective system interconnection brought by the development of communication technology, the step-by-step formation of an emerging digitalization state of integrating brand-new digital money based on a block chain and the technical support of digital assets and the like. Therefore, the digital money wallet terminal is a brand-new secure digital wallet supported by all aspects of functions, such as digital money storage, operation, application service, comprehensive management and the like.
The invention is based on the wallet upgrading of the digital currency wallet terminal, so the following characteristics of the digital currency wallet terminal need to be known:
1. the digital money wallet terminal is a carrier for actually storing encrypted digital money, and the digital money in the form of encrypted strings is recorded in the digital money wallet terminal, and the digital money is actually transferred between the digital money wallet terminals.
2. There is a substantial difference in the digital entity wallets where the digital money wallet terminals actually deposit money and can directly transfer money between wallets.
3. The digital money wallet terminal can support not only the secure storage of the secret key and a series of secure authentication functions, but also the digital money wallet terminal itself is a carrier for storing the digital money, and the direct digital money can be directly and actually transferred between the wallets, so that the digital money wallet terminal can be regarded as a digital money entity wallet containing perfect secret keys and secure authentication functions.
In summary, the digital money wallet terminal is based on digital money with encryption technology as the core, and thus is different from an electronic wallet based on an account system. While the emphasis of the digital currency wallet terminal is on terminal-deployed wallets, rather than being based on a front-end presentation and operational interface outside of the network core accounting system, the terminal wallet provides fully localized standalone wallet operation and functional support based on a local security module and operating system provided by the terminal's operating environment (e.g., mobile terminal, etc.). Finally, the digital money wallet terminal must also meet the management requirements of the digital money issuing institution and communicate with the existing account system to achieve integration with the financial infrastructure. Thus, the digital currency wallet is a completely new design, different from account-based wallets and from valueless support and issuer-managed token wallets like bitcoins, but indeed can replace traditional physical currency, fulfilling payments and supporting other financial and commercial needs, digital-currency-oriented digital entity wallets.
As shown in fig. 2, the wallet upgrading based on the digital currency wallet terminal of the present invention is that after the user passes the terminal security module identity authentication on the digital currency wallet terminal, the user operates the digital currency terminal wallet contract function execution module, and then the user initiates an upgrade instruction to the wallet service provider through the digital currency terminal wallet contract function execution module, updates the terminal wallet contract code through the wallet service provider, and synchronously updates the relevant records of the authentication center of the digital currency issuing and registering authority, etc., thereby completing the wallet upgrading process. The specific upgrading process comprises the following steps:
1. the user logs in to the terminal operating system of the local digital currency wallet.
2. The terminal security module receives a wallet upgrading execution request initiated by a user and then initiates the upgrading request to the terminal wallet contract function execution module.
3. The terminal wallet contract function execution module transmits the upgrade request with the wallet certificate signature, the wallet identification, the wallet certificate, and the two-party signature of the signature contract package to the wallet service system of the wallet facilitator to acquire upgrade information.
4. The wallet service system verifies the two-party signature of the received upgrade request, wallet identification, wallet certificate, and signature contract package.
5. The wallet service system checks whether the wallet can be upgraded. If the upgrade cannot be performed, returning to the user that the upgrade cannot be performed and quitting the upgrade process; if it can be upgraded, the next step is performed.
6. The wallet service system returns upgradable item information to the terminal wallet contract function execution module.
7. The terminal wallet contract function execution module displays the upgradeable item information to the user.
8. The user selects item information to be upgraded from the upgradeable item information.
9. And the terminal wallet contract function execution module signs the item to be upgraded corresponding to the item information to be upgraded selected by the user and sends the signed item to be upgraded to the wallet service system.
10. After the wallet service system verifies the received item to be upgraded, the wallet service system sends an upgrade instruction signed by the wallet service system (including upgrade protocol/wallet identification/certificate/two-party signed/upgraded contract code hash of original signature contract package) to the terminal wallet contract function execution module.
11. And after verifying the signature information of the upgrading instruction, the wallet mark/certificate and other information, the terminal wallet contract function execution module sends the upgrading instruction to the terminal security module.
12. And the terminal security module displays the received identifiable information of the upgrading instruction to the user and waits for the user to confirm.
13. The user confirms the identifiable information of the upgrade order.
14. And the terminal security module verifies the signature of the original signature contract packet, and the upgrade instruction signed by the wallet service system is signed by a wallet private key to obtain the upgrade instruction with two-party signature.
15. And the terminal security module sends the upgrading instruction with the two-party signature to the terminal wallet contract function execution module.
16. And the terminal wallet contract function execution module verifies the signature information of the upgrading instruction, exits the wallet signature contract if the verification is passed, and starts to prepare for upgrading.
17. The terminal security module checks whether the local wallet signature contract quits successfully or not, if the local wallet signature contract quits successfully, the terminal security module informs a user that the signature contract quits unsuccessfully and cannot upgrade the wallet; if successful, the next step is performed.
18. And the terminal security module sets the original wallet signature contract to be invalid and releases the local key binding.
19. And the terminal security module sends a signature upgrading instruction to the wallet service system.
20. The wallet serving system verifies the two-party signature of the signing contract package and generates upgrade installation information (including upgrade to-be-signed contract package information [ digital currency wallet identification/certificate/wallet execution code hash value ] signed by the wallet service provider and an upgrade contract code address).
21. And the wallet service system sends the upgrade installation information signed by the wallet service system to the digital currency wallet terminal security module, and after the security module verifies the signature, the security module displays identifiable information of the upgrade installation information to the user and waits for the user to confirm.
22. After the user confirms the upgrade installation information, the terminal security module downloads upgrade digital money wallet contract execution codes required by the upgrade, and local installation and deployment are carried out to complete the upgrade of the digital money wallet terminal.
23. And the terminal security module compares the hash value calculated according to the downloaded execution code with the hash value of the wallet execution code contained in the contract packet information to be signed, and verifies whether the hash values are the same. While verifying that the wallet id/certificate is the same as the previous local store, it is also necessary to verify the wallet facilitator signature of the upgrade installation information. After the verification is passed, the terminal security module signs the upgrade contract package to be signed by the wallet service provider by using the digital currency wallet private key, and finally obtains upgrade contract package information with two-party signature. And sending an upgrade opening instruction (comprising an upgrade instruction with a two-party signature and upgrade contract package information with a two-party signature) to the wallet service system.
24. And the wallet service system verifies the two-party signature information in the upgrade opening instruction and sends the upgrade opening instruction to the digital currency core system.
25. And the digital currency core system receives and verifies the two-party signature information in the upgrade opening instruction so as to update the wallet information.
26. And the digital currency core system sends an upgrade opening instruction to an authentication center of the wallet facilitator.
27. And the authentication center of the wallet facilitator receives and verifies the two-party signature information in the upgrade opening instruction, so as to update the wallet information.
28. The authentication center of the wallet facilitator sends an upgrade opening instruction to the authentication center of the digital currency issuing and registering institution.
29. The authentication center of the digital currency issuing and registering organization receives and verifies the two-party signature information in the upgrade opening instruction, thereby updating the wallet information and informing the registration center of the digital currency issuing and registering organization of synchronously updating the wallet information.
30. The certification authority of the digital money issuance registration authority returns an upgrade registration success notification to the certification authority of the wallet facilitator.
31. The authentication center in the wallet facilitator returns an upgrade registration success notification to the digital currency core system.
32. The digital currency core system returns an upgrade registration success notification to the wallet service system.
33. The wallet service system returns an upgrade registration success notice to the terminal security module, and then the terminal security module sets a contract executable code corresponding to upgrade contract package information with two-party signature information as executable and binds a local secret key.
34. And the digital currency wallet terminal security module returns the successful upgrading information to the terminal operating system, and the terminal operating system displays the successful upgrading information to the user.
As described above, the preferential effects of the present invention include: because the technical means that the upgrade request is sent to the wallet facilitator for verification and the wallet is upgraded by the wallet facilitator through the interaction of the digital currency wallet terminal and the wallet facilitator is adopted, the technical problems that the wallet facilitator and the digital currency issuing and registering mechanism upgrade the wallet based on an account wallet terminal to upgrade the wallet terminal and update correspondingly and synchronously in the prior art are overcome, and the technical effect of safely and reliably upgrading the wallet is achieved; the invention provides a set of complete full-process safety protection mechanism which can complete upgrading when the digital money wallet terminal is operated, can effectively protect the operation and transaction processing process of the whole digital money wallet, and greatly improves the safety protection capability of the existing electronic wallet.
Fig. 3 is a schematic diagram of main modules of an apparatus for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention. As shown in fig. 3, an apparatus for upgrading a wallet based on a digital money wallet terminal according to an embodiment of the present invention mainly includes: a first processing module 301 and a second processing module 302, wherein:
a first processing module 301, configured to, when an upgrade request of a user is received, send the upgrade request to a wallet facilitator, where the wallet facilitator verifies the upgrade request, and, when the upgrade request passes verification, return upgrade installation information to the digital money wallet terminal; and the second processing module 301 is configured to send an upgrade opening instruction to the wallet facilitator after the user confirms the upgrade installation information, and complete upgrading of the wallet through the wallet facilitator.
Further, the first processing module 301 of the present invention is configured to: sending the upgrading request of the user to a wallet facilitator, verifying the upgrading request of the user by the wallet facilitator, and returning upgradable item information to the digital currency wallet terminal under the condition that the upgrading request of the user is verified; under the condition of receiving the information of the item to be upgraded selected from the upgradable item information by the user, sending the information of the item to be upgraded to a wallet facilitator, and returning an upgrading instruction to the digital currency wallet terminal by the wallet facilitator; and the digital currency wallet terminal sends the upgrading instruction confirmed by the user to a wallet facilitator, the wallet facilitator verifies the upgrading instruction confirmed by the user, and the upgrading installation information is returned to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user passes verification.
In one embodiment, the present invention further comprises a verification module (not shown) for: and downloading the upgrade package data according to the upgrade installation information, and then sending an upgrade opening instruction to the wallet facilitator.
Furthermore, the invention comprises an upgrade module (not shown in the figures) for: enabling the wallet facilitator to update the wallet facilitator according to the upgrade opening instruction; and sending the upgrade opening instruction to the digital currency issuing and registering mechanism through the wallet facilitator so that the digital currency issuing and registering mechanism updates the digital currency issuing and registering mechanism according to the upgrade opening instruction.
Therefore, the invention adopts the technical means that the upgrade request is sent to the wallet facilitator for verification through the interaction of the digital currency wallet terminal and the wallet facilitator, and the wallet is upgraded through the wallet facilitator, thereby overcoming the technical problems that the wallet facilitator and the digital currency issuing and registering mechanism upgrade the wallet synchronously and correspondingly update the wallet terminal based on the account wallet terminal in the prior art, and further achieving the technical effect of safely and reliably upgrading the wallet; the invention provides a set of complete full-process safety protection mechanism which can complete upgrading when the digital money wallet terminal is operated, can effectively protect the operation and transaction processing process of the whole digital money wallet, and greatly improves the safety protection capability of the existing electronic wallet.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a first processing module and a second processing module. Wherein the names of the modules do not in some cases constitute a limitation of the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: the digital currency wallet terminal sends an upgrade request to a wallet facilitator under the condition that the upgrade request of a user is received, the wallet facilitator verifies the upgrade request, and the upgrade installation information is returned to the digital currency wallet terminal under the condition that the upgrade request passes the verification; and after the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade opening instruction to the wallet facilitator, and the wallet facilitator finishes upgrading the wallet.
According to the technical scheme of the embodiment of the invention, because the technical means that the upgrade request is sent to the wallet facilitator for verification through the interaction of the digital currency wallet terminal and the wallet facilitator and the upgrade of the wallet is completed through the wallet facilitator is adopted, the technical problems that the wallet facilitator is lack of updating the wallet based on the account wallet terminal and the wallet facilitator and the digital currency issuing and registering mechanism perform corresponding synchronous update according to the upgrade of the wallet terminal in the prior art are solved, and the technical effect of safely and reliably upgrading the wallet is achieved; the invention provides a set of complete full-process safety protection mechanism which can complete upgrading when the digital money wallet terminal is operated, can effectively protect the operation and transaction processing process of the whole digital money wallet, and greatly improves the safety protection capability of the existing electronic wallet.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to implement embodiments of the present invention.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The sequence numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the embodiments of the present invention, but the embodiments of the present invention are not limited thereto, and any variations that can be considered by those skilled in the art should fall within the scope of the business limitations of the embodiments of the present invention.

Claims (9)

1. A method for upgrading a wallet based on a digital currency wallet terminal is characterized by comprising the following steps:
the digital currency wallet terminal sends an upgrade request to a wallet facilitator under the condition that the upgrade request of a user is received, the wallet facilitator verifies the upgrade request, and the digital currency wallet terminal returns upgradable project information under the condition that the upgrade request passes the verification;
under the condition that the digital currency wallet terminal receives the item information to be upgraded selected from the upgradable item information by the user, sending an upgrading instruction confirmed by the user to the wallet facilitator; the wallet facilitator verifies the upgrading instruction confirmed by the user, and returns upgrading installation information to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user is verified; wherein the upgrade installation information includes: upgrading contract package information to be signed by a wallet service provider; after the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade opening instruction to the wallet facilitator, and the wallet facilitator finishes upgrading the digital currency wallet; wherein, the upgrade opening instruction comprises: upgrade contract package information with two-party signatures; the digital currency wallet is used for storing digital currency with encryption technology as a core, is deployed on a terminal and is based on a local security module provided by a terminal running environment and a local wallet of an operating system.
2. The method of claim 1, wherein prior to sending the user-confirmed upgrade order to the wallet facilitator, the method further comprises:
and the digital money wallet terminal sends the information of the item to be upgraded to the wallet facilitator, and the wallet facilitator returns an upgrading instruction to the digital money wallet terminal.
3. The method of claim 1, further comprising, prior to the step of sending an upgrade provisioning instruction to the wallet facilitator:
and the digital currency wallet terminal downloads upgrade package data according to the upgrade installation information and then sends the upgrade opening instruction to the wallet facilitator.
4. The method of claim 1, wherein the step of completing, by the wallet facilitator, the upgrade to the digital currency wallet comprises:
the wallet facilitator updates the wallet facilitator according to the upgrade opening instruction;
and the wallet facilitator sends the upgrade opening instruction to the digital currency issuing and registering mechanism so that the digital currency issuing and registering mechanism updates the digital currency issuing and registering mechanism according to the upgrade opening instruction.
5. An apparatus for upgrading a wallet based on a digital money wallet terminal, comprising:
the first processing module is used for sending the upgrading request to a wallet facilitator under the condition that the upgrading request of a user is received, verifying the upgrading request by the wallet facilitator and returning upgradable item information to the digital currency wallet terminal under the condition that the upgrading request is verified;
the first processing module is also used for sending an upgrading instruction confirmed by a user to the wallet facilitator under the condition of receiving the information of the project to be upgraded selected by the user from the upgradable project information; the wallet facilitator verifies the upgrading instruction confirmed by the user, and returns upgrading installation information to the digital currency wallet terminal under the condition that the upgrading instruction confirmed by the user is verified; wherein the upgrade installation information includes: upgrading contract package information to be signed by a wallet service provider;
the second processing module is used for sending an upgrade opening instruction to the wallet facilitator after the user confirms the upgrade installation information, and upgrading the digital currency wallet through the wallet facilitator; wherein, the upgrade opening instruction comprises: upgrade contract package information with two-party signatures;
the digital currency wallet is used for storing digital currency with encryption technology as a core, is deployed on a terminal and is based on a local security module provided by a terminal running environment and a local wallet of an operating system.
6. The apparatus as claimed in claim 5, wherein the first processing module is further configured to send the information of the item to be upgraded to the wallet facilitator before sending the upgrade instruction confirmed by the user to the wallet facilitator, and the wallet facilitator returns the upgrade instruction to the digital money wallet terminal.
7. The apparatus of claim 5, further comprising a verification module to:
and downloading upgrade package data according to the upgrade installation information, and then sending the upgrade opening instruction to the wallet service provider.
8. The apparatus of claim 5, further comprising an upgrade module to:
enabling the wallet facilitator to update the wallet facilitator according to the upgrade opening instruction;
and sending the upgrade opening instruction to a digital currency issuing and registering mechanism through the wallet facilitator so that the digital currency issuing and registering mechanism updates the digital currency issuing and registering mechanism according to the upgrade opening instruction.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201711458940.5A 2017-12-28 2017-12-28 Method and device for upgrading wallet based on digital currency wallet terminal Active CN108229142B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711458940.5A CN108229142B (en) 2017-12-28 2017-12-28 Method and device for upgrading wallet based on digital currency wallet terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711458940.5A CN108229142B (en) 2017-12-28 2017-12-28 Method and device for upgrading wallet based on digital currency wallet terminal

Publications (2)

Publication Number Publication Date
CN108229142A CN108229142A (en) 2018-06-29
CN108229142B true CN108229142B (en) 2020-12-15

Family

ID=62646534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711458940.5A Active CN108229142B (en) 2017-12-28 2017-12-28 Method and device for upgrading wallet based on digital currency wallet terminal

Country Status (1)

Country Link
CN (1) CN108229142B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032640A (en) * 2018-07-20 2018-12-18 中国邮政储蓄银行股份有限公司 Terminal more new system, method and apparatus
CN109358875B (en) * 2018-09-27 2022-02-11 上海和数软件有限公司 Ubuntu system-based hardware wallet offline upgrading device and method
CN109583898B (en) * 2018-12-07 2022-02-01 四川长虹电器股份有限公司 Intelligent terminal and method for payment based on TEE and block chain
CN111541553B (en) 2020-07-08 2021-08-24 支付宝(杭州)信息技术有限公司 Trusted starting method and device of block chain all-in-one machine
CN111541788B (en) 2020-07-08 2020-10-16 支付宝(杭州)信息技术有限公司 Hash updating method and device of block chain all-in-one machine
CN116029720A (en) * 2021-10-27 2023-04-28 中国人民银行数字货币研究所 Method, terminal and system for updating digital currency wallet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100920644B1 (en) * 2008-01-25 2009-10-07 주식회사 케이티 System, apparatus and method for updating mobile terminal in transfer of usim card
CN103888422A (en) * 2012-12-21 2014-06-25 华为技术有限公司 Security certificate updating method, client and server
KR20170041076A (en) * 2015-10-06 2017-04-14 주식회사 엘지유플러스 System and method for providing contents to communication apparatus
CN106603311A (en) * 2017-01-18 2017-04-26 北京洋浦伟业科技发展有限公司 OTA upgrade method, client, server and system
CN107392753A (en) * 2017-06-26 2017-11-24 中国人民银行数字货币研究所 Nullify the method and system of digital cash wallet

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2305249A1 (en) * 2000-04-14 2001-10-14 Branko Sarcanin Virtual safe
CN102955700A (en) * 2011-08-18 2013-03-06 腾讯科技(深圳)有限公司 System and method for upgrading software
CN104753670B (en) * 2013-12-27 2018-09-21 中国银联股份有限公司 Safety management system and its method are applied based on intelligent POS terminal more
CN106899551B (en) * 2015-12-21 2020-04-17 中国电信股份有限公司 Authentication method, authentication terminal and system
CN107392601B (en) * 2017-06-26 2020-11-03 中国人民银行数字货币研究所 Application method and system for digital currency wallet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100920644B1 (en) * 2008-01-25 2009-10-07 주식회사 케이티 System, apparatus and method for updating mobile terminal in transfer of usim card
CN103888422A (en) * 2012-12-21 2014-06-25 华为技术有限公司 Security certificate updating method, client and server
KR20170041076A (en) * 2015-10-06 2017-04-14 주식회사 엘지유플러스 System and method for providing contents to communication apparatus
CN106603311A (en) * 2017-01-18 2017-04-26 北京洋浦伟业科技发展有限公司 OTA upgrade method, client, server and system
CN107392753A (en) * 2017-06-26 2017-11-24 中国人民银行数字货币研究所 Nullify the method and system of digital cash wallet

Also Published As

Publication number Publication date
CN108229142A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN108229142B (en) Method and device for upgrading wallet based on digital currency wallet terminal
KR102044748B1 (en) System for providing blockchain electronic wallet capable of managing authentication information and storing personal information
US10748144B2 (en) System and method for transaction security enhancement
US10846663B2 (en) Systems and methods for securing cryptocurrency purchases
EP2862379B1 (en) Method and apparatus for secure application execution
CN108229938B (en) Method and system for opening digital currency wallet
US20170221022A1 (en) Information transaction infrastructure
US10237072B2 (en) Signatures for near field communications
KR20160095720A (en) Method and apparatus for protecting transasction of encrypted currency
CN111770200A (en) Information sharing method and system
CN108092778B (en) Method and system for inquiring related account based on digital currency wallet
CN107493291A (en) A kind of identity identifying method and device based on safety element SE
CN110601855B (en) Root certificate management method and device, electronic equipment and storage medium
CN104618307A (en) Online banking transaction authentication system based on trusted computing platform
CN108022104B (en) Login method, terminal and system for digital currency wallet
CN102844763A (en) Method, secure device, system and computer program product for digitally signing a document
CN108197937B (en) Synchronization method, terminal and system for digital currency wallet
CN105187447A (en) Secure terminal login method
Yang et al. DOT-M: a dual offline transaction scheme of central bank digital currency for trusted mobile devices
KR102003733B1 (en) System for protecting crypto currency using separating network
CN105208031A (en) Method for authenticating terminal
CN107846274B (en) Control method, terminal, server and processor
US20210083871A1 (en) Method and device for implementation of safe transactions in blockchain infrastructure
CN114066626A (en) Cryptocurrency transaction system
CN117879829A (en) Authority control method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant