Resource Processing Method, Apparatus, Computer Device, and Storage Medium

By querying alternative identifiers in cross-border payment scenarios and coordinating different resource servers, the problem of restricted application scope of resource data processing in cross-border payments is solved, and cross-border resource transfer is achieved.

CN114331394BActive Publication Date: 2025-07-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011058722.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-30
Publication Date
2025-07-15
Estimated Expiration
2040-09-30

AI Technical Summary

Technical Problem

The prior art cannot effectively process resource data in cross-border payment scenarios, resulting in limited application scope of resource data processing.

Method used

By obtaining the identification of the resource transferor and the recipient, querying the alternative identification to determine the same resource server, coordinating resource transfer operations between different resource servers, and achieving cross-border payments.

Benefits of technology

It realizes resource transfer in cross-border payment scenarios and expands the application scope of resource data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114331394B_ABST
    Figure CN114331394B_ABST
Patent Text Reader

Abstract

The present application relates to a resource processing method, apparatus, computer device, and storage medium. The method includes: obtaining a resource transfer request initiated by a resource transferor identifier; the resource transfer request carrying a resource recipient identifier and being triggered according to a corresponding general resource reception entry of the resource recipient identifier; when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, querying an alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponding to the same resource server as the resource transferor identifier; different resource servers being used to manage different types of resources; notifying the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier. Using this method can increase the application scope of resource data processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and particularly to a resource processing method, apparatus, computer device, and storage medium. Background Art

[0002] With the continuous development of computer technology, it has become increasingly common to process resource data through a computer. Resources can include virtual items and physical items. Virtual items such as account values, points, or electronic vouchers in the financial field. Resource owners can convert resources on a computer platform to obtain other resources equivalent to the original resources.

[0003] However, the method of processing resource data through a computer is not applicable to cross-border payment scenarios, resulting in a small application scope of resource data processing. Summary of the Invention

[0004] Based on this, it is necessary to provide a resource processing method, apparatus, computer device, and storage medium that can increase the application scope of resource data processing for the above technical problems.

[0005] A resource processing method, the method includes:

[0006] Obtain a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource receiving entry corresponding to the resource recipient identifier;

[0007] When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, query the alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources;

[0008] Notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0009] A resource processing apparatus, the apparatus includes:

[0010] An obtaining module, configured to obtain a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource receiving entry corresponding to the resource recipient identifier;

[0011] A query module, configured to query the alternative identifier corresponding to the resource recipient identifier when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources;

[0012] A notification module, configured to notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0013] A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented:

[0014] Obtain a resource transfer request initiated by the resource transferor identifier; the resource transfer request carries the resource recipient identifier and is triggered according to the general resource reception entry corresponding to the resource recipient identifier;

[0015] When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, query the alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources;

[0016] Notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0017] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0018] Obtain a resource transfer request initiated by the resource transferor identifier; the resource transfer request carries the resource recipient identifier and is triggered according to the general resource reception entry corresponding to the resource recipient identifier;

[0019] When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, query the alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources;

[0020] Notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0021] The above resource processing method, apparatus, computer device, and storage medium obtain a resource transfer request initiated by a resource transferor identifier. When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier carried in the resource transfer request are different, query the alternative identifier corresponding to the resource recipient identifier, and notify the resource server corresponding to the resource transferor identifier. According to the resource transferor identifier and the alternative identifier, perform a resource transfer operation corresponding to the resource transfer request. Since the alternative identifier corresponds to the same resource server as the resource transferor identifier, the resource server corresponding to the resource transferor identifier can use the alternative identifier to assist the resource server corresponding to the resource recipient identifier in resource transfer. In this way, through the cooperation between different resource servers, resource transfer in a cross-border payment scenario is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG. 1(a) is an application environment diagram of a resource processing method in one embodiment;

[0023] FIG. 1(b) is an application environment diagram of a resource processing method in another embodiment;

[0024] Figure 2 is a flowchart of a resource processing method in one embodiment;

[0025] Figure 3 is a schematic diagram of the architecture of a resource processing system in one embodiment;

[0026] FIG. 4(a) is a flowchart of a resource processing method in another embodiment;

[0027] FIG. 4(b) is a flowchart of a resource processing method in yet another embodiment;

[0028] Figure 5 is a flowchart of a resource processing method in still another embodiment;

[0029] Figure 6 is a flowchart of a resource settlement method in one embodiment;

[0030] Figure 7 is a flowchart of a resource processing method in one embodiment;

[0031] Figure 8 is an application interface diagram of a sub-application in one embodiment;

[0032] Figure 9 is a schematic diagram of a collection interface in one embodiment;

[0033] Figure 10 is a structural block diagram of a resource processing apparatus in one embodiment;

[0034] Figure 11Internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0035] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0036] The resource processing method provided by the present application can be applied to the application environment shown in FIG. 1(a). Among them, the terminal 102 communicates with the server 104 through a network. The terminal 102 is the terminal where the resource transferor identifier is located. The server 104 includes a first resource server 104b corresponding to the resource transferor identifier and a second resource server 104a corresponding to the resource recipient identifier. The first resource server 104b and the second resource server 104a communicate with each other through a network.

[0037] Specifically, the second resource server 104a obtains a resource transfer request sent by the terminal 102 and initiated through the resource transferor identifier. The resource transfer request carries the resource recipient identifier and is triggered according to the corresponding general resource reception entry of the resource recipient identifier; when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, the second resource server 104a queries the alternative identifier corresponding to the resource recipient identifier. The alternative identifier corresponds to the same resource server as the resource transferor identifier, and different resource servers are used to manage different types of resources; the second resource server 104a notifies the first resource server 104b to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0038] The resource processing method provided by the present application can also be applied to the application environment shown in FIG. 1(b). The server 104 further includes a resource reception server 104c. The resource reception server 104c is used to respond to a general resource reception graphic code application request of the resource recipient and allocate a general resource reception graphic code. The resource reception server 104c and the second resource server 104a communicate with each other through a network.

[0039] Specifically, the resource reception server 104c obtains a resource transfer request sent by the terminal 102 and initiated through the resource transferor identifier. The resource reception server 104c sends the resource transfer request to the second resource server 104a, and the second resource server 104a thereby obtains the resource transfer request; the resource transfer request carries the resource recipient identifier and is triggered according to the corresponding general resource reception graphic code of the resource recipient identifier.

[0040] The terminal 102 can be, but is not limited to, various personal computers, laptop computers, smart phones, tablet computers, and portable wearable devices. The server 104 can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto.

[0041] In one embodiment, as Figure 2 shown, a resource processing method is provided. Taking the method applied to the second resource server 104a in FIG. 1(a) as an example, the method includes the following steps:

[0042] Step 202, obtaining a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource receiving entry corresponding to the resource recipient identifier.

[0043] Among them, the resource is a virtual item existing in the electronic wallet that can be circulated through the network. For example, a user can obtain the ownership of the resource through the Internet. The resource can specifically include, but is not limited to, electronic currency or cryptocurrency, etc. The electronic wallet, also known as an electronic stored-value wallet, is an Internet payment tool issued by an electronic payment platform, such as a third-party payment platform, with an Internet electronic account as the carrier, which can be recharged through a fund-in channel for payment, receipt, transfer, etc. Fund-in means that a user transfers the funds saved in the bank card into the electronic wallet to form the wallet balance.

[0044] Resource transfer is to transfer a resource from one electronic wallet account to another electronic wallet account. The party that transfers the resource out of the electronic wallet account is called the resource transferor. Correspondingly, the party that transfers the resource into the electronic wallet account is called the resource recipient. Both the resource transferor and the resource recipient can be individuals or organizations. For example, the resource transferor can be an individual user, and the resource recipient can be a merchant.

[0045] The resource transferor identifier is the user identifier of the resource transferor, which is used to uniquely represent the resource transferor. Specifically, it can be the electronic wallet account number of the resource transferor, etc. The electronic wallet account number is the registration account of the user on the electronic payment platform, which can be the user's mobile phone number, email address, ID number, etc. The resource recipient identifier is the user identifier of the resource recipient, which is used to uniquely represent the resource recipient. Specifically, it can be the electronic wallet account number of the resource recipient, etc.

[0046] The general resource receiving entry is used for receiving payments, such as general resource receiving graphic codes, e-wallet accounts, etc. The general resource receiving graphic code is a payment graphic code that carries the resource recipient identifier. For example, the resource transferor scans the payment graphic code presented by the resource recipient and initiates a resource transfer request directed to the resource recipient identifier. The resource transferor can also enter the e-wallet account of the resource recipient in the resource transfer interface to initiate a resource transfer request directed to the resource recipient identifier.

[0047] In a specific embodiment, the resource transfer request also carries the resource transferor identifier and the resource transfer amount. The e-wallet displays the resource quantity of the resource owner in an electronic form, and the resource transfer amount is used to describe the quantity of the resource transfer. For example, the resource transferor scans the payment graphic code presented by the resource recipient, triggers the display of the resource transfer amount input page, and generates a resource transfer request carrying the resource transfer amount in response to the input operation on the resource transfer amount input page.

[0048] In a specific embodiment, the second resource server corresponding to the resource recipient identifier obtains the resource transfer request initiated through the resource transferor identifier.

[0049] Step 204, when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, query the alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources.

[0050] Among them, the resource server corresponding to the resource transferor identifier can be the electronic payment platform registered with the e-wallet account of the resource transferor. The resource server corresponding to the resource recipient identifier can be the electronic payment platform registered with the e-wallet account of the resource recipient.

[0051] The alternative identifier is another identifier of the resource recipient other than the resource recipient identifier. The alternative identifier has an association relationship with the resource recipient identifier and can be recognized by the resource server corresponding to the resource transferor identifier.

[0052] The resource transferor identifier and the resource recipient identifier can correspond to the same resource server or different resource servers. Here, "same" and "different" refer to whether the resource types managed by the resource servers are "the same" or "different", and the resource type can specifically be the currency type. For example, assume that the first resource server provides management services for RMB for users, and the second resource server provides management services for Hong Kong dollars for users. The resource transferor identifier corresponds to the first resource server, and the resource recipient identifier corresponds to the second resource server. Then, the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, and the resource transfer between the resource transferor identifier and the resource recipient identifier belongs to cross-border payment.

[0053] It should be noted that for the convenience of description, in this application, the resource server corresponding to the resource transferor identifier is referred to as the first resource server, and the resource server corresponding to the resource recipient identifier is referred to as the second resource server. This application does not limit the specific resource types managed by the first resource server and the second resource server. That is to say, the resource type managed by the first resource server can be any currency, and the resource type managed by the second resource server can also be any currency.

