Resource quota processing method and device

By freezing and synchronizing resource quotas between multiple platforms, the problem of resource quota synchronization in the existing technology is solved, safe and reasonable management of resource quotas is achieved, and overpayment and resource loss are avoided.

CN116071073BActive Publication Date: 2024-09-03ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310041674.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-11
Publication Date
2024-09-03
Estimated Expiration
2043-01-11

AI Technical Summary

Technical Problem

Existing technology makes it difficult to synchronize resource quotas between multiple platforms, resulting in possible overpayments by institutional members, resulting in resource losses, and making it difficult to achieve reasonable control of resource quotas.

Method used

By freezing the resource quota on the first platform, synchronizing and unfreezing it to the second platform, and freezing the remaining resource quota based on the successful payment result, the resource quota of the first platform and the second platform can be processed synchronously to avoid overpayment.

Benefits of technology

It effectively avoids the resource loss of institutional members and institutions, achieves reasonable control of resource quotas, and ensures the safety and convenience of multi-platform transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116071073B
    Figure CN116071073B
Patent Text Reader

Abstract

The embodiments of this specification provide a resource quota processing method and device, wherein a resource quota processing method includes: freezing a first resource quota according to a jump instruction for application jump submitted by an institution member in a first application based on a payment request; synchronizing the first resource quota to a second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing; if a successful payment result returned by the second platform is detected, freezing the remaining resource quota of the second platform through an interface call; unfreezing the first resource quota and performing quota update processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technology, and in particular to a resource quota processing method and device. Background Art

[0002] With the continuous development of Internet technology, more and more institutions choose to allocate corresponding resource quotas to institutional members online. Institutional members can conduct transactions based on the resource quotas allocated by the institutions. In actual application scenarios, institutions allocate corresponding resource quotas to institutional members on multiple platforms, allowing institutional members to trade on multiple platforms, thereby improving the convenience of transactions based on resource quotas. Summary of the invention

[0003] One or more embodiments of this specification provide a resource quota processing method, which is applied to a first platform, including: freezing a first resource quota according to a jump instruction for application jump submitted by an institutional member in a first application based on a payment request. Synchronizing the first resource quota to a second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. If a successful payment result returned by the second platform is detected, freezing the remaining resource quota of the second platform through an interface call. Unfreeze the first resource quota and perform quota update processing.

[0004] One or more embodiments of this specification provide another resource quota processing method, which is applied to a second platform, including: receiving a first resource quota synchronized by a jump instruction based on an application jump of the first platform, and updating a second resource quota based on the first resource quota; the second resource quota is frozen after the previous payment processing based on the institution identification. Calling a payment interface, after jumping from the first application to the second application, performing payment processing on a transaction order submitted by an institution member based on the institution identification according to the first resource quota. Performing quota update processing on the first resource quota based on the payment processing result.

[0005] One or more embodiments of the present specification provide a resource quota processing device, which runs on a first platform and includes: a first resource quota freezing module, which is configured to freeze the first resource quota according to a jump instruction for application jump submitted by an institutional member in the first application based on a payment request. A resource quota synchronization module, which is configured to synchronize the first resource quota to the second platform and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. A remaining resource quota freezing module, which is configured to freeze the remaining resource quota of the second platform through an interface call if a successful payment result returned by the second platform is detected. A first quota update module, which is configured to unfreeze the first resource quota and perform quota update processing.

[0006] One or more embodiments of this specification provide another resource quota processing device, which runs on a second platform and includes: a resource quota receiving module, which is configured to receive a first resource quota synchronized by a jump instruction of the first platform based on an application jump, and update a second resource quota based on the first resource quota; the second resource quota is frozen after the previous payment processing based on the institution identification. A payment processing module, which is configured to call a payment interface, and after jumping from the first application to the second application, perform payment processing on a transaction order submitted by an institution member based on the institution identification according to the first resource quota. A second quota updating module, which is configured to perform quota update processing on the first resource quota based on the payment processing result.

[0007] One or more embodiments of the present specification provide a resource quota processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: freezes the first resource quota according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request. Synchronizes the first resource quota to the second platform, and unfreezes the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. If a successful payment result returned by the second platform is detected, freeze the remaining resource quota of the second platform through an interface call. Unfreeze the first resource quota and perform quota update processing.

[0008] One or more embodiments of the present specification provide another resource quota processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: receives a first resource quota synchronized by a jump instruction of a first platform based on an application jump, and updates a second resource quota based on the first resource quota; the second resource quota is frozen after the previous payment processing based on the institution identification. Call a payment interface, and after jumping from the first application to the second application, perform payment processing on a transaction order submitted by an institution member based on the institution identification according to the first resource quota. Perform quota update processing on the first resource quota based on the payment processing result.

[0009] One or more embodiments of this specification provide a storage medium for storing computer executable instructions, which implement the following process when executed by a processor: Freeze the first resource quota according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request. Synchronize the first resource quota to the second platform, and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. If a successful payment result returned by the second platform is detected, freeze the remaining resource quota of the second platform through an interface call. Unfreeze the first resource quota and perform quota update processing.

[0010] One or more embodiments of this specification provide another storage medium for storing computer executable instructions, which implement the following process when executed by a processor: receiving a first resource quota synchronized by a jump instruction based on an application jump of a first platform, and updating a second resource quota based on the first resource quota; the second resource quota is frozen after the previous payment processing based on the institution identification. Calling a payment interface, after jumping from the first application to the second application, performing payment processing on a transaction order submitted by an institution member based on the institution identification according to the first resource quota. Performing quota update processing on the first resource quota based on the payment processing result. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.

[0012] Figure 1 A processing flow chart of a resource quota processing method provided in one or more embodiments of this specification;

[0013] Figure 2 A processing sequence diagram of a resource quota processing method applied to a rights and interests scenario provided in one or more embodiments of this specification;

[0014] Figure 3 A processing flow chart of another resource quota processing method provided for one or more embodiments of this specification;

[0015] Figure 4 A schematic diagram of a resource quota processing device provided for one or more embodiments of this specification;

[0016] Figure 5A schematic diagram of another resource quota processing device provided for one or more embodiments of this specification;

[0017] Figure 6 A schematic diagram of the structure of a resource quota processing device provided for one or more embodiments of this specification;

[0018] Figure 7 A schematic diagram of the structure of another resource quota processing device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0020] This specification provides a resource quota processing method embodiment:

[0021] The resource quota processing method provided in this embodiment can be applied to the first platform. After obtaining the jump instruction for application jump submitted by the institutional member in the first application based on the payment request, the first resource quota is frozen, the first resource quota is synchronized to the second platform, and the second resource quota of the second platform is unfrozen, so as to update the second resource quota based on the first resource quota after unfreezing, and after detecting the successful payment result returned by the second platform, the remaining resource quota of the second platform is frozen. On this basis, the first resource quota is unfrozen and the quota update processing is performed, thereby realizing the synchronous processing of the resource quotas of the first platform and the second platform. When the institutional member is making a payment on one platform, the resource quota of the other platform is frozen until the payment is completed, so as to avoid overpayment by the institutional member, avoid resource loss of the institutional member and the institution, and realize reasonable control of the resource quota.

[0022] Reference Figure 1 The resource quota processing method provided in this embodiment specifically includes steps S102 to S108.

[0023] Step S102, freezing the first resource quota according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request.

[0024] In this embodiment, the organization includes various forms of organizations such as enterprises, institutions, social groups, etc. In addition, the organization includes not only the organization at the same level, but also the internal organization of the organization, such as the enterprise department or branch. The organization members include the organization staff and / or organization-related personnel.

[0025] The first application includes an application that runs independently on a member terminal of an institution member, or a subprogram or applet installed in a third-party application. The first platform includes a platform corresponding to the first application, and the first platform may be a platform for issuing resource quotas to the institution members of the institution. Optionally, the application jump includes jumping from the first application to the second application; optionally, the first application includes an application that runs on a member terminal of the institution member; the second application includes a subprogram installed in a third-party application, and the third-party application can run independently on a member terminal of an institution member. The member terminal includes a terminal device of an institution member; the second platform includes a platform corresponding to the second application.

[0026] It should be noted that institutional members can conduct transactions based on resource quotas on the first platform and the second platform, that is, the first platform and the second platform are trading platforms for institutional members to conduct transactions based on resource quotas, and the first platform and the second platform may have their own resource quotas.

[0027] In actual applications, the institution can directly issue resource quotas to the first platform, and the institutional members of the institution can conduct transactions based on the resource quota, that is, the institutional members of the institution correspond to the same resource quota. The institution can also issue resource quotas to institutional members on the first platform, that is, the institutional members of the institution correspond to the same or different resource quotas; the first resource quota includes the first equity resource quota. The first resource quota can be the resource quota of the institutional members or the resource quota of the institution. For example, the first resource quota is the welfare resource quota of the institutional members, or the welfare resource quota of the institution, and the institutional members can consume the welfare resource quota of the institution.

[0028] In the actual application process, the organization can issue resources to the organization members. In this process, in order to smoothly update the resource quota, it can be detected whether the initial resource quota of the first platform is in a frozen state. When the initial resource quota is not in a frozen state, the initial resource quota is updated based on the issued resource quota, that is, before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the organization member in the first application based on the payment request, if the initial resource quota detected according to the resource issuance instruction submitted by the organization to which the organization member belongs is not in a frozen state, the initial resource quota is updated based on the issued resource quota carried by the resource issuance instruction to obtain the first resource quota. In an optional implementation manner provided by this embodiment, before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the organization member in the first application based on the payment request, the following operation is also performed:

[0029] According to the resource release instructions submitted by the institution to which the member of the institution belongs, checking whether the initial resource quota is in a frozen state;

[0030] If not, updating the initial resource quota based on the resource quota carried by the resource issuance instruction to obtain the first resource quota;

[0031] If so, no action is taken or the initial resource quota is rechecked at a preset time interval to see whether it is in a frozen state.

[0032] Among them, the initial resource quota refers to the resource quota of the first platform before the quota is updated based on the issued resource quota; the issued resource quota refers to the resource quota issued to the members of the institution.

[0033] Specifically, based on the resource issuance instruction submitted by the institution to which the institutional member belongs, it is detected whether the initial resource quota of the first platform is in a frozen state. If not, the initial resource quota of the first platform is updated based on the issuance resource quota carried by the resource issuance instruction to obtain the first resource quota.

[0034] In actual applications, the members of the organization can trade on the first platform based on the resource quota, and can also trade on the second platform based on the resource quota. Based on this, in an optional implementation provided by this embodiment, before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the member of the organization in the first application based on the payment request, the following operations are further performed:

[0035] Obtaining a transaction order submitted by the institution member through the first application;

[0036] The initial resource quota is deducted according to the transaction order to obtain the first resource quota.

[0037] Specifically, according to the order amount of the transaction order submitted by the institutional member through the first application, the initial resource quota of the first platform is deducted to obtain the first resource quota.

[0038] In specific implementation, the jump instruction for application jump submitted by the organization member based on the payment request in the first application is obtained, and the first resource quota of the first platform is frozen according to the jump instruction, so as to avoid the organization member from making payments based on the resource quota on the first platform and the second platform at the same time, and effectively manage the resource quota of multiple platforms. Specifically, the jump instruction for application jump submitted by the organization member based on the payment request in the first application can be obtained, the jump instruction is intercepted and processed, and the first resource quota of the first platform is frozen. After that, the first platform can configure a preset time period.

[0039] It should be noted that after the organization registers for services on the first platform, it can allocate resource quotas to the organization members on the first platform. The first platform configures the resource quotas of the organization members on the second platform through interface calls.

[0040] Step S104: synchronize the first resource quota to the second platform, and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing.

[0041] The first resource quota is frozen according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request. In this step, the first resource quota is synchronized to the second platform, and the second resource quota of the second platform is unfrozen, so as to update the second resource quota based on the first resource quota after unfreezing.

[0042] In specific implementation, in order to maintain real-time synchronization of the resource quotas of the first platform and the second platform, the first resource quota of the first platform can be synchronized to the second platform, and the second resource quota of the second platform can be unfrozen, so that the second resource quota can be updated based on the first resource quota after unfreezing. Optionally, the second resource quota is frozen after the previous payment processing based on the institution identification. Specifically, the first platform synchronizes the first resource quota of the first platform to the second platform, and calls the resource processing interface to unfreeze the second resource quota of the second platform, so that the second resource quota can be updated based on the first resource quota after unfreezing. After the first platform unfreezes the second resource quota of the second platform, the member terminal of the institution member jumps from the first application to the second application.

[0043] After receiving the synchronized first resource quota, the second platform can process the payment of the transaction order submitted by the institution member based on the institution identifier according to the first resource quota, calculate the remaining resource quota of the second platform, and mark the transaction data to obtain the transaction data. In an optional implementation manner provided by this embodiment, after receiving the synchronized first resource quota, the second platform performs the following operations:

[0044] Calling a payment interface to process payment for a transaction order submitted by the institution member based on the institution identification according to the first resource quota after the application is redirected;

[0045] The remaining resource amount is calculated according to the initial transaction data obtained through payment processing and the first resource amount, and the initial transaction data is marked based on the jump parameter of the application jump to obtain transaction data.

[0046] Among them, the organization identification includes an organization code, which refers to an identification code set by the organization for the payment of organization members, etc. The organization code can uniquely identify the organization. The organization code can exist in the form of identification codes such as QR code, bar code, and sound code. The organization code can be associated with the resource quota of the organization on the second platform or the resource quota of the organization members on the second platform. The organization members can use the organization code to make payments based on the resource quota of the second platform. In addition, the organization code can also be used for invoicing, reimbursement and other processing. Optionally, the transaction order is submitted after the organization identification displayed on the member terminal of the organization member is scanned.

[0047] Optionally, the jump parameter includes a transaction identifier assigned to the second platform. In actual applications, before jumping from the first application to the second application, the first platform may assign a transaction identifier to the second platform, and pass it through the jump parameter during the process of jumping from the first application to the second application.

[0048] Specifically, after the second platform receives the synchronized first resource quota, it updates the second resource quota of the second platform based on the first resource quota, calls the payment interface, and processes the payment of the transaction order submitted by the institution member based on the institution identification according to the first resource quota after the application jumps, deducts the first resource quota according to the transaction amount obtained from the payment processing to obtain the remaining resource quota, and marks the initial transaction data based on the transaction identification to obtain the transaction data.

[0049] Afterwards, the second platform stores the remaining resource quota, that is, updates the first resource quota of the second platform to the remaining resource quota, and returns a payment success result to the first platform.

[0050] In actual applications, the payment success result returned by the second platform may be lost. To address this, in order to synchronize the resource quotas of the first platform and the second platform in a timely manner and prevent the problem of overpayment by members of the organization on multiple platforms, an optional implementation method provided in this embodiment is to synchronize the first resource quota to the second platform and unfreeze the second resource quota of the second platform so as to update the second resource quota based on the first resource quota after unfreezing, and then perform the following operations:

[0051] If the payment success result is not detected within the preset time period, freezing the remaining resource amount through an interface call;

[0052] In case of freeze failure, retry the freeze operation according to the retry interval.

[0053] Optionally, the preset time period is configured after the first resource quota is frozen.

[0054] Specifically, if the successful payment result returned by the second platform is not detected within the preset time period, the remaining resource quota of the second platform is frozen through an interface call, and if the freezing fails, the remaining resource quota is frozen according to the retry time interval until the freezing is successful, and then the first resource quota is unfrozen and the quota update is performed.

[0055] Step S106: If a successful payment result is detected returned by the second platform, the remaining resource amount of the second platform is frozen through an interface call.

[0056] The above-mentioned first platform synchronizes the first resource quota to the second platform, and unfreezes the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. In this step, if a successful payment result returned by the second platform is detected, the remaining resource quota of the second platform is frozen through an interface call. If no successful payment result returned by the second platform is detected, no processing is performed.

[0057] In specific implementation, if a successful payment result is detected returned by the second platform, the remaining resource quota of the second platform is frozen through an interface call. If the freezing fails, the transaction of the representative organization member on the second platform has not been completed, and no processing is required at this time.

[0058] Optionally, the payment success result is returned by the second platform within a preset time period, and the payment success result carries the remaining resource amount; the preset time period is configured after the first resource amount is frozen, that is, the first platform configures the preset time period after freezing the first resource amount of the first platform as described above. Optionally, if the payment success result returned by the second platform is detected within the preset time period, the remaining resource amount of the second platform is frozen through an interface call.

[0059] On this basis, in order to improve the effectiveness and rationality of the preset time period, avoid affecting the next payment process of the institution members based on the second application, and improve the member experience, in an optional implementation manner provided in this embodiment, the preset time period is calculated in the following way:

[0060] Obtaining historical transaction duration and / or transaction preference data of the institution members on the second platform;

[0061] Calculating the preset time period according to the historical transaction duration and / or the transaction preference data;

[0062] Optionally, the transaction preference data includes the display duration of the transaction store type and / or institution logo.

[0063] Specifically, the process of calculating the preset time period based on the transaction preference data can be as follows: if the transaction store type is the first type, the preset time period is determined to be the first time period; if the transaction store type is the second type, the preset time period is determined to be the second time period; for example, the first type is a type where the transaction waiting time is greater than or equal to a time threshold, and the second type is a type where the transaction waiting time is less than a time threshold.

[0064] In actual applications, in order to improve the update accuracy of the first resource quota and improve the update comprehensiveness of the quota update, based on the operation performed after the second platform receives the synchronized first resource quota, the transaction data can be queried from the second platform based on the detection of the payment success result returned by the second platform. Optionally, the jump parameter includes a transaction identifier assigned to the second platform. In an optional implementation provided by this embodiment, if the payment success result returned by the second platform is detected, after the remaining resource quota of the second platform is frozen through the interface call, the following operation is also performed:

[0065] The transaction data is queried from the second platform by calling a data interface according to the transaction identifier.

[0066] The transaction identifier refers to a current transaction performed by an institution member on the second platform based on the institution identifier.

[0067] Step S108, unfreeze the first resource quota and perform quota update processing.

[0068] In the above case where a successful payment result is detected returned by the second platform, the remaining resource quota of the second platform is frozen through an interface call. In this step, the first resource quota of the first platform is unfrozen and the quota is updated.

[0069] In actual applications, on the one hand, the payment success result may be lost, and on the other hand, the remaining resource quota of the second platform carried in the payment success result may also be lost. In view of this, in order to improve the comprehensiveness and accuracy of the quota update processing, on the one hand, the first resource quota can be updated according to the remaining resource quota carried in the payment success result, and on the other hand, the first resource quota can be updated according to the transaction data of the institution members on the second platform. In this way, the flexibility of the quota update processing is improved. In an optional implementation manner provided in this embodiment, the quota update processing includes:

[0070] Calculate the amount of transaction resources based on the transaction data of the members of the institution on the second platform;

[0071] Updating the first resource quota according to the transaction resource amount;

[0072] or,

[0073] The first resource amount is updated according to the remaining resource amount carried in the payment success result.

[0074] In addition, in order to further improve the accuracy and comprehensiveness of the quota update processing, the quota update processing can be performed in combination with the transaction data and the remaining resource quota. Specifically, the quota update processing can also be achieved in the following way: if the transaction resource amount of the institutional member on the second platform is consistent with the remaining resource amount carried in the successful payment result, the first resource quota of the first platform is updated based on the remaining resource amount; if the transaction resource amount of the institutional member on the second platform is inconsistent with the remaining resource amount carried in the successful payment result, the first resource quota of the first platform is updated based on the transaction resource amount; optionally, the transaction resource quota is calculated based on the transaction data of the institutional member on the second platform.

[0075] In actual applications, members of an institution can conduct transactions on the second platform based on the institution identification, or they can conduct online transactions on the first platform. In an optional implementation provided by this embodiment, after unfreezing the first resource quota and performing the quota update process, the following operations are further performed:

[0076] Obtaining a transaction order submitted by the institution member through the first application;

[0077] The target resource quota obtained from the update process is deducted according to the transaction order.

[0078] In the actual application process, after the first platform unfreezes the first resource quota and performs quota update processing, the organization can also distribute resources. It should be noted that the organization can distribute resources on the first platform. In an optional implementation provided by this embodiment, after the first resource quota is unfrozen and the quota is updated, the following operations are further performed:

[0079] According to the resource release instruction submitted by the institution to which the member of the institution belongs, detecting whether the target resource quota obtained by the update process is in a frozen state;

[0080] If not, the target resource quota is updated based on the resource quota carried in the resource issuance instruction to obtain an updated resource quota.

[0081] It should be added that institutional members can conduct continuous online transactions on the first platform, and can also conduct continuous offline transactions on the second platform based on the institutional identity.

[0082] The following uses the application of a resource quota processing method provided in this embodiment in a rights and interests scenario as an example to further illustrate the resource quota processing method provided in this embodiment. Figure 2 , a resource quota processing method applied to equity scenarios specifically includes the following steps.

[0083] Step S202: Freeze the first resource quota according to a jump instruction for application jump submitted by the institution member in the equity application based on the payment request.

[0084] Step S204, synchronize the first resource quota to the institution code platform, and unfreeze the second resource quota of the institution code platform through an interface call.

[0085] Step S214: If a successful payment result is detected from the institution code platform within a preset time period, the remaining resource amount of the institution code platform is frozen through an interface call.

[0086] Step S216, calling the data interface to query transaction data from the institution code platform according to the jump parameters of the application jump.

[0087] Step S218, calculating the transaction resource amount according to the queried transaction data, and updating the first resource quota of the equity platform according to the transaction resource amount.

[0088] The implementation process of the resource quota processing method applied to the equity scenario provided above is executed by the first platform, and the implementation process of the resource quota processing method applied to the equity scenario provided in the following method embodiment is executed by the second platform. The two cooperate with each other during the execution process. Therefore, please refer to the corresponding content of the following method embodiment when reading the above implementation process. Correspondingly, please refer to the corresponding content of this method embodiment when reading the following implementation process of the resource quota processing method applied to the equity scenario.

[0089] Another resource quota processing method embodiment provided in this specification:

[0090] The resource quota processing method provided in this embodiment can be applied to the second platform, receiving the first resource quota synchronized by the jump instruction of the first platform based on the application jump, so as to update the second resource quota based on the first resource quota, and after jumping from the first application to the second application, performing payment processing on the transaction order submitted by the institution member based on the institution identification according to the first resource quota, and performing quota update processing on the first resource quota based on the payment processing result, thereby realizing synchronous processing of the resource quota of the first platform and the second platform, freezing the resource quota of the other platform until the payment is completed while the institution member is making payment on one platform, avoiding overpayment of the institution member, avoiding resource loss of the institution member and the institution, and realizing reasonable control of the resource quota.

[0091] Reference Figure 3 The resource quota processing method provided in this embodiment specifically includes steps S302 to S306.

[0092] It should be noted that the implementation process of the resource quota processing method provided in this embodiment can be executed by the second platform, and the implementation process of the resource quota processing method provided in the above method embodiment can be executed by the first platform. The two cooperate with each other during the execution process. Therefore, please refer to the corresponding content of the present method embodiment for reading the implementation process of the resource quota processing method provided in the above method embodiment. Correspondingly, please refer to the corresponding content of the above method embodiment for reading the implementation process of the resource quota processing method provided in this embodiment.

[0093] Step S302: receiving a first resource quota synchronized by a jump instruction of a first platform based on an application jump, so as to update a second resource quota based on the first resource quota.

[0094] In this embodiment, the organization includes various forms of organizations such as enterprises, institutions, social groups, etc. In addition, the organization includes not only the organization at the same level, but also the internal organization of the organization, such as the enterprise department or branch. The organization members include the organization staff and / or organization-related personnel.

[0095] The first application includes an application that runs independently on a member terminal of an institution member, or a subprogram or mini-program installed in a third-party application. The first platform includes a platform corresponding to the first application, and the first platform can be a platform for issuing resource quotas to the institution members of the institution. Optionally, the application jump includes jumping from the first application to the second application; optionally, the first application includes an application that runs on a member terminal of the institution member; the second application includes a subprogram installed in a third-party application, and the third-party application can run independently on a member terminal of an institution member. The member terminal includes a terminal device of an institution member; the second platform includes a platform corresponding to the second application.

[0096] It should be noted that institutional members can conduct transactions based on resource quotas on the first platform and the second platform, that is, the first platform and the second platform are trading platforms for institutional members to conduct transactions based on resource quotas, and the first platform and the second platform may have their own resource quotas.

[0097] In specific implementation, the first platform freezes the first resource quota according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request, and synchronizes the first resource quota to the second platform, and unfreezes the second resource quota of the second platform. Correspondingly, the second platform receives the first resource quota synchronized by the jump instruction of the first platform based on the application jump, so as to update the second resource quota based on the first resource quota. Optionally, the second resource quota was frozen after the previous payment processing based on the institution identification.

[0098] In an optional implementation manner provided by this embodiment, before synchronizing the first resource quota, the first platform further performs the following operation: freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request.

[0099] In actual applications, the institution can directly issue resource quotas to the first platform, and the institutional members of the institution can conduct transactions based on the resource quota, that is, the institutional members of the institution correspond to the same resource quota. The institution can also issue resource quotas to institutional members on the first platform, that is, the institutional members of the institution correspond to the same or different resource quotas; the first resource quota includes the first equity resource quota. The first resource quota can be the resource quota of the institutional members or the resource quota of the institution. For example, the first resource quota is the welfare resource quota of the institutional members, or the welfare resource quota of the institution, and the institutional members can consume the welfare resource quota of the institution.

[0100] In the actual application process, the organization can issue resources to the organization members. In this process, in order to smoothly update the resource quota, the first platform can detect whether the initial resource quota of the first platform is in a frozen state. If the initial resource quota is not in a frozen state, the initial resource quota is updated based on the issued resource quota, that is, before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the organization member in the first application based on the payment request, if the initial resource quota detected according to the resource issuance instruction submitted by the organization to which the organization member belongs is not in a frozen state, the initial resource quota is updated based on the issued resource quota carried by the resource issuance instruction to obtain the first resource quota. In an optional implementation manner provided by this embodiment, before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the organization member in the first application based on the payment request, the first platform also performs the following operations:

[0101] According to the resource release instructions submitted by the institution to which the member of the institution belongs, checking whether the initial resource quota is in a frozen state;

[0102] If not, updating the initial resource quota based on the resource quota carried by the resource issuance instruction to obtain the first resource quota;

[0103] If so, no action is taken or the initial resource quota is rechecked at a preset time interval to see whether it is in a frozen state.

[0104] Among them, the initial resource quota refers to the resource quota of the first platform before the quota is updated based on the issued resource quota; the issued resource quota refers to the resource quota issued to the members of the institution.

[0105] Specifically, based on the resource issuance instruction submitted by the institution to which the institutional member belongs, it is detected whether the initial resource quota of the first platform is in a frozen state. If not, the initial resource quota of the first platform is updated based on the issuance resource quota carried by the resource issuance instruction to obtain the first resource quota.

[0106] In actual applications, the members of the organization can trade on the first platform based on the resource quota on the one hand, and can also trade on the second platform based on the resource quota on the other hand. Based on this, in an optional implementation provided by this embodiment, the first platform further performs the following operations before freezing and executing the first resource quota according to the jump instruction for application jump submitted by the member of the organization in the first application based on the payment request:

[0107] Obtaining a transaction order submitted by the institution member through the first application;

[0108] The initial resource quota is deducted according to the transaction order to obtain the first resource quota.

[0109] Specifically, the first platform deducts the initial resource quota of the first platform according to the order amount of the transaction order submitted by the institution member through the first application to obtain the first resource quota.

[0110] In specific implementation, the first platform obtains the jump instruction for application jump submitted by the organization member in the first application based on the payment request, and freezes the first resource quota of the first platform according to the jump instruction, so as to avoid the organization member from making payments based on the resource quota on the first platform and the second platform at the same time, and effectively manages the resource quota of multiple platforms. Specifically, the first platform can obtain the jump instruction for application jump submitted by the organization member in the first application based on the payment request, intercept and process the jump instruction, and freeze the first resource quota of the first platform. After that, the first platform can configure a preset time period.

[0111] The above-mentioned first platform freezes the first resource quota according to the jump instruction for application jump submitted by the institution member in the first application based on the payment request. After that, the first platform synchronizes the first resource quota to the second platform and unfreezes the second resource quota of the second platform to update the second resource quota based on the first resource quota after unfreezing.

[0112] During specific implementation, in order to maintain real-time synchronization of the resource quotas of the first platform and the second platform, the first platform may synchronize the first resource quota of the first platform to the second platform, and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. Optionally, the second resource quota is frozen after the previous payment processing based on the institution identification. Specifically, the first platform synchronizes the first resource quota of the first platform to the second platform, and calls the resource processing interface to unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. Correspondingly, the second platform receives the first resource quota synchronized by the first platform, and updates the second resource quota based on the first resource quota. After the first platform synchronizes the first resource quota of the first platform to the second platform, the member terminal of the institution member jumps from the first application to the second application.

[0113] Step S304, calling the payment interface, and performing payment processing on the transaction order submitted by the institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application.

[0114] The above-mentioned first platform receives the first resource quota synchronized by the jump instruction of the first platform based on the application jump, so as to update the second resource quota based on the first resource quota. In this step, the payment interface is called, and after jumping from the first application to the second application, the transaction order submitted by the institutional member based on the institutional identifier is processed according to the first resource quota.

[0115] The organization identification described in this embodiment includes an organization code, which refers to an identification code set by the organization for the payment of organization members, etc. The organization code can uniquely identify the organization. The organization code can exist in the form of identification codes such as QR code, bar code, and sound code. The organization code can be associated with the resource quota of the organization on the second platform or the resource quota of the organization members on the second platform. The organization members can use the organization code to make payments based on the resource quota of the second platform. In addition, the organization code can also be used for invoicing, reimbursement and other processing. Optionally, the transaction order is submitted after the organization identification displayed on the member terminal of the organization member is scanned.

[0116] Step S306: updating the first resource quota based on the payment processing result.

[0117] The above-mentioned payment interface is called, and after jumping from the first application to the second application, payment processing is performed on the transaction order submitted by the institution member based on the institution identification according to the first resource quota. In this step, the first resource quota is updated based on the payment processing result.

[0118] In specific implementation, the first resource quota is deducted according to the initial transaction amount obtained by payment processing to obtain the remaining resource quota. After that, the second platform stores the remaining resource quota, that is, updates the first resource quota of the second platform to the remaining resource quota, and marks the initial transaction data based on the jump parameters of the application jump, obtains the transaction data, and returns the payment success result to the first platform.

[0119] In an optional implementation manner provided by this embodiment, the credit limit update process includes:

[0120] Calculating the remaining resource amount according to the initial transaction data in the payment processing result and the first resource amount;

[0121] The first resource quota is updated to the remaining resource quota.

[0122] In an optional implementation manner provided by this embodiment, after the quota update processing is performed on the first resource quota based on the payment processing result, the following operation is further performed:

[0123] The initial transaction data is marked based on the jump parameter of the application jump to obtain transaction data.

[0124] Optionally, the jump parameter includes a transaction identifier assigned to the second platform. In actual applications, before jumping from the first application to the second application, the first platform may assign a transaction identifier to the second platform, and pass it through the jump parameter during the process of jumping from the first application to the second application.

[0125] In an optional implementation manner provided by this embodiment, after the quota update processing is performed on the first resource quota based on the payment processing result, the following operation is further performed:

[0126] Return the payment success result to the first platform to freeze the remaining resource quota of the second platform through an interface call, unfreeze the first resource quota of the first platform and perform quota update processing.

[0127] In actual applications, the payment success result returned by the second platform may be lost. To address this, in order to synchronize the resource quotas of the first platform and the second platform in a timely manner and prevent the problem of overpayment by members of the organization on multiple platforms, in an optional implementation manner provided by this embodiment, the first platform synchronizes the first resource quota to the second platform and unfreezes the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing, and then performs the following operations:

[0128] If the payment success result is not detected within the preset time period, freezing the remaining resource amount through an interface call;

[0129] In case of freeze failure, retry the freeze operation according to the retry interval.

[0130] Optionally, the preset time period is configured after the first resource quota is frozen.

[0131] Specifically, if the first platform does not detect a successful payment result returned by the second platform within a preset time period, it freezes the remaining resource quota of the second platform through an interface call, and if the freezing fails, freezes the remaining resource quota according to the retry time interval until the freezing is successful, then unfreezes the first resource quota and performs quota update processing.

