CN109285069B - Resource transfer method, device and server - Google Patents
Resource transfer method, device and server Download PDFInfo
- Publication number
- CN109285069B CN109285069B CN201710591695.9A CN201710591695A CN109285069B CN 109285069 B CN109285069 B CN 109285069B CN 201710591695 A CN201710591695 A CN 201710591695A CN 109285069 B CN109285069 B CN 109285069B
- Authority
- CN
- China
- Prior art keywords
- resource
- record
- item
- conversion
- transfer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a resource transfer method, a resource transfer device and a server, and belongs to the technical field of internet. The method comprises the following steps: acquiring at least one resource conversion record, wherein the resource conversion record comprises an original resource item, a target resource item and a resource quantity item; acquiring at least one resource transfer-in record, wherein the resource transfer-in record comprises the target resource item and the resource quantity item; acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a first resource total amount, and acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a second resource total amount; when the first resource total amount is equal to the second resource total amount, transferring the preset resource of the first resource total amount from the intermediate account to the provider account of the first resource. The invention avoids the error of the resource quantity transferred from the intermediate account to the provider account of the first resource, and improves the accuracy.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a resource transfer method, a resource transfer device and a server.
Background
With the popularization of the internet and the rapid development of economy, network financing gradually rises, and various types of virtual resources, such as virtual insurance, virtual stocks, virtual funds and the like, also appear successively. A user can purchase resources anytime and anywhere through the Internet or convert the purchased original resources into equivalent target resources. Wherein the user has transferred a certain amount of the preset resource to the provider of the original resource when purchasing the original resource, so the preset resource needs to be transferred from the provider of the original resource to the provider of the target resource when converting the resource.
Taking the example of converting the second resource into the first resource, when the user wants to purchase the second resource by using the preset resource with the first specified resource quantity, the server determines the quantity of the second resource equivalent to the preset resource with the first specified resource quantity according to the current conversion ratio of the second resource to the preset resource, transfers the preset resource with the first specified resource quantity from the user account to the provider account of the second resource, and adds the equivalent second resource to the user account. Then, when a user wants to convert a second resource in the user account into a first resource, the server determines the number of the preset resource equivalent to the second resource in the user account, namely the second designated resource number, according to the current conversion ratio of the second resource to the preset resource, and determines the number of the first resource equivalent to the preset resource of the second designated resource number according to the current conversion ratio of the preset resource to the first resource, so that the second resource in the user account is converted into the first resource equivalent to the second designated resource, and a resource transfer-out record including an original resource item and a resource number item is generated, wherein the original resource item is the second resource, the resource number item is the second designated resource number, and the resource transfer-in record including a target resource item and the resource number item is the first resource, and the resource number item is the second designated resource number. And then the server transfers the preset resources with the second specified resource quantity from the provider account of the second resource to the intermediate account according to the resource transfer-out record, and transfers the preset resources with the second specified resource quantity from the intermediate account to the provider account of the first resource according to the resource transfer record, thereby completing the resource transfer.
In the process of implementing the embodiment of the invention, the inventor finds that the technology at least has the following problems:
in the actual resource conversion process, some abnormal situations may occur, for example, a resource quantity item in a resource transfer record generated by the server is wrong, or the server misses a certain resource transfer record, or the server generates one more repeated resource transfer record, and the like, and these abnormal situations may cause a resource quantity transferred from the intermediate account to the provider account of the first resource to be wrong.
Disclosure of Invention
In order to solve the problems of the related art, embodiments of the present invention provide a resource transfer method, device and server. The technical scheme is as follows:
in one aspect, a resource transfer method is provided, where the method includes:
acquiring at least one resource conversion record, wherein the resource conversion record comprises an original resource item, a target resource item and a resource quantity item, the original resource item is used for recording the transferred original resource, the target resource item is used for recording the transferred target resource, and the resource quantity item is used for recording the resource quantity corresponding to the preset resource which is equivalent to the original resource and is equivalent to the target resource currently;
acquiring at least one resource transfer-in record, wherein the resource transfer-in record comprises the target resource item and the resource quantity item;
acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a first resource total amount, and acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a second resource total amount;
when the first resource total amount is equal to the second resource total amount, transferring the preset resource of the first resource total amount from an intermediate account to a provider account of the first resource, where the intermediate account is used to store the preset resource transferred from the provider account corresponding to the original resource item.
In another aspect, an apparatus for transferring resources is provided, where the apparatus includes:
the system comprises a conversion record acquisition module, a resource conversion record generation module and a resource conversion module, wherein the conversion record acquisition module is used for acquiring at least one resource conversion record, the resource conversion record comprises an original resource item, a target resource item and a resource quantity item, the original resource item is used for recording an exported original resource, the target resource item is used for recording an imported target resource, and the resource quantity item is used for recording the resource quantity corresponding to a preset resource which is currently equivalent to the original resource and equivalent to the target resource;
a transfer record obtaining module, configured to obtain at least one resource transfer record, where the resource transfer record includes the target resource item and the resource quantity item;
a total amount obtaining module, configured to obtain a sum of resource quantity items in a resource conversion record in which the target resource item is a first resource, as a first resource total amount, and obtain a sum of resource quantity items in a resource transfer record in which the target resource item is the first resource, as a second resource total amount;
and the resource transferring module is used for transferring the preset resource of the first resource total amount from an intermediate account to a provider account of the first resource when the first resource total amount is equal to the second resource total amount, wherein the intermediate account is used for storing the preset resource transferred from the provider account corresponding to the original resource item.
In another aspect, a server for resource transfer is provided, the server includes a processor and a memory, the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the resource transfer method as described above.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, the instruction being loaded and executed by a processor to implement the operations performed in the resource transfer method as described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the method, the device and the server provided by the embodiment of the invention, when the total amount of the resources determined according to the resource conversion record of which the target resource item is the first resource is equal to the total amount of the resources determined according to the resource transfer record of which the target resource item is the first resource, and if no abnormal condition occurs, the preset resources of the total amount of the resources are transferred from the intermediate account to the provider account of the first resource, so that the error of the amount of the resources transferred from the intermediate account to the provider account of the first resource is avoided, and the accuracy is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1A is a schematic diagram of an implementation environment provided by embodiments of the invention;
FIG. 1B is a schematic diagram of an implementation environment provided by embodiments of the invention;
FIG. 2A is a flowchart of a resource transformation method according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of a resource display page according to an embodiment of the present invention;
FIG. 2C is a schematic diagram of a resource flow provided by an embodiment of the invention;
FIG. 2D is a diagram illustrating a translation resource according to an embodiment of the present invention;
FIG. 3A is a flowchart of a resource transfer method according to an embodiment of the present invention;
FIG. 3B is a schematic diagram of a resource flow provided by an embodiment of the invention;
FIG. 3C is a diagram illustrating a verification policy provided by an embodiment of the invention;
FIG. 4A is a flowchart of a resource transfer method according to an embodiment of the present invention;
FIG. 4B is a diagram illustrating a verification policy provided by an embodiment of the invention;
FIG. 4C is a schematic diagram of a verification process provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a resource transfer apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
Before describing the embodiments of the present invention in detail, the concepts related to the embodiments of the present invention will be explained as follows:
1. virtual resources: resources provided by providers such as banks and financial enterprises on the internet have certain value and can be exchanged for entity resources which can be applied in actual life.
For example, the virtual resources may include virtual gold, virtual stocks, virtual funds, virtual bonds, virtual gifts, virtual pets, virtual equipment, and the like, and the corresponding physical resources may include gold, stocks, funds, bonds, gifts, pets, equipment, and the like.
For different types of resources, in order to unify the standard for measuring the value, one of the resources may be used as a preset resource, and the value of the other types of resources is represented by the number of the preset resource. In addition, the value of the resource changes with various factors in real life, and can be increased or decreased, and correspondingly, the number of the preset resource corresponding to the resource is increased or decreased.
In one possible implementation, a bank, a financial enterprise, a third-party financial institution, or the like may issue a current conversion ratio of any two resources in consideration of various factors in real life, and a certain amount of one resource may be exchanged for another resource in another amount according to the conversion ratio. Then, when the scaling ratio of a certain resource to the preset resource is increased (or decreased), the number of the preset resource corresponding to the resource is also increased (or decreased).
2. Resource conversion recording: converting the original resource into a record of a target resource, wherein the record comprises an original resource item, a target resource item and a resource quantity item;
resource roll-out recording: transferring out records of the original resources, wherein the records comprise original resource items and resource quantity items;
and (4) resource transfer-in recording: and the record transferred into the target resource comprises a target resource item and a resource quantity item.
The method comprises the steps of recording original resources transferred by a user in an original resource item, recording target resources transferred by the user in a target resource item, and recording the number of preset resources equivalent to the original resources transferred by the user or the number of the preset resources equivalent to the target resources transferred by the user in a resource number item.
3. An intermediate account: and the preset resource equivalent to the resource to be converted is transferred from the provider account of the original resource to the intermediate account and then transferred from the intermediate account to the provider account of the target resource. The intermediate account belongs to the server, and the resource transfer-in process and the resource transfer-out process related to the intermediate account are executed by the server.
Fig. 1A is a schematic diagram of an implementation environment provided by an embodiment of the present invention, where the implementation environment includes: the user terminal 101 and the server 102, and the user terminal 101 and the server 102 may be connected via a network.
The user terminal 101 may be a mobile phone, a computer, a tablet computer, etc. The server 102 may be a bank server, a transaction platform server, a financial server, or the like, and may be a server, a server cluster composed of several servers, or a cloud computing service center.
The server 102 has a function of managing a variety of resources, and can distribute a variety of types of resources, which can be provided by a plurality of providers. The server 102 may also maintain resource accounts of users and providers, manage resources stored in the resource accounts, and the resource accounts may be bank accounts, online accounts, and the like.
The user terminal 101 logs in to the server 102 based on a user identification, which is used to determine a unique corresponding user, and may be a user nickname, a user account number, a telephone number, or the like. The user terminal 101 may purchase, convert or exchange the purchased resource to the equivalent other type of resource through the server 102 by using a certain amount of preset resources.
Wherein, the user terminal 101 may install an internet application associated with the server 102, and interact with the server 102 through the internet application. The internet application may be an application specially managing resources, an online banking application, or a social application with a resource management function.
In one possible implementation, referring to fig. 1B, the implementation environment may further include a provider terminal 103, and the provider terminal 103 and the server 102 may be connected through a network.
The provider terminal 103 logs in the server 102 based on a provider identification for determining a uniquely corresponding provider, which may be a code of a financial enterprise, a bank name, or the like. The provider terminal 103 may publish at least one type of resource in the server 102 for purchase by the user, and the user terminal 101 and the provider terminal 103 may implement resource transaction through the server 102.
The embodiment of the invention can be applied to the scene of online financing, and the server provides a resource transaction platform for the provider of the resource to transact with the user. The user may purchase a variety of resources and may also convert the resources that have been purchased into other resources, such as converting fund a that has been purchased into fund B or converting gold that has been purchased into stocks. And the server can perform resource transfer processing aiming at the processes of resource purchasing, resource conversion and the like.
Fig. 2A is a flowchart of a resource conversion method according to an embodiment of the present invention. In the embodiment of the present invention, a process of converting a second resource into a first resource is described, where an execution subject is a terminal and a server, and referring to fig. 2A, the method includes:
201. and the terminal sends a resource transferring instruction to the server, wherein the resource transferring instruction comprises a user identifier for logging in the terminal, a second resource to be transferred and the specified resource quantity.
The second resource may be any type of resource, and the first resource to be subsequently converted may be a resource of a type different from the second resource, such as the second resource being a fund and the first resource being a currency, or the first resource may be another resource of the same type as the second resource, such as the second resource being a fund a and the first resource being a fund B. The specified resource quantity is the quantity of the preset resource, the specified resource quantity can represent the current value of the second resource to be transferred, and the larger the specified resource quantity is, the larger the value of the second resource to be transferred is.
The resource transfer instruction is used for indicating that the preset resource with the specified resource quantity is adopted to exchange the second resource, and can be triggered on the terminal by the user. Referring to fig. 2B, the terminal displays a resource presentation page, which may include a plurality of resources, and when the user selects "gold" from the resource presentation page, inputs the resource quantity "300 yuan" and clicks the "confirm purchase" button, which indicates that the user wants to purchase 300 yuan of gold, the terminal sends a resource transfer instruction to the server, which includes the user identifications "user 1" and 300 yuan of gold.
202. And the server receives the resource transfer instruction, transfers the preset resources with the specified resource quantity from the user account corresponding to the user identification to the provider account of the second resource, and transfers the second resources with the same value as the preset resources with the specified resource quantity from the provider account of the second resource to the user account.
In the embodiment of the invention, the server can create the corresponding user account for the user identifier, and store resources in the user account, wherein the resources can be obtained in various ways such as purchasing, using other types of resource conversion, giving friends, transferring from other accounts and the like. And the user account may include a plurality of sub-accounts, in which different types of resources are stored, respectively, for example, the user account may include a cash account, a gold account, a stock account, a fund account, and the like.
The server can also create a corresponding provider account for each provider identification, store the resources issued by the provider in the provider account, and store the preset resources transferred to the provider when the user purchases the resources issued by the provider. The provider account may also include a plurality of sub-accounts in which different types of resources are stored, respectively, e.g., the provider account may include a cash account, a gold account, a stock account, a fund account, etc.
When the server receives the resource transfer instruction, the server indicates that the user needs to pay the preset resources with the specified resource quantity to purchase the second resources equivalent to the preset resources, at the moment, the server is required to transfer the preset resources and the second resources according to different directions, transfer the preset resources with the specified resource quantity from the user account to the provider account of the second resources, and transfer the second resources equivalent to the preset resources with the specified resource quantity from the provider account of the second resources to the user account.
The server may transfer the preset resource first and then transfer the second resource, or may transfer the second resource first and then transfer the preset resource.
Alternatively, the server may also use an intermediate account as a transit account for the preset resource, and perform resource transfer in an asynchronous manner. That is, the server transfers the preset resource with the specified resource quantity from the user account to the intermediate account, and then transfers the equivalent second resource from the provider account of the second resource to the user account. At this time, the server generates a resource transfer record, where the resource transfer record includes a target resource item and a resource quantity item, the target resource item is used to record a transferred target resource, and the resource quantity item is used to record a resource quantity corresponding to a preset resource that is currently equivalent to the target resource, so that the target resource item in the resource transfer record generated this time is a second resource, and the resource quantity item is the specified resource quantity. And then, when the server carries out resource transfer processing on the resource transfer record, transferring the preset resource with the specified resource quantity from the intermediate account to a provider account of a second resource. A schematic diagram of the resource flow in this process may be as shown in fig. 2C, where the resources transferred from each user account are transferred to the corresponding provider account through the intermediate account.
In addition, besides the target resource item and the resource quantity item, the resource transfer record may further include a record identification item, a user identification item, a resource transfer time item, and a status item. The record identification item is used for recording a record identification which is only corresponding to the resource transfer record, such as a record number and the like, the user identification item is used for recording a user identification to be transferred into a target resource, the resource transfer time item is used for recording resource transfer time, the time can be the time of receiving the resource transfer instruction or the time of generating the resource transfer record and the like, and the state item is used for recording the current state of the resource transfer record, such as non-effective state, effective unprocessed state or processed state and the like, wherein non-effective state means that the target resource transferred into the record of the resource is transferred into a user account, but the preset resource which needs to be transferred from the user account is not transferred into an intermediate account; the effective and unprocessed state means that the target resource in the resource transfer record is transferred into the user account, and the preset resource which needs to be transferred from the user account is also transferred into the intermediate account, but is not transferred from the intermediate account to the provider account of the target resource; the processed resource transfer records refer to that the target resources in the resource transfer records are transferred to the user account, the corresponding preset resources are also transferred to the provider account of the target resources from the user account through the intermediate account, and the resource transfer process of the resource transfer records is completed.
Based on the example of the step 201, when receiving the resource transfer instruction, the server adds 300-yuan gold to the user account, deducts 300-yuan from the user account, adds the gold to the intermediate account, and generates a resource transfer record as shown in table 1 below, where the resource transfer record is in an effective and unprocessed state. And subsequently, deducting 300 yuan from the intermediate account according to the resource transfer record, adding the resource transfer record into a provider account of gold, and modifying the state of the resource transfer record into processed state.
TABLE 1
203. And the terminal sends a resource conversion instruction to the server, wherein the resource conversion instruction comprises the user identification, the second resource to be transferred out, the first resource to be transferred in and the specified resource quantity.
The resource conversion instruction is used for indicating that the second resource which is purchased is converted into the first resource with the equivalent value, and can be triggered by the user on the terminal.
Referring to fig. 2D, the terminal displays a resource account page, where the resource account page includes the purchased second resource "gold", the corresponding specified resource amount "300 yuan", and a conversion option, when the user clicks the conversion option, the terminal displays a resource display page, other resources except the second resource are displayed in the resource display page, and when the user selects "fund a" and clicks a "confirm conversion" button, it indicates that the user wants to convert the 300 yuan gold into a fund a with a value of 300 yuan, the terminal sends a resource conversion instruction to the server, where the resource conversion instruction includes a user identifier "user 1", gold, fund a, and 300 yuan.
204. And the server receives the resource conversion instruction, and converts the second resource in the user account into the equivalent first resource according to the resource conversion instruction.
205. The server generates a resource conversion record with the original resource item as the second resource, the target resource item as the first resource and the resource quantity item as the specified resource quantity, generates a resource transfer-in record with the target resource item as the first resource and the resource quantity item as the specified resource quantity, and generates a resource transfer-out record with the original resource item as the second resource and the resource quantity item as the specified resource quantity.
The process of converting the second resource in the user account into the equivalent first resource is actually equivalent to that the user transfers the second resource to the first resource after transferring the second resource, and the number of the specified resources corresponding to the first resource and the second resource is equal. Therefore, when the server performs the conversion, the second resource in the user account is actually returned to the provider of the second resource, and the first resource is acquired from the provider of the first resource and added to the user account.
Since the provider of the second resource recovers the second resource and the provider of the first resource transfers the first resource, the preset resource of the specified resource amount corresponding to the first resource and the second resource needs to be transferred from the provider account of the second resource to the provider account of the first resource. In order to facilitate the resource transfer processing, the server generates a resource conversion record, a resource transfer-in record and a resource transfer-out record as the basis of the subsequent resource transfer processing process.
The resource conversion record comprises an original resource item, a target resource item and a resource quantity item, wherein the original resource item is used for recording the transferred original resource, namely the previous resource in the conversion process, the target resource item is used for recording the transferred target resource, namely the next resource in the conversion process, and the resource quantity item is used for recording the resource quantity corresponding to the preset resource which is equivalent to the original resource and equivalent to the target resource currently.
In addition, besides the target resource item and the resource quantity item, the resource conversion record can also include a record identification item, a user identification item, a resource conversion time item and a status item. The record identifier item is used to record a record identifier uniquely corresponding to the resource conversion record, such as a record number, and the user identifier item is used to record a user identifier to be subjected to resource conversion, and the resource conversion time item is used to record resource conversion time, which may be time when the resource conversion instruction is received or time when the resource conversion record is generated, and the status item is used to record a current status of the resource conversion record, such as non-effective status, effective non-processed status, or processed status, where non-effective status means that the original resource and the target resource in the resource conversion record have not been converted yet, effective non-processed status means that the original resource and the target resource in the resource conversion record have been converted and completed, but a preset resource that needs to be transferred from a provider account of the original resource has not been transferred into an intermediate account, or have not been transferred into a provider account of the target resource, processed status means that the original resource and the target resource in the resource conversion record have been converted and the corresponding preset resource has also been transferred from the provider account of the original resource into the provider account of the target resource through the intermediate account, and the resource transfer process of the conversion record has been completed.
Based on the above example of steps 201-203, when the server receives the resource conversion instruction, the server converts the gold in the user account into fund a, and generates the resource conversion record as shown in table 2 below, where the state of the resource conversion record is validated and unprocessed.
TABLE 2
The resource transfer record comprises a target resource item and a resource quantity item, and can also comprise a record identification item, a user identification item, a resource transfer time item and a state item. The server can transfer the resource to the provider account of the target resource according to the resource transfer record, and can also provide the resource transfer record to the provider of the target resource, so that the provider of the target resource can check the resource transfer record with the number of the actually transferred resource.
The resource roll-out record comprises an original resource item and a resource quantity item, and can also comprise a record identification item, a user identification item, a resource roll-out time item and a state item. The server can transfer the resource from the provider account of the original resource according to the resource transfer-out record, and can also provide the resource transfer-out record to the provider of the original resource, so that the provider of the original resource can check the resource transfer-out record with the number of the actually transferred-out resource.
In practical application, the server may generate the resource transformation record with the original resource item as the second resource, the target resource item as the first resource, and the resource quantity item as the specified resource quantity, and then generate the resource transformation record with the target resource item as the first resource and the resource quantity item as the specified resource quantity, and the resource transformation record with the original resource item as the second resource and the resource quantity item as the specified resource quantity, according to the generated resource transformation record.
According to the method provided by the embodiment of the invention, the resource conversion record, the resource transfer-in record and the resource transfer-out record which correspond to each other are generated during resource conversion, so that the resource conversion record and the resource transfer-in record are compared or the resource conversion record and the resource transfer-out record are compared before the subsequent resource transfer processing is carried out, the condition that the number of transferred resources is wrong is prevented, and the accuracy is improved.
In the embodiment shown in fig. 2A, the server performs resource conversion according to the received resource conversion instruction, and also generates a resource conversion record, a resource transfer-in record and a resource transfer-out record. In practical applications, the server may receive at least one resource conversion instruction, and then, by using the method provided in the embodiment shown in fig. 2A, at least one resource conversion record, at least one resource transfer-in record, and at least one resource transfer-out record may be generated, and a subsequent server may perform resource transfer processing according to the generated records, including transferring resources from a provider account of the second resource to an intermediate account, and transferring resources from the intermediate account to a provider account of the first resource, where a specific process is described in detail in the embodiment shown in fig. 3A and 4A below.
Fig. 3A is a flowchart of a resource transfer method according to an embodiment of the present invention. The embodiment of the present invention describes a process of transferring resources from a provider account of an original resource when resource conversion is performed, where an execution subject is a server, and referring to fig. 3A, the method includes:
301. at least one resource conversion record and at least one resource roll-out record are obtained.
Through the embodiment shown in fig. 2A, after the server generates the resource conversion record and the corresponding resource transfer-out record, the server needs to transfer the preset resources of the corresponding amount from the provider account of the original resource to the intermediate account according to the resource conversion record, so as to transfer the preset resources to the provider account of the target resource subsequently, and a schematic diagram of the resource flow may be as shown in fig. 3B.
In order to simplify the resource transfer processing process, the server may obtain at least one resource conversion record that has not been processed and at least one corresponding resource roll-out record, and perform the resource transfer processing uniformly after the summary.
It is considered that the at least one resource transformation record should normally match the at least one resource roll-out record, i.e. a resource transformation record is identical to the original resource items and the number of resource items in a resource roll-out record. However, in practical applications, there are many abnormal situations, such as a loss of a resource conversion record, an error in the amount of resources to be transferred, an error in the provider account of an original resource, or an error in the provider account of a target resource, and in these abnormal situations, if the resource transfer process is performed directly according to the resource conversion record or according to the resource transfer-out record, an error occurs in the amount of the transferred preset resource.
In this embodiment of the present invention, in order to avoid the problem of the number errors, the server may first perform step 302, to verify the at least one resource conversion record and the at least one resource roll-out record, and perform resource transfer processing when the verification is passed.
302. And acquiring the sum of the resource quantity items in the resource conversion record of which the original resource item is the second resource as a fifth resource total amount, and acquiring the sum of the resource quantity items in the resource transfer record of which the original resource item is the second resource as a sixth resource total amount.
303. And judging whether the total amount of the fifth resource is equal to the total amount of the sixth resource, if so, executing step 304, and if not, executing step 305.
For any resource, under normal conditions, the resource conversion record of which the original resource item is the resource should be matched with the resource roll-out record of which the original resource item is the resource, and the resource quantity items in the resource conversion record and the resource roll-out record which are matched with each other should be the same, so that the sum of the resource quantity items in all the resource conversion records of which the original resource item is the resource should be equal to the sum of the resource quantity items in all the resource roll-out records of which the original resource item is the resource.
In view of the above characteristics, in the embodiment of the present invention, taking the original resource as the second resource as an example, when performing the verification, the server may obtain a sum of resource quantity items in the resource conversion record in which the original resource item is the second resource, as a fifth resource total quantity, where the fifth resource total quantity is a quantity of the preset resource that should be transferred from the provider account of the second resource to the intermediate account, and is determined according to the resource conversion record. And the server also obtains the sum of the resource quantity items in the resource transfer-out record with the original resource item as the second resource as a sixth resource total quantity, wherein the sixth resource total quantity is the quantity of the preset resource which is determined according to the resource transfer-out record and is transferred from the provider account of the second resource to the intermediate account, so as to judge whether the fifth resource total quantity and the sixth resource total quantity are equal. The verification policy may be as shown in fig. 3C, for example, taking the second resource as fund a, the total amount of resources that should be transferred from the provider account of fund a determined according to the resource transfer record should be equal to the total amount of resources that should be transferred from the provider account of fund a determined according to the resource transfer record to the provider accounts of other resources.
When the fifth resource total amount is equal to the sixth resource total amount, it indicates that the resource number determined according to the resource conversion record with the original resource item as the second resource is the same as the resource number determined according to the resource roll-out record with the original resource item as the second resource, and it can be considered that the resource conversion record with the original resource item as the second resource is matched with the resource roll-out record, and no abnormal condition occurs, at this time, the verification is passed.
When the fifth resource total amount is not equal to the sixth resource total amount, it indicates that the resource quantity determined according to the resource conversion record of which the original resource item is the second resource is different from the resource quantity determined according to the resource roll-out record of which the original resource item is the second resource, and it can be considered that the resource conversion record of which the original resource item is the second resource is not matched with the resource roll-out record, an abnormal condition occurs, and the verification does not pass at this time.
In one possible implementation manner, the resource conversion record further includes a resource conversion time item, where the resource conversion time item is used to record a resource conversion time, and the resource conversion time may be represented by a time when the server receives the resource conversion instruction, a time when the server performs resource conversion, or a time when the server generates the resource conversion record; the resource roll-out record further includes a resource roll-out time item, where the resource roll-out time item is used for recording a resource roll-out time, and the resource roll-out time may be represented by a time when the server receives the resource conversion instruction, a time when the server performs resource conversion, or a time when the server generates the resource roll-out record. For the matched resource conversion record and resource roll-out record, the resource conversion time in the resource conversion record and the resource roll-out time in the resource roll-out record may be the same time.
The server may determine a partition time of each resource, and distinguish two adjacent time periods by the partition time, then according to the determined partition time, a previous time period of a current time period may be used as a time period to be currently subjected to resource transfer processing, and resource transfer processing is performed on a resource conversion record and a resource transfer-out record generated in the processing time period.
For example, the partition times for fund a, fund B, and fund C are shown in table 3 below, and the partition time for fund a is 24:00, which indicates that the resource transfer processing is to be performed on the record of fund a in the time period of T-1 day 00; the division time of fund B and fund C is 15, and indicates that the resource transfer process is to be performed on the records of fund B and fund C during the time period of day T, day 15.
TABLE 3
| Name of fund | Time division |
| Fund A | 24:00 |
| Fund B | 15:00 |
| Fund C | 15:00 |
Considering that if the partition time of the original resource is different from the partition time of the target resource, the processing time period of the original resource corresponding to the current time point is different from the processing time period of the target resource, even if the resource transfer-out record, the resource transfer-in record and the resource conversion record are matched, the resource transfer-out record processed when the resource transfer processing is performed on the original resource is not completely the same as the resource transfer-in record processed when the resource transfer processing is performed on the target resource, and the number of resources to be transferred is not the same, which may cause the number of preset resources transferred from the provider account of the original resource to the intermediate account to be not equal to the number of preset resources transferred from the intermediate account to the provider account of the target resource.
In order to avoid this, when the server performs the verification, the server may determine, from the at least one resource conversion record, a resource conversion record in which the original resource item is the second resource and the resource conversion time item belongs to the processing time slot of the corresponding target resource item, and obtain a sum of the resource number items in the determined resource conversion record as a fifth resource total amount. And determining the resource conversion record of which the original resource item is the second resource and the resource conversion time item belongs to the processing time period of the second resource from at least one resource transfer-out record, acquiring the sum of the resource quantity items in the determined resource transfer-out record as the total quantity of the sixth resource, and judging whether the total quantity of the fifth resource is equal to the total quantity of the sixth resource.
When the total amount of the fifth resource is equal to the total amount of the sixth resource, it indicates that the number of resources determined according to the resource conversion record in which the original resource item is the second resource in the processing time slot corresponding to the target resource is the same as the number of resources determined according to the resource roll-out record in which the original resource item is the second resource in the processing time slot of the second resource, it may be considered that the resource conversion record in which the original resource item is the second resource is matched with the resource roll-out record, and the verification passes at this time.
And when the fifth resource total amount is not equal to the sixth resource total amount, it indicates that the resource quantity determined according to the resource conversion record in which the original resource item is the second resource in the processing time period corresponding to the target resource is different from the resource quantity determined according to the resource roll-out record in which the original resource item is the second resource in the processing time period of the second resource, and it may be considered that the resource conversion record in which the original resource item is the second resource is not matched with the resource roll-out record, and the verification is not passed at this time.
304. And transferring the preset resource of the fifth resource total amount from the provider account of the second resource to the intermediate account.
305. And comparing the resource conversion record of which the original resource item is the second resource with the resource transfer-out record of which the original resource item is the second resource, and determining the abnormal resource conversion record or the abnormal resource transfer-out record.
When the verification fails, the server cannot perform resource transfer processing, but compares the resource conversion record of which the original resource item is the second resource with the resource transfer-out record to locate the abnormal record.
For example, traversing each resource roll-out record of which the original resource item is the second resource, determining whether at least one resource conversion record includes a resource conversion record matched with the traversed resource roll-out record, if so, determining that the traversed resource roll-out record is a normal resource roll-out record, and if not, determining that the traversed resource roll-out record is an abnormal resource roll-out record. In addition, the original resource item can also be traversed for each resource conversion record of the second resource, whether at least one resource conversion record comprises a resource conversion record matched with the traversed resource conversion record is judged, if yes, the traversed resource conversion record is determined to be a normal resource conversion record, and if not, the traversed resource conversion record is determined to be an abnormal resource conversion record.
Or, if the server generates the resource conversion record first and then generates the corresponding resource roll-out record according to the resource conversion record, it may be considered that the resource conversion record generated by the server has no abnormality, and when performing the comparison, it is only necessary to determine the resource roll-out record without the matched resource conversion record as the abnormal resource roll-out record.
After the abnormal record is determined, the server can perform alarm processing, provide the abnormal record for maintenance personnel, verify and modify the abnormal record by the maintenance personnel to obtain a correct record, and then perform resource transfer processing according to the correct record.
It should be noted that, a plurality of different original resources may be involved in the resource conversion record generated by the server, and the server may traverse the plurality of original resources, and perform the resource transfer process by using the method of the embodiment shown in fig. 3A for each original resource.
It should be noted that, instead of performing resource transfer by using the embodiment shown in fig. 3A, the server may trigger a resource transfer instruction by the provider of the original resource according to a resource transfer record provided by the server, and perform resource transfer processing according to the account and the resource amount carried in the resource transfer instruction when the server receives the resource transfer instruction. The resource transfer instruction may carry a record identifier of the resource transfer-out record, so that the server determines which resource transfer-out record the transferred resource is for.
According to the method provided by the embodiment of the invention, only when the total amount of the resource determined according to the resource conversion record of the original resource item as the second resource is equal to the total amount of the resource determined according to the resource transfer record of the original resource item as the second resource, and if no abnormal condition occurs, the preset resource of the total amount of the resource is transferred from the provider account of the second resource to the intermediate account, so that the error of the amount of the resource transferred from the provider account of the second resource to the intermediate account is avoided, and the accuracy is improved.
Fig. 4A is a flowchart of a resource transfer method according to an embodiment of the present invention. In the embodiment of the present invention, a process of transferring a resource to a provider account of a target resource is described, where an execution subject is a server, and referring to fig. 4A, the method includes:
401. at least one resource conversion record and at least one resource transfer-in record are obtained.
With the embodiment shown in fig. 2A, after the server generates the resource conversion record and the corresponding resource transfer record, the server needs to transfer the corresponding amount of preset resources from the intermediate account to the provider account of the target resource according to the resource conversion record.
In order to simplify the resource transfer processing process, the server may obtain at least one resource conversion record that has not been processed and at least one corresponding resource transfer record, and perform resource transfer processing uniformly after the at least one resource conversion record is summarized.
It is contemplated that under normal circumstances the at least one resource transformation record should match the at least one resource transfer record, i.e., one resource transformation record is identical to the target resource item and resource quantity item in one resource transfer record. However, in practical applications, there are many abnormal situations, such as a loss of a resource conversion record, an error in the amount of resources to be transferred, an error in the provider account of an original resource, or an error in the provider account of a target resource, and in these abnormal situations, if the resource transfer process is performed directly according to the resource conversion record or according to the resource transfer record, an error occurs in the amount of the transferred preset resource.
In this embodiment of the present invention, in order to avoid the problem of the number of errors, the server may first perform step 402, to verify the at least one resource transformation record and the at least one resource transfer-in record, and perform resource transfer processing when the verification is passed.
402. And acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as the first resource total amount, and acquiring the sum of the resource quantity items in the resource transfer record of which the target resource item is the first resource as the second resource total amount.
403. And judging whether the first total amount of resources is equal to the second total amount of resources, if so, executing step 404, and if not, executing step 405.
For any resource, under normal conditions, the resource conversion record of which the target resource item is the resource should be matched with the resource transfer record of which the target resource item is the resource, and the resource number items in the resource transfer record and the resource transfer record which are matched with each other should be the same, so that the target resource item should be the sum of the resource number items in all the resource conversion records of the resource and the sum of the resource number items in all the resource transfer records of which the target resource item is the resource.
In view of the foregoing characteristics, in the embodiment of the present invention, taking the target resource as the first resource as an example, during the verification, the server may obtain a sum of resource quantity items in the resource conversion record of which the target resource item is the first resource, as a first resource total quantity, where the first resource total quantity is a quantity of preset resources that should be transferred from the intermediate account to the provider account of the first resource, and is determined according to the resource conversion record. And the server also obtains the sum of the resource quantity items in the resource transfer record of which the target resource item is the first resource as a second resource total quantity, wherein the second resource total quantity is the quantity of the preset resources which are determined according to the resource transfer record and are transferred from the intermediate account to the provider account of the first resource, so as to judge whether the first resource total quantity and the second resource total quantity are equal. The verification policy may be as shown in fig. 4B, for example, taking the first resource as the fund B, the total amount of resources that should be received by the provider account of the fund B determined according to the resource transfer record should be equal to the total amount of resources that should be transferred to the provider account of the fund B by the provider account of the other resource determined according to the resource conversion record.
When the total amount of the first resource is equal to the total amount of the second resource, it indicates that the number of resources determined according to the resource conversion record of which the target resource item is the first resource is the same as the number of resources determined according to the resource transfer record of which the target resource item is the first resource, and the resource conversion record of which the target resource item is the first resource is considered to be matched with the resource transfer record, and the verification is passed at this time.
When the total amount of the first resource is not equal to the total amount of the second resource, it indicates that the resource quantity determined by the resource conversion record with the target resource item as the first resource is different from the resource quantity determined by the resource transfer record with the target resource item as the first resource, and it may be considered that the resource conversion record with the target resource item as the first resource is not matched with the resource transfer record, and the verification is not passed at this time.
In a possible implementation manner, the resource conversion record further includes a resource conversion time item, where the resource conversion time item is used for recording a resource conversion time, and the resource conversion time may be represented by a time when the server receives the resource conversion instruction, a time when the server performs resource conversion, or a time when the server generates the resource conversion record; the resource transfer-in record further includes a resource transfer-in time item, where the resource transfer-in time item is used for recording resource transfer-in time, and the resource transfer-in time may be represented by time when the server receives the resource conversion instruction, may also be represented by time when the server performs resource conversion, or may also be represented by time when the server generates the resource transfer-in record. For the matched resource conversion record and resource transfer record, the resource conversion time in the resource conversion record and the resource transfer time in the resource transfer record may be the same time.
Considering that if the dividing time of the original resource is different from the dividing time of the target resource, the processing time period of the original resource corresponding to the current time point is different from the processing time period of the target resource, even if the resource transfer-out record, the resource transfer-in record and the resource transfer-in record are matched, the resource transfer-out record processed when the resource transfer processing is performed on the original resource is not completely the same as the resource transfer-in record processed when the resource transfer processing is performed on the target resource, and the number of resources to be transferred is not the same, which may result in that the number of preset resources transferred from the provider account of the original resource to the intermediate account is not the same as the number of preset resources transferred from the intermediate account to the provider account of the target resource.
In order to avoid this, when the server performs the verification, the server may determine, from at least one resource conversion record, a resource conversion record in which the target resource item is the first resource and the resource conversion time item belongs to the processing time slot of the corresponding original resource item, and obtain a sum of the resource number items in the determined resource conversion record as the total first resource amount. And determining the resource transfer record of which the target resource item is the first resource and the resource transfer time item belongs to the processing time period of the first resource from at least one resource transfer record, acquiring the sum of the number items of the resources in the determined resource transfer record as the total amount of the second resource, and judging whether the total amount of the first resource is equal to the total amount of the second resource.
When the total amount of the first resource is equal to the total amount of the second resource, it indicates that the number of resources determined according to the resource transfer record in which the target resource item is the first resource in the processing time period corresponding to the original resource is the same as the number of resources determined according to the resource transfer record in which the target resource item is the first resource in the processing time period of the first resource, and it may be considered that the resource transfer record in which the target resource item is the first resource is matched with the resource transfer record, and the verification is passed at this time.
And when the total amount of the first resource is not equal to the total amount of the second resource, the resource quantity determined according to the resource switching record in which the target resource item is the first resource in the processing time period corresponding to the original resource is different from the resource quantity determined according to the resource switching record in which the target resource item is the first resource in the processing time period of the first resource, the resource switching record in which the target resource item is the first resource is considered to be not matched with the resource switching record, and the verification is not passed at this time.
404. And transferring the preset resource of the first resource total amount from the intermediate account to the provider account of the first resource.
405. And acquiring a first record list and a second record list.
When the verification fails, the server cannot perform the resource transfer processing, but locates the target resource item as an exception record of the first resource. In the embodiment of the present invention, taking the original resource item as the second resource as an example, the server obtains the resource transformation record with the original resource item as the second resource and the target resource item as the first resource, and determines the abnormal resource transformation record.
However, if the processing time periods of the second resource and the first resource are different, if the resource transfer processing is directly performed, the number of the resources transferred from the provider account of the second resource to the intermediate account in the current time period is not equal to the number of the resources transferred from the intermediate account to the provider account of the first resource, and the number of the resources transferred to and from the intermediate account is not matched, so that the balance of balance and income of the intermediate account is affected. For example, transferring a greater amount of resources from the intermediate account than to the intermediate account may result in an intermediate account being loaned, resulting in a loss of resources, or transferring a lesser amount of resources from the intermediate account than to the intermediate account may result in excess resources being present in the intermediate account.
In order to prevent the above situation, the server may acquire resource transformation records in an intersection time period of the processing time period of the first resource and the processing time period of the second resource according to the resource transformation record in which the original resource item is the second resource and the target resource item is the first resource, perform resource transfer processing on only the resource transformation records, and temporarily not perform resource transfer processing on other resource transformation records.
For this purpose, the server may obtain a resource conversion record in which the original resource item is the second resource and the target resource item is the first resource, and determine a processing time period of the first resource and a processing time period of the second resource. And selecting resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time slot of the first resource from the acquired resource conversion records to form a first record list, wherein the first record list comprises the resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time slot of the first resource, and the preset resources corresponding to the resource quantity items in the resource conversion records are transferred to a provider account of the first resource currently.
And selecting resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time period of the second resource from the acquired resource conversion records to form a second record list, wherein the second record list comprises the resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time period of the second resource, and the provider account of the current second resource can transfer the preset resources corresponding to the resource quantity items in the resource conversion records to the intermediate account.
406. And acquiring the sum of the resource quantity items in the resource conversion records in the first record list as a third resource total amount, and acquiring the sum of the resource quantity items in the resource conversion records in the second record list as a fourth resource total amount.
The third resource total amount is the number of the preset resources which should be transferred to the provider account of the first resource currently, and the fourth resource total amount is the number of the preset resources which can be transferred to the intermediate account by the provider account of the second resource currently.
407. And judging whether the total amount of the third resource is equal to the total amount of the fourth resource, if so, determining that the resource conversion record of which the original resource item is the second resource and the target resource item is the first resource is not abnormal, and if not, executing step 408.
When the total amount of the third resource is equal to the total amount of the fourth resource, it indicates that the processing time periods of the first resource and the second resource are the same, and the number of the preset resources transferred from the provider account of the second resource is equal to the number of the preset resources to be transferred to the provider account of the first resource, and it can be considered that the resource conversion record in which the original resource item is the second resource and the target resource item is the first resource is not abnormal.
408. And determining the resource conversion record which is included in one record list and not included in the other record list in the first record list and the second record list as the abnormal resource conversion record.
When the total amount of the third resource is not equal to the total amount of the fourth resource, it indicates that the processing time periods of the first resource and the second resource are different, the resource conversion records included in the first record list and the second record list are resource conversion records generated in a cross time period of the processing time period of the first resource and the processing time period of the second resource, the resource conversion records may be subjected to resource transfer processing, only the resource conversion records included in the first record list but not included in the second record list, and only the resource conversion records included in the second record list but not included in the first record list are abnormal resource conversion records, the abnormal resource conversion records are not subjected to resource transfer processing temporarily at present, and after reaching the next time period, it may be considered that the preset resource corresponding to the abnormal resource conversion records has been transferred from the provider account of the second resource to the intermediate account, at this time, the left abnormal resource conversion records may be subjected to resource transfer processing, and the corresponding preset resource may be transferred from the intermediate account to the provider account of the first resource.
For example, the resource transformation records generated by the server may be as shown in table 4 below, where the original resource item of each resource transformation record is fund a and the target resource item is fund B. Wherein, the partition time of fund A is 24 00, and the partition time of fund B is 15.
TABLE 4
The first record list includes record 1, record 2 and record 3, the calculated total amount of the third resource is 600 yuan, the second record list includes record 1, record 2, record 3, record 4 and record 5, the calculated total amount of the fourth resource is 1400 yuan, and the total amount of the third resource is not equal to the total amount of the fourth resource, which indicates that there is a problem in the resource flow between the fund a and the fund B. At this time, the first record list and the second record list are subjected to bidirectional collation, and it can be determined that the abnormal resource conversion record is the record 4 and the record 5.
It should be noted that, there may be multiple corresponding original resources when the first resource is taken as the target resource, the above steps are only taken as an example when the second resource is taken as the original resource, and in fact, the server may obtain all the original resources included in the resource conversion records in which the target resource item is taken as the first resource to perform traversal, and perform the above steps 405 to 408 for each traversed original resource to locate all the abnormal resource conversion records.
In addition, the above steps 405 to 408 take the example of positioning the abnormal resource conversion record according to the processing time periods of the first resource and the second resource when the total amount of the first resource is not equal to the total amount of the second resource, so as to find the abnormal resource conversion record affecting the balance of the intermediate account.
In fact, besides the abnormal resource conversion record affecting the balance of the intermediate account, there may be other abnormal resource conversion records, such as a resource conversion record with an error in the resource quantity item, an additionally generated error resource conversion record, and the like. In order to locate the abnormal resource transformation records, when the total amount of the first resource is not equal to the total amount of the second resource, the server may also compare the resource transformation record of which the target resource item is the first resource with the resource transfer-in record of which the target resource item is the first resource, and determine the abnormal resource transformation record or the abnormal resource transfer-in record.
For example, traversing each resource transfer record of which the target resource item is the first resource, determining whether at least one resource conversion record includes a resource conversion record matched with the traversed resource transfer record, if so, determining that the traversed resource transfer record is a normal resource transfer record, and if not, determining that the traversed resource transfer record is an abnormal resource transfer record. In addition, the target resource item can also be traversed for each resource conversion record of the first resource, whether at least one resource transfer record comprises a resource transfer record matched with the traversed resource conversion record or not is judged, if yes, the traversed resource conversion record is determined to be a normal resource conversion record, and if not, the traversed resource conversion record is determined to be an abnormal resource conversion record.
Or, if the server generates the resource conversion record first and then generates the corresponding resource transfer-in record according to the resource conversion record, it may be considered that the resource conversion record generated by the server is not abnormal, and when performing the comparison, it is only necessary to determine the resource transfer-in record without the matched resource conversion record as the abnormal resource transfer-in record.
After the abnormal record is determined, the server can perform alarm processing, provide the abnormal record for maintenance personnel, verify and modify the abnormal record by the maintenance personnel to obtain a correct record, and then perform resource transfer processing according to the correct record.
It should be noted that, a plurality of different target resources may be involved in the resource conversion record generated by the server, and the server may traverse the plurality of target resources, and perform the resource transfer processing by using the method of the embodiment shown in fig. 4A for each target resource.
According to the method provided by the embodiment of the invention, when the total amount of the resources determined according to the resource conversion record of the target resource item as the first resource is equal to the total amount of the resources determined according to the resource transfer record of the target resource item as the first resource, and if no abnormal condition occurs, the preset resources of the total amount of the resources are transferred from the middle account to the provider account of the first resource, so that the error of the amount of the resources transferred from the middle account to the provider account of the first resource is avoided, and the accuracy is improved. And when the determined total amount of the resources is not equal and the abnormal condition is determined to occur, the abnormal record can be quickly positioned according to the resource conversion time and the partition time of the original resource and the target resource, so that the abnormal record can be conveniently processed.
The embodiment shown in fig. 3A describes a process of transferring a resource from a provider account of a second resource to an intermediate account, and the embodiment shown in fig. 4A describes a process of transferring a resource from an intermediate account to a provider account of a first resource. In practical applications, the server may combine the embodiment shown in fig. 3A and the embodiment shown in fig. 4A to realize the resource transfer from the provider account of the second resource to the provider account of the first resource. Alternatively, the server may use the embodiment shown in fig. 4A to perform resource transfer instead of the embodiment shown in fig. 3A, in which case the process of transferring the resource from the account of the provider of the second resource to the intermediate account may be performed by the provider of the second resource through internet banking transfer, cash payment, and the like.
In the embodiment of the invention, the server provides an internet financing platform, in which a user can purchase different resources at the same time, and the resources held by the user can be converted into another resource at any time according to factors such as investment yield of the different resources, namely, the internet financing platform automatically helps the user to redeem the original resources and converts the original resources into target resources. When the internet financing platform processes the resource flow, the resource transferred from the user needs to be collected from the provider of the original resource, and the resource is transferred to the provider of the target resource. Since settlement modes of different resources are different from each other, it is necessary to perform effective collation on a converted resource stream having a complicated relationship between different resources.
In the embodiment of the invention, the conversion relation among different resources is checked bidirectionally according to a certain strategy, so that the accurate check of the conversion resource flow is completed before the system carries out resource transfer processing, the abnormal conversion records of the previous resource and the next resource which have problems and between the previous resource and the next resource can be automatically, accurately and quickly positioned from the complicated conversion relation of different resources when the resource flow check has problems, the abnormal problems and specific reasons can be found in time before the resources are allocated, the safety of the fund conversion resource flow of the Internet financing platform is ensured, and the problem of fund default between the Internet financing platform and a resource provider is avoided. The verification process according to the embodiment of the present invention can be summarized as shown in fig. 4C. And by adopting a strategy of positioning layer by layer, the next resource with the problem of the amount of the transferred-in resource is positioned firstly, the previous resource with the problem is positioned, and the abnormal conversion record between the previous resource and the next resource is positioned finally, so that the workload of system checking is saved, and the checking efficiency is improved.
Fig. 5 is a schematic structural diagram of a resource transfer apparatus according to an embodiment of the present invention. Referring to fig. 5, the apparatus includes:
a conversion record obtaining module 501, configured to obtain at least one resource conversion record, where the resource conversion record includes an original resource item, a target resource item, and a resource quantity item, the original resource item is used to record an exported original resource, the target resource item is used to record an imported target resource, and the resource quantity item is used to record a resource quantity corresponding to a preset resource that is currently equivalent to the original resource and is equivalent to the target resource;
a transfer record obtaining module 502, configured to obtain at least one resource transfer record, where the resource transfer record includes a target resource item and a resource quantity item;
a total amount obtaining module 503, configured to obtain a sum of resource quantity items in a resource conversion record in which the target resource item is the first resource as a first resource total amount, and obtain a sum of resource quantity items in a resource transfer record in which the target resource item is the first resource as a second resource total amount;
the resource transfer module 504 is configured to, when the first total resource amount is equal to the second total resource amount, transfer the preset resource of the first total resource amount from the intermediate account to a provider account of the first resource, where the intermediate account is used to store the preset resource transferred from the provider account corresponding to the original resource item.
In one possible implementation, the resource conversion record further includes a resource conversion time item, and the resource conversion time item is used for recording the resource conversion time; the resource transfer-in record also comprises a resource transfer-in time item, and the resource transfer-in time item is used for recording the resource transfer-in time;
a total obtaining module 503, configured to determine, from at least one resource conversion record, a resource conversion record in which a target resource item is a first resource and a resource conversion time item belongs to a processing time period of a corresponding original resource item, and obtain a sum of resource quantity items in the determined resource conversion record, where the sum is used as a first resource total;
the total amount obtaining module 503 is further configured to determine, from the at least one resource transfer record, a resource transfer record in which the target resource item is the first resource and the resource transfer time item belongs to the processing time period of the first resource, and obtain a sum of the number items of the resources in the determined resource transfer record as a second resource total amount.
In one possible implementation, the resource conversion record further includes a resource conversion time item, and the resource conversion time item is used for recording the resource conversion time, and the apparatus further includes:
the list acquiring module is used for acquiring a first record list and a second record list when the total amount of the first resource is not equal to the total amount of the second resource, wherein the first record list comprises resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time period of the first resource, and the second record list comprises resource conversion records of which the original resource item is the second resource, the target resource item is the first resource and the resource conversion time item belongs to the processing time period of the second resource;
a total amount obtaining module 503, configured to obtain a sum of resource amount items in the resource conversion records in the first record list as a third resource total amount, and obtain a sum of resource amount items in the resource conversion records in the second record list as a fourth resource total amount;
and the exception determining module is used for determining the resource conversion record included by one record list in the first record list and the second record list and not included by the other record list as the exception resource conversion record when the third resource total amount is not equal to the fourth resource total amount.
In another possible implementation manner, the apparatus further includes:
and the record comparison module is used for comparing the resource conversion record of which the target resource item is the first resource with the resource transfer record of which the target resource item is the first resource when the total amount of the first resource is not equal to the total amount of the second resource, and determining the abnormal resource conversion record or the abnormal resource transfer record.
In another possible implementation manner, the apparatus further includes:
the system comprises a roll-out record acquisition module, a resource roll-out record acquisition module and a resource management module, wherein the roll-out record acquisition module is used for acquiring at least one resource roll-out record, and the resource roll-out record comprises an original resource item and a resource quantity item;
a total obtaining module 503, configured to obtain a sum of resource quantity items in a resource conversion record in which an original resource item is a second resource, as a fifth resource total, and obtain a sum of resource quantity items in a resource transfer-out record in which the original resource item is the second resource, as a sixth resource total;
and the resource transferring module 504 is configured to, when the fifth total resource amount is equal to the sixth total resource amount, transfer the preset resource of the fifth total resource amount from the provider account of the second resource to the intermediate account.
The resource conversion record also comprises a resource conversion time item, the resource conversion time item is used for recording the resource conversion time, and the resource roll-out record also comprises a resource roll-out time item, and the resource roll-out time item is used for recording the resource roll-out time;
a total obtaining module 503, configured to determine, from at least one resource conversion record, a resource conversion record in which an original resource item is a second resource and a resource conversion time item belongs to a processing time period of a corresponding target resource item, and obtain a sum of resource quantity items in the determined resource conversion record, where the sum is used as a fifth resource total;
the total amount obtaining module 503 is further configured to determine, from the at least one resource roll-out record, a resource conversion record in which the original resource item is the second resource and the resource conversion time item belongs to the processing time period of the second resource, and obtain a sum of the resource number items in the determined resource roll-out record as a sixth resource total amount.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It should be noted that: the apparatus provided in the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be allocated by different functional modules according to needs, that is, the internal structure of the server is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the apparatus provided by the above embodiment and the method embodiment belong to the same concept, and the specific implementation process thereof is described in the method embodiment, which is not described herein again.
Fig. 6 is a schematic structural diagram of a server according to an embodiment of the present invention, where the server 600 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and a memory 632, and one or more storage media 630 (e.g., one or more mass storage devices) for storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630, load a series of instruction operations in the storage medium 630, and execute the above-described resource transfer method on the server 600.
The Server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as a Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM And so on.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
Claims (15)
1. A method for resource transfer, the method comprising:
acquiring at least one resource conversion record, wherein the resource conversion record comprises an original resource item, a target resource item and a resource quantity item, the original resource item is used for recording the transferred original resource, the target resource item is used for recording the transferred target resource, and the resource quantity item is used for recording the resource quantity corresponding to the preset resource which is equivalent to the original resource and is equivalent to the target resource currently;
acquiring at least one resource transfer-in record, wherein the resource transfer-in record comprises the target resource item and the resource quantity item;
acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a first resource total amount, and acquiring the sum of the resource quantity items in the resource conversion record of which the target resource item is the first resource as a second resource total amount;
when the first resource total amount is equal to the second resource total amount, transferring the preset resource of the first resource total amount from an intermediate account to a provider account of the first resource, where the intermediate account is used to store the preset resource transferred from the provider account corresponding to the original resource item.
2. The method of claim 1, wherein the resource transition record further comprises a resource transition time entry, the resource transition time entry being used to record a resource transition time; the resource transfer-in record also comprises a resource transfer-in time item, and the resource transfer-in time item is used for recording the resource transfer-in time;
the acquiring a sum of the number of resources in the resource conversion record of which the target resource item is the first resource as a first total resource amount, and acquiring a sum of the number of resources in the resource transfer record of which the target resource item is the first resource as a second total resource amount includes:
determining the target resource item as the first resource and the resource conversion time item belongs to the resource conversion record of the processing time period of the corresponding original resource item from the at least one resource conversion record, and acquiring the sum of the resource quantity items in the determined resource conversion record as the first resource total quantity;
and determining the target resource item as the first resource and the resource transfer record of which the resource transfer time item belongs to the processing time period of the first resource from the at least one resource transfer record, and acquiring the sum of the number items of the resources in the determined resource transfer record as the total amount of the second resource.
3. The method of claim 1, wherein the resource transition record further includes a resource transition time entry, the resource transition time entry being used to record a resource transition time, the method further comprising:
when the first total resource amount is not equal to the second total resource amount, obtaining a first record list and a second record list, where the first record list includes resource transformation records that the original resource item is a second resource, the target resource item is the first resource, and the resource transformation time item belongs to a processing time period of the first resource, and the second record list includes resource transformation records that the original resource item is the second resource, the target resource item is the first resource, and the resource transformation time item belongs to a processing time period of the second resource;
acquiring the sum of the resource quantity items in the resource conversion records in the first record list as a third resource total amount, and acquiring the sum of the resource quantity items in the resource conversion records in the second record list as a fourth resource total amount;
and when the third resource total amount is not equal to the fourth resource total amount, determining a resource conversion record included in one record list of the first record list and the second record list and not included in the other record list as an abnormal resource conversion record.
4. The method of claim 1, further comprising:
when the total amount of the first resource is not equal to the total amount of the second resource, comparing the resource conversion record of which the target resource item is the first resource with the resource transfer-in record of which the target resource item is the first resource, and determining an abnormal resource conversion record or an abnormal resource transfer-in record.
5. The method of claim 1, further comprising:
acquiring at least one resource roll-out record, wherein the resource roll-out record comprises the original resource item and the resource quantity item;
acquiring the sum of the resource quantity items in the resource conversion record of which the original resource item is the second resource as a fifth resource total amount, and acquiring the sum of the resource quantity items in the resource transfer record of which the original resource item is the second resource as a sixth resource total amount;
when the fifth resource total amount is equal to the sixth resource total amount, transferring the preset resource of the fifth resource total amount from the provider account of the second resource to the intermediate account.
6. The method of claim 5, wherein the resource transformation record further comprises a resource transformation time item, the resource transformation time item is used for recording resource transformation time, the resource roll-out record further comprises a resource roll-out time item, and the resource roll-out time item is used for recording resource roll-out time;
the acquiring a sum of resource quantity items in a resource conversion record of which the original resource item is a second resource, as a fifth resource total amount, and acquiring a sum of resource quantity items in a resource transfer record of which the original resource item is the second resource, as a sixth resource total amount, includes:
determining the resource conversion record of which the original resource item is the second resource and the resource conversion time item belongs to the processing time slot of the corresponding target resource item from the at least one resource conversion record, and acquiring a sum of resource quantity items in the determined resource conversion record as the fifth resource total quantity;
and determining the original resource item as the second resource and the resource conversion time item as the resource transfer-out record of the processing time period of the second resource from the at least one resource transfer-out record, and acquiring the sum of the resource quantity items in the determined resource transfer-out record as the total quantity of the sixth resource.
7. The method of claim 5, further comprising:
when the total amount of the fifth resource is not equal to the total amount of the sixth resource, comparing the resource conversion record of which the original resource item is the second resource with the resource transfer-out record of which the original resource item is the second resource, and determining an abnormal resource conversion record or an abnormal resource transfer-out record.
8. The method according to any one of claims 1-7, further comprising:
receiving a resource conversion instruction, wherein the resource conversion instruction comprises a second resource to be transferred out, a first resource to be transferred in and the quantity of specified resources;
according to the resource conversion instruction, generating a resource conversion record in which the original resource item is the second resource, the target resource item is the first resource, and the resource quantity item is the specified resource quantity, generating a resource transfer-in record in which the target resource item is the first resource and the resource quantity item is the specified resource quantity, and generating a resource transfer-out record in which the original resource item is the second resource and the resource quantity item is the specified resource quantity.
9. An apparatus for resource transfer, the apparatus comprising:
the system comprises a conversion record acquisition module, a resource conversion record generation module and a resource conversion module, wherein the conversion record acquisition module is used for acquiring at least one resource conversion record, the resource conversion record comprises an original resource item, a target resource item and a resource quantity item, the original resource item is used for recording an exported original resource, the target resource item is used for recording an imported target resource, and the resource quantity item is used for recording the resource quantity corresponding to a preset resource which is currently equivalent to the original resource and equivalent to the target resource;
a transfer-in record obtaining module, configured to obtain at least one resource transfer-in record, where the resource transfer-in record includes the target resource item and the resource quantity item;
a total amount obtaining module, configured to obtain a sum of resource quantity items in a resource conversion record in which the target resource item is a first resource, as a first resource total amount, and obtain a sum of resource quantity items in a resource transfer record in which the target resource item is the first resource, as a second resource total amount;
and the resource transferring module is used for transferring the preset resource of the first resource total amount from an intermediate account to a provider account of the first resource when the first resource total amount is equal to the second resource total amount, wherein the intermediate account is used for storing the preset resource transferred from the provider account corresponding to the original resource item.
10. The apparatus of claim 9, wherein the resource transition record further comprises a resource transition time entry, the resource transition time entry being used to record a resource transition time; the resource transfer-in record also comprises a resource transfer-in time item, and the resource transfer-in time item is used for recording the resource transfer-in time;
the total amount obtaining module is configured to determine, from the at least one resource conversion record, a resource conversion record in which the target resource item is the first resource and the resource conversion time item belongs to a processing time period of the corresponding original resource item, and obtain a sum of resource amount items in the determined resource conversion record as the first resource total amount;
the total amount obtaining module is further configured to determine, from the at least one resource transfer record, that the target resource item is the first resource and the resource transfer time item belongs to the resource transfer record of the processing time period of the first resource, and obtain a sum of the number items of the resources in the determined resource transfer record as the total amount of the second resource.
11. The apparatus of claim 9, wherein the resource transition record further comprises a resource transition time entry, the resource transition time entry being used to record a resource transition time, the apparatus further comprising:
a list obtaining module, configured to obtain a first record list and a second record list when the total amount of the first resource is not equal to the total amount of the second resource, where the first record list includes a resource transformation record in which the original resource item is the second resource, the target resource item is the first resource, and the resource transformation time item belongs to a processing time period of the first resource, and the second record list includes a resource transformation record in which the original resource item is the second resource, the target resource item is the first resource, and the resource transformation time item belongs to a processing time period of the second resource;
the total amount obtaining module is configured to obtain a sum of resource amount items in the resource conversion records in the first record list as a third resource total amount, and obtain a sum of resource amount items in the resource conversion records in the second record list as a fourth resource total amount;
and an exception determining module, configured to determine, when the third total resource amount is not equal to the fourth total resource amount, a resource conversion record that is included in one of the first record list and the second record list and is not included in the other record list as an exception resource conversion record.
12. The apparatus of claim 9, further comprising:
and the record comparison module is used for comparing the resource conversion record of which the target resource item is the first resource with the resource transfer-in record of which the target resource item is the first resource when the total amount of the first resource is not equal to the total amount of the second resource, and determining an abnormal resource conversion record or an abnormal resource transfer-in record.
13. The apparatus of claim 9, further comprising:
a roll-out record obtaining module, configured to obtain at least one resource roll-out record, where the resource roll-out record includes the original resource item and the resource quantity item;
the total amount obtaining module is configured to obtain a sum of resource amount items in a resource conversion record in which the original resource item is a second resource, as a fifth resource total amount, and obtain a sum of resource amount items in a resource transfer-out record in which the original resource item is the second resource, as a sixth resource total amount;
the resource transfer module is configured to transfer the preset resource of the fifth resource total amount from the provider account of the second resource to the intermediate account when the fifth resource total amount is equal to the sixth resource total amount.
14. The apparatus of claim 13, wherein the resource transformation record further comprises a resource transformation time item, the resource transformation time item is used for recording resource transformation time, and the resource roll-out record further comprises a resource roll-out time item, the resource roll-out time item is used for recording resource roll-out time;
the total amount obtaining module is configured to determine, from the at least one resource conversion record, a resource conversion record in which the original resource item is the second resource and the resource conversion time item belongs to a processing time period of a corresponding target resource item, and obtain a sum of resource quantity items in the determined resource conversion record as the fifth resource total amount;
the total amount obtaining module is further configured to determine, from the at least one resource roll-out record, that the original resource item is the second resource and the resource conversion time item belongs to a resource roll-out record of a processing time period of the second resource, and obtain a sum of resource amount items in the determined resource roll-out record as the sixth resource total amount.
15. A server for resource transfer, the server comprising a processor and a storage medium having stored therein at least one instruction, the instruction being loaded and executed by the processor to implement the resource transfer method according to any one of claims 1 to 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710591695.9A CN109285069B (en) | 2017-07-19 | 2017-07-19 | Resource transfer method, device and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710591695.9A CN109285069B (en) | 2017-07-19 | 2017-07-19 | Resource transfer method, device and server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109285069A CN109285069A (en) | 2019-01-29 |
| CN109285069B true CN109285069B (en) | 2022-11-15 |
Family
ID=65184615
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710591695.9A Active CN109285069B (en) | 2017-07-19 | 2017-07-19 | Resource transfer method, device and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109285069B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111190724B (en) * | 2019-07-22 | 2023-08-04 | 腾讯科技(深圳)有限公司 | Cross-regional resource transfer method, device, server and storage medium |
| CN112308719B (en) * | 2019-08-01 | 2023-10-13 | 腾讯科技(深圳)有限公司 | Virtual resource acquisition method, device, server and storage medium |
| CN110766553B (en) * | 2019-09-29 | 2024-04-16 | 腾讯科技(深圳)有限公司 | Resource transfer method, device, system, electronic equipment and medium |
| CN110704196B (en) * | 2019-10-15 | 2021-03-30 | 京东数字科技控股有限公司 | Resource data transfer method, device and block chain system |
| CN111340468B (en) * | 2020-02-26 | 2021-04-13 | 腾讯科技(深圳)有限公司 | Resource data processing method and device, computer equipment and storage medium |
| CN113362060A (en) * | 2020-03-06 | 2021-09-07 | 腾讯科技(深圳)有限公司 | Resource conversion data processing method, device, computer equipment and storage medium |
| CN111582849A (en) * | 2020-03-30 | 2020-08-25 | 苏宁金融科技(南京)有限公司 | Resource conversion method, device, storage medium and computer equipment |
| CN119444381A (en) * | 2023-08-02 | 2025-02-14 | 中国工商银行股份有限公司 | Resource data processing method, device, computer equipment and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104780137A (en) * | 2014-01-09 | 2015-07-15 | 腾讯科技(深圳)有限公司 | Data processing method, device, client, server and system |
| CN106548402A (en) * | 2016-10-18 | 2017-03-29 | 财付通支付科技有限公司 | Resource transfers monitoring method and device |
| WO2017054624A1 (en) * | 2015-09-30 | 2017-04-06 | 腾讯科技(深圳)有限公司 | Resource deduction method, device, smart terminal and deduction server |
| CN106656839A (en) * | 2016-10-20 | 2017-05-10 | 财付通支付科技有限公司 | Resource transfer method and apparatus |
| CN106855828A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of method for processing resource and device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104616138A (en) * | 2014-07-31 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Resource transferring method, system and device |
| CN106779807A (en) * | 2016-11-24 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Resource transfers method and device |
-
2017
- 2017-07-19 CN CN201710591695.9A patent/CN109285069B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104780137A (en) * | 2014-01-09 | 2015-07-15 | 腾讯科技(深圳)有限公司 | Data processing method, device, client, server and system |
| WO2017054624A1 (en) * | 2015-09-30 | 2017-04-06 | 腾讯科技(深圳)有限公司 | Resource deduction method, device, smart terminal and deduction server |
| CN106855828A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of method for processing resource and device |
| CN106548402A (en) * | 2016-10-18 | 2017-03-29 | 财付通支付科技有限公司 | Resource transfers monitoring method and device |
| CN106656839A (en) * | 2016-10-20 | 2017-05-10 | 财付通支付科技有限公司 | Resource transfer method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109285069A (en) | 2019-01-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109285069B (en) | Resource transfer method, device and server | |
| CN110782240B (en) | Business data processing method and device, computer equipment and storage medium | |
| CN113421156B (en) | Asset management method and device based on blockchain, and electronic equipment | |
| CN110163634B (en) | Blockchain-based refund methods and devices, electronic equipment | |
| CN110597919B (en) | Block chain-based data management method, device, equipment and storage medium | |
| CN110060139B (en) | Account processing methods and devices | |
| CN112965986B (en) | Service consistency processing method, device, equipment and storage medium | |
| CN112101691B (en) | Method, device and server for dynamically adjusting risk level | |
| CN112991029A (en) | Account checking method and device | |
| CN113822660A (en) | Data processing method and device, electronic equipment and medium | |
| CN111008895A (en) | A repayment method, device, equipment and storage medium for internet finance | |
| CN113095814A (en) | Multi-channel combined payment method and device | |
| CN114119243B (en) | Pool financing management method and device based on blockchain, medium and electronic equipment | |
| CN113762940A (en) | Blockchain-based asset management method, device and electronic device | |
| CN113034285A (en) | Request processing method and device, computer equipment and storage medium | |
| US20240202821A1 (en) | Method of allowing selectable currency within an account | |
| WO2024119789A1 (en) | Fund releasing method and apparatus, and computer device and readable storage medium | |
| CN111367776A (en) | Recording method, device, equipment and storage medium of resource transfer service | |
| CN115760447A (en) | A method, device, equipment and medium for processing abnormal accounting data | |
| CN113269627A (en) | Accounting processing method and device | |
| CN115062079A (en) | Transaction flow processing method, device, equipment and storage medium | |
| CN112330448A (en) | Fund management method, terminal device and storage medium | |
| CN114638682B (en) | Method, device, storage medium and electronic device for determining amortization information | |
| CN118485443A (en) | Refund processing method, refund processing device, electronic equipment, storage medium and program product | |
| CN111737262B (en) | Data processing 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |


