[go: up one dir, main page]

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

A 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
digital currency
terminal
facilitator
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.)
Institute of Printing Science and Technology Peoples Bank of China
Original Assignee
Institute of Printing Science and Technology 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 Institute of Printing Science and Technology Peoples Bank of China filed Critical Institute of Printing Science and Technology 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 OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了一种基于数字货币钱包终端对钱包进行升级的方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息;数字货币钱包终端在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。该实施方式克服了现有技术中缺少钱包终端对自身进行升级,以及服务系统完成钱包升级对应的更新的技术问题,进而达到安全可靠的对钱包进行升级的技术效果。

Figure 201711458940

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. A specific implementation of the method includes: when the digital currency wallet terminal receives the upgrade request from the user, sending the upgrade request to the wallet service provider, the wallet service provider verifies the upgrade request, and after the verification of the upgrade request passes In the case of , return the upgrade installation information to the digital currency wallet terminal; after the user confirms the upgrade installation information, the digital currency wallet terminal sends the upgrade activation instruction to the wallet service provider, and the wallet service provider completes the upgrade of the wallet. This embodiment overcomes the technical problems in the prior art that the wallet terminal is lacking to upgrade itself, and the service system completes the update corresponding to the wallet upgrade, thereby achieving the technical effect of safely and reliably upgrading the wallet.

Figure 201711458940

Description

一种基于数字货币钱包终端对钱包进行升级的方法和装置A method and device for upgrading wallet based on digital currency wallet terminal

技术领域technical field

本发明涉及计算机技术领域,尤其涉及一种基于数字货币钱包终端对钱包进行升级的方法和装置。The present invention relates to the field of computer technology, in particular to a method and device for upgrading a wallet based on a digital currency wallet terminal.

背景技术Background technique

在数字经济时代,科技的迅猛发展和快速演进,推动社会经济和产业模式的深刻变化。尤其是在互联网行业和领域,技术驱动力所带来的创新价值和竞争力,不断快速催生各类创新产品形态和服务能力。新一轮科技创新和技术升级全面铺开,将对产业变革产生深远影响。In the era of the digital economy, the rapid development and evolution of science and technology have driven profound changes in social, economic and industrial models. Especially in the Internet industry and field, the innovative value and competitiveness brought about by technological driving forces have continuously and rapidly spawned various innovative product forms and service capabilities. A new round of technological innovation and technological upgrading will be rolled out in an all-round way, which will have a profound impact on industrial transformation.

目前,全球范围内的支付结算方式发生了巨大的变化,各种电子货币、虚拟数字货币、数字货币产品及其支付结算服务层出不穷。其中,数字货币钱包是一种数字货币产品,能够在数字经济时代满足更加安全、便捷的数字货币产品应用需求。At present, the payment and settlement methods around the world have undergone tremendous changes, and various electronic currencies, virtual digital currencies, digital currency products and their payment and settlement services have emerged one after another. Among them, a digital currency wallet is a digital currency product, which can meet the application needs of more secure and convenient digital currency products in the digital economy era.

现有技术的货币钱包有如下三种形式:There are three forms of currency wallets in the prior art:

1、基于账户体系的电子化或数字化的钱包,这一类钱包是账户功能的延伸,甚至只是账户访问的一个入口或介质,这一类钱包并不是独立的钱包,而是依赖于原有账户系统,因此,这一类钱包所参与的交易,实际只是原有账户系统的交易,即这一类钱包本身不实际存放任何实际的资金或资产,只是作为后台账户系统账务数据和功能的前端展示;1. An electronic or digital wallet based on the account system. This type of wallet is an extension of the account function, or even just an entry or medium for account access. This type of wallet is not an independent wallet, but depends on the original account. Therefore, the transactions involved in this type of wallet are actually only transactions in the original account system, that is, this type of wallet itself does not actually store any actual funds or assets, but only serves as the front end of the accounting data and functions of the back-end account system. exhibit;

2、作为银行卡或其他卡介质访问的聚合入口的电子钱包,这一类钱包只是卡功能的聚合管理,这一类钱包并不具有直接资金操作和交易处理功能,其功能的实现还需要调用对应的某个卡的网络应用功能,即本身不具有实际钱包支付等功能,而是将多个卡的网络支付入口功能进行封装,实现单一入口访问,简化用户多卡操作的复杂性;2. Electronic wallets that are used as aggregate portals accessed by bank cards or other card media. This type of wallet is only the aggregate management of card functions. This type of wallet does not have direct fund operation and transaction processing functions. The realization of its functions also needs to call The corresponding network application function of a certain card, that is, it does not have the actual wallet payment and other functions, but encapsulates the network payment entry functions of multiple cards to achieve single entry access and simplify the complexity of multi-card operations for users;

3、私人准数字货币钱包,例如比特币钱包,私人准数字货币是基于区块链技术发展而来的,这一类钱包主要用于保存私钥以及对区块链上记录的私人准数字货币进行签名交易,即这一类钱包类似于地址或密钥保管箱,而不具有对资金或资产的存储功能;同时,这一类钱包是完全匿名的,任何人都可以生成新的钱包地址并通过私钥将数字资产转移给任何地址,一旦转移目标发生错误则无法追回。这种简化的钱包地址或密钥保管箱,主要功能是保管密钥。3. Private quasi-digital currency wallets, such as bitcoin wallets, private quasi-digital currencies are developed based on blockchain technology, and this type of wallet is mainly used to store private keys and private quasi-digital currencies recorded on the blockchain. To perform signed transactions, that is, this type of wallet is similar to an address or key safe, and does not have the function of storing funds or assets; at the same time, this type of wallet is completely anonymous, anyone can generate a new wallet address and Transfer digital assets to any address through a private key, and once the transfer target fails, it cannot be recovered. This simplified wallet address or key safe, whose main function is to keep keys.

在实现本发明过程中,发明人发现现有技术中至少存在如下问题:In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art:

现有账户钱包依赖后台账户体系,钱包本身并不独立,无法持有数字货币发行机构发行的真正数字货币,因而与数字货币发行机构没有系统之间的交互和访问机制,并且,现有的账户钱包在密钥管理方面过于依赖钱包服务商或商业银行等机构,账户钱包的安全方面也存在不足,未能充分的利用本地化安全技术,在对账户钱包终端进行系统升级的时候,存在诸多困难。The existing account wallet relies on the background account system. The wallet itself is not independent and cannot hold the real digital currency issued by the digital currency issuer. Therefore, there is no system interaction and access mechanism with the digital currency issuer. Moreover, the existing account The wallet relies too much on wallet service providers or commercial banks in terms of key management, and the security of the account wallet is also insufficient, and the localized security technology cannot be fully utilized. There are many difficulties in the system upgrade of the account wallet terminal. .

因此,如何基于钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新,是亟待解决的技术问题。Therefore, how to upgrade itself based on the wallet terminal, and how the wallet service provider and the digital currency issuance and registration agency perform corresponding synchronization updates according to the wallet terminal upgrade are technical problems that need to be solved urgently.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明实施例提供一种基于数字货币钱包终端对钱包进行升级的方法,能够解决现有技术中缺少钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新的技术问题。In view of this, the embodiments of the present invention provide a method for upgrading a wallet based on a digital currency wallet terminal, which can solve the problem of the lack of a wallet terminal in the prior art to upgrade itself, and the wallet service provider and the digital currency issuance and registration agency can upgrade themselves according to the wallet terminal. The upgrade performs the corresponding synchronization update for technical issues.

为实现上述目的,根据本发明实施例的一个方面,提供了一种基于数字货币钱包终端对钱包进行升级的方法。To achieve the above object, according to an aspect of the embodiments of the present invention, a method for upgrading a wallet based on a digital currency wallet terminal is provided.

本发明实施例的一种基于数字货币钱包终端对钱包进行升级的方法包括:数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息;数字货币钱包终端在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。A method for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention includes: when the digital currency wallet terminal receives an upgrade request from a user, sending the upgrade request to a wallet service provider, and the wallet service provider updates the upgrade request. Request verification, and return the upgrade installation information to the digital currency wallet terminal when the verification of the upgrade request is passed; after the user confirms the upgrade installation information, the digital currency wallet terminal sends the upgrade activation instruction to the wallet service provider, through the wallet service The merchant completes the upgrade to the wallet.

在一实施方式中,本发明的数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息的步骤包括:数字货币钱包终端将用户的升级请求发送给钱包服务商,由钱包服务商对用户的升级请求进行验证,并在对用户的升级请求验证通过的情况下,向数字货币钱包终端返回可升级项目信息;数字货币钱包终端在接收到由用户从可升级项目信息中选择出的待升级项目信息的情况下,将待升级项目信息发送给钱包服务商,由钱包服务商向数字货币钱包终端返回升级指令;数字货币钱包终端将用户确认后的升级指令发送给钱包服务商,钱包服务商对用户确认的升级指令进行验证,并在对用户确认的升级指令验证通过的情况下,向数字货币钱包终端返回升级安装信息。In one embodiment, the digital currency wallet terminal of the present invention sends the upgrade request to the wallet service provider in the case of receiving the upgrade request from the user, and the wallet service provider verifies the upgrade request and passes the verification of the upgrade request. In this case, the step of returning the upgrade installation information to the digital currency wallet terminal includes: the digital currency wallet terminal sends the user's upgrade request to the wallet service provider, and the wallet service provider verifies the user's upgrade request, and then updates the user's upgrade request. In the case of request verification, return the upgradeable project information to the digital currency wallet terminal; when the digital currency wallet terminal receives the to-be-upgraded project information selected by the user from the upgradeable project information, the to-be-upgraded project information is sent. To the wallet service provider, the wallet service provider returns the upgrade instruction to the digital currency wallet terminal; the digital currency wallet terminal sends the user-confirmed upgrade instruction to the wallet service provider, and the wallet service provider verifies the upgrade instruction confirmed by the user, and checks the If the verification of the upgrade instruction confirmed by the user is passed, the upgrade installation information will be returned to the digital currency wallet terminal.

在一实施方式中,本发明在将升级开通指令发送给钱包服务商的步骤之前,还包括:数字货币钱包终端根据升级安装信息下载升级包数据,然后将升级开通指令发送给钱包服务商。In one embodiment, before the step of sending the upgrade activation instruction to the wallet service provider, the present invention further includes: the digital currency wallet terminal downloads the upgrade package data according to the upgrade installation information, and then sends the upgrade activation instruction to the wallet service provider.

在一实施方式中,本发明通过钱包服务商完成对钱包的升级的步骤包括:钱包服务商根据升级开通指令对自身进行更新;钱包服务商将升级开通指令发送给数字货币发行登记机构,以使数字货币发行登记机构根据升级开通指令对数字货币发行登记机构自身进行更新。In one embodiment, the steps of the present invention to complete the upgrade of the wallet through the wallet service provider include: the wallet service provider updates itself according to the upgrade activation instruction; the wallet service provider sends the upgrade activation instruction to the digital currency issuance and registration agency, so that The digital currency issuance and registration agency updates the digital currency issuance and registration agency itself according to the upgrade and opening instructions.

为实现上述目的,根据本发明实施例的另一方面,提供了一种基于数字货币钱包终端对钱包进行升级的装置。To achieve the above purpose, according to another aspect of the embodiments of the present invention, an apparatus for upgrading a wallet based on a digital currency wallet terminal is provided.

本发明实施例的一种基于数字货币钱包终端对钱包进行升级的装置包括:第一处理模块,用于在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息;第二处理模块,用于在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。An apparatus for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention includes: a first processing module, configured to send an upgrade request to a wallet service provider when an upgrade request from a user is received, and the wallet service The merchant verifies the upgrade request, and returns the upgrade installation information to the digital currency wallet terminal when the upgrade request is verified; the second processing module is used to send the upgrade activation instruction to the wallet after the user confirms the upgrade installation information Service provider, complete the upgrade of the wallet through the wallet service provider.

在一实施方式中,本发明的第一处理模块用于:将用户的升级请求发送给钱包服务商,由钱包服务商对用户的升级请求进行验证,并在对用户的升级请求验证通过的情况下,向数字货币钱包终端返回可升级项目信息;在接收到由用户从可升级项目信息中选择出的待升级项目信息的情况下,将待升级项目信息发送给钱包服务商,由钱包服务商向数字货币钱包终端返回升级指令;数字货币钱包终端将用户确认后的升级指令发送给钱包服务商,钱包服务商对用户确认的升级指令进行验证,并在对用户确认的升级指令验证通过的情况下,向数字货币钱包终端返回升级安装信息。In one embodiment, the first processing module of the present invention is used to: send the user's upgrade request to the wallet service provider, and the wallet service provider verifies the user's upgrade request, and when the verification of the user's upgrade request passes , return the upgradeable project information to the digital currency wallet terminal; in the case of receiving the to-be-upgraded project information selected by the user from the upgradeable project information, send the to-be-upgraded project information to the wallet service provider, and the wallet service provider Return the upgrade instruction to the digital currency wallet terminal; the digital currency wallet terminal sends the upgrade instruction confirmed by the user to the wallet service provider, and the wallet service provider verifies the upgrade instruction confirmed by the user, and if the verification of the upgrade instruction confirmed by the user passes Next, return the upgrade installation information to the digital currency wallet terminal.

在一实施方式中,本发明还包括验证模块,用于:根据升级安装信息下载升级包数据,然后将升级开通指令发送给钱包服务商。In one embodiment, the present invention further includes a verification module for: downloading the upgrade package data according to the upgrade installation information, and then sending the upgrade activation instruction to the wallet service provider.