[0054] With the popularization of electronic payment, the inability to use electronic wallets in cross-border payment scenarios has also caused many inconveniences. In this application, a relationship is established between different resource servers. For one of the resource servers, such as the second resource server, its registered users (hereinafter referred to as the second users) have both an alternative identifier and a user identifier corresponding to the second resource server. The alternative identifier corresponds to other resource servers except the second resource server, such as the first resource server. In a cross-border payment scenario, after the first user triggers the general resource reception entrance provided by the second user, the first resource server where the first user registers the electronic wallet account can use the alternative identifier to assist the second resource server in resource transfer. In this way, through the cooperation between different resource servers, resource transfer in cross-border payment scenarios is achieved.

[0055] In a specific embodiment, the second resource server can establish relationships with more than one resource server, such as the first resource server, the third resource server, etc. Correspondingly, the second user can have more than one alternative identifier, and among the more than one alternative identifiers, there is an alternative identifier corresponding to the first resource server, and there is an alternative identifier corresponding to the third resource server, etc.

[0056] It can be understood that the resource transferor identifier is the user identifier of the party transferring resources in this payment process, and the resource recipient identifier is the user identifier of the party receiving resources in this payment process. In another payment process, the user identifier registered in the first resource server can be used as either the resource recipient identifier or the resource transferor identifier, and the user identifier registered in the second resource server can also be used as either the resource recipient identifier or the resource transferor identifier.

[0057] Next, taking the first resource server and the second resource server as examples, a method for establishing a relationship between different resource servers will be introduced.

[0058] Specifically, referring to Figure 3 , Figure 3It is a schematic diagram of the architecture of a resource processing system in an embodiment. It can be seen that the second resource server accesses the first resource server with the alternative identifiers of each registered user. The second resource server is responsible for docking the cross-border payment orders of each registered user with the first resource server. In the cross-border payment scenario, the first resource server assists the second resource server in performing resource transfer operations based on the resource transferor identifier (at this time, the resource transferor identifier is the user identifier registered in the first resource server) and the alternative identifiers of each registered user in the second resource server. At the same time, the second resource server is also responsible for processing the domestic payment orders of each registered user. In the domestic payment scenario, the second resource server performs resource transfer operations based on the resource transferor identifier (at this time, the resource transferor identifier is the user identifier registered in the second resource server) and the user identifiers of each registered user.

[0059] In an embodiment, when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, querying the alternative identifier corresponding to the resource recipient identifier includes: determining the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively; when the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different, determining that the resource transferor identifier and the resource recipient identifier correspond to different resource servers; querying the alternative identifier corresponding to the resource recipient identifier.

[0060] In a specific embodiment, the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively can be determined according to the e-wallet account attributes corresponding to the resource transferor identifier and the resource recipient identifier. The e-wallet account attributes can reflect the resource types managed by the e-payment platform registered by the e-wallet account. For example, if the e-wallet account attribute corresponding to the resource recipient identifier is the first resource type and the e-wallet account attribute corresponding to the resource transfer identifier is the second resource type, then the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different.

[0061] For example, referring to FIG. 4(a), FIG. 4(a) is a schematic flowchart of a resource processing method in another embodiment. It can be seen that the resource transferor triggers a resource transfer request pointing to the resource recipient identifier. The second resource server corresponding to the resource recipient identifier queries the electronic wallet account attributes of the resource transferor. When the resource types corresponding to the resource transferor identifier and the resource recipient identifier are the same, such as both being the first resource type, the second resource server processes the domestic payment order between the resource transferor identifier and the resource recipient identifier. When the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different, such as the resource type corresponding to the resource transferor identifier being the second resource type and the resource type corresponding to the resource recipient identifier being the first resource type, the first resource server assists the second resource server in processing the cross-border payment order between the resource transferor identifier and the resource recipient identifier.

[0062] In a specific embodiment, when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, the second resource server queries the alternative identifier corresponding to the resource recipient identifier.

[0063] Step 206, notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0064] In a specific embodiment, when the second resource server queries that there is a corresponding alternative identifier for the resource recipient identifier, it indicates that the second resource server has established a relationship with the first resource server. Therefore, the resource transfer request is sent to the first resource server corresponding to the resource transferor identifier, instructing the first resource server to query the corresponding alternative identifier according to the resource recipient identifier in the resource transfer request, and perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0065] For the sake of convenience in description, the resources managed by the resource server corresponding to the resource recipient identifier are referred to as the first resource, and the resources managed by the resource server corresponding to the resource transferor identifier are referred to as the second resource. This application does not limit the specific resource types of the first resource and the second resource. That is, the first resource can be any currency, and the second resource can also be any currency.

[0066] In a specific embodiment, the resource transfer request further carries an identifier of the resource transferor and a first resource transfer amount of the first resource. The first resource server determines a second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and transfers a second resource of the second resource transfer amount from the account corresponding to the identifier of the resource transferor. The second resource server receives the resource transfer result sent by the first resource server. When the resource transfer result is successful, it determines that the resource transfer request is successfully executed, and transfers the first resource transfer amount of the first resource into the account corresponding to the user identifier associated with the alternative identifier.

