CN113191765A - Method, device and equipment for sharing balance of multiple wallets and readable storage medium - Google Patents
Method, device and equipment for sharing balance of multiple wallets and readable storage medium Download PDFInfo
- Publication number
- CN113191765A CN113191765A CN202110437379.2A CN202110437379A CN113191765A CN 113191765 A CN113191765 A CN 113191765A CN 202110437379 A CN202110437379 A CN 202110437379A CN 113191765 A CN113191765 A CN 113191765A
- Authority
- CN
- China
- Prior art keywords
- wallet application
- balance
- wallet
- sharing
- application
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
- G06Q20/3678—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/357—Cards having a plurality of specified features
- G06Q20/3574—Multiple applications on card
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The application relates to a method, a device, equipment and a readable storage medium for sharing balance of multiple wallets, relating to the technical field of electronic wallets, and comprising the steps that a second wallet application checks balance sharing information of the second wallet application sent by a first wallet application based on a balance sharing information key to obtain a check result; the second wallet application judges whether to share balance with the first wallet application according to the check result; therefore, when the first wallet application needs to use the second wallet application for deduction and consumption, the balance sharing information of the second wallet application is only needed to be sent to the second wallet application, the second wallet application can check the balance sharing information based on the balance sharing information key and determine whether to share the balance with the first wallet application or not according to a check result, balance sharing among multiple wallet applications is further completed, the situation that consumption is not limited is avoided, convenience of wallet application recharging is improved, and multiple purposes of one card are achieved.
Description
Technical Field
The present application relates to the field of electronic wallets, and in particular, to a method, an apparatus, a device, and a readable storage medium for sharing balance among multiple wallets.
Background
With the progress of science and technology, informatization becomes the latest productivity of the current social development, so that a 'Sanjin engineering' is provided for accelerating the progress of informatization in China, which is not only the foundation of national economic informatization, but also the construction of an 'information quasi-high speed national road' in China; the gold card engineering in the three-gold engineering is directly oriented to the masses and is closely related to the life of people, the traditional concept and consumption habit of people are influenced and changed, the market flourishing is effectively promoted, and the life and consumption of people are greatly facilitated.
Among them, an IC (Integrated Circuit Card) Card is one of the most critical elements in the "gold Card engineering", also called smart Card, microcircuit Card or microchip Card, etc., where a microelectronic chip is embedded in a Card base conforming to the ISO 7816 standard, making a Card form, and communicating with a reader/writer by contact or non-contact; the IC card has the characteristics of small volume, portability, large storage capacity, high reliability, strong confidentiality, high safety, high non-contact card swiping speed and the like, is widely applied to the industries of finance, transportation, medical treatment, identification and the like, and effectively improves the modernization degree of work and life of people.
In the related art, a plurality of wallet applications are generally created in one IC card to meet the requirements of different industries; however, the balance between the different wallet applications in the same card cannot be shared, that is, the balance in one wallet application can only be used for paying the consumption amount generated in the corresponding application scenario, but cannot be used for paying the consumption amount generated in other application scenarios, so that the corresponding wallet application must be used in different application scenarios to complete the payment; this also means that once the balance in a certain wallet application is used up, it needs to be recharged to a designated recharging site, so that the next consumption can be performed, and there are problems of limited consumption scene, inconvenient recharging, etc.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a readable storage medium for sharing balances of multiple wallets, and aims to solve the problems that consumption scenes are limited, recharging is inconvenient and the like due to the fact that balances of wallet applications cannot be shared in the related art.
In a first aspect, a method for sharing a balance of multiple wallets is provided, which comprises the following steps:
the second wallet application verifies the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key to obtain a verification result;
and the second wallet application judges whether to share the balance with the first wallet application according to the verification result.
In some embodiments, before the second wallet application checks the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key, the method further includes:
presetting a first configuration file in a first wallet application, wherein the first configuration file comprises balance sharing information of a second wallet application, and the balance sharing information comprises second wallet application basic information, second wallet application risk management parameters and second wallet application payment voucher information;
a second configuration file is preset within a second wallet application, the second configuration file including a balance sharing information key.
In some embodiments, the second wallet application checking the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key comprises:
the second wallet application calculates the second wallet application basic information and the second wallet application risk management parameters sent by the first wallet application based on the balance sharing information key to obtain a calculation result;
carrying out consistency check on the calculation result and the second wallet application payment certificate information to obtain a check result;
if the verification result is consistent, the second wallet application and the first wallet application carry out balance sharing;
and if the verification result is inconsistent, the second wallet application does not share the balance with the first wallet application.
In some embodiments, after the second wallet application shares a balance with the first wallet application, further comprising:
debiting the second wallet application;
and storing the information of the deduction.
In some embodiments, the second wallet application comprises a plurality of target wallet applications.
In some embodiments, the first profile further comprises a deduction order for the wallet application.
In some embodiments, before the second wallet application checks the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key, the method further includes:
the first wallet application determines the target wallet application for deduction according to the deduction sequence and sends balance sharing information of the target wallet application to the target wallet application.
In a second aspect, an apparatus for multi-wallet balance sharing is provided, including:
the verification unit is used for verifying the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key by the second wallet application to obtain a verification result;
a determination unit configured to determine, by the second wallet application, whether to perform balance sharing with the first wallet application according to a check result.
In a third aspect, a computer device is provided, which includes: the system comprises a memory and a processor, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to realize the multi-wallet balance sharing method.
In a fourth aspect, a computer-readable storage medium is provided that stores computer instructions which, when executed by a computer, cause the computer to perform the aforementioned method of multi-wallet balance sharing.
The beneficial effect that technical scheme that this application provided brought includes: the method can finish balance sharing among the multiple wallet applications without being limited by consumption scenes, improves the convenience of recharging the wallet applications, and realizes multiple purposes of one card.
The embodiment of the application provides a method, a device, equipment and a readable storage medium for sharing balance of multiple wallets, wherein the method comprises the steps that a second wallet application checks balance sharing information of the second wallet application sent by a first wallet application based on a balance sharing information key to obtain a checking result; the second wallet application judges whether to share balance with the first wallet application according to the check result; therefore, when the first wallet application needs to use the second wallet application for deduction and consumption, the balance sharing information of the second wallet application is only needed to be sent to the second wallet application, the second wallet application can check the balance sharing information based on the balance sharing information key and determine whether to share the balance with the first wallet application or not according to a check result, balance sharing among multiple wallet applications is further completed, the situation that consumption is not limited is avoided, convenience of wallet application recharging is improved, and multiple purposes of one card are achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for sharing a balance among multiple wallets according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an IC card according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an apparatus for sharing a balance among multiple wallets according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a multi-wallet balance sharing method, device and equipment and a readable storage medium, which can solve the problems of limited consumption scene, inconvenience in recharging and the like caused by the fact that balance between wallet applications cannot be shared in the related technology.
Fig. 1 is a method for sharing a balance among multiple wallets, provided by an embodiment of the present application, and includes the following steps:
s1: the second wallet application verifies the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key to obtain a verification result;
s2: and the second wallet application judges whether to share the balance with the first wallet application according to the verification result.
Exemplarily, the first wallet application and the second wallet each have a plurality of wallet types, and may be one of an electronic wallet, an electronic passbook, a residence wallet, a traffic interconnection IC card wallet, a PBOC electronic cash wallet, a descore wallet, etc., and each wallet application may be the same or different wallet type; the code of each wallet application needs to be preset in the IC card before issuing, but the application data of each wallet application can be preset before issuing, and can also be written in a safe mode after issuing; the user (namely, the industry party owning the first wallet application) can pay the deduction request of the first wallet application by using the balance of the second wallet application of other industry parties on the premise of meeting the requirement with the user (namely, the industry party owning the second wallet application) of other industry parties, namely on the premise of respectively storing the demand information related to balance sharing in the wallet applications of the two parties, so that when the first wallet application needs to deduct money and consume money by using the second wallet application, only the balance sharing information of the second wallet application needs to be sent to the second wallet application, the second wallet application can check the balance sharing information based on the balance sharing information key, and judge whether to share the balance with the first wallet application according to the check result; wherein the second wallet application comprises a plurality of target wallet applications.
Further, before the second wallet application checks the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key, the method further includes the following steps:
presetting a first configuration file in the first wallet application, as shown in table 1, wherein the first configuration file comprises balance sharing information of the second wallet application (namely, a target wallet application), and the balance sharing information comprises second wallet application basic information, second wallet application risk management parameters and second wallet application payment credential information; the second wallet application risk management parameters may include a single consumption limit, a total consumption amount limit, a consumption discount rate, a transaction number limit number, and the like, but are not limited to the risk management parameters listed above;
TABLE 1 first configuration File
A second configuration file is preset within the second wallet application, the second configuration file including the balance sharing information key.
As shown in fig. 2, each wallet application supports a configuration file, a wallet file, and a detail file, where the configuration file is used to record configuration information such as basic information of the current wallet application, payment data, deduction sequence, and related information of the target wallet application, and the configuration information may be written when the wallet application is created, or may be updated through a secure scheme during use, and the basic information includes, but is not limited to, an address, a summary description, version information, release information, and a wallet type of the wallet application; each wallet application also supports a payment certificate checking interface for processing payment certificate checking requests sent by other wallet applications; each wallet application also supports a wallet transaction interface for processing transaction requests from other wallet applications.
Specifically, the verifying, by the second wallet application, the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key includes:
the second wallet application calculates the second wallet application basic information and the second wallet application risk management parameters sent by the first wallet application based on the balance sharing information key by using a symmetric algorithm or an asymmetric algorithm to obtain a calculation result;
carrying out consistency check on the calculation result and the second wallet application payment certificate information to obtain a check result;
if the verification result is consistent, the second wallet application and the first wallet application carry out balance sharing;
and if the verification result is inconsistent, the second wallet application does not share the balance with the first wallet application.
Further, in this embodiment of the application, before the second wallet application checks the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key, the method further includes:
the first wallet application determines the target wallet application for deduction according to the deduction sequence and sends balance sharing information of the target wallet application to the target wallet application.
Further, in this embodiment of the present application, after the balance sharing between the second wallet application and the first wallet application, the method further includes: debiting the second wallet application; and storing the information of the deduction.
In the embodiment of the present application, it is described by taking as an example that, when consuming using a current wallet application (i.e., a first wallet application), the current wallet application deducts money according to the deduction sequence of a built-in wallet application: when the current wallet is applied to consumption transaction, the residual consumption amount is set as the consumption amount;
if the deduction sequence of the built-in wallet application is the current wallet application and the target wallet application (wherein the deduction sequence of the target wallet applications is the first target wallet application, the second target wallet application, the third target wallet application to the Nth target wallet application), entering the step A;
step A: the current wallet application directly deducts the balance of the current wallet application, if the balance of the current wallet application is larger than or equal to the consumption amount, the balance of the current wallet application is updated to be the value obtained after deducting the consumption amount, the transaction voucher is calculated, and the current wallet application enters the step F and returns the transaction success;
if the balance of the current wallet application is insufficient, updating the balance of the current wallet application to be 0, setting the residual consumption amount as the consumption amount-the balance of the current wallet application, and calculating the current transaction voucher; and searching the corresponding target wallet application according to the deduction sequence of the target wallet application, and entering the step B.
And B: the current wallet application calls a transaction interface of the target wallet application, data such as target wallet application basic information, target wallet application risk management parameters, target wallet application payment certificate information and residual consumption amount in the first configuration file are input, the transaction interface of the target wallet application receives the information and verifies the payment certificate information, if the verification result fails, consumption operations of all wallets roll back, the transaction is finished, and transaction exception is returned; if the check is successful, step C is entered.
And C: the transaction interface of the target wallet application determines the actual amount to be deducted of the target wallet application; if the actual deduction amount to be deducted is 0, continuing to search the next target wallet application, and returning to the step B to continue to execute; and if the actual deduction to be deducted is not 0, entering the step D.
The actual deduction amount to be deducted can be calculated according to the following procedures:
scheme a: if the number of traded times of the target wallet application is greater than or equal to the transaction number limit number, setting the actual deduction amount to be 0 and exiting the process; otherwise, setting the traded times as the traded times + 1;
and b, a flow b: if the total amount consumed by the target wallet application is greater than or equal to the total consumption amount limit, setting the actual deduction amount to be deducted to be 0 and exiting the process;
and c, flow chart c: setting a temporary remaining expense amount (residual expense amount) expense discount rate;
scheme d: if the temporary remaining consumption amount is larger than the single consumption limit, setting the temporary remaining consumption amount as the single consumption limit;
procedure e: if the temporary remaining consumption amount + the total consumed amount is larger than the total consumption amount limit, setting the temporary remaining consumption amount as the total consumption amount limit-the total consumed amount;
and f: and updating the new total consumed amount as the total consumed amount plus the temporary remaining consumed amount.
Flow g: and setting the actual amount to be deducted as the temporary remaining consumption amount, and returning the actual deduction amount.
Step D: if the actual amount to be deducted is less than or equal to the balance of the target wallet application, updating the balance of the target wallet application to a value obtained by subtracting the actual amount to be deducted, calculating the certificate of the transaction, returning the actual amount to be deducted and the certificate of the transaction by the transaction interface, and entering the step F and returning the success of the transaction by the current wallet application;
if the actual deduction amount is larger than the balance of the target wallet application, updating the balance of the target wallet application to be 0 (namely, the balance of the target wallet application is emptied firstly, which is beneficial to controlling and planning scattered balances of different wallet applications), updating the residual consumption amount to be the residual consumption amount-the balance of the target wallet application/consumption discount rate, calculating the current transaction certificate, returning the actual deduction amount to be deducted, the residual consumption amount and the current transaction certificate by the transaction interface, then continuously searching the next target wallet application, and returning to the step B to be continuously executed; and e, if the remaining consumption amount is still not 0 after all the target wallet applications are inquired, entering the step e.
e. The consumption operations of all wallets roll back and the current wallet application returns a transaction failure.
F. If the transaction is successful, recording the information of the transaction in the detail file, wherein the information at least comprises transaction amount, target wallet application information of each actual deduction, actual amount to be deducted and the certificate of the transaction.
The consumption transaction flow is a transaction flow, and either all the updating operations are successful or all the updating operations are unsuccessful, and at the moment, the data in the card is rolled back to the place before the consumption operation.
Therefore, in the embodiment of the application, a configuration file is extended in the existing wallet application to maintain relevant data of wallet payment, so as to achieve the purpose of payment by using balances of a plurality of wallets in an IC card, that is, when a first wallet application needs to use a second wallet application for deduction and consumption, the embodiment of the application only needs to send balance sharing information of the second wallet application to the second wallet application, the second wallet application can check the balance sharing information based on a balance sharing information key, and determine whether to share the balance with the first wallet application according to a check result, so as to complete balance sharing among the plurality of wallet applications.
Referring to fig. 3, an embodiment of the present application further provides a device for sharing a balance of multiple wallets, including a checking unit and a determining unit;
the verification unit is used for verifying the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key by the second wallet application to obtain a verification result;
the judgment unit is used for judging whether the second wallet application shares the balance with the first wallet application according to the verification result.
Specifically, the device for sharing the balance of the multiple purses is further used for: presetting a first configuration file in a first wallet application, wherein the first configuration file comprises balance sharing information of a second wallet application, and the balance sharing information comprises second wallet application basic information, second wallet application risk management parameters and second wallet application payment voucher information;
a second configuration file is preset within a second wallet application, the second configuration file including a balance sharing information key.
Specifically, the device for sharing the balance of the multiple purses is further used for: the second wallet application calculates the second wallet application basic information and the second wallet application risk management parameters sent by the first wallet application based on the balance sharing information key to obtain a calculation result;
carrying out consistency check on the calculation result and the second wallet application payment certificate information to obtain a check result;
if the verification result is consistent, the second wallet application and the first wallet application carry out balance sharing;
and if the verification result is inconsistent, the second wallet application does not share the balance with the first wallet application.
Specifically, the device for sharing the balance of the multiple purses is further used for: debiting the second wallet application; and storing the information of the deduction.
Specifically, the device for sharing the balance of the multiple purses is further used for: the second wallet application comprises a plurality of target wallet applications, the first configuration file further comprises a deduction sequence of the wallet applications, and the first wallet application determines the target wallet applications for deduction according to the deduction sequence and sends balance sharing information of the target wallet applications to the target wallet applications.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the above-described apparatus and each unit may refer to the corresponding processes in the foregoing method embodiment for sharing balances of multiple purses, and are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 4.
An embodiment of the present application further provides a computer device, including: the system comprises a memory, a processor and a network interface which are connected through a system bus, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor so as to realize all or part of the steps of the multi-wallet balance sharing method.
The network interface is used for performing network communication, such as sending distributed tasks. Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The Processor may be a CPU, other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a video playing function, an image playing function, etc.), and the like; the storage data area may store data (such as video data, image data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements all or part of the steps of the aforementioned method for sharing balances of multiple purses.
The embodiments of the present application may implement all or part of the foregoing processes, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the foregoing methods. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer memory, Read-only memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunication signals, software distribution medium, etc., capable of carrying computer program code. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method of multi-wallet balance sharing, comprising the steps of:
the second wallet application verifies the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key to obtain a verification result;
and the second wallet application judges whether to share the balance with the first wallet application according to the verification result.
2. The method of claim 1, wherein prior to the second wallet application checking the balance share information of the second wallet application sent by the first wallet application based on the balance share information key, further comprising:
presetting a first configuration file in a first wallet application, wherein the first configuration file comprises balance sharing information of a second wallet application, and the balance sharing information comprises second wallet application basic information, second wallet application risk management parameters and second wallet application payment voucher information;
a second configuration file is preset within a second wallet application, the second configuration file including a balance sharing information key.
3. The method of claim 2, wherein the second wallet application checking the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key comprises:
the second wallet application calculates the second wallet application basic information and the second wallet application risk management parameters sent by the first wallet application based on the balance sharing information key to obtain a calculation result;
carrying out consistency check on the calculation result and the second wallet application payment certificate information to obtain a check result;
if the verification result is consistent, the second wallet application and the first wallet application carry out balance sharing;
and if the verification result is inconsistent, the second wallet application does not share the balance with the first wallet application.
4. The method of claim 3, wherein after the sharing of the balance between the second wallet application and the first wallet application, further comprising:
debiting the second wallet application;
and storing the information of the deduction.
5. A method of multi-wallet balance sharing as claimed in claim 2, wherein: the second wallet application includes a plurality of target wallet applications.
6. The method of claim 5, wherein the sharing of the balance between multiple purses comprises: the first profile also includes a deduction order for the wallet application.
7. The method of claim 6, wherein prior to the second wallet application checking the balance share information of the second wallet application sent by the first wallet application based on the balance share information key, further comprising:
the first wallet application determines the target wallet application for deduction according to the deduction sequence and sends balance sharing information of the target wallet application to the target wallet application.
8. An apparatus for multi-wallet balance sharing, comprising:
the verification unit is used for verifying the balance sharing information of the second wallet application sent by the first wallet application based on the balance sharing information key by the second wallet application to obtain a verification result;
a determination unit configured to determine, by the second wallet application, whether to perform balance sharing with the first wallet application according to a check result.
9. A computer device, comprising: a memory and a processor, the memory having stored therein at least one instruction that is loaded and executed by the processor to implement the method of multi-wallet balance sharing of any one of claims 1-7.
10. A computer-readable storage medium characterized by: the computer storage medium stores computer instructions that, when executed by a computer, cause the computer to perform the method of multi-wallet balance sharing of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110437379.2A CN113191765B (en) | 2021-04-22 | 2021-04-22 | Method, device and equipment for sharing balance of multiple wallets and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110437379.2A CN113191765B (en) | 2021-04-22 | 2021-04-22 | Method, device and equipment for sharing balance of multiple wallets and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113191765A true CN113191765A (en) | 2021-07-30 |
CN113191765B CN113191765B (en) | 2022-11-18 |
Family
ID=76978341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110437379.2A Active CN113191765B (en) | 2021-04-22 | 2021-04-22 | Method, device and equipment for sharing balance of multiple wallets and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113191765B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312510A (en) * | 2000-03-07 | 2001-09-12 | 汤姆森多媒体公司 | Electronic purse system with safety operation between electronic purses |
US20150356551A1 (en) * | 2014-06-04 | 2015-12-10 | Mastercard International Incorporated | Multi-account payment card |
CN105427098A (en) * | 2015-11-02 | 2016-03-23 | 飞天诚信科技股份有限公司 | Method and device for realizing information sharing among different applications |
CN105550869A (en) * | 2015-10-30 | 2016-05-04 | 东莞酷派软件技术有限公司 | Remote payment-for-other method and system based on NFC and intelligent terminal |
CN110378686A (en) * | 2019-07-26 | 2019-10-25 | 北京艾摩瑞策科技有限公司 | Digital cash on block chain pays out method and device thereof |
-
2021
- 2021-04-22 CN CN202110437379.2A patent/CN113191765B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1312510A (en) * | 2000-03-07 | 2001-09-12 | 汤姆森多媒体公司 | Electronic purse system with safety operation between electronic purses |
US20150356551A1 (en) * | 2014-06-04 | 2015-12-10 | Mastercard International Incorporated | Multi-account payment card |
CN105550869A (en) * | 2015-10-30 | 2016-05-04 | 东莞酷派软件技术有限公司 | Remote payment-for-other method and system based on NFC and intelligent terminal |
CN105427098A (en) * | 2015-11-02 | 2016-03-23 | 飞天诚信科技股份有限公司 | Method and device for realizing information sharing among different applications |
CN110378686A (en) * | 2019-07-26 | 2019-10-25 | 北京艾摩瑞策科技有限公司 | Digital cash on block chain pays out method and device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN113191765B (en) | 2022-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240346581A1 (en) | Incrementally perfected digital asset collateral wallet | |
CN108596619B (en) | Transaction method, device, central node and system for blockchain system | |
US20160203477A1 (en) | Cryptographic security for electronic transactions | |
AU2017212501A1 (en) | Digital asset conversion | |
CN108335207A (en) | Assets management method and device, electronic equipment | |
US20210326886A1 (en) | Blockchain-based resource transaction methods, apparatuses, and systems | |
CN113256294B (en) | Network payment method, device, equipment and system | |
CN110020936B (en) | Asset management method and device based on block chain and electronic equipment | |
CN108711047B (en) | Automatic repayment method, system and terminal equipment | |
CN111612453A (en) | Decentralized transaction method and device based on block chain and electronic equipment | |
US20210342838A1 (en) | Systems and methods for receiving and distributing consideration via smart contracts on a blockchain | |
TW202018655A (en) | Blockchain-based property execution method and system | |
CN112669042A (en) | Payment method, server, user terminal, system and storage medium | |
JP2022519438A (en) | Online and offline cryptocurrency transfer methods and their systems | |
CN105354710A (en) | Auxiliary identity authentication method for face identification payment | |
CN112435114A (en) | Internet fund storage and management service management method, system, electronic equipment and readable storage medium | |
CN113126996A (en) | Code auditing method, device and system | |
CN113191765B (en) | Method, device and equipment for sharing balance of multiple wallets and readable storage medium | |
US20020019806A1 (en) | E-money managing method and system, e-money managing/holding medium, computer-readable recording medium in which e-money managing program is recorded, e-value managing/holding medium, and e-value managing method | |
CN111882323A (en) | User financing risk control method and device based on cloud service lease | |
CN115131078A (en) | Sequential consumption point integrating method and system based on certificate model | |
Karaivanov | Blockchains, collateral and financial contracts | |
CN114037527A (en) | Transaction data processing method and device, computer equipment and storage medium | |
CN113034144A (en) | Block chain community management method, device, equipment and storage medium | |
CN111815307A (en) | Asset management method of block chain, electronic device and storage medium |
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 |