在一实施方式中,本发明还包括升级模块,用于:使钱包服务商根据升级开通指令对钱包服务商自身进行更新;通过钱包服务商将升级开通指令发送给数字货币发行登记机构,以使数字货币发行登记机构根据升级开通指令对数字货币发行登记机构自身进行更新。In one embodiment, the present invention further includes an upgrade module, which is used to: enable the wallet service provider to update the wallet service provider itself according to the upgrade activation instruction; The digital currency issuance and registration agency updates the digital currency issuance and registration agency itself according to the upgrade and opening instructions.

为实现上述目的,根据本发明的再一方面,提供了一种计算机可读存储介质。To achieve the above object, according to yet another aspect of the present invention, a computer-readable storage medium is provided.

本发明实施例的一种计算机可读存储介质,其上存储有计算机程序,其特征在于,程序被处理器执行时实现本发明基于数字货币钱包终端对钱包进行升级的方法。A computer-readable storage medium according to an embodiment of the present invention, on which a computer program is stored, is characterized in that, when the program is executed by a processor, the method of the present invention for upgrading a wallet based on a digital currency wallet terminal is implemented.

上述发明中的一个实施例具有如下优点或有益效果:因为采用通过数字货币钱包终端与钱包服务商的交互,将升级请求发送给钱包服务商进行验证,并通过钱包服务商完成对钱包的升级的技术手段,所以克服了现有技术中缺少钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新的技术问题,进而达到安全可靠的对钱包进行升级的技术效果;本发明提供了一套完整的在数字货币钱包终端进行操作就可以完成升级的全流程安全保护机制,能够有效保护整个数字货币钱包的操作和交易处理过程,极大提高现有电子钱包的安全保护能力。An embodiment of the above invention has the following advantages or beneficial effects: because the interaction between the digital currency wallet terminal and the wallet service provider is used, the upgrade request is sent to the wallet service provider for verification, and the wallet service provider completes the upgrade of the wallet. Therefore, it overcomes the lack of wallet terminals in the existing technology to upgrade itself, and the technical problems of wallet service providers and digital currency issuance and registration agencies to perform corresponding synchronization updates according to wallet terminal upgrades, thereby achieving safe and reliable wallet upgrades The present invention provides a complete set of whole-process security protection mechanism that can be upgraded by operating the digital currency wallet terminal, which can effectively protect the operation and transaction processing process of the entire digital currency wallet, and greatly improves the existing electronic The security protection capability of the wallet.

上述的非惯用的可选方式所具有的进一步效果将在下文中结合具体实施方式加以说明。Further effects of the above non-conventional alternatives will be described below in conjunction with specific embodiments.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort. In the attached image:

图1是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的方法的主要流程的示意图;1 is a schematic diagram of the main flow of a method for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention;

图2是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的框架示意图;2 is a schematic diagram of a framework for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention;

图3是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的装置的主要模块示意图。3 is a schematic diagram of main modules of an apparatus for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的示范性实施例做出说明,其中包括本发明实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本发明的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered as exemplary only. 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 from the following description for clarity and conciseness.

图1是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的方法的主要流程的示意图,如图1所示,本发明实施例的一种基于数字货币钱包终端对钱包进行升级的方法主要包括如下步骤:1 is a schematic diagram of the main process of a method for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention. As shown in FIG. 1 , a method for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention It mainly includes the following steps:

步骤S101:数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息。首先用户登录本地的数字货币钱包终端,然后由用户根据需求发起升级请求,最后由数字货币钱包终端在接收到用户的升级请求之后开始对钱包进行升级。为了保证升级过程的安全可靠性,需要对用户的升级请求进行验证,只有验证通过了,才能触发升级操作。Step S101: When the digital currency wallet terminal receives the upgrade request from the user, it sends the upgrade request to the wallet service provider, and the wallet service provider verifies the upgrade request. The currency wallet terminal returns the upgrade installation information. First, the user logs in to the local digital currency wallet terminal, then the user initiates an upgrade request according to the needs, and finally the digital currency wallet terminal starts to upgrade the wallet after receiving the user's upgrade request. In order to ensure the safety and reliability of the upgrade process, the user's upgrade request needs to be verified, and the upgrade operation can be triggered only after the verification is passed.

进一步的,在一些使用场景中,为了提高安全可靠性,还需要再一次进行验证,在本发明的实施例中,数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息的步骤包括:数字货币钱包终端将用户的升级请求发送给钱包服务商,由钱包服务商对用户的升级请求进行验证,并在对用户的升级请求验证通过的情况下,向数字货币钱包终端返回可升级项目信息;数字货币钱包终端在接收到由用户从可升级项目信息中选择出的待升级项目信息的情况下,将待升级项目信息发送给钱包服务商,由钱包服务商向数字货币钱包终端返回升级指令;数字货币钱包终端将用户确认后的升级指令发送给钱包服务商,钱包服务商对用户确认的升级指令进行验证,并在对用户确认的升级指令验证通过的情况下,向数字货币钱包终端返回升级安装信息。。需要说明的是,该升级指令可以包含升级协议/钱包标识/证书/原签名合约包的两方签名/升级的合约代码哈希等信息,然后数字货币钱包终端将用户确认后的该升级指令发送给钱包服务商进行验证并得到升级安装信息。也即在步骤S101中,获取到了可升级项目信息,然后进一步的由用户进行确认,从可升级项目信息中选择出需要升级的待升级项目信息,从而根据待升级项目信息对相应的项目进行升级。Further, in some usage scenarios, in order to improve security and reliability, verification needs to be performed again. In the embodiment of the present invention, the digital currency wallet terminal sends the upgrade request to The wallet service provider, the wallet service provider verifies the upgrade request, and returns the upgrade installation information to the digital currency wallet terminal when the verification of the upgrade request is passed. The steps include: the digital currency wallet terminal sends the user's upgrade request to the wallet Service provider, the wallet service provider verifies the user's upgrade request, and returns the upgradeable item information to the digital currency wallet terminal when the verification of the user's upgrade request is passed; In the case of the project information to be upgraded selected from the upgrade project information, send the project information to be upgraded to the wallet service provider, and the wallet service provider will return the upgrade instruction to the digital currency wallet terminal; the digital currency wallet terminal will send the upgrade instruction confirmed by the user. Send it to the wallet service provider, the wallet service provider verifies the upgrade instruction confirmed by the user, and returns the upgrade installation information to the digital currency wallet terminal when the verification of the upgrade instruction confirmed by the user passes. . It should be noted that the upgrade instruction can include information such as upgrade protocol/wallet identification/certificate/two-party signature of the original signed contract package/upgraded contract code hash, and then the digital currency wallet terminal sends the upgrade instruction confirmed by the user. Verify the wallet service provider and get the upgrade installation information. That is, in step S101, the upgradeable project information is obtained, and then the user further confirms, and selects the to-be-upgraded project information that needs to be upgraded from the upgradeable project information, so as to upgrade the corresponding project according to the to-be-upgraded project information. .