[0132] The above-mentioned first platform synchronizes the first resource quota to the second platform, and unfreezes the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing. After that, if the first platform detects the successful payment result returned by the second platform, it freezes the remaining resource quota of the second platform through an interface call. If the successful payment result returned by the second platform is not detected, no processing is required.

[0133] In specific implementation, if the first platform detects a successful payment result returned by the second platform, it freezes the remaining resource quota of the second platform through an interface call. If the freezing fails, the transaction of the representative organization members on the second platform has not been completed, and no processing is required at this time.

[0134] Optionally, the payment success result is returned by the second platform within a preset time period, and the payment success result carries the remaining resource amount; the preset time period is configured after the first resource amount is frozen, that is, the first platform configures the preset time period after freezing the first resource amount of the first platform as described above. Optionally, if the payment success result returned by the second platform is detected within the preset time period, the remaining resource amount of the second platform is frozen through an interface call.

[0135] On this basis, in order to improve the effectiveness and rationality of the preset time period, avoid affecting the next payment process of the institution members based on the second application, and improve the member experience, in an optional implementation manner provided in this embodiment, the preset time period is calculated in the following way:

[0136] Obtaining historical transaction duration and / or transaction preference data of the institution members on the second platform;

[0137] Calculating the preset time period according to the historical transaction duration and / or the transaction preference data;

[0138] Optionally, the transaction preference data includes the display duration of the transaction store type and / or institution logo.

[0139] Specifically, the process of calculating the preset time period based on the transaction preference data can be as follows: if the transaction store type is the first type, the preset time period is determined to be the first time period; if the transaction store type is the second type, the preset time period is determined to be the second time period; for example, the first type is a type where the transaction waiting time is greater than or equal to a time threshold, and the second type is a type where the transaction waiting time is less than a time threshold.

[0140] If the first platform detects a successful payment result returned by the second platform, it freezes the remaining resource quota of the second platform through an interface call. After that, the first platform unfreezes the first resource quota and performs quota update processing.

[0141] In actual applications, in order to improve the update accuracy of the first resource quota and improve the update comprehensiveness of the quota update, based on the operation performed after the second platform receives the synchronized first resource quota, the transaction data can be queried from the second platform based on the detection of the payment success result returned by the second platform. Optionally, the jump parameter includes a transaction identifier assigned to the second platform. In an optional implementation manner provided by this embodiment, if the first platform detects the payment success result returned by the second platform, after freezing the remaining resource quota of the second platform through an interface call, the following operation is also performed:

[0142] The transaction data is queried from the second platform by calling a data interface according to the transaction identifier.

[0143] The transaction identifier refers to a current transaction performed by an institution member on the second platform based on the institution identifier.

[0144] In actual applications, on the one hand, the payment success result may be lost, and on the other hand, the remaining resource quota of the second platform carried in the payment success result may also be lost. In view of this, in order to improve the comprehensiveness and accuracy of the quota update processing, on the one hand, the first platform can update the first resource quota according to the remaining resource quota carried in the payment success result, and on the other hand, the first platform can update the first resource quota according to the transaction data of the institution members on the second platform, thereby improving the flexibility of the quota update processing. In an optional implementation manner provided in this embodiment, the above-mentioned first platform performs the quota update processing in the following manner:

[0145] Calculate the amount of transaction resources based on the transaction data of the members of the institution on the second platform;

[0146] Updating the first resource quota according to the transaction resource amount;

[0147] or,

[0148] The first resource amount is updated according to the remaining resource amount carried in the payment success result.

[0149] In addition, in order to further improve the accuracy and comprehensiveness of the quota update processing, the first platform can perform quota update processing on two levels: transaction data and remaining resource quota. Specifically, the first platform performs quota update processing in the following manner: if the transaction resource amount of the institutional member on the second platform is consistent with the remaining resource amount carried in the successful payment result, the first resource quota of the first platform is updated based on the remaining resource amount; if the transaction resource amount of the institutional member on the second platform is inconsistent with the remaining resource amount carried in the successful payment result, the first resource quota of the first platform is updated based on the transaction resource amount; optionally, the transaction resource amount is calculated based on the transaction data of the institutional member on the second platform.

[0150] In actual applications, members of an institution may conduct transactions on the second platform based on the institution identifier, or may conduct online transactions on the first platform. In an optional implementation provided by this embodiment, after unfreezing the first resource quota and performing quota update processing, the first platform further performs the following operations:

[0151] Obtaining a transaction order submitted by the institution member through the first application;

[0152] The target resource quota obtained from the update process is deducted according to the transaction order.

[0153] In the actual application process, after the first platform unfreezes the first resource quota and performs quota update processing, the organization can also distribute resources. It should be noted that the organization can distribute resources on the first platform. In an optional implementation provided by this embodiment, after the first platform unfreezes the first resource quota and performs quota update processing, it also performs the following operations:

[0154] According to the resource release instruction submitted by the institution to which the member of the institution belongs, detecting whether the target resource quota obtained by the update process is in a frozen state;

[0155] If not, the target resource quota is updated based on the resource quota carried in the resource issuance instruction to obtain an updated resource quota.

[0156] The following uses the application of a resource quota processing method provided in this embodiment in a rights and interests scenario as an example to further illustrate the resource quota processing method provided in this embodiment. Figure 2 , a resource quota processing method applied to equity scenarios specifically includes the following steps.

[0157] Step S206: receiving the first resource quota synchronized by the equity platform based on the jump instruction of the application jump, and updating the second resource quota based on the first resource quota.

[0158] Step S208, calling the payment interface, after jumping from the equity application to the institution code application, performing payment processing on the transaction order submitted by the institution member based on the institution code according to the first resource quota.

[0159] Step S210, calculating the remaining resource quota according to the initial transaction data obtained by the payment processing and the first resource quota, and marking the initial transaction data based on the jump parameter of the application jump to obtain transaction data.

[0160] Step S212, returning the payment success result to the equity platform.

[0161] An embodiment of a resource quota processing device provided in this specification is as follows:

[0162] In the above-mentioned embodiment, a resource quota processing method applied to a first platform is provided, and correspondingly, a resource quota processing device running on the first platform is also provided, which is described below with reference to the accompanying drawings.

[0163] Reference Figure 4 , which shows a schematic diagram of a resource quota processing device provided in this embodiment.

[0164] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0165] This embodiment provides a resource quota processing device, which runs on a first platform and includes:

[0166] The first resource quota freezing module 402 is configured to freeze the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request;

[0167] The resource quota synchronization module 404 is configured to synchronize the first resource quota to the second platform and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing;