[0067] In the above resource processing method, a resource transfer request initiated by an identifier of a resource transferor is obtained. When the resource servers corresponding to the identifier of the resource transferor and the identifier of the resource recipient carried in the resource transfer request are different, an alternative identifier corresponding to the identifier of the resource recipient is queried, and the resource server corresponding to the identifier of the resource transferor is notified to perform a resource transfer operation corresponding to the resource transfer request according to the identifier of the resource transferor and the alternative identifier. Since the alternative identifier corresponds to the same resource server as the identifier of the resource transferor, the resource server corresponding to the identifier of the resource transferor can use the alternative identifier to assist the resource server corresponding to the identifier of the resource recipient in resource transfer. In this way, through the cooperation between different resource servers, resource transfer in a cross-border payment scenario is achieved.

[0068] In this application, in a cross-border payment scenario, the first resource server assists the second resource server in performing a resource transfer operation according to the identifier of the resource transferor and the alternative identifier. The process of the first resource server and the second resource server cooperating to perform resource transfer will be introduced below.

[0069] In an embodiment, the resource transfer request further carries an identifier of the resource transferor; notifying the resource server corresponding to the identifier of the resource transferor to perform a resource transfer operation corresponding to the resource transfer request according to the identifier of the resource transferor and the alternative identifier includes: generating an alternative resource transfer request according to the identifier of the resource transferor and the alternative identifier; sending the alternative resource transfer request to the first resource server corresponding to the identifier of the resource transferor to instruct the first resource server to perform a resource transfer operation corresponding to the alternative resource transfer request according to the identifier of the resource transferor and the alternative identifier.

[0070] In a specific embodiment, the resource transfer request further carries a first resource transfer amount of the first resource; the first resource is the resource corresponding to the identifier of the resource recipient; generating an alternative resource transfer request according to the identifier of the resource transferor and the alternative identifier includes: generating an alternative resource transfer request according to the identifier of the resource transferor, the alternative identifier, and the first resource transfer amount.

[0071] Specifically, the second resource server queries the alternative identifier corresponding to the resource recipient identifier, and generates an alternative resource transfer request based on the resource transferor identifier, the alternative identifier, and the first resource transfer amount.

[0072] In a specific embodiment, the alternative resource transfer request is sent to the first resource server corresponding to the resource transferor identifier, so as to instruct the first resource server to perform a resource transfer operation corresponding to the alternative resource transfer request according to the resource transferor identifier and the alternative identifier, including: sending the alternative resource transfer request to the first resource server to instruct the first resource server to determine the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and according to the alternative resource transfer request, transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier to transfer the first resource of the first resource transfer amount into the account corresponding to the alternative identifier; the second resource is the resource corresponding to the resource transferor identifier.

[0073] Specifically, the second resource server sends the alternative resource transfer request to the first resource server corresponding to the resource transferor identifier, so as to instruct the first resource server to determine the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier.

[0074] Wherein, there is a conversion relationship between the first resource and the second resource, and this conversion relationship can be a dynamic conversion relationship, that is, this conversion relationship can change over time, such as the exchange rate between different currencies.

[0075] In a specific embodiment, the first resource server obtains the conversion relationship between the first resource and the second resource corresponding to the current time, and determines the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource according to the conversion relationship. For example, the first resource is Hong Kong dollars, the second resource is RMB, and the exchange rate between Hong Kong dollars and RMB corresponding to the current time is 0.8803, then 100 Hong Kong dollars is converted into 88.03 RMB.

[0076] In an embodiment, when receiving the resource transfer result corresponding to the alternative resource transfer request and the resource transfer result is a successful transfer, it is determined that the resource transfer request is successfully executed.

[0077] Specifically, the second resource server receives the resource transfer result sent by the first resource server. When the resource transfer result is a successful transfer, it is determined that the resource transfer request is successfully executed, and the first resource transfer amount of the first resource can be transferred into the account corresponding to the user identifier associated with the alternative identifier.

[0078] Refer to Figure 5 ,Figure 5 It is a schematic flowchart of a resource processing method in another embodiment. It can be seen that the second resource server obtains a resource transfer request. When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, it queries the alternative identifier corresponding to the resource recipient identifier, generates an alternative resource transfer request based on the resource transferor identifier and the alternative identifier, and sends the alternative resource transfer request to the first resource server corresponding to the resource transferor identifier. The first resource server determines the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and transfers the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier. The second resource server receives the resource transfer result sent by the first resource server. When the resource transfer result is a successful transfer, it determines that the resource transfer request is successfully executed, and can transfer the first resource transfer amount of the first resource into the account corresponding to the user identifier associated with the alternative identifier.

[0079] In this embodiment, the first resource server automatically converts the first resource into the second resource to perform the resource transfer operation, and the second resource server directly settles the first resource to the resource recipient without the resource transferor or the resource recipient exchanging foreign currency by themselves.

[0080] In this application, in the domestic payment scenario, the second resource server performs the resource transfer operation according to the resource transferor identifier and the resource recipient identifier. The process of the second resource server performing the resource transfer will be introduced below.

[0081] In one embodiment, the method further includes: when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same, performing a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the resource recipient identifier.

[0082] Continue to refer to Figure 5 , it can be seen that when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same, the second resource server transfers the first resource of the first resource transfer amount from the account corresponding to the resource transferor identifier, and transfers the first resource of the first resource transfer amount into the account corresponding to the resource recipient identifier. In this application, the second resource server accesses the first resource server with the alternative identifiers of each registered user. The second resource server is responsible for docking cross-border payments with the first resource server and settling to each registered user when the resource transfer conditions are met; while the first resource server is equivalent to the institutional merchant of the second resource server, and the first resource server settles to the second resource server when the settlement conditions are met. The settlement process between the second resource server and each registered user will be introduced below.