步骤S102:数字货币钱包终端在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。通过步骤S101,确定出了待升级项目信息,然后确定升级指令,又根据用户确认的升级指令确定出了升级安装信息,在本步骤中可以通过升级安装信息下载升级包数据,进而通过升级包书记完成对钱包的升级。Step S102: After the user confirms the upgrade installation information, the digital currency wallet terminal sends an upgrade activation instruction to the wallet service provider, and the wallet service provider completes the wallet upgrade. Through step S101, the project information to be upgraded is determined, then the upgrade instruction is determined, and the upgrade installation information is determined according to the upgrade instruction confirmed by the user. In this step, the upgrade package data can be downloaded through the upgrade installation information, and then the upgrade package secretary Complete the upgrade to the wallet.

此外,在确定出需要升级的升级安装信息之后,还需要根据确定出的升级安装信息来获取升级包数据,该升级包数据用于对数字货币钱包终端进行升级、以及对钱包服务商和数字货币发行登记机构进行更新,具体的,在将升级开通指令发送给钱包服务商的步骤之前,还包括:数字货币钱包终端根据升级安装信息下载升级包数据,然后将升级开通指令发送给钱包服务商(该升级开通指令是携带已经下载安装的升级包数据的相关指纹信息)。然后便可通过钱包服务商完成对钱包的升级操作,具体的,通过钱包服务商完成对钱包的升级的步骤包括:钱包服务商根据升级开通指令对自身进行更新;钱包服务商将升级开通指令发送给数字货币发行登记机构,以使数字货币发行登记机构根据升级开通指令对数字货币发行登记机构自身进行更新。In addition, after determining the upgrade installation information that needs to be upgraded, it is also necessary to obtain upgrade package data according to the determined upgrade installation information. The upgrade package data is used to upgrade the digital currency wallet terminal, and to upgrade the wallet service provider and digital currency The issuance and registration agency performs the update. Specifically, before the step of sending the upgrade activation instruction to the wallet service provider, it also includes: the digital currency wallet terminal downloads the upgrade package data according to the upgrade installation information, and then sends the upgrade activation instruction to the wallet service provider ( The upgrade activation instruction carries the relevant fingerprint information of the downloaded and installed upgrade package data). Then, the wallet upgrade operation can be completed through the wallet service provider. Specifically, the steps of completing the wallet upgrade through the wallet service provider include: the wallet service provider updates itself according to the upgrade activation instruction; the wallet service provider sends the upgrade activation instruction To the digital currency issuance and registration agency, so that the digital currency issuance and registration agency can update the digital currency issuance and registration agency itself according to the upgrade and opening instructions.

图2是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的框架示意图。在开始对本发明的实施步骤做出详尽阐述之前,还需要对本发明中所涉及的名词做出如下解释:2 is a schematic diagram of a framework for upgrading a wallet based on a digital currency wallet terminal according to an embodiment of the present invention. Before starting to elaborate the implementation steps of the present invention, the terms involved in the present invention also need to be explained as follows:

本发明相关的技术包括:非对称加密和哈希算法。The technologies related to the present invention include: asymmetric encryption and hash algorithms.

TEE:存在于移动终端设备内,与富执行环境及富执行环境上的应用相隔离的安全区域,通过一组硬件和软件的组合,保证各种敏感数据在其中被安全传输、存储、处理,保证可信应用执行的机密性、完整性和数据访问权限端到端的安全。TEE的实现可以基于不同的技术,其组成主要包括:TEE: exists in the mobile terminal device and is isolated from the rich execution environment and applications on the rich execution environment. Through a combination of hardware and software, various sensitive data are guaranteed to be securely transmitted, stored, and processed. Guarantee the confidentiality, integrity and data access rights of trusted application execution end-to-end security. The implementation of TEE can be based on different technologies, and its components mainly include:

系统软件层:充分利用硬件资源(如CPU、RAM、FLASH、SPI总线等)的可信性,实现受硬件隔离的系统执行环境,具备安全计算及其所属各种安全设备运行的资源调用能力,可提供下述功能:安全加解密、安全存储、可信用户接口、可信身份认证等各种系统服务;确保系统和应用安全的密钥体系;与REE、SE、外部设备的安全通信机制,并进行对应的访问控制;提供可信虚拟化层,可支撑多个可信OS并存与运行。System software layer: Make full use of the reliability of hardware resources (such as CPU, RAM, FLASH, SPI bus, etc.), realize a system execution environment isolated by hardware, and have the ability to call resources for secure computing and the operation of various security devices. It can provide the following functions: various system services such as secure encryption and decryption, secure storage, trusted user interface, and trusted identity authentication; a key system to ensure system and application security; a secure communication mechanism with REE, SE, and external devices, And carry out corresponding access control; provide a trusted virtualization layer, which can support the coexistence and operation of multiple trusted OSs.

应用软件层:包括各种安全相关类的可信应用,如指纹、支付、身份认证等应抵御窃取、篡改信息等恶意行为的应用,一般与对应REE应用相结合,为用户提供既便捷又安全的用户体验,可信应用以机构控制下部署为主。Application software layer: including various security-related trusted applications, such as fingerprint, payment, identity authentication and other applications that should resist malicious behavior such as stealing and tampering with information, generally combined with corresponding REE applications to provide users with both convenience and security user experience, and trusted applications are mainly deployed under institutional control.

终端上基于智能卡技术,可在硬件与软件层面上防御各种恶意攻击,用以运行各种高安全需求的应用,总体目标是保证应用的高安全性。一般自身软硬件资源有限,可与TEE相互补充,提供功能与安全需求更具平衡的应用。其组成主要包括:Based on smart card technology, the terminal can defend against various malicious attacks at the hardware and software levels, and is used to run various applications with high security requirements. The overall goal is to ensure high application security. Generally, its own software and hardware resources are limited, and it can complement each other with TEE to provide applications with more balanced functions and security requirements. Its composition mainly includes:

系统软件层:运行一种可验证的卡片操作系统,主要为其上应用提供安全加解密、密钥存储等功能;System software layer: run a verifiable card operating system, which mainly provides functions such as secure encryption and decryption, key storage and other functions for its applications;

应用软件层:包括安全应用,如金融、公交、社保、电信等应用,应用在行业机构自身的TSM控制下安全获取与部署。Application software layer: including security applications, such as financial, public transportation, social security, telecommunications and other applications, applications are safely acquired and deployed under the control of the industry organization's own TSM.