[0168] The remaining resource quota freezing module 406 is configured to freeze the remaining resource quota of the second platform through an interface call if a successful payment result returned by the second platform is detected;

[0169] The first quota updating module 408 is configured to unfreeze the first resource quota and perform quota updating processing.

[0170] Another resource quota processing device embodiment provided in this specification is as follows:

[0171] In the above-mentioned embodiment, a resource quota processing method applied to the second platform is provided, and correspondingly, a resource quota processing device running on the second platform is also provided, which is described below with reference to the accompanying drawings.

[0172] Reference Figure 5 , which shows a schematic diagram of a resource quota processing device provided in this embodiment.

[0173] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0174] This embodiment provides a resource quota processing device, which runs on a second platform and includes:

[0175] The resource quota receiving module 502 is configured to receive a first resource quota synchronized by a jump instruction of the first platform based on the application jump, and update a second resource quota based on the first resource quota; the second resource quota is frozen after the previous payment processing based on the institution identification;

[0176] The payment processing module 504 is configured to call the payment interface and perform payment processing on the transaction order submitted by the institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application;

[0177] The second quota updating module 506 is configured to perform quota updating processing on the first resource quota based on the payment processing result.

[0178] An embodiment of a resource quota processing device provided in this specification is as follows:

[0179] Corresponding to the resource quota processing method applied to the first platform described above, based on the same technical concept, one or more embodiments of this specification also provide a resource quota processing device, which is used to execute the resource quota processing method provided above. Figure 6 A schematic diagram of the structure of a resource quota processing device provided in one or more embodiments of this specification.

[0180] This embodiment provides a resource quota processing device, including:

[0181] like Figure 6As shown, the resource quota processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and the memory 602 may store one or more storage applications or data. Among them, the memory 602 may be a short-term storage or a persistent storage. The application stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the resource quota processing device. Furthermore, the processor 601 may be configured to communicate with the memory 602, and execute a series of computer executable instructions in the memory 602 on the resource quota processing device. The resource quota processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, one or more keyboards 606, etc.

[0182] In a specific embodiment, the resource quota processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the resource quota processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0183] Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request;

[0184] Synchronizing the first resource quota to the second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing;

[0185] If a successful payment result is detected from the second platform, the remaining resource quota of the second platform is frozen through an interface call;

[0186] The first resource quota is unfrozen and the quota is updated.

[0187] Another resource quota processing device embodiment provided in this specification is as follows:

[0188] Corresponding to the resource quota processing method applied to the second platform described above, based on the same technical concept, one or more embodiments of this specification also provide a resource quota processing device, which is used to execute the resource quota processing method provided above. Figure 7 A schematic diagram of the structure of a resource quota processing device provided in one or more embodiments of this specification.

[0189] This embodiment provides a resource quota processing device, including:

[0190] like Figure 7 As shown, the resource quota processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 may be a temporary storage or a permanent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the resource quota processing device. Furthermore, the processor 701 may be configured to communicate with the memory 702, and execute a series of computer executable instructions in the memory 702 on the resource quota processing device. The resource quota processing device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input / output interfaces 705, one or more keyboards 706, etc.

[0191] In a specific embodiment, the resource quota processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions in the resource quota processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:

[0192] Receiving a first resource quota synchronized by a jump instruction of a first platform based on an application jump, and updating a second resource quota based on the first resource quota; the second resource quota is frozen after a previous payment process based on an institution identifier;

[0193] Calling a payment interface, and performing payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application;

[0194] The first resource quota is updated based on the payment processing result.

[0195] An embodiment of a storage medium provided in this specification is as follows:

[0196] Corresponding to the resource quota processing method applied to the first platform described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.

[0197] The storage medium provided in this embodiment is used to store computer executable instructions, and the computer executable instructions implement the following process when executed by a processor:

[0198] Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request;

[0199] Synchronizing the first resource quota to the second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing;

[0200] If a successful payment result is detected from the second platform, the remaining resource quota of the second platform is frozen through an interface call;

[0201] The first resource quota is unfrozen and the quota is updated.

[0202] It should be noted that the embodiment of a storage medium in this specification and the embodiment of a resource quota processing method applied to a first platform in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0203] Another storage medium embodiment provided in this specification is as follows:

[0204] Corresponding to the resource quota processing method applied to the second platform described above, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.

[0205] The storage medium provided in this embodiment is used to store computer executable instructions, and the computer executable instructions implement the following process when executed by a processor:

[0206] Receiving a first resource quota synchronized by a jump instruction of a first platform based on an application jump, and updating a second resource quota based on the first resource quota; the second resource quota is frozen after a previous payment process based on an institution identifier;

[0207] Calling a payment interface, and performing payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application;

[0208] The first resource quota is updated based on the payment processing result.

[0209] It should be noted that the embodiment of another storage medium in this specification and the embodiment of a resource quota processing method applied to a second platform in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0210] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0211] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0212] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0213] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0214] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0215] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0216] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0217] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0218] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0219] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0220] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0221] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0222] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0223] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0224] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0225] The above description is only an embodiment of this document and is not intended to limit this document. For those skilled in the art, this document may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this document should be included in the scope of the claims of this document.

Claims

1. A resource quota processing method, applied to the first platform, include: Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request, wherein the application jump includes jumping from the first application to a second application; Synchronizing the first resource quota to the second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing; If a successful payment result is detected from the second platform, the remaining resource quota of the second platform is frozen through an interface call; Unfreezing the first resource quota and performing quota update processing; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: Calculate the transaction resource amount based on the transaction data of the institution members on the second platform, and update the first resource amount based on the transaction resource amount; or update the first resource amount based on the remaining resource amount carried in the successful payment result.

2. According to the resource quota processing method of claim 1, the first application includes an application program running on a member terminal of the institution member; the second application includes a subroutine installed in a third-party application.

3. According to the resource quota processing method of claim 1, after the second platform receives the synchronized first resource quota, it performs the following operations: Calling a payment interface to process payment for a transaction order submitted by the institution member based on the institution identification according to the first resource quota after the application is redirected; The remaining resource amount is calculated according to the initial transaction data obtained through payment processing and the first resource amount, and the initial transaction data is marked based on the jump parameter of the application jump to obtain transaction data.

4. According to the resource quota processing method of claim 3, the jump parameter includes a transaction identifier allocated to the second platform; Correspondingly, if the payment success result returned by the second platform is detected, after the step of freezing the remaining resource quota of the second platform through the interface call is executed, and before the step of unfreezing the first resource quota and updating the quota is executed, include: The transaction data is queried from the second platform by calling a data interface according to the transaction identifier.