[0083] In one embodiment, the method further includes: when a local resource transfer operation is executed and succeeds, generating a local resource transfer record corresponding to the local resource transfer request; when the resource transfer condition is currently met, transferring a first resource of the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record.

[0084] Wherein, the local resource transfer record at least includes a resource transferor identifier, a resource recipient identifier, and a first resource transfer amount.

[0085] In a specific embodiment, the resource transfer condition may be that the current time reaches a specified time point, the duration between the current time and the previous settlement time point reaches a specified duration, the number of newly added local resource transfer records reaches a specified number, and so on.

[0086] Specifically, when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same, after the second resource server transfers a first resource of the first resource transfer amount from the account corresponding to the resource transferor identifier, it first generates a local resource transfer record, and when the resource transfer condition is met, it then transfers a first resource of the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier.

[0087] In one embodiment, when the resource transfer condition is currently met, transferring a first resource of the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record includes: receiving a remote resource transfer record sent by the first resource server corresponding to the resource transferor identifier; the remote resource transfer record is generated by the first resource server after successfully executing a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and an alternative identifier, and the remote resource transfer record corresponds to the resource recipient identifier; when the resource transfer condition is currently met, transferring a first resource of the resource transfer amount recorded in the local resource transfer record and a first resource of the resource transfer amount recorded in the remote resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record and the remote resource transfer record.

[0088] Among them, the off-site resource transfer record has the following composition methods: (1) It includes at least the resource transferor identifier, the alternative identifier, and the second resource transfer amount. (2) It includes at least the resource transferor identifier, the alternative identifier, and the first resource transfer amount. (3) It includes at least the resource transferor identifier, the resource recipient identifier, and the second resource transfer amount. (4) It includes at least the resource transferor identifier, the resource recipient identifier, and the first resource transfer amount. It can be understood that when the off-site resource transfer record is composed of the second resource transfer amount, the second resource server receives the off-site resource transfer record sent by the first resource server, and converts the second resource transfer amount in the off-site resource transfer record into the first resource transfer amount for summary.

[0089] Specifically, when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different, after the first resource server transfers the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier, it first generates an off-site resource transfer record, and when the settlement condition is met, it sends the off-site resource transfer record to the second resource server, so that when the resource transfer condition is met, the second resource server transfers the first resource of the resource transfer amount recorded in the local resource transfer record and the first resource of the resource transfer amount recorded in the off-site resource transfer record to the account corresponding to the resource recipient identifier.

[0090] Among them, the settlement condition can be that the current time reaches the specified time point, the time duration between the current time and the previous settlement time point reaches the specified duration, the number of newly added off-site resource transfer records reaches the specified number, etc. The resource transfer condition can also be that one of the number of newly added local resource transfer records and the number of newly added off-site resource transfer records accumulates to the specified number, or the sum of the number of newly added local resource transfer records and the number of newly added off-site resource transfer records accumulates to the specified number, etc.

[0091] In a specific embodiment, a settlement strategy can be set between the first resource server and the second resource server, and between the second resource server and each registered user for settlement. For example, it is set that the first resource server and the second resource server settle the off-site resource transfer records regularly. After the second resource server settles with the first resource server, the second resource server summarizes and settles the off-site resource transfer records and the local resource transfer records with each registered user.

[0092] Illustrate with an example, refer to Figure 6 , Figure 6 is a schematic flow chart of the resource settlement method in an embodiment. It can be seen that the first resource server and the second resource server settle the off-site resource transfer records of day T on day T + 1. After the second resource server settles with the first resource server, the second resource server summarizes and settles the off-site resource transfer records and the local resource transfer records of day T with each registered user.

[0093] In this embodiment, the second resource server accesses the first resource server with the alternative identifiers of each registered user. As the institutional merchant of the second resource server, the first resource server can settle accounts with the second resource server, so that the first resource server and the second resource server cooperate to achieve resource transfer in the cross-border payment scenario.

[0094] In this application, the resource transferor can scan the general resource receiving graphic code displayed by the resource recipient and initiate a resource transfer request pointing to the resource recipient identifier. The resource receiving server or the second resource server responds to the general resource receiving graphic code application request of the resource recipient and allocates the general resource receiving graphic code. The process of the resource recipient applying for the general resource receiving graphic code is introduced below.

[0095] In one embodiment, the general resource receiving entry is the general resource receiving graphic code; the steps for obtaining the general resource receiving graphic code include: obtaining the general resource receiving graphic code application request; the general resource receiving graphic code application request is initiated by the sub-application logged in with the resource recipient identifier; allocating the general resource receiving graphic code according to the general resource receiving graphic code application request; the general resource receiving graphic code carries the resource recipient identifier.

[0096] Among them, the sub-application can be a mini-program. After the user registers in the mini-program for applying for the general resource receiving graphic code, the user can submit the general resource receiving graphic code application request in the mini-program. The resource receiving server or the second resource server allocates the general resource receiving graphic code carrying the user identifier based on the general resource receiving graphic code application request. The user can initiate a collection operation to other users by presenting the general resource receiving graphic code.

[0097] In a specific embodiment, for the user who has obtained the general resource receiving graphic code, an alternative identifier is allocated to the user, and an association relationship is established between the user identifier and the alternative identifier. This association relationship can be stored in at least one of the resource receiving server, the first resource server, and the second resource server.

[0098] In a specific embodiment, for a newly registered user in the mini-program, an alternative identifier is allocated to the user, and an association relationship is established between the user identifier and the alternative identifier. For a user who has already registered in the mini-program, the alternative identifier can be allocated to the user and an association relationship can be established between the user identifier and the alternative identifier by means of system upgrade.

[0099] In this embodiment, the user can apply for the general resource receiving graphic code for cross-border payment through the mini-program, which improves the application scope of the resource transfer method in this application.

[0100] The present application also provides an application scenario in the financial field, which applies the above resource processing method.

[0101] Specifically, referring to Figure 7 , the application of the resource processing method in this application scenario is as follows:

[0102] Step 702, obtain a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier, a resource transferor identifier, and a first resource transfer amount of a first resource, and is triggered according to a general resource recipient graphic code corresponding to the resource recipient identifier.

[0103] Among them, the resource transferor can be an individual user, and the resource recipient can be a merchant. After the merchant registers in the small program for applying for a general resource recipient graphic code, the merchant can submit a general resource recipient graphic code application request in the small program, and the resource receiving server or the second resource server allocates a general resource recipient graphic code carrying the merchant identifier based on the general resource recipient graphic code application request.

[0104] Referring to Figure 8 , Figure 8 is an application interface diagram of a sub-application in an embodiment. It can be seen that after the merchant enters the small program, through the general resource recipient graphic code viewing entry 802, the merchant can view the collection graphic code, and the collection graphic code can initiate a collection operation to the user.

[0105] Step 704, determine the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively.

[0106] For example, referring to FIG. 4(b), FIG. 4(b) is a schematic flowchart of a resource processing method in another embodiment. It can be seen that the resource transferor scans the collection graphic code displayed by the resource recipient and initiates a resource transfer request pointing to the resource recipient identifier. The resource receiving server obtains the resource transfer request and queries the electronic wallet account attributes of the resource transferor through the electronic wallet account attribute query interface to determine whether the resource types corresponding to the resource transferor identifier and the resource recipient identifier are the same.

[0107] Step 706, when the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different, determine that the resource transferor identifier and the resource recipient identifier correspond to different resource servers, and query the alternative identifier corresponding to the resource recipient identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier.

[0108] Step 708, generate an alternative resource transfer request according to the resource transferor identifier, the alternative identifier, and the first resource transfer amount.

[0109] Step 710: Send a substitute resource transfer request to the first resource server to instruct the first resource server to determine the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and according to the substitute resource transfer request, transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier; the second resource is the resource corresponding to the resource transferor identifier.

[0110] Step 712: When receiving the resource transfer result corresponding to the substitute resource transfer request and the resource transfer result is a successful transfer, determine that the resource transfer request is successfully executed, and transfer the first resource of the first resource transfer amount to the account corresponding to the resource recipient identifier associated with the alternative identifier.

[0111] For example, refer to Figure 9 , Figure 9 which is a schematic diagram of the payment receiving interface in an embodiment. It can be seen that the user scans the Figure 8 payment receiving graphic code shown therein, and a resource amount input page is displayed. In response to the input operation on the resource amount input page, a payment page is displayed. The payment page can display the amount in Hong Kong dollars, the amount in Renminbi, and the conversion relationship between Hong Kong dollars and Renminbi, etc. After the user enters the payment password, the first resource server transfers the corresponding amount of Renminbi from the account corresponding to the user identifier.

[0112] Specifically, after the first resource server transfers the second resource of the second resource transfer amount from the account corresponding to the user identifier, it generates a cross-region resource transfer record. When the settlement condition is met, the cross-region resource transfer record is sent to the second resource server. When the resource transfer condition is met, the second resource server transfers the first resource of the resource transfer amount recorded in the local resource transfer record and the first resource of the resource transfer amount recorded in the cross-region resource transfer record to the account corresponding to the merchant identifier.

[0113] Through the above process, cross-border payment of the e-wallet can be supported using the payment receiving graphic code without the user and the merchant being aware.

[0114] It should be understood that although Figure 2 , Figure 7 the steps in the flowchart of Figure 2 , Figure 7At least a part of the steps therein may include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same moment, but can be executed at different moments, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0115] In one embodiment, as Figure 10 shown, a resource processing device is provided. This device can be a software module, a hardware module, or a combination of both to become a part of a computer device. Specifically, the device includes: an acquisition module 1002, a query module 1004, and a notification module 1006, where:

[0116] The acquisition module 1002 is used to acquire a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource reception entry corresponding to the resource recipient identifier;

[0117] The query module 1004 is used to query an alternative identifier corresponding to the resource recipient identifier when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources;

[0118] The notification module 1006 is used to notify the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

[0119] In one embodiment, the query module 1004 is further used to: determine the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively; when the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different, determine that the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different; query the alternative identifier corresponding to the resource recipient identifier.

[0120] In one embodiment, the resource transfer request further carries a resource transferor identifier; the notification module 1006 is further used to: generate an alternative resource transfer request according to the resource transferor identifier and the alternative identifier; send the alternative resource transfer request to the first resource server corresponding to the resource transferor identifier to instruct the first resource server to perform a resource transfer operation corresponding to the alternative resource transfer request according to the resource transferor identifier and the alternative identifier.

