CN111984353A - A display method, device and equipment for digital currency - Google Patents
A display method, device and equipment for digital currency Download PDFInfo
- Publication number
- CN111984353A CN111984353A CN202010836168.1A CN202010836168A CN111984353A CN 111984353 A CN111984353 A CN 111984353A CN 202010836168 A CN202010836168 A CN 202010836168A CN 111984353 A CN111984353 A CN 111984353A
- Authority
- CN
- China
- Prior art keywords
- display
- currency
- amount
- picture
- storage
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本申请公开了一种数字货币的展示方法、装置和设备,其中方法包括:获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量;根据存储面额和对应的存储数量,获取数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,货币展示图片为:数字货币对应的面额图片;在展示界面中,根据各货币展示图片对应的展示数量,对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额,解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。
The present application discloses a method, device and device for displaying digital currency, wherein the method includes: obtaining storage details of the stored currency in a digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each storage denomination; and the corresponding storage quantity, obtain the display quantity and total display amount of each currency display picture in the display interface of the digital wallet, wherein the currency display picture is: the denomination picture corresponding to the digital currency; in the display interface, according to the corresponding currency display picture The number of displays, the display amount of each currency display picture is displayed in a beating manner, until the display amount is equal to the total display amount, which solves the problem that the display interface of the existing digital wallet does not have the effect of dynamic display, and only the account balance is displayed in the digital wallet, and users cannot be intuitive. Observing the composition of account balances and the statistical process of digital currency, technical problems with poor user experience.
Description
技术领域technical field
本申请涉及数字货币技术领域,尤其涉及一种数字货币的展示方法、装置和设备。The present application relates to the technical field of digital currency, and in particular, to a method, device and device for displaying digital currency.
背景技术Background technique
随着移动支付技术的发展,数字货币作为货币的一种形态,与纸币和硬币完全等价,可以用来支付、转账等。With the development of mobile payment technology, digital currency, as a form of currency, is completely equivalent to banknotes and coins, and can be used for payment, transfer, etc.
数字货币钱包(以下简称为数字钱包)作为承载数字货币的载体,功能主要有:兑换、管理、查询等,也支持扫码、汇款、碰一碰支付等多种交易方式,与目前市场常见的移动支付工具颇为相似。Digital currency wallet (hereinafter referred to as digital wallet), as the carrier of digital currency, mainly has functions: exchange, management, inquiry, etc. It also supports various transaction methods such as scanning code, remittance, and touch payment, which is different from the current market common. Mobile payment tools are quite similar.
现有数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差。The display interface of the existing digital wallet does not have the effect of dynamic display. Only the account balance is displayed in the digital wallet. The user cannot intuitively observe the composition of the account balance and the statistical process of digital currency, and the user experience is poor.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种数字货币的展示方法、装置和设备,解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。The present application provides a display method, device and device for digital currency, which solves the problem that the display interface of the existing digital wallet does not have the effect of dynamic display, only the account balance is displayed in the digital wallet, and the user cannot intuitively observe the composition of the account balance And the statistical process of digital currency, the technical problem of poor user experience.
有鉴于此,本申请第一方面提供了一种数字货币的展示方法,包括:In view of this, the first aspect of this application provides a method for displaying digital currency, including:
获取数字钱包中存储货币的存储明细,其中,所述存储明细包括:存储面额和各所述存储面额对应的存储数量;Acquire the storage details of the currency stored in the digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each of the storage denominations;
根据所述存储面额和对应的所述存储数量,获取所述数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,所述货币展示图片为:数字货币对应的面额图片;According to the stored denomination and the corresponding stored quantity, obtain the displayed quantity and displayed total amount of each currency display picture in the display interface of the digital wallet, wherein the currency display picture is: the denomination picture corresponding to the digital currency;
在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额。In the display interface, according to the display quantity corresponding to each of the currency display pictures, the display amount of each of the currency display pictures is displayed in a beating manner until the display amount is equal to the display total amount.
可选地,根据所述存储面额和对应的所述存储数量,获取所述数字钱包的展示界面中各货币展示图片的展示数量和展示总额,具体包括:Optionally, according to the stored denomination and the corresponding stored quantity, obtain the displayed quantity and displayed total amount of each currency display picture in the display interface of the digital wallet, specifically including:
对比所述存储面额对应的图片和所述数字钱包的展示界面中的货币展示图片,获取各所述货币展示图片的展示数量;Comparing the picture corresponding to the stored denomination with the currency display picture in the display interface of the digital wallet, obtain the display quantity of each of the currency display pictures;
根据各所述货币展示图片的展示面额和展示数量,确定各所述货币展示图片的展示总额。According to the displayed denomination and the displayed quantity of each of the currency display pictures, the displayed total amount of each of the currency display pictures is determined.
可选地,在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额,具体包括:Optionally, in the display interface, according to the display quantity corresponding to each of the currency display pictures, the display amount of each of the currency display pictures is displayed in a beating manner, until the display amount is equal to the display total amount, Specifically include:
在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,基于TextView对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额。In the display interface, according to the display quantity corresponding to each of the currency display pictures, the displayed amount of each of the currency display pictures is displayed in a beating manner based on the TextView, until the displayed amount is equal to the displayed total amount.
可选地,在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额,具体包括:Optionally, in the display interface, according to the display quantity corresponding to each of the currency display pictures, the display amount of each of the currency display pictures is displayed in a beating manner, until the display amount is equal to the display total amount, Specifically include:
在所述展示界面的第一区域,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额,其中,所述第一区域为:各所述货币展示图片所在区域的上方区域。In the first area of the display interface, according to the display quantity corresponding to each of the currency display pictures, the display amount of each of the currency display pictures is displayed in a beating manner, until the display amount is equal to the total display amount, wherein , the first area is: the upper area of the area where each of the currency display pictures is located.
可选地,在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额,之后还包括:Optionally, in the display interface, according to the display quantity corresponding to each of the currency display pictures, the display amount of each of the currency display pictures is displayed in a beating manner, until the display amount is equal to the display total amount, After that it also includes:
获取所有所述展示总额,得到账户余额;Get the total of all said impressions and get the account balance;
在所述展示界面中的账户余额展示区域展示所述账户余额。The account balance is displayed in the account balance display area in the display interface.
可选地,还包括:Optionally, also include:
当判断到所述存储明细发生变化时,获取变化后的所述存储明细;When it is determined that the storage details have changed, acquiring the changed storage details;
将变化后的所述存储明细作为新的所述存储明细,并对新的所述存储明细进行对应展示。The changed storage details are used as the new storage details, and the new storage details are displayed correspondingly.
本申请第二方面提供了一种数字货币的展示装置,包括:A second aspect of the present application provides a display device for digital currency, including:
第一获取单元,用于获取数字钱包中存储货币的存储明细,其中,所述存储明细包括:存储面额和各所述存储面额对应的存储数量;a first obtaining unit, configured to obtain the storage details of the currency stored in the digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each of the storage denominations;
第二获取单元,用于根据所述存储面额和对应的所述存储数量,获取所述数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,所述货币展示图片为:数字货币对应的面额图片;The second acquiring unit is configured to acquire, according to the stored denomination and the corresponding stored quantity, the displayed quantity and displayed total amount of each currency display picture in the display interface of the digital wallet, wherein the currency display picture is: digital A picture of the denomination corresponding to the currency;
第一展示单元,用于在所述展示界面中,根据各所述货币展示图片对应的所述展示数量,对各所述货币展示图片的展示金额进行跳动展示,直至所述展示金额等于所述展示总额。The first display unit is configured to, in the display interface, display the display amount of each of the currency display pictures in a beating manner according to the display quantity corresponding to each of the currency display pictures, until the display amount is equal to the Total impressions.
可选地,本申请中数字货币的展示装置还包括:Optionally, the display device for digital currency in this application further includes:
第三获取单元,用于获取所有所述展示总额,得到账户余额;a third obtaining unit, configured to obtain the total amount of all the displays, and obtain the account balance;
第二展示单元,用于在所述展示界面中的账户余额展示区域展示所述账户余额。The second display unit is configured to display the account balance in the account balance display area in the display interface.
可选地,本申请中数字货币的展示装置还包括:Optionally, the display device for digital currency in this application further includes:
第四获取单元,用于当判断到所述存储明细发生变化时,获取变化后的所述存储明细;a fourth obtaining unit, configured to obtain the changed storage details when it is determined that the storage details have changed;
第三展示单元,用于将变化后的所述存储明细作为新的所述存储明细,并对新的所述存储明细进行对应展示。The third display unit is configured to use the changed storage details as the new storage details, and display the new storage details correspondingly.
本申请第三方面提供了一种数字货币的展示设备,所述设备包括处理器以及存储器;A third aspect of the present application provides a digital currency display device, the device includes a processor and a memory;
所述存储器用于存储程序代码,并将所述程序代码传输给所述处理器;the memory is used to store program code and transmit the program code to the processor;
所述处理器用于根据所述程序代码中的指令执行第一方面所述的数字货币的展示方法。The processor is configured to execute the method for displaying digital currency according to the first aspect according to the instructions in the program code.
从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:
本申请提供了一种数字货币的展示方法,包括:获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量;根据存储面额和对应的存储数量,获取数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,货币展示图片为:数字货币对应的面额图片;在展示界面中,根据各货币展示图片对应的展示数量,对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额。The present application provides a method for displaying digital currency, including: obtaining storage details of the stored currency in a digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each storage denomination; according to the storage denomination and the corresponding storage quantity, Obtain the display quantity and total display amount of each currency display picture in the display interface of the digital wallet, wherein the currency display picture is: the denomination picture corresponding to the digital currency; in the display interface, according to the display quantity corresponding to each currency display picture, for each currency The impression amount of the displayed image is shown in beats until the impression amount equals the total amount of impressions.
本申请中,首先获取数字钱包中的存储面额和各存储面额对应的存储数量,数字钱包的展示界面中展示有各不同面额的货币展示图片,根据存储面额和存储面额对应的存储数量可以确定各货币展示图片的展示数量和展示总额,然后在展示界面中,根据各货币展示图片对应的展示数量,对货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额,这样通过各货币展示图片对应的展示数量,用户可以知道账户余额的组成,且通过展示金额的跳动展示,使得用户能够知道统计过程,从而解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。In this application, the storage denomination in the digital wallet and the storage quantity corresponding to each storage denomination are obtained first. The display interface of the digital wallet displays currency display pictures of different denominations. According to the storage denomination and the storage quantity corresponding to the storage denomination, each The display quantity and total display amount of the currency display picture, and then in the display interface, according to the display quantity corresponding to each currency display picture, the display amount of the currency display picture is displayed in a beating manner until the display amount is equal to the total display amount. The corresponding display quantity, the user can know the composition of the account balance, and through the beating display of the displayed amount, the user can know the statistical process, thus solving the problem that the display interface of the existing digital wallet does not have the effect of dynamic display. Displaying the account balance, users cannot intuitively observe the composition of the account balance and the statistical process of digital currency, and the technical problem of poor user experience.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例中一种数字货币的展示方法的实施例一的流程示意图;FIG. 1 is a schematic flowchart of Embodiment 1 of a method for displaying digital currency in an embodiment of the present application;
图2为本申请实施例中一种数字货币的展示方法的实施例二的流程示意图;2 is a schematic flowchart of Embodiment 2 of a method for displaying digital currency in an embodiment of the application;
图3为本申请实施例中数字钱包的展示界面示意图;3 is a schematic diagram of a display interface of a digital wallet in an embodiment of the application;
图4为本申请实施例中一种数字货币的展示装置的实施例的结构示意图。FIG. 4 is a schematic structural diagram of an embodiment of a digital currency display device in an embodiment of the application.
具体实施方式Detailed ways
本申请实施例提供了一种数字货币的展示方法、装置和设备,解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和统计过程,用户体验较差的技术问题。The embodiments of the present application provide a display method, device and device for digital currency, which solves the problem that the display interface of the existing digital wallet does not have the effect of dynamic display, only the account balance is displayed in the digital wallet, and the user cannot intuitively observe the account balance. The composition and statistical process, technical problems of poor user experience.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
请参阅图1,本申请实施例中一种数字货币的展示方法的实施例一的流程示意图。Please refer to FIG. 1 , which is a schematic flowchart of Embodiment 1 of a method for displaying digital currency in an embodiment of the present application.
本实施例中的一种数字货币的展示方法,包括:A method for displaying digital currency in this embodiment includes:
步骤101、获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量。Step 101: Acquire the storage details of the currency stored in the digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each storage denomination.
数字钱包中存储有不同面额的数字货币,且各数字货币的数量也不相同,本实施例中首先获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量。Digital currencies of different denominations are stored in the digital wallet, and the quantity of each digital currency is also different. In this embodiment, the storage details of the stored currencies in the digital wallet are first obtained, wherein the storage details include: the storage denomination and the corresponding storage denominations. storage quantity.
步骤102、根据存储面额和对应的存储数量,获取数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,货币展示图片为:数字货币对应的面额图片。
在数字钱包的展示界面中会有数字货币各个面额的货币展示图片,本实施例中,在获取到数字钱包中各存储货币的存储明细后,根据存储明细中的存储面额和各存储面额对应的存储数量,确定各货币展示图片的展示数量和展示总额。In the display interface of the digital wallet, there will be currency display pictures of each denomination of the digital currency. In this embodiment, after obtaining the storage details of each stored currency in the digital wallet, according to the storage denomination in the storage details and the corresponding storage denomination Storage quantity, determine the display quantity and total display amount of each currency display image.
步骤103、在展示界面中,根据各货币展示图片对应的展示数量,对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额。Step 103: In the display interface, according to the display quantity corresponding to each currency display picture, the display amount of each currency display picture is displayed in a beating manner, until the display amount is equal to the total display amount.
在确定各货币展示图片的展示数量和展示总额后,根据各货币展示图片对应的展示数量,对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额。通过各货币展示图片和对应的展示数量,用户可以了解到以知道账户余额的组成,同时,通过各货币展示图片展示金额的跳动展示,使得用户可以直观的观测到数字货币的统计过程。After determining the display quantity and total display amount of each currency display image, according to the display quantity corresponding to each currency display image, the display amount of each currency display image is displayed in a beating manner until the display amount is equal to the total display amount. Through the display pictures of each currency and the corresponding display quantity, the user can know the composition of the account balance. At the same time, the beating display of the amount is displayed through the display pictures of each currency, so that the user can intuitively observe the statistical process of digital currency.
本实施例中,首先获取数字钱包中的存储面额和各存储面额对应的存储数量,数字钱包的展示界面中展示有各不同面额的货币展示图片,根据存储面额和存储面额对应的存储数量可以确定各货币展示图片的展示数量和展示总额,然后在展示界面中,根据各货币展示图片对应的展示数量,对货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额,这样通过各货币展示图片对应的展示数量,用户可以知道账户余额的组成,且通过展示金额的跳动展示,使得用户能够知道统计过程,从而解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。In this embodiment, the storage denomination in the digital wallet and the storage quantity corresponding to each storage denomination are obtained first. The display interface of the digital wallet displays the currency display pictures of different denominations, which can be determined according to the storage denomination and the storage quantity corresponding to the storage denomination. The display quantity and total display amount of each currency display picture, and then in the display interface, according to the display quantity corresponding to each currency display picture, the display amount of the currency display picture is displayed in a beating manner until the display amount is equal to the total display amount. The user can know the composition of the account balance according to the display quantity corresponding to the picture, and through the beating display of the displayed amount, the user can know the statistical process, thus solving the problem that the display interface of the existing digital wallet does not have the effect of dynamic display. Only the account balance is displayed, and the user cannot intuitively observe the composition of the account balance and the statistical process of digital currency, which is a technical problem with poor user experience.
以上为本申请实施例提供的一种数字货币的展示方法的实施例一,以下为本申请实施例提供的一种数字货币的展示方法的实施例二。The above is the first embodiment of a digital currency display method provided by the embodiment of the present application, and the following is the second embodiment of the digital currency display method provided by the embodiment of the present application.
请参阅图2,本申请实施例中一种数字货币的展示方法的实施例二的流程示意图。Please refer to FIG. 2 , which is a schematic flowchart of Embodiment 2 of a method for displaying digital currency in an embodiment of the present application.
本实施例中的一种数字货币的展示方法,包括:A method for displaying digital currency in this embodiment includes:
步骤201、获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量。Step 201: Acquire the storage details of the currency stored in the digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each storage denomination.
为了便于理解,本实施例中结合实际情况进行举例说明,假设,数字钱包中存储有5张壹佰圆,那对应的存储面额就是壹佰圆,存储数量就是5。For ease of understanding, this embodiment will be illustrated in combination with the actual situation. Suppose that there are 5 pieces of one hundred yuan stored in the digital wallet, the corresponding storage denomination is one hundred yuan, and the storage quantity is 5.
步骤202、对比存储面额对应的图片和数字钱包的展示界面中的货币展示图片,获取各货币展示图片的展示数量,其中,货币展示图片为:数字货币对应的面额图片。Step 202: Compare the picture corresponding to the stored denomination with the currency display picture in the display interface of the digital wallet, and obtain the displayed quantity of each currency display picture, wherein the currency display picture is: the denomination picture corresponding to the digital currency.
数字钱包的展示界面中会展示各面额的数字货币对应的货币展示图片。;如货币展示图片有:壹佰圆对应的面额图片、伍拾圆对应的面额图片、贰拾圆对应的面额图片、拾圆对应的面额图片、壹圆对应的面额图片、伍角对应的面额图片、壹角对应的面额图片等。The display interface of the digital wallet will display the currency display pictures corresponding to the digital currency of each denomination. ; For example, the currency display pictures include: the denomination picture corresponding to one hundred yuan, the denomination picture corresponding to 500 yuan, the denomination picture corresponding to 2000 yuan, the denomination picture corresponding to 100 yuan, the denomination picture corresponding to one yuan, and the denomination corresponding to Wujiao. Pictures, pictures of denominations corresponding to one corner, etc.
此时结合步骤201中的内容,对比存储面额对应的图片和货币展示图片,即对比壹佰圆对应的图片和上述举例的货币展示图片,此时可以确定货币展示图片的展示数量分别为:At this time, combined with the content in
壹佰圆对应的面额图片:5张;Denomination pictures corresponding to one hundred yuan: 5;
伍拾圆对应的面额图片:0张;The denomination pictures corresponding to Wu Shiyuan: 0;
贰拾圆对应的面额图片:0张;The corresponding denomination pictures of Ershiyuan: 0;
拾圆对应的面额图片:0张;The denomination pictures corresponding to the pick-up circle: 0;
壹圆对应的面额图片:0张;Denomination pictures corresponding to one yuan: 0;
伍角对应的面额图片:0张;Picture of denomination corresponding to Wujiao: 0;
壹角对应的面额图片:0张。Denomination pictures corresponding to one dime: 0.
步骤203、根据各货币展示图片的展示面额和展示数量,确定各货币展示图片的展示总额。
根据步骤202中确定的各货币展示图片的展示数量和各货币展示图片对应的展示面额,可以确定各货币展示图片的展示总额,结合上述的举例,可以确定各货币展示图片的展示总额分别为:According to the display quantity of each currency display picture and the display denomination corresponding to each currency display picture determined in
壹佰圆对应的面额图片:500;The denomination picture corresponding to one hundred yuan: 500;
伍拾圆对应的面额图片:0;The denomination picture corresponding to Wu Shiyuan: 0;
贰拾圆对应的面额图片:0;The denomination picture corresponding to Ershiyuan: 0;
拾圆对应的面额图片:0;The denomination picture corresponding to the pick-up circle: 0;
壹圆对应的面额图片:0;The denomination picture corresponding to one yuan: 0;
伍角对应的面额图片:0;The denomination picture corresponding to Wujiao: 0;
壹角对应的面额图片:0。The denomination picture corresponding to one dime: 0.
步骤204、在展示界面中,根据各货币展示图片对应的展示数量,基于TextView对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额。
结合上述的举例,本实施例中各货币展示图片的跳动展示过程分别为:Combined with the above examples, the beating display process of each currency display picture in this embodiment is as follows:
壹佰圆对应的面额图片:0→100→200→300→400→500;The denomination picture corresponding to one hundred yuan: 0→100→200→300→400→500;
伍拾圆对应的面额图片:0;The denomination picture corresponding to Wu Shiyuan: 0;
贰拾圆对应的面额图片:0;The denomination picture corresponding to Ershiyuan: 0;
拾圆对应的面额图片:0;The denomination picture corresponding to the pick-up circle: 0;
壹圆对应的面额图片:0;The denomination picture corresponding to one yuan: 0;
伍角对应的面额图片:0;The denomination picture corresponding to Wujiao: 0;
壹角对应的面额图片:0。The denomination picture corresponding to one dime: 0.
可以理解的是,为了各货币展示图片和对应的展示金额能够一一对应,本实施例中,在各货币展示图片所在区域的上方区域进行展示金额的展示,具体展示效果如图3所示。It can be understood that, in order to correspond each currency display picture and the corresponding display amount one by one, in this embodiment, the display amount is displayed in the area above the area where each currency display picture is located, and the specific display effect is shown in FIG. 3 .
步骤205、获取所有展示总额,得到账户余额。Step 205: Obtain the total amount of all the displays, and obtain the account balance.
步骤206、在展示界面中的账户余额展示区域展示账户余额。Step 206: Display the account balance in the account balance display area in the display interface.
在展示各货币展示图片对应的展示金额后,还进行账户余额的展示,具体展示效果如图3所示。After displaying the display amount corresponding to each currency display picture, the account balance is also displayed, and the specific display effect is shown in Figure 3.
步骤207、当判断到存储明细发生变化时,获取变化后的存储明细。Step 207: When it is determined that the storage details have changed, acquire the changed storage details.
步骤208、将变化后的存储明细作为新的存储明细,并对新的存储明细进行对应展示。Step 208: Use the changed storage details as new storage details, and display the new storage details correspondingly.
当存储明细变化后,获取变化后的存储明细,并对变化后的存储明细进行展示,以实现数字钱包中存储货币的展示更新,使得展示更为准确。When the storage details are changed, the changed storage details are obtained, and the changed storage details are displayed, so as to realize the display update of the stored currency in the digital wallet and make the display more accurate.
本实施例中,首先获取数字钱包中的存储面额和各存储面额对应的存储数量,数字钱包的展示界面中展示有各不同面额的货币展示图片,根据存储面额和存储面额对应的存储数量可以确定各货币展示图片的展示数量和展示总额,然后在展示界面中,根据各货币展示图片对应的展示数量,对货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额,这样通过各货币展示图片对应的展示数量,用户可以知道账户余额的组成,且通过展示金额的跳动展示,使得用户能够知道统计过程,从而解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。In this embodiment, the storage denomination in the digital wallet and the storage quantity corresponding to each storage denomination are obtained first. The display interface of the digital wallet displays the currency display pictures of different denominations, which can be determined according to the storage denomination and the storage quantity corresponding to the storage denomination. The display quantity and total display amount of each currency display picture, and then in the display interface, according to the display quantity corresponding to each currency display picture, the display amount of the currency display picture is displayed in a beating manner until the display amount is equal to the total display amount. The user can know the composition of the account balance according to the display quantity corresponding to the picture, and through the beating display of the displayed amount, the user can know the statistical process, thus solving the problem that the display interface of the existing digital wallet does not have the effect of dynamic display. Only the account balance is displayed, and the user cannot intuitively observe the composition of the account balance and the statistical process of digital currency, which is a technical problem with poor user experience.
以上为本申请实施例提供的一种数字货币的展示方法的实施例二,以下为本申请实施例提供的一种数字货币的展示装置的实施例,请参阅图4。The above is the second embodiment of a digital currency display method provided by the embodiment of the present application, and the following is an embodiment of a digital currency display device provided by the embodiment of the present application, please refer to FIG. 4 .
请参阅图4,本申请实施例中一种数字货币的展示装置的实施例的结构示意图。Please refer to FIG. 4 , which is a schematic structural diagram of an embodiment of a display device for digital currency in an embodiment of the present application.
本实施例中的一种数字货币的展示装置,包括:A display device for digital currency in this embodiment includes:
第一获取单元401,用于获取数字钱包中存储货币的存储明细,其中,存储明细包括:存储面额和各存储面额对应的存储数量;The first obtaining unit 401 is configured to obtain the storage details of the currency stored in the digital wallet, wherein the storage details include: the storage denomination and the storage quantity corresponding to each storage denomination;
第二获取单元402,用于根据存储面额和对应的存储数量,获取数字钱包的展示界面中各货币展示图片的展示数量和展示总额,其中,货币展示图片为:数字货币对应的面额图片;The second obtaining unit 402 is configured to obtain, according to the stored denomination and the corresponding stored quantity, the displayed quantity and displayed total amount of each currency display picture in the display interface of the digital wallet, wherein the currency display picture is: the denomination picture corresponding to the digital currency;
第一展示单元403,用于在展示界面中,根据各货币展示图片对应的展示数量,对各货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额。The first display unit 403 is configured to, in the display interface, display the display amount of each currency display picture in a beating manner according to the display quantity corresponding to each currency display picture, until the display amount is equal to the total display amount.
进一步地,本实施例中的数字货币的展示装置还包括:Further, the display device for digital currency in this embodiment also includes:
第三获取单元404,用于获取所有展示总额,得到账户余额;The third obtaining unit 404 is configured to obtain the total amount of all displays, and obtain the account balance;
第二展示单元405,用于在展示界面中的账户余额展示区域展示账户余额。The second display unit 405 is configured to display the account balance in the account balance display area in the display interface.
进一步地,本实施例中的数字货币的展示装置还包括:Further, the display device for digital currency in this embodiment also includes:
第四获取单元406,用于当判断到存储明细发生变化时,获取变化后的存储明细;a fourth obtaining unit 406, configured to obtain the changed storage details when it is determined that the storage details have changed;
第三展示单元407,用于将变化后的存储明细作为新的存储明细,并对新的存储明细进行对应展示。The third display unit 407 is configured to use the changed storage details as new storage details, and to display the new storage details correspondingly.
本实施例中,首先获取数字钱包中的存储面额和各存储面额对应的存储数量,数字钱包的展示界面中展示有各不同面额的货币展示图片,根据存储面额和存储面额对应的存储数量可以确定各货币展示图片的展示数量和展示总额,然后在展示界面中,根据各货币展示图片对应的展示数量,对货币展示图片的展示金额进行跳动展示,直至展示金额等于展示总额,这样通过各货币展示图片对应的展示数量,用户可以知道账户余额的组成,且通过展示金额的跳动展示,使得用户能够知道统计过程,从而解决了现有的数字钱包的展示界面不具有动态展示的效果,数字钱包中只展示账户余额,用户无法直观的观察账户余额的组成和数字货币的统计过程,用户体验较差的技术问题。In this embodiment, the storage denomination in the digital wallet and the storage quantity corresponding to each storage denomination are obtained first. The display interface of the digital wallet displays the currency display pictures of different denominations, which can be determined according to the storage denomination and the storage quantity corresponding to the storage denomination. The display quantity and total display amount of each currency display picture, and then in the display interface, according to the display quantity corresponding to each currency display picture, the display amount of the currency display picture is displayed in a beating manner until the display amount is equal to the total display amount. The user can know the composition of the account balance according to the display quantity corresponding to the picture, and through the beating display of the displayed amount, the user can know the statistical process, thus solving the problem that the display interface of the existing digital wallet does not have the effect of dynamic display. Only the account balance is displayed, and the user cannot intuitively observe the composition of the account balance and the statistical process of digital currency, which is a technical problem with poor user experience.
本申请实施例还提供了一种数字货币的展示设备,设备包括处理器以及存储器;存储器用于存储程序代码,并将程序代码传输给处理器;处理器用于根据程序代码中的指令执行实施例一或实施例二的数字货币的展示方法。The embodiments of the present application also provide a digital currency display device, the device includes a processor and a memory; the memory is used for storing program codes, and transmitting the program codes to the processor; the processor is used for executing the embodiments according to the instructions in the program codes The display method of digital currency according to the first or second embodiment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个待安装电网网络,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of units is only a logical function division, and there may be other division methods during implementation. For example, multiple units or components may be combined or integrated into Another grid network to be installed, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to requirements to achieve the purpose of the solution in this embodiment.
另外,在本申请个实施例中的功能单元可以集成在一个处理单元中,也可以是个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the embodiments of the present application may be integrated into one processing unit, or one unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: U disk, removable hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010836168.1A CN111984353A (en) | 2020-08-17 | 2020-08-17 | A display method, device and equipment for digital currency |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010836168.1A CN111984353A (en) | 2020-08-17 | 2020-08-17 | A display method, device and equipment for digital currency |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111984353A true CN111984353A (en) | 2020-11-24 |
Family
ID=73434915
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010836168.1A Pending CN111984353A (en) | 2020-08-17 | 2020-08-17 | A display method, device and equipment for digital currency |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111984353A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115147110A (en) * | 2022-07-05 | 2022-10-04 | 中国银行股份有限公司 | Digital currency transaction method, system and related equipment |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5297030A (en) * | 1992-04-08 | 1994-03-22 | Ncr Corporation | Method using bill and coin images on a touch screen for processing payment for merchandise items |
| JP2006048270A (en) * | 2004-08-03 | 2006-02-16 | Sony Ericsson Mobilecommunications Japan Inc | Electronic wallet application program and mobile terminal device |
| JP2013134569A (en) * | 2011-12-26 | 2013-07-08 | Glory Ltd | Transaction data processor, money transaction system and money transaction method |
| CN105022618A (en) * | 2014-04-25 | 2015-11-04 | Tcl集团股份有限公司 | Implementation method and system of round interface wheel disc control |
| WO2016038430A1 (en) * | 2014-09-11 | 2016-03-17 | Kanhatech Solutions Limited | Method and system for managing digital cash in digital wallet in device of a user |
| CN108108220A (en) * | 2018-01-02 | 2018-06-01 | 武汉斗鱼网络科技有限公司 | Character string animation effect implementation method and device based on text control |
| CN108765161A (en) * | 2018-04-03 | 2018-11-06 | 横琴小钱班克信息科技有限公司 | A kind of Wealth management method of children's stored value card |
| CN110501895A (en) * | 2019-08-28 | 2019-11-26 | 珠海市一樊商贸有限公司 | A digital display method based on animation deformation |
| WO2019235801A1 (en) * | 2018-06-08 | 2019-12-12 | Lee Sang Yeol | Digital currency, electronic wallet system for digital currency, system for issuing, distributing, and using digital currency, and method therefor |
-
2020
- 2020-08-17 CN CN202010836168.1A patent/CN111984353A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5297030A (en) * | 1992-04-08 | 1994-03-22 | Ncr Corporation | Method using bill and coin images on a touch screen for processing payment for merchandise items |
| JP2006048270A (en) * | 2004-08-03 | 2006-02-16 | Sony Ericsson Mobilecommunications Japan Inc | Electronic wallet application program and mobile terminal device |
| JP2013134569A (en) * | 2011-12-26 | 2013-07-08 | Glory Ltd | Transaction data processor, money transaction system and money transaction method |
| CN105022618A (en) * | 2014-04-25 | 2015-11-04 | Tcl集团股份有限公司 | Implementation method and system of round interface wheel disc control |
| WO2016038430A1 (en) * | 2014-09-11 | 2016-03-17 | Kanhatech Solutions Limited | Method and system for managing digital cash in digital wallet in device of a user |
| CN108108220A (en) * | 2018-01-02 | 2018-06-01 | 武汉斗鱼网络科技有限公司 | Character string animation effect implementation method and device based on text control |
| CN108765161A (en) * | 2018-04-03 | 2018-11-06 | 横琴小钱班克信息科技有限公司 | A kind of Wealth management method of children's stored value card |
| WO2019235801A1 (en) * | 2018-06-08 | 2019-12-12 | Lee Sang Yeol | Digital currency, electronic wallet system for digital currency, system for issuing, distributing, and using digital currency, and method therefor |
| CN110501895A (en) * | 2019-08-28 | 2019-11-26 | 珠海市一樊商贸有限公司 | A digital display method based on animation deformation |
Non-Patent Citations (1)
| Title |
|---|
| VEGATATE: "Android自定义控件:动画类(七)----属性动画ValueAnimator高级进阶(二)", Retrieved from the Internet <URL:https://www.cnblogs.com/vegetate/p/9997299.html> * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115147110A (en) * | 2022-07-05 | 2022-10-04 | 中国银行股份有限公司 | Digital currency transaction method, system and related equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107818467A (en) | A kind of method of payment and terminal | |
| JP2018524713A (en) | Payment threshold acquisition method and apparatus | |
| CN110135850A (en) | A kind of information processing method and relevant apparatus | |
| TW202013282A (en) | Method and device for identifying risky merchant | |
| CN110428252A (en) | Method of payment and system based on visible card | |
| JPWO2019092795A1 (en) | Virtual currency payment support device, virtual currency payment support system, virtual currency payment support method, and virtual currency payment support program | |
| CN112819547B (en) | Information recommendation method and device | |
| CN112035717A (en) | Information processing method, device, equipment and storage medium | |
| CN111984353A (en) | A display method, device and equipment for digital currency | |
| CN111967861A (en) | Digital currency visual transaction method, device and equipment | |
| AU2018393128A1 (en) | Payment method, apparatus and system and vending terminal | |
| US11455667B2 (en) | Cost calculating system and method therefor | |
| KR20200089225A (en) | System for interior design mediation using augmented reality | |
| CN111400570B (en) | User group auditing processing method and device | |
| CN109670939A (en) | Refund data processing method, device, equipment and computer readable storage medium | |
| CN109308660A (en) | A kind of reference Rating Model appraisal procedure, device, equipment and storage medium | |
| CN111931019A (en) | Method and device for processing transfer transaction | |
| CN118608225A (en) | Order processing method, device, equipment, storage medium and program product | |
| CN111369347A (en) | Service processing method, device, equipment and storage medium | |
| CN111027980B (en) | Verification method and device for quota usage | |
| CN116645631A (en) | Video analysis method, device and equipment | |
| CN112712353B (en) | Digital currency zero-payment method, system and terminal | |
| JP7263282B2 (en) | Methods and systems for supporting local economic revitalization | |
| CN111966277B (en) | A display method, device and equipment for digital currency | |
| CN114896292A (en) | Payment mode recommendation method and device |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201124 |
|
| RJ01 | Rejection of invention patent application after publication |