针对背景技术中存在的技术问题,本发明中的数字货币钱包终端就是针对数字经济下更加安全、便捷的数字货币钱包终端的应用需求所提出的,其结合了金融基础设施电子化和网络化不断提高、通讯技术发展带来更加有效的系统互联和集成以区块链为基础的全新数字货币和数字资产技术支撑的新兴数字化生态逐步形成等多种驱动因素。因此,数字货币钱包终端是一种全新的数字货币存储、操作、应用服务和综合管理等全方面功能支撑的安全数字化钱包。In view of the technical problems existing in the background technology, the digital currency wallet terminal in the present invention is proposed to meet the application requirements of a more secure and convenient digital currency wallet terminal in the digital economy, which combines the electronic and networked financial infrastructure. Improvements and the development of communication technology have brought about more effective system interconnection and integration of new digital currencies based on blockchain and the gradual formation of an emerging digital ecosystem supported by digital asset technology. Therefore, the digital currency wallet terminal is a brand-new secure digital wallet supported by all aspects of digital currency storage, operation, application services and comprehensive management.

本发明是基于数字货币钱包终端对钱包进行升级的,因此需要了解数字货币钱包终端如下特点:The present invention upgrades the wallet based on the digital currency wallet terminal, so it is necessary to understand the following characteristics of the digital currency wallet terminal:

1、数字货币钱包终端是实际存放加密数字货币的载体,以加密字串形式存在的数字货币记录在数字货币钱包终端中,数字货币实际在数字货币钱包终端之间进行真实转移。1. The digital currency wallet terminal is the carrier that actually stores encrypted digital currency. The digital currency in the form of encrypted strings is recorded in the digital currency wallet terminal, and the digital currency is actually transferred between the digital currency wallet terminals.

2、数字货币钱包终端实际存放货币并直接可以在钱包之间进行货币转移的数字化实体钱包有本质区别。2. There is an essential difference between a digital currency wallet terminal that actually stores currency and can directly transfer currency between wallets.

3、数字货币钱包终端不仅能够支持对密钥的安全存储以及一系列安全认证功能,同时数字货币钱包终端本身就是作为数字货币存放的载体,并且直接数字货币可以直接在钱包之间实际转移,因而可以看作是包含完善密钥和安全认证功能的数字货币实体钱包。3. The digital currency wallet terminal can not only support the safe storage of keys and a series of security authentication functions, but also the digital currency wallet terminal itself is used as a carrier for digital currency storage, and the direct digital currency can be directly transferred between wallets. Therefore, It can be regarded as a digital currency physical wallet with perfect key and security authentication functions.

综上,数字货币钱包终端的基础是以加密技术为核心的数字货币,因而不同于基于账户体系的电子钱包。同时数字货币钱包终端强调的是终端部署的钱包,而不是基于网络核心账务系统之外的前端展示和操作界面,该终端钱包基于终端运行环境(例如移动终端等)提供的本地安全模块和操作系统,提供完全本地化的独立钱包运行和功能支持。最后,数字货币钱包终端还必须满足数字货币发行机构的管理要求,并且与现有账户系统进行打通,实现与金融基础设施的融合。因而数字货币钱包是一种全新的设计,既不同于基于账户的钱包、也不同于类似比特币这种的无价值支撑和发行机构管理的代币钱包,而是真正能够替代传统实物货币、完成支付和支撑其他金融和商业需求、面向数字货币应用的数字化实体钱包。To sum up, the foundation of the digital currency wallet terminal is the digital currency with encryption technology as the core, so it is different from the electronic wallet based on the account system. At the same time, the digital currency wallet terminal emphasizes the wallet deployed by the terminal, rather than the front-end display and operation interface based on the network core accounting system. The terminal wallet is based on the local security module and operation provided by the terminal operating environment (such as mobile terminal, etc.). system that provides fully localized independent wallet operation and functional support. Finally, the digital currency wallet terminal must also meet the management requirements of the digital currency issuer, and connect with the existing account system to achieve integration with the financial infrastructure. Therefore, the digital currency wallet is a brand-new design, which is different from account-based wallets and token wallets that are valueless and managed by issuers like Bitcoin. A digital physical wallet that pays and supports other financial and business needs and is oriented to digital currency applications.

如图2所示,本发明的基于数字货币钱包终端对钱包进行升级是用户在数字货币钱包终端上通过终端安全模块身份认证后,运行数字货币终端钱包合约功能执行模块,然后用户再通过数字货币终端钱包合约功能执行模块向钱包服务商发起升级指令,通过钱包服务商更新终端钱包合约代码,同步更新数字货币发行登记机构认证中心相关记录等,从而完成钱包升级的过程。具体的升级过程分为以下几步:As shown in FIG. 2 , the upgrade of the wallet based on the digital currency wallet terminal of the present invention is that after the user passes the identity authentication of the terminal security module on the digital currency wallet terminal, the user runs the digital currency terminal wallet contract function execution module, and then the user passes the digital currency wallet. The terminal wallet contract function execution module initiates an upgrade instruction to the wallet service provider, updates the terminal wallet contract code through the wallet service provider, and synchronously updates the relevant records of the certification center of the digital currency issuance and registration agency, thereby completing the wallet upgrade process. The specific upgrade process is divided into the following steps:

1、用户登录本地数字货币钱包的终端操作系统。1. The user logs in to the terminal operating system of the local digital currency wallet.

2、终端安全模块接收用户发起的执行钱包升级请求,然后向终端钱包合约功能执行模块发起该升级请求。2. The terminal security module receives the execution wallet upgrade request initiated by the user, and then initiates the upgrade request to the terminal wallet contract function execution module.

3、终端钱包合约功能执行模块向钱包服务商的钱包服务系统发送带有钱包证书签名的升级请求、钱包标识、钱包证书和签名合约包的两方签名,以获取升级信息。3. The terminal wallet contract function execution module sends the upgrade request with the wallet certificate signature, the wallet ID, the wallet certificate and the two-party signature of the signature contract package to the wallet service system of the wallet service provider to obtain the upgrade information.

4、钱包服务系统验证接收到的升级请求、钱包标识、钱包证书和签名合约包的两方签名。4. The wallet service system verifies the two-party signatures of the received upgrade request, wallet ID, wallet certificate and signature contract package.

5、钱包服务系统检查钱包是否可以升级。如不可升级,向用户返回不可升级并退出升级流程;如可以升级,执行下一步。5. The wallet service system checks whether the wallet can be upgraded. If it cannot be upgraded, return to the user that it cannot be upgraded and exit the upgrade process; if it can be upgraded, go to the next step.

6、钱包服务系统向终端钱包合约功能执行模块返回可升级项目信息。6. The wallet service system returns the upgradeable item information to the terminal wallet contract function execution module.

7、终端钱包合约功能执行模块向用户显示可升级项目信息。7. The terminal wallet contract function execution module displays the upgradeable project information to the user.