[0121] In one embodiment, the resource transfer request further carries the first resource transfer amount of the first resource; the first resource is the resource corresponding to the resource recipient identifier; the notification module 1006 is further configured to: generate an alternative resource transfer request according to the resource transferor identifier, the alternative identifier, and the first resource transfer amount; send the alternative resource transfer request to the first resource server to instruct the first resource server to determine the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier according to the alternative resource transfer request to transfer the first resource of the first resource transfer amount to the account corresponding to the alternative identifier; the second resource is the resource corresponding to the resource transferor identifier.

[0122] In one embodiment, the notification module 1006 is further configured to: when receiving the resource transfer result corresponding to the alternative resource transfer request and the resource transfer result is a successful transfer, determine that the resource transfer request is successfully executed.

[0123] In one embodiment, the resource processing device further includes an execution module, and the execution module is further configured to: when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same, perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the resource recipient identifier.

[0124] In one embodiment, the execution module is further configured to: when the local resource transfer operation is successfully executed, generate a local resource transfer record corresponding to the local resource transfer request; when the current resource transfer condition is met, transfer the first resource of the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record.

[0125] In one embodiment, the execution module is further configured to: receive the off-site resource transfer record sent by the first resource server corresponding to the resource transferor identifier; the off-site resource transfer record is generated by the first resource server after successfully performing the resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier, and the off-site resource transfer record corresponds to the resource recipient identifier; when the current resource transfer condition is met, transfer the first resource of the resource transfer amount recorded in the local resource transfer record and the first resource of the resource transfer amount recorded in the off-site resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record and the off-site resource transfer record.

[0126] In one embodiment, the general resource receiving entry is a general resource receiving graphic code; the resource processing device further includes an allocation module and an acquisition module 1002, and is further configured to: acquire a general resource receiving graphic code application request; the general resource receiving graphic code application request is initiated by a sub-application logged in by a resource receiver identifier; the allocation module is further configured to: allocate a general resource receiving graphic code according to the general resource receiving graphic code application request; the general resource receiving graphic code carries the resource receiver identifier.

[0127] For the specific limitations of the resource processing device, reference may be made to the limitations on the resource processing method in the foregoing text, which will not be elaborated here. Each module in the foregoing resource processing device may be implemented in whole or in part by software, hardware, and their combination. The foregoing modules may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so as to facilitate the processor to call and execute the operations corresponding to the foregoing modules.

[0128] In the foregoing resource processing device, a resource transfer request initiated by a resource transferor identifier is acquired. When the resource servers corresponding to the resource transferor identifier and the resource receiver identifier carried in the resource transfer request are different, an alternative identifier corresponding to the resource receiver identifier is queried, and the resource server corresponding to the resource transferor identifier is notified to execute a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier. Since the alternative identifier corresponds to the same resource server as the resource transferor identifier, the resource server corresponding to the resource transferor identifier can use the alternative identifier to assist the resource server corresponding to the resource receiver identifier in resource transfer. In this way, through the cooperation between different resource servers, resource transfer in a cross-border payment scenario is realized.

[0129] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as Figure 11 shown. The computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store resource processing data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource processing method is implemented.

[0130] Those skilled in the art can understand, Figure 11The structure shown is only a block diagram of some of the structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0131] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.

[0132] In one embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0133] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.

[0134] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium, and when the computer program is executed, it may include the processes of the above method embodiments. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in this application may include at least one of non-volatile and volatile memories. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0135] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0136] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.

Claims

1. A resource processing method, characterized in that, The method includes: Obtaining a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource recipient entry corresponding to the resource recipient identifier; When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different respectively, querying an alternative identifier corresponding to the resource recipient identifier; the alternative identifier is an other identifier, other than the resource recipient identifier, assigned to the resource recipient corresponding to the resource recipient identifier and recognized by the resource server corresponding to the resource transferor identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources; In the case where an alternative identifier corresponding to the resource recipient identifier is queried, generating an alternative resource transfer request according to the resource transferor identifier and the alternative identifier; sending the alternative resource transfer request to the resource server corresponding to the resource transferor identifier to instruct the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

2. The method according to claim 1, wherein The step of querying an alternative identifier corresponding to the resource recipient identifier when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different respectively includes: Determining the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively; When the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different respectively, determining that the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different; Querying an alternative identifier corresponding to the resource recipient identifier.

3. The method according to claim 1, wherein The resource transfer request further carries a first resource transfer amount of a first resource; the first resource is the resource corresponding to the resource recipient identifier; The step of generating an alternative resource transfer request according to the resource transferor identifier and the alternative identifier includes: Generating the alternative resource transfer request according to the resource transferor identifier, the alternative identifier and the first resource transfer amount; The step of sending the alternative resource transfer request to the resource server corresponding to the resource transferor identifier to instruct the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the alternative resource transfer request according to the resource transferor identifier and the alternative identifier includes: Sending the alternative resource transfer request to a first resource server corresponding to the resource transferor identifier to instruct the first resource server to determine a second resource transfer amount of a second resource corresponding to the first resource transfer amount of the first resource, and transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier according to the alternative resource transfer request to transfer the first resource of the first resource transfer amount to the account corresponding to the alternative identifier; the second resource is the resource corresponding to the resource transferor identifier.

4. The method according to claim 1, characterized in that, The method further includes: When receiving the resource transfer result corresponding to the alternative resource transfer request and the resource transfer result is a successful transfer, it is determined that the resource transfer request is successfully executed.

5. The method according to claim 1, characterized in that The method further includes: When the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same, perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the resource recipient identifier.