5. The resource quota processing method according to claim 1, after the first resource quota is unfrozen and the quota is updated, include: Obtaining a transaction order submitted by the institution member through the first application; The target resource quota obtained from the update process is deducted according to the transaction order.

6. The resource quota processing method according to claim 1, wherein before executing the step of freezing the first resource quota according to the jump instruction for application jump submitted by the first application based on the payment request by the institution member, include: According to the resource release instructions submitted by the institution to which the member of the institution belongs, checking whether the initial resource quota is in a frozen state; If not, the initial resource quota is updated based on the resource quota carried in the resource issuance instruction to obtain the first resource quota.

7. The resource quota processing method according to claim 1, wherein the payment success result is returned by the second platform within a preset time period; The preset time period is configured after the first resource quota is frozen.

8. The resource quota processing method according to claim 7, wherein the preset time period is calculated in the following manner: Obtaining historical transaction duration and / or transaction preference data of the institution members on the second platform; Calculating the preset time period according to the historical transaction duration and / or the transaction preference data; in, The transaction preference data includes transaction store type.

9. The resource quota processing method according to claim 1, further comprising: include: If the payment success result is not detected within the preset time period, freezing the remaining resource amount through an interface call; In case of freeze failure, retry the freeze operation according to the retry interval.

10. A resource quota processing method, applied to a second platform, include: Receiving a first resource quota synchronized by a jump instruction based on an application jump of the first platform, and updating a second resource quota based on the first resource quota; The application jump includes jumping from a first application to a second application, and the second resource quota is frozen after the previous payment processing based on the institution identification; Calling a payment interface, and performing payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application; Performing quota updating processing on the first resource quota based on the payment processing result; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: The remaining resource amount is calculated according to the initial transaction data in the payment processing result and the first resource amount, and the first resource amount is updated to the remaining resource amount.

11. The resource quota processing method according to claim 10, wherein the first application comprises an application program running on a member terminal of the member of the institution; The second application includes a subprogram installed in a third-party application.

12. The resource quota processing method according to claim 10, after the step of updating the first resource quota based on the payment processing result is executed, include: The initial transaction data is marked based on the jump parameter of the application jump to obtain transaction data.

13. The resource quota processing method according to claim 10, wherein the first platform performs the following operations before synchronizing the first resource quota: Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request; Correspondingly, after the step of updating the first resource quota based on the payment processing result is executed, include: Return the payment success result to the first platform to freeze the remaining resource quota of the second platform through an interface call, unfreeze the first resource quota of the first platform and perform quota update processing.

14. A resource quota processing device, running on a first platform, include: A first resource quota freezing module is configured to freeze the first resource quota according to a jump instruction for application jump submitted by an institution member in the first application based on a payment request, wherein the application jump includes jumping from the first application to a second application; A first resource quota synchronization module is configured to synchronize the first resource quota to the second platform and unfreeze the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing; A remaining resource quota freezing module is configured to freeze the remaining resource quota of the second platform through an interface call if a successful payment result returned by the second platform is detected; A first quota updating module is configured to unfreeze the first resource quota and perform quota updating processing; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The first credit limit updating module performs credit limit updating processing, including: Calculate the transaction resource amount based on the transaction data of the institution members on the second platform, and update the first resource amount based on the transaction resource amount; or update the first resource amount based on the remaining resource amount carried in the successful payment result.

15. A resource quota processing device, running on a second platform, include: A first resource quota receiving module is configured to receive a first resource quota synchronized by a jump instruction of the first platform based on an application jump, and update a second resource quota based on the first resource quota; the application jump includes jumping from the first application to the second application, and the second resource quota is frozen after the previous payment processing based on the institution identifier; A payment processing module, configured to call a payment interface, and perform payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application; A second quota updating module is configured to perform quota updating processing on the first resource quota based on the payment processing result; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The second credit limit updating module performs credit limit updating processing, including: The remaining resource amount is calculated according to the initial transaction data in the payment processing result and the first resource amount, and the first resource amount is updated to the remaining resource amount.

16. A resource quota processing device, applied to a first platform, include: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request, wherein the application jump includes jumping from the first application to a second application; Synchronizing the first resource quota to the second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing; If a successful payment result is detected from the second platform, the remaining resource quota of the second platform is frozen through an interface call; Unfreezing the first resource quota and performing quota update processing; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: Calculate the transaction resource amount based on the transaction data of the institution members on the second platform, and update the first resource amount based on the transaction resource amount; or update the first resource amount based on the remaining resource amount carried in the successful payment result.

17. A resource quota processing device, applied to a second platform, include: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Receiving a first resource quota synchronized by a jump instruction based on an application jump of the first platform, and updating a second resource quota based on the first resource quota; the application jump includes jumping from the first application to the second application, and the second resource quota is frozen after a previous payment processing based on an institution identifier; Calling a payment interface, and performing payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application; Performing quota updating processing on the first resource quota based on the payment processing result; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: The remaining resource amount is calculated according to the initial transaction data in the payment processing result and the first resource amount, and the first resource amount is updated to the remaining resource amount.

18. A storage medium for storing computer executable instructions, wherein the computer executable instructions are applied to a first platform and implement the following process when executed by a processor: Freezing the first resource quota according to a jump instruction for application jump submitted by the institution member in the first application based on the payment request, wherein the application jump includes jumping from the first application to a second application; Synchronizing the first resource quota to the second platform, and unfreezing the second resource quota of the second platform, so as to update the second resource quota based on the first resource quota after unfreezing; If a successful payment result is detected from the second platform, the remaining resource quota of the second platform is frozen through an interface call; Unfreezing the first resource quota and performing quota update processing; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: Calculate the transaction resource amount based on the transaction data of the institution members on the second platform, and update the first resource amount based on the transaction resource amount; or update the first resource amount based on the remaining resource amount carried in the successful payment result.

19. A storage medium for storing computer executable instructions, wherein the computer executable instructions are applied to a second platform and implement the following process when executed by a processor: Receiving a first resource quota synchronized by a jump instruction based on an application jump of the first platform, and updating a second resource quota based on the first resource quota; the application jump includes jumping from the first application to the second application, and the second resource quota is frozen after a previous payment processing based on an institution identifier; Calling a payment interface, and performing payment processing on a transaction order submitted by an institution member based on the institution identifier according to the first resource quota after jumping from the first application to the second application; Performing quota updating processing on the first resource quota based on the payment processing result; Wherein, the first platform is used for online transactions, and the second platform is used for offline transactions; The credit limit update process includes: The remaining resource amount is calculated according to the initial transaction data in the payment processing result and the first resource amount, and the first resource amount is updated to the remaining resource amount.