8、用户从可升级项目信息中选择待升级项目信息。8. The user selects the project information to be upgraded from the upgradeable project information.

9、终端钱包合约功能执行模块对用户选择的待升级项目信息所对应的待升级项目进行签名,并向钱包服务系统发送签名过的待升级项目。9. The terminal wallet contract function execution module signs the to-be-upgraded project corresponding to the to-be-upgraded project information selected by the user, and sends the signed to-be-upgraded project to the wallet service system.

10、钱包服务系统验证收到的待升级项目之后,向终端钱包合约功能执行模块发送钱包服务系统签名过的升级指令(包括升级协议/钱包标识/证书/原签名合约包的两方签名/升级的合约代码哈希)。10. After the wallet service system verifies the received items to be upgraded, it sends the upgrade instructions signed by the wallet service system to the terminal wallet contract function execution module (including the two-party signature/upgrade of the upgrade protocol/wallet ID/certificate/original signature contract package). contract code hash).

11、终端钱包合约功能执行模块验证升级指令签名信息和钱包标识/证书等信息后,向终端安全模块发送该升级指令。11. After the terminal wallet contract function execution module verifies the upgrade instruction signature information and wallet identification/certificate and other information, it sends the upgrade instruction to the terminal security module.

12、终端安全模块向用户显示接受到的升级指令的可识别信息,并等待用户确认。12. The terminal security module displays the identifiable information of the received upgrade instruction to the user, and waits for the user's confirmation.

13、用户确认升级指令的可识别信息。13. The user confirms the identifiable information of the upgrade instruction.

14、终端安全模块验证原签名合约包签名,对钱包服务系统签名过的升级指令用钱包私钥签名得到带两方签名的升级指令。14. The terminal security module verifies the signature of the original signed contract package, and signs the upgrade instruction signed by the wallet service system with the wallet private key to obtain an upgrade instruction with two-party signatures.

15、终端安全模块将带两方签名的升级指令发送到终端钱包合约功能执行模块。15. The terminal security module sends the upgrade instruction signed by both parties to the terminal wallet contract function execution module.

16、终端钱包合约功能执行模块验证升级指令的签名信息,若验证通过,则退出钱包签名合约,并开始准备升级。16. The terminal wallet contract function execution module verifies the signature information of the upgrade instruction. If the verification is passed, it exits the wallet signature contract and begins to prepare for the upgrade.

17、终端安全模块检查本地钱包签名合约退出是否成功,如失败,通知用户签名合约退出失败,无法升级钱包;如成功,执行下一步。17. The terminal security module checks whether the exit of the local wallet signature contract is successful. If it fails, it informs the user that the exit of the signature contract failed and the wallet cannot be upgraded; if successful, go to the next step.

18、终端安全模块将原钱包签名合约设置无效,解除本地密钥绑定。18. The terminal security module invalidates the original wallet signature contract setting and releases the local key binding.

19、终端安全模块向钱包服务系统发送签名升级指令。19. The terminal security module sends a signature upgrade instruction to the wallet service system.

20、钱包服务系统验证签名合约包的两方签名,并生成升级安装信息(包括:钱包服务商签名的升级待签名合约包信息[数字货币钱包标识/证书/钱包执行码哈希值]和升级合约码地址)。20. The wallet service system verifies the two-party signatures of the signed contract package, and generates upgrade installation information (including: upgrade contract package information signed by the wallet service provider to be signed [digital currency wallet identification/certificate/wallet execution code hash value] and upgrade contract code address).

21、钱包服务系统将钱包服务系统签名过的升级安装信息发送至数字货币钱包终端安全模块,安全模块验证签名通过后,向用户显示升级安装信息可识别信息,等待用户确认。21. The wallet service system sends the upgrade installation information signed by the wallet service system to the security module of the digital currency wallet terminal. After the security module verifies the signature, it displays the identifiable information of the upgrade installation information to the user and waits for the user to confirm.

22、用户确认升级安装信息后,终端安全模块下载升级所需的升级数字货币钱包合约执行码,并本地安装部署,完成对数字货币钱包终端的升级。22. After the user confirms the upgrade and installation information, the terminal security module downloads the upgrade digital currency wallet contract execution code required for the upgrade, and installs and deploys it locally to complete the upgrade of the digital currency wallet terminal.

23、终端安全模块根据下载的执行码计算哈希值与升级待签名合约包信息中所包含的钱包执行码哈希值进行比较,验证是否相同。同时验证钱包标识/证书是否与之前本地存储相同,还需要验证升级安装信息的钱包服务商签名。上述验证通过后,终端安全模块用数字货币钱包私钥对“钱包服务商签名的升级待签名合约包”进行签名,最终得到带两方签名的升级合约包信息。向钱包服务系统发送升级开通指令(包括:带两方签名的升级指令、带两方签名的升级合约包信息)。23. The terminal security module calculates the hash value according to the downloaded execution code and compares the hash value of the wallet execution code included in the upgrade to-be-signed contract package information to verify whether they are the same. At the same time, verify whether the wallet ID/certificate is the same as the previous local storage, and also need to verify the signature of the wallet service provider of the upgrade installation information. After the above verification is passed, the terminal security module uses the digital currency wallet private key to sign the "upgrade contract package signed by the wallet service provider to be signed", and finally obtains the upgrade contract package information with the signatures of both parties. Send upgrade activation instructions to the wallet service system (including: upgrade instructions with two-party signatures, upgrade contract package information with two-party signatures).

24、钱包服务系统验证升级开通指令中的两方签名信息,向数字货币核心系统发送升级开通指令。24. The wallet service system verifies the two-party signature information in the upgrade and activation instructions, and sends the upgrade and activation instructions to the digital currency core system.

25、数字货币核心系统接收并验证升级开通指令中的两方签名信息,从而更新钱包信息。25. The digital currency core system receives and verifies the two-party signature information in the upgrade opening instruction, thereby updating the wallet information.

26、数字货币核心系统向钱包服务商的认证中心发送升级开通指令。26. The digital currency core system sends an upgrade and activation instruction to the authentication center of the wallet service provider.

27、钱包服务商的认证中心接收并验证升级开通指令中的两方签名信息,从而更新钱包信息。27. The authentication center of the wallet service provider receives and verifies the two-party signature information in the upgrade and activation instruction, thereby updating the wallet information.

28、钱包服务商的认证中心向数字货币发行登记机构的认证中心发送升级开通指令。28. The certification center of the wallet service provider sends an upgrade and opening instruction to the certification center of the digital currency issuance and registration agency.

29、数字货币发行登记机构的认证中心接收并验证升级开通指令中的两方签名信息,从而更新钱包信息并通知数字货币发行登记机构的登记中心同步更新钱包信息。29. The certification center of the digital currency issuance and registration agency receives and verifies the two-party signature information in the upgrade and opening instruction, thereby updating the wallet information and notifying the registration center of the digital currency issuance and registration agency to update the wallet information synchronously.

30、数字货币发行登记机构的认证中心向钱包服务商的认证中心返回升级登记成功通知。30. The certification center of the digital currency issuance and registration agency returns a notification of successful upgrade registration to the certification center of the wallet service provider.

31、钱包服务商中的认证中心向数字货币核心系统返回升级登记成功通知。31. The certification center in the wallet service provider returns a notification of successful upgrade registration to the digital currency core system.

32、数字货币核心系统向钱包服务系统返回升级登记成功通知。32. The digital currency core system returns a notification of successful upgrade registration to the wallet service system.

33、钱包服务系统向终端安全模块返回升级登记成功通知,然后终端安全模块将带两方签名信息的升级合约包信息对应的合约可执行码设置为可执行,绑定本地密钥。33. The wallet service system returns a notification of successful upgrade registration to the terminal security module, and then the terminal security module sets the contract executable code corresponding to the upgrade contract package information with the two-party signature information as executable, and binds the local key.

34、数字货币钱包终端安全模块向终端操作系统返回升级成功信息,终端操作系统向用户显示升级成功信息。34. The digital currency wallet terminal security module returns the upgrade success information to the terminal operating system, and the terminal operating system displays the upgrade success information to the user.

如上所述,本发明的优先效果包括:因为采用通过数字货币钱包终端与钱包服务商的交互,将升级请求发送给钱包服务商进行验证,并通过钱包服务商完成对钱包的升级的技术手段,所以克服了现有技术中缺少基于账户钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新的技术问题,进而达到安全可靠的对钱包进行升级的技术效果;本发明提供了一套完整的在数字货币钱包终端进行操作就可以完成升级的全流程安全保护机制,能够有效保护整个数字货币钱包的操作和交易处理过程,极大提高现有电子钱包的安全保护能力。As mentioned above, the priority effects of the present invention include: because the interaction between the digital currency wallet terminal and the wallet service provider is adopted, the upgrade request is sent to the wallet service provider for verification, and the wallet service provider completes the technical means of upgrading the wallet, Therefore, it overcomes the lack of upgrading itself based on the account wallet terminal in the prior art, and the wallet service provider and the digital currency issuance and registration agency perform corresponding synchronization updates according to the wallet terminal upgrade, thereby achieving safe and reliable wallet upgrades. Technical effect; the present invention provides a complete set of full-process security protection mechanism that can be upgraded by operating on the digital currency wallet terminal, can effectively protect the operation and transaction processing process of the entire digital currency wallet, and greatly improves the existing electronic wallet. security protection capability.

图3是根据本发明实施例的基于数字货币钱包终端对钱包进行升级的装置的主要模块示意图。如图3所示,本发明实施例的一种基于数字货币钱包终端对钱包进行升级的装置主要包括:第一处理模块301和第二处理模块302,其中:3 is a schematic diagram of main modules of an apparatus for upgrading a wallet based on a digital currency 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 currency wallet terminal according to an embodiment of the present invention mainly includes: a first processing module 301 and a second processing module 302, wherein:

第一处理模块301,用于在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息;第二处理模块301,用于在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。The first processing module 301 is configured to send the upgrade request to the wallet service provider in the case of receiving the upgrade request from the user, and the wallet service provider verifies the upgrade request, and in the case of passing the verification of the upgrade request, sends the upgrade request to the wallet service provider. The digital currency wallet terminal returns the upgrade installation information; the second processing module 301 is used to send the upgrade activation instruction to the wallet service provider after the user confirms the upgrade installation information, and the wallet service provider completes the upgrade of the wallet.

进一步的,本发明的第一处理模块301用于:将用户的升级请求发送给钱包服务商,由钱包服务商对用户的升级请求进行验证,并在对用户的升级请求验证通过的情况下,向数字货币钱包终端返回可升级项目信息;在接收到由用户从可升级项目信息中选择出的待升级项目信息的情况下,将待升级项目信息发送给钱包服务商,由钱包服务商向数字货币钱包终端返回升级指令;数字货币钱包终端将用户确认后的升级指令发送给钱包服务商,钱包服务商对用户确认的升级指令进行验证,并在对用户确认的升级指令验证通过的情况下,向数字货币钱包终端返回升级安装信息。Further, the first processing module 301 of the present invention is used for: sending the user's upgrade request to the wallet service provider, and the wallet service provider verifies the user's upgrade request, and in the case of passing the verification of the user's upgrade request, Return the upgradeable project information to the digital currency wallet terminal; in the case of receiving the to-be-upgraded project information selected by the user from the upgradeable project information, send the to-be-upgraded project information to the wallet service provider, and the wallet service provider sends the digital currency The currency wallet terminal returns the upgrade instruction; the digital currency wallet terminal sends the upgrade instruction confirmed by the user to the wallet service provider, and the wallet service provider verifies the upgrade instruction confirmed by the user, and if the verification of the upgrade instruction confirmed by the user passes, Return the upgrade installation information to the digital currency wallet terminal.

在一实施方式中,本发明还包括验证模块(图中未示出),用于:根据升级安装信息下载升级包数据,然后将升级开通指令发送给钱包服务商。In one embodiment, the present invention further includes a verification module (not shown in the figure) for: downloading the upgrade package data according to the upgrade installation information, and then sending the upgrade activation instruction to the wallet service provider.

此外,本发明还包括升级模块(图中未示出),用于:使钱包服务商根据升级开通指令对钱包服务商自身进行更新;通过钱包服务商将升级开通指令发送给数字货币发行登记机构,以使数字货币发行登记机构根据升级开通指令对数字货币发行登记机构自身进行更新。In addition, the present invention also includes an upgrade module (not shown in the figure), which is used for: enabling the wallet service provider to update the wallet service provider itself according to the upgrade and opening instruction; sending the upgrade and opening instruction to the digital currency issuance and registration agency through the wallet service provider , so that the digital currency issuance and registration agency can update the digital currency issuance and registration agency itself according to the upgrade and opening instructions.

因此,本发明因为采用通过数字货币钱包终端与钱包服务商的交互,将升级请求发送给钱包服务商进行验证,并通过钱包服务商完成对钱包的升级的技术手段,所以克服了现有技术中缺少基于账户钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新的技术问题,进而达到安全可靠的对钱包进行升级的技术效果;本发明提供了一套完整的在数字货币钱包终端进行操作就可以完成升级的全流程安全保护机制,能够有效保护整个数字货币钱包的操作和交易处理过程,极大提高现有电子钱包的安全保护能力。Therefore, because the present invention adopts the technical means of sending the upgrade request to the wallet service provider for verification through the interaction between the digital currency wallet terminal and the wallet service provider, and completing the upgrade of the wallet through the wallet service provider, it overcomes the problems in the prior art. There is a lack of technical problems of upgrading itself based on the account wallet terminal, and the wallet service provider and the digital currency issuance and registration agency performing corresponding synchronization updates according to the wallet terminal upgrade, so as to achieve the technical effect of safe and reliable upgrade of the wallet; the present invention provides A complete set of full-process security protection mechanism that can be upgraded by operating on the digital currency wallet terminal can effectively protect the operation and transaction processing of the entire digital currency wallet, and greatly improve the security protection capability of the existing electronic wallet.

描述于本发明实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中,例如,可以描述为:一种处理器包括第一处理模块和第二处理模块。其中,这些模块的名称在某种情况下并不构成对该模块本身的限定。The modules involved in the embodiments of the present invention may be implemented in a software manner, and may also be implemented in a hardware manner. The described modules can also be provided in the processor, for example, it can be described as: a processor includes a first processing module and a second processing module. Among them, the names of these modules do not constitute a limitation on the module itself under certain circumstances.

作为另一方面,本发明还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的设备中所包含的;也可以是单独存在,而未装配入该设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该设备执行时,使得该设备包括:数字货币钱包终端在接收到用户的升级请求的情况下,将升级请求发送给钱包服务商,由钱包服务商对升级请求进行验证,并在对升级请求验证通过的情况下,向数字货币钱包终端返回升级安装信息;数字货币钱包终端在用户确认升级安装信息之后,将升级开通指令发送给钱包服务商,通过钱包服务商完成对钱包的升级。As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or may exist alone without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by a device, the device includes: when the digital currency wallet terminal receives the upgrade request from the user, the upgrade request Send it to the wallet service provider, the wallet service provider will verify the upgrade request, and return the upgrade installation information to the digital currency wallet terminal when the upgrade request is verified; the digital currency wallet terminal will send the upgrade and installation information after the user confirms the upgrade and installation information. The upgrade activation instruction is sent to the wallet service provider, and the wallet upgrade is completed through the wallet service provider.

根据本发明实施例的技术方案,因为采用通过数字货币钱包终端与钱包服务商的交互,将升级请求发送给钱包服务商进行验证,并通过钱包服务商完成对钱包的升级的技术手段,所以克服了现有技术中缺少基于账户钱包终端对自身进行升级,以及钱包服务商和数字货币发行登记机构根据钱包终端升级进行相应的同步更新的技术问题,进而达到安全可靠的对钱包进行升级的技术效果;本发明提供了一套完整的在数字货币钱包终端进行操作就可以完成升级的全流程安全保护机制,能够有效保护整个数字货币钱包的操作和交易处理过程,极大提高现有电子钱包的安全保护能力。According to the technical solution of the embodiment of the present invention, because the interaction between the digital currency wallet terminal and the wallet service provider is adopted, the upgrade request is sent to the wallet service provider for verification, and the wallet is upgraded through the wallet service provider. It solves the technical problems of the lack of upgrading itself based on the account wallet terminal in the prior art, and the technical problems of the wallet service provider and the digital currency issuance and registration agency performing corresponding synchronization updates according to the wallet terminal upgrade, thereby achieving the technical effect of safe and reliable wallet upgrade. The invention provides a complete set of whole-process security protection mechanism that can be upgraded by operating on the digital currency wallet terminal, can effectively protect the operation and transaction processing process of the entire digital currency wallet, and greatly improves the security of the existing electronic wallet protective capacity.

本领域技术人员可以理解附图只是一个优选实施场景的示意图,附图中的模块或流程并不一定是实施本发明实施例所必须的。Those skilled in the art can understand that the accompanying drawing is only a schematic diagram of a preferred implementation scenario, and the modules or processes in the accompanying drawing are not necessarily necessary for implementing the embodiments of the present invention.

本领域技术人员可以理解实施场景中的装置中的模块可以按照实施场景描述进行分布于实施场景的装置中,也可以进行相应变化位于不同于本实施场景的一个或多个装置中。上述实施场景的模块可以合并为一个模块,也可以进一步拆分成多个子模块。Those skilled in the art can understand that the modules in the device in the implementation scenario may be distributed in the device in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the implementation scenario with corresponding changes. The modules of the above implementation scenarios may be combined into one module, or may be further split into multiple sub-modules.

上述本发明实施例序号仅仅为了描述,不代表实施场景的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the pros and cons of the implementation scenarios.

以上公开的仅为本发明实施例的几个具体实施场景,但是,本发明实施例并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明实施例的业务限制范围。The above disclosures are only a few specific implementation scenarios of the embodiments of the present invention. However, the embodiments of the present invention are not limited thereto, and any changes that can be conceived by those skilled in the art should fall within the service 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 A 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 A 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 A 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 A 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 (7)

* 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 startup method and device for blockchain integrated machine
CN112491812B (en) 2020-07-08 2022-03-01 支付宝(杭州)信息技术有限公司 Hash updating method and device of block chain all-in-one machine
CN112732288B (en) * 2020-12-11 2024-05-28 北京握奇智能科技有限公司 Method and device for upgrading digital currency hardware wallet application
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 communication terminal according to moving of USB 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 communication terminal according to moving of USB 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) A method and device for upgrading wallet based on digital currency wallet terminal
US10748144B2 (en) System and method for transaction security enhancement
CN108229938B (en) A method and system for opening a digital currency wallet
JP5766199B2 (en) Secure mobile payment processing
TWI534731B (en) Apparatus and methods for secure element transactions and management of assets
US20160217467A1 (en) Security for mobile payment applications
CN108092778B (en) Method and system for inquiring related account based on digital currency wallet
KR102333811B1 (en) System and method for processing card payment based on block-chain
WO2017058855A1 (en) Secure shell file transfer protocol key administration
CN114462989A (en) Method, device and system for starting digital currency hardware wallet application
CN108038678A (en) The method and system that a kind of digital cash wallet is nullified
CN105160776B (en) City one-card card, business platform, card operation system and implementation method
US20250045751A1 (en) Universal payment channel system and method
CN111311259B (en) Bill processing method, device, terminal and computer-readable storage medium
JP2025014120A (en) Method and Apparatus for Minting Non-Fungible Tokens onto a Blockchain
KR20220041692A (en) Method and system for payment for central bank digital currency
CN114462991B (en) Method and device for conditional transaction based on digital currency
KR102813423B1 (en) Method for servicing mobile payment using qr code and payment server using them
CN105187447A (en) Secure terminal login method
CN107491954A (en) Information interacting method, authentication and electronic fare payment system and method
WO2021121030A1 (en) Resource transfer method, settlement terminal, and server node
Yang et al. DOPS: A Practical Dual Offline Payment Scheme of CBDC for Mobile Devices
CN118411171A (en) Secret payment-free opening method, device, equipment, readable storage medium and product

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