6. The method according to claim 5, wherein The method further includes: When the resource transfer operation is locally executed and successful, generate a local resource transfer record corresponding to the locally executed resource transfer request; When the resource transfer condition is currently met, transfer a first resource with the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record.

7. The method according to claim 6, wherein The step of, when the resource transfer condition is currently met, transferring a first resource with the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record, includes: Receive a remote resource transfer record sent by the first resource server corresponding to the resource transferor identifier; the remote resource transfer record is generated by the first resource server after successfully executing a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier, and the remote resource transfer record corresponds to the resource recipient identifier; When the resource transfer condition is currently met, transfer a first resource with the resource transfer amount recorded in the local resource transfer record and a first resource with the resource transfer amount recorded in the remote resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record and the remote resource transfer record.

8. The method according to claim 1, characterized in that, The general resource receiving entry is a general resource receiving graphic code; The obtaining step of the general resource receiving graphic code includes: Obtain a general resource receiving graphic code application request; the general resource receiving graphic code application request is initiated by a sub-application logged in by the resource recipient identifier; Allocate the general resource receiving graphic code according to the general resource receiving graphic code application request; the general resource receiving graphic code carries the resource recipient identifier.

9. A resource processing device, characterized in that, The device includes: An obtaining module, configured to obtain a resource transfer request initiated by a resource transferor identifier; the resource transfer request carries a resource recipient identifier and is triggered according to a general resource receiving entry corresponding to the resource recipient identifier; A query module, configured to query an alternative identifier corresponding to the resource recipient identifier when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are different; the alternative identifier is another identifier assigned to the resource recipient corresponding to the resource recipient identifier in addition to the resource recipient identifier, and the alternative identifier is recognized by the resource server corresponding to the resource transferor identifier; the alternative identifier corresponds to the same resource server as the resource transferor identifier; different resource servers are used to manage different types of resources; The notification module is used to generate an alternative resource transfer request according to the resource transferor identifier and the alternative identifier when it is queried that there is a corresponding alternative identifier for the resource recipient identifier; and send the alternative resource transfer request to the resource server corresponding to the resource transferor identifier, so as to instruct the resource server corresponding to the resource transferor identifier to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier.

10. The device according to claim 9, characterized in that, The query module is further used to: determine the resource types corresponding to the resource transferor identifier and the resource recipient identifier respectively; when the resource types corresponding to the resource transferor identifier and the resource recipient identifier are different, determine that the resource transferor identifier and the resource recipient identifier correspond to different resource servers; query the alternative identifier corresponding to the resource recipient identifier.

11. The device according to claim 9, characterized in that, The resource transfer request also carries the first resource transfer amount of the first resource; the first resource is the resource corresponding to the resource recipient identifier; the notification module is further used to: generate the alternative resource transfer request according to the resource transferor identifier, the alternative identifier and the first resource transfer amount; send the alternative resource transfer request to the first resource server corresponding to the resource transferor identifier, so as to instruct the first resource server to determine the second resource transfer amount of the second resource corresponding to the first resource transfer amount of the first resource, and according to the alternative resource transfer request, transfer the second resource of the second resource transfer amount from the account corresponding to the resource transferor identifier to the account corresponding to the alternative identifier to transfer the first resource of the first resource transfer amount; the second resource is the resource corresponding to the resource transferor identifier.

12. The device according to claim 9, wherein The notification module is further used to determine that the resource transfer request is successfully executed when receiving the resource transfer result corresponding to the alternative resource transfer request and the resource transfer result is a successful transfer.

13. The device according to claim 9, characterized in that, The resource processing device includes an execution module, and the execution module is further used to perform a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the resource recipient identifier when the resource servers corresponding to the resource transferor identifier and the resource recipient identifier are the same.

14. The device according to claim 13, characterized in that, The execution module is further used to generate a local resource transfer record corresponding to the resource transfer request locally executed when the local resource transfer operation is successfully executed; when the resource transfer condition is currently met, transfer the first resource of the resource transfer amount recorded in the local resource transfer record to the account corresponding to the resource recipient identifier according to the local resource transfer record.

15. The device according to claim 14, characterized in that, The execution module is further configured to receive a remote resource transfer record sent by a first resource server corresponding to the resource transferor identifier; the remote resource transfer record is generated by the first resource server after successfully executing a resource transfer operation corresponding to the resource transfer request according to the resource transferor identifier and the alternative identifier, and the remote resource transfer record corresponds to the resource recipient identifier; when the resource transfer condition is currently satisfied, transfer a first resource with a resource transfer amount recorded in the local resource transfer record and a first resource with a resource transfer amount recorded in the remote resource transfer record into an account corresponding to the resource recipient identifier according to the local resource transfer record and the remote resource transfer record.

16. The device according to claim 9, characterized in that The general resource receiving entry is a general resource receiving graphic code; the resource processing device further includes an allocation module; the obtaining module is further configured to obtain a general resource receiving graphic code application request; the general resource receiving graphic code application request is initiated by a sub-application logged in by the resource recipient identifier; the allocation module is configured to allocate the general resource receiving graphic code according to the general resource receiving graphic code application request. The general resource receiving graphic code carries the resource recipient identifier.

17. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 8.

18. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 8.

19. A computer program product, the computer program product comprising computer instructions, characterized in that, The computer instructions are stored in a computer-readable storage medium, the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cross-regional resource transfer method and device, equipment and storage medium

    CN111080275A

  • Cross-regional resource transfer method and device, server and storage medium

    CN111190724A