Resource processing method and device, equipment, medium and program product
By introducing the multi-account model, the problem of insufficient virtual resource processing capabilities in the existing technology is solved, the safe circulation and efficient management of virtual resources are realized, the clearing and settlement efficiency is improved, and the disaster recovery capability is enhanced to meet the needs of diversified businesses. need.
Patent Information
- Application Number
- CN202410870273.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing clearing and settlement system handles virtual resources (such as funds), it can only handle the closed-loop account system within the institution, and has limited processing capabilities for the external account system, resulting in limited service types and difficulty in meeting diversified business needs, and The complex system architecture results in low processing efficiency and weak disaster recovery capabilities.
By introducing a multi-account model, resource processing tasks are generated, the total resource amount of the user's main account and sub-account is changed, and funds are circulated and managed through sub-accounts to achieve safe circulation and efficient management of virtual resources and improve the efficiency of clearing and settlement. efficiency and enhance disaster recovery capabilities.
It realizes the safe circulation and efficient management of virtual resources, improves the efficiency of clearing and settlement, enhances disaster recovery capabilities in the resource processing process, meets diversified business needs, and provides convenient financial solutions.
Smart Images

Figure CN118735684A_ABST
Abstract
Description
Technical Field
[0001] Example embodiments of the present disclosure generally relate to the computer field, and more particularly, to a resource processing method, apparatus, device, computer-readable medium, and computer program product. Background Art
[0002] With the continuous development of Internet financial services, a variety of network service products for clearing and / or settlement have emerged to provide users with suitable online financial services. Clearing and settlement refers to the process of calculating and allocating account resources (such as funds) of all parties after the completion of a financial transaction. Clearing and settlement plays a vital role in the financial market, so it is necessary to ensure the security, efficiency and accuracy of transactions. Summary of the invention
[0003] In the first aspect of the present disclosure, a resource processing method is provided. The method includes: in response to determining that a user selects a target resource change service from a plurality of resource change services, generating a resource processing task, the resource processing task indicating the virtual resource amount associated with the target resource change service; based on the resource processing task, changing the first total resource amount of the user's main account, or the second total resource amount of the user's sub-account, the main account is used to present the first total resource amount to the user, and the sub-account is associated with the custodian of the user's second total resource amount; changing the total resource amount of at least one sub-account associated with the resource processing task, at least one sub-account corresponding to the sub-account; and completing the resource processing task by performing one of the following: in response to the change of the first total resource amount and the total resource amount of at least one sub-account, changing the second total resource amount of the sub-account; or in response to the change of the second total resource amount and the total resource amount of at least one sub-account, changing the first total resource amount of the main account.
[0004] In a second aspect of the present disclosure, a resource processing device is provided. The device includes: a generation module, configured to generate a resource processing task in response to determining that a user selects a target resource change service from a plurality of resource change services, the resource processing task indicating the amount of virtual resources associated with the resource change service; a first change module, configured to change the first total amount of resources of the user's main account or the second total amount of resources of the user's sub-account based on the resource processing task, the main account is used to present the first total amount of resources to the user, and the sub-account is associated with the custodian of the second total amount of resources of the user; a second change module, configured to change the total amount of resources of at least one sub-account associated with the resource processing task, at least one sub-account corresponding to the sub-account; and a completion module, configured to complete the resource processing task by executing one of the following: in response to the change of the first total amount of resources and the total amount of resources of at least one sub-account, changing the second total amount of resources of the sub-account; or in response to the change of the second total amount of resources and the total amount of resources of at least one sub-account, changing the first total amount of resources of the main account.
[0005] In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, and when the instructions are executed by the at least one processing unit, the electronic device executes the method of the first aspect of the present disclosure.
[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to perform the method according to the first aspect of the present disclosure.
[0007] In a fifth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored in a computer storage medium and comprises computer executable instructions, which, when executed by a device, cause the device to perform the method of the first aspect.
[0008] It should be understood that the contents described in the summary of the invention are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In the following, in conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented;
[0011] Figure 2 A flowchart showing a resource processing process according to some embodiments of the present disclosure is shown;
[0012] Figure 3 An example block diagram illustrating an architecture for resource processing according to some embodiments of the present disclosure;
[0013] Figure 4 A schematic diagram showing a multi-account model for resource processing according to some embodiments of the present disclosure is shown;
[0014] Figure 5 A flowchart showing a cloud account opening process in resource processing according to some embodiments of the present disclosure is shown;
[0015] Figure 6 A flowchart showing a cloud account upgrade process in resource processing according to some embodiments of the present disclosure is shown;
[0016] Figure 7 A flowchart showing a settlement and automatic cash withdrawal process in resource processing according to some embodiments of the present disclosure is shown;
[0017] Figure 8 A flow chart showing a balance deduction and fund transfer process in resource processing according to some embodiments of the present disclosure is shown;
[0018] Fig. 9 A flowchart showing a cloud account cash withdrawal process in resource processing according to some embodiments of the present disclosure is shown;
[0019] Fig.10 A flow chart showing a cloud account withdrawal failure / refund process in resource processing according to some embodiments of the present disclosure is shown;
[0020] Fig.11 A block diagram showing a resource processing device according to some embodiments of the present disclosure; and
[0021] Fig.12 A block diagram of an electronic device is shown in which one or more embodiments of the present disclosure may be implemented. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below.
[0024] Herein, unless explicitly stated, executing a step “in response to A” does not mean executing the step immediately after “A” but may include one or more intermediate steps.
[0025] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition, use, storage or deletion of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0026] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scopes of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to relevant users and their authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. The relevant users may include any type of right holders, such as individuals, enterprises, and groups.
[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the relevant user to clearly prompt the relevant user that the operation requested to be performed will require obtaining and using the information of the relevant user, so that the relevant user can independently choose whether to provide information to software or hardware such as an electronic device, application, server or storage medium that executes the operation of the technical solution of the present disclosure based on the prompt message.
[0028] As an optional but non-limiting implementation, in response to receiving an active request from a relevant user, a prompt message is sent to the relevant user, for example, in the form of a pop-up window, in which the prompt message may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide information to the electronic device.
[0029] It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not limit the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure. The activation of the digital assistant related functions, the acquired data, the processing and storage of the data, etc. in the embodiment of the present disclosure shall obtain the prior authorization of the user and other rights holders associated with the user, and shall comply with the relevant laws and regulations and the agreement rules between the rights holders.
[0030] Figure 1 A schematic diagram of an example environment 100 in which an embodiment of the present disclosure can be implemented is shown. In the example environment 100, a target application 120 is installed in a terminal device 110. In some embodiments, the target application 120 can be an application that can provide financial-related services. For example, the target application 120 can be an application for online shopping, or an application that specifically provides financial services, and so on. It should be understood that the target application 120 can also be any other appropriate application, including at least providing financial services. In some embodiments, a user 140 can interact with the target application 120 via the terminal device 110 and / or an attached device of the terminal device 110.
[0031] In some embodiments, the target application 120 may include multiple resource change services. The multiple resource change services may be different fund change services, such as a withdrawal service, a deduction service, etc. Through the interaction between the user 140 and the terminal device 110, the target application 120 may receive the user 140 selecting the target resource change service 125 from the multiple resource change services.
[0032] In some embodiments, the server device 130 communicates with the terminal device 110 to implement the provision of services for the target application 120. Further, the server device 130 can implement the provision of services for the target resource change service 125.
[0033] In some embodiments, the terminal device 110 can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication systems (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device 110 can also support any type of interface for the user (such as "wearable" circuits, etc.).
[0034] The server-side device may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server-side device may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The server-side device may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.
[0035] It should be understood that the structure and functionality of environment 100 are described for exemplary purposes only and does not imply any limitation on the scope of the present disclosure.
[0036] As briefly mentioned above, the current clearing and settlement system can only handle the closed-loop account system within the institution when providing users with clearing and settlement services for virtual resources (such as funds), and has limited processing capabilities for external account systems. As a result, the types of services provided by the clearing and settlement system are limited, making it difficult to meet diverse business needs. In addition, some systems are old, and when an abnormality occurs at a certain node, it is difficult to detect and continue processing in a timely manner, that is, the disaster recovery capability is weak. In addition, the complex system architecture leads to slow clearing and settlement speeds, resulting in low processing efficiency.
[0037] According to an embodiment of the present disclosure, an improved resource processing scheme is proposed. According to the scheme of the embodiment of the present disclosure, in response to determining that a user selects a target resource change business from multiple resource change businesses, a resource processing task is generated, and the resource processing task indicates the virtual resource amount associated with the target resource change business. Then, based on the resource processing task, the first total resource amount of the user's main account or the second total resource amount of the user's sub-account is changed, the main account is used to present the first total resource amount to the user, and the sub-account is associated with the custodian of the user's second total resource amount. Next, the total resource amount of at least one sub-account associated with the resource processing task is changed, and at least one sub-account corresponds to the sub-account. Then, the resource processing task is completed by executing one of the following: in response to the change of the first total resource amount and the total resource amount of at least one sub-account, the second total resource amount of the sub-account is changed; or in response to the change of the second total resource amount and the total resource amount of at least one sub-account, the first total resource amount of the main account is changed. Thus, in this way, the safe circulation and efficient management of virtual resources can be effectively realized, the efficiency of clearing and settlement can be improved, and the disaster recovery capability in the resource processing process can be enhanced.
[0038] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.
[0039] Figure 2 FIG. 2 is a flowchart of a resource processing process 200 according to some embodiments of the present disclosure. The process 200 may be implemented in Figure 1 In the server device 130. For the convenience of discussion, reference will be made to Figure 1 The process 200 is described with reference to the environment 100 of FIG.
[0040] In block 210, if it is determined that the user 140 selects the target resource change service 125 from the plurality of resource change services, the server device 130 may generate a resource processing task. The resource processing task indicates the amount of virtual resources associated with the target resource change service 125. Figure 1Through the interaction between the user 140 and the terminal device 110, the terminal device 110 can receive the user 140 selecting the target resource change service 125 from multiple resource change services of the target application 120. Exemplarily, the terminal device 110 can send a message that the target resource change service 125 is selected to the server device 130. In some embodiments, the user 140 can be a merchant.
[0041] Figure 3 FIG. 3 is a block diagram showing an example of an architecture 300 for resource processing according to some embodiments of the present disclosure. The architecture 300 may be implemented in Figure 1 The server device 130 of the embodiment of the present invention can be shown as the architecture adopted by the steps of the process 200. The transaction layer 330 is shown in the architecture 300, which corresponds to multiple resource change services, including but not limited to recharge, withdrawal, balance payment, split account payment, payment on behalf of others, refund, transfer, etc. The server device 130 can generate a resource processing task based on the target resource change service 125 for processing virtual resource quantities such as funds.
[0042] Continue to refer Figure 2 In block 220, based on the resource processing task, the server device 130 may change the first total resource amount of the primary account of the user 140 or the second total resource amount of the secondary account of the user 140. The primary account is used to present the first total resource amount to the user 140, and the secondary account is associated with the custodian of the second total resource amount of the user 140. The custodian may be a bank institution.
[0043] Figure 4 FIG. 4 is a schematic diagram of a multi-account model 400 for resource processing according to some embodiments of the present disclosure. The multi-account model 400 may be implemented in Figure 1 The multi-account model 400 may be used in the steps of the process 200. The other accounts in the multi-account model 400 except the parent account 410 (sometimes referred to herein as the "master account") may be presented in the architecture 300. In the multi-account model 400, the parent account 410 may be set to Figure 1 The parent account 410 is also used to manage and monitor the balance changes of its subsidiary accounts. That is, the balance changes between subsidiary accounts are transactionally synchronized to the parent account 410. In the financial system, the relationship between the parent account 410 and its subsidiary accounts can help achieve centralized management and control of funds. Therefore, if the subsidiary account
[0044] The other accounts in the multi-account model 400 except the parent account 410 may be set in the server device 130. For example, the cloud account 420 (sometimes also referred to as a "sub-account" in this document) may be set in the cloud environment. Figure 3, the accounts in the account layer 350 in the architecture 300 are all accounts that can be set in the server device 130. The cloud account 420 is an online account that corresponds one-to-one with the virtual account (also called virtual public account) of the bank (i.e., the custodian institution). The cloud account 420 can provide enterprises with more efficient financial management. Through the interconnected electronic banking platform, enterprises can implement various businesses. Figure 3 The business layer 320 of the middle architecture 300 includes services such as deduction, inquiry, and account disposal, which may include online payment and collection of funds, inquiry of account balances, and processing of electronic bills. This type of virtual account, such as cloud account 420, does not rely on physical bank branches, and provides a more flexible and convenient way of fund management, which is suitable for various scenarios such as daily operations and trade settlement of enterprises.
[0045] Still reference Figure 2 In block 230, the server device 130 may change the total resource amount of at least one sub-account associated with the resource processing task, where the at least one sub-account corresponds to the secondary account. Figure 4 As shown, at least one sub-account may include but is not limited to a pending settlement account 430 (sometimes referred to herein as a "resource settlement account"), a resource operation account 440, and a cloud account withdrawal intermediate account 450 (sometimes referred to herein as a "resource extraction intermediate account"). Each resource processing task may be associated with one or more sub-accounts. Figure 3 As shown, the presentation layer 310 in the architecture 300 may include a three-account wallet 312 and a one-account wallet 314. Exemplarily, the three-account wallet 312 may include a pending settlement account 430, a resource operation account 440, and a cloud account withdrawal intermediary account 450. The one-account wallet 314 may include a cloud account 420.
[0046] In block 240, the server device 130 may complete the resource processing task by performing one of the following: if the first total resource amount and the total resource amount of at least one sub-account change, the server device 130 may change the second total resource amount of the sub-account; or if the second total resource amount and the total resource amount of at least one sub-account change, the server device 130 may change the first total resource amount of the main account. Figure 4 In the multi-account model 400 , all types of transactions (such as automatic withdrawals, transfers, fund transfers, payments, etc.) can be settled in the cloud account 420 .
[0047] Therefore, the solution of the present disclosure can meet the needs of various business scenarios by introducing the multi-account model 400. By using the optimized clearing and settlement system architecture 300, visual monitoring can be provided, thereby improving the high availability and high concurrent processing capabilities of the system.
[0048] In some embodiments, if a request for opening a sub-account is received from the user 140 , the server device 130 may sequentially open a sub-account and a resource extraction intermediate account (ie, a cloud account withdrawal intermediate account 450 ) for the user 140 . Figure 5 A flow chart of a cloud account opening process 500 in resource processing according to some embodiments of the present disclosure is shown. The process 500 may specifically include the following processes:
[0049] a) When the merchant logs in to the enterprise station system 510, the enterprise station system 510 may pop up an agreement to upgrade the cloud account 420. After the merchant agrees to the upgrade, the enterprise station system 510 will record the relevant operation information. The operator can filter the merchants who have agreed to the upgrade in the background and confirm the account opening, thereby creating a bank account. Subsequently, the enterprise station system 510 will transmit the account opening information to the aggregated accounting system 340. Figure 3 In the architecture 300, the aggregated accounting system 340 can be used for settlement of accounts to be settled 430, transactions of resource operation accounts 440, transactions of cloud accounts 420, integrated transactions of the three accounts, and transactions of other accounts.
[0050] b) The aggregated accounting system 340 will first transmit the information of opening a bank virtual account 555 to the cloud account channel 530. The cloud account channel 530 will encrypt and sign the account opening information and transmit it to UnionPay 540 through a dedicated channel. UnionPay 540 will then forward the account opening information to the bank 550 side to open a bank virtual account 555. At the same time, the bank 550 side will synchronously return the information of the bank virtual account 555 to the aggregated accounting system 340.
[0051] c) Then, the aggregated accounting system 340 will pass the information of the bank virtual account 555 returned by the bank 550 to the cloud account accounting system 560 to open the merchant's cloud account 420. After the cloud account 420 is successfully opened, the aggregated accounting system 340 will call the electronic bank accounting system 570 to open the cloud account withdrawal intermediate account 450 to facilitate the withdrawal operation of the cloud account 420.
[0052] d) After the cloud account withdrawal intermediate account 450 is successfully opened, the aggregated accounting system 340 will store the metadata information 590 of the cloud account 420 to the cloud account member center 580 to achieve persistent storage. Finally, the aggregated accounting system 340 will return a notification of successful account opening to the enterprise station 510.
[0053] In some embodiments, if a request for upgrading a secondary account is received from the user 140, the server device 130 may trigger the measurement module 610 to determine whether the user 140 can upgrade the secondary account through the measurement module 610. Furthermore, if it is determined that the user 140 can upgrade the secondary account, the server device 130 may open a primary account and a resource settlement account (i.e., the account to be settled 430) corresponding to the secondary account for the user 140 in sequence. Figure 6 A flow chart of a cloud account upgrade process 600 in resource processing according to some embodiments of the present disclosure is shown. The process 600 may specifically include the following processes:
[0054] a) When the merchant clicks on the upgrade button on the enterprise station 510, the server in the enterprise station 510 triggers the volume cutting module 610. After determining that the merchant meets the preset conditions, the volume cutting module 610 first calls the electronic banking account system 570 to open the parent account 410. After the parent account 410 is successfully opened, the pending settlement account 430 is then opened.
[0055] b) Once the pending settlement account 430 has a deposit, the system will automatically withdraw the funds to the cloud account 420 asynchronously. Finally, the resource operation account 440 is upgraded. When operating the resource operation account 440, if funds need to be transferred, they can be transferred from the cloud account 420 first, and then proceed with subsequent processing.
[0056] Thus, through the process of opening and upgrading the secondary account, the corresponding main account and sub-account are also opened, which is beneficial to the subsequent execution of resource processing tasks.
[0057] In some embodiments, the resource processing task may include a resource extraction task (such as a settlement and automatic withdrawal task), and at least one sub-account may include a resource settlement account (i.e., the account to be settled 430) and a resource operation account 440. Furthermore, when changing the first total resource amount of the main account of the user 140 or the second total resource amount of the sub-account of the user 140 based on the resource processing task, the server device 130 may increase the first total resource amount of the main account of the user 140 by a first increment based on the resource extraction task, and the first increment is associated with the selected target resource change business 125. When changing the total resource amount of at least one sub-account associated with the resource processing task, the server device 130 may increase the first increment of the third total resource amount of the resource settlement account based on the increase of the first total resource amount of the main account, and reduce the first increment of the fourth total resource amount of the resource operation account, and then call the interface of the custodian institution (i.e., the banking institution, including UnionPay 540 and the bank 550) based on the reduction of the fourth total resource amount to increase the first increment of the second total resource amount of the sub-account. Figure 7 A flow chart of a settlement and automatic cash withdrawal process 700 in resource processing according to some embodiments of the present disclosure is shown. The process 700 may specifically include the following processes:
[0058] a) After the user 140 places an order and completes the delivery, the settlement system 710 will transmit the settlement information to the electronic bank account system 570. After receiving the settlement instruction, the electronic bank account system 570 first increases the balance of the parent account 410 and increases the balance of the account to be settled 430. After completing these operations, the electronic bank account system 570 will return a successful account entry.
[0059] b) Then, the settlement system 710 sends a settlement message, and the automatic cash withdrawal system 740 monitors and captures the settlement message 730. After the payment request is generated in the automatic cash withdrawal system 740, the cash withdrawal request is sent to the payment platform 750. The payment platform 750 will call the electronic banking account system 570 to deduct the balance of the account to be settled 430, and then call the interface of UnionPay 540 to pay from the reserve funds to the parent account of the bank 550.
[0060] c) After the bank 550 receives the deposit request from the parent account, the funds in the parent account increase. Subsequently, the bank 550 asynchronously deducts the funds in the parent account and increases the funds in the subsidiary account. After the funds in the subsidiary account are successfully increased, the bank 550 notifies UnionPay 540, and UnionPay 540 notifies the cloud account channel 530. The cloud account channel 530 parses the UnionPay 540 message and verifies the signature, and notifies the cloud account transaction system 720 after success.
[0061] d) The cloud account transaction system 720 calls the cloud account accounting system 560, and the cloud account accounting system 560 increases the balance of the merchant's cloud account 420, and finally completes the settlement.
[0062] The pending settlement account 430 is an account that the merchant cannot directly operate and is mainly used to store transaction funds that have been generated but not yet settled. The function of the pending settlement account 430 is to protect the merchant's funds and ensure that the transaction funds are properly kept before settlement. The resource operation account 440 can be an account that the merchant can operate and is used to manage the merchant's operating expenses.
[0063] In some embodiments, the resource processing task may include a resource allocation task (such as a balance deduction and fund allocation task), and at least one sub-account may include a resource operation account (i.e., resource operation account 440). Furthermore, when changing the first total resource amount of the primary account of user 140 or the second total resource amount of the secondary account of user 140 based on the resource processing task, the server device 130 may reduce the second total resource amount of the secondary account of user 140 by a second increment based on the resource allocation task, and the second increment is associated with the selected target resource change business 125. When changing the total resource amount of at least one sub-account associated with the resource processing task, the server device 130 may call the interface of the custodian institution based on the resource allocation task to increase the fourth total resource amount of the resource operation account by a second increment, and reduce the fourth total resource amount of the resource operation account after the increase by a second increment, so as to reduce the first total resource amount of the primary account by the second increment. Figure 8 A flow chart of a balance deduction and fund transfer process 800 in resource processing according to some embodiments of the present disclosure is shown. The process 800 may specifically include the following processes:
[0064] a) After receiving the balance deduction request, the transaction system 810 first verifies the request information. After the verification is passed, the electronic bank account system 570 is called. After receiving the deduction instruction, the electronic bank account system 570 first calls the cloud account transaction system 720 to transfer funds.
[0065] b) After receiving the fund transfer request, the cloud account transaction system 720 first calls the cloud account accounting system 560 to deduct the balance of the cloud account 420. After the deduction is successful, the result is synchronously returned to the cloud account transaction system 720. Subsequently, the cloud account transaction system 720 calls the cloud account channel 530 to initiate a withdrawal accounting request.
[0066] c) After receiving the request, the cloud account channel 530 encrypts and signs the message, and then calls the withdrawal accounting interface of UnionPay 540. UnionPay 540 then forwards the request to the bank 550 for processing. After successful processing, the result is synchronously returned to the cloud account transaction system 720. Then, the cloud account transaction system 720 calls the electronic banking account system 570 to increase the balance of the resource operation account 440.
[0067] d) After the balance is increased successfully, the cloud account transaction system 720 calls the electronic banking account system 570 again to deduct funds. At this point, the deduction request is completed.
[0068] In some embodiments, the resource processing task may include a sub-account resource extraction task (such as a cloud account withdrawal task), and at least one sub-account may include a resource extraction intermediate account (i.e., cloud account withdrawal intermediate account 450). Moreover, when changing the first total resource amount of the main account of user 140 or the second total resource amount of the sub-account of user 140 based on the resource processing task, the server device 130 may reduce the second total resource amount of the sub-account of user 140 by a fourth increment based on the sub-account resource extraction task, and the third increment is associated with the selected target resource change business 125. In some embodiments, when changing the total resource amount of at least one sub-account associated with the resource processing task, the server device 130 may call the interface of the custodian based on the sub-account resource extraction task to increase the third increment to the fifth total resource amount of the resource extraction intermediate account, and reduce the third increment to the increased fifth total resource amount of the resource extraction intermediate account, so as to reduce the first total resource amount of the main account by the third increment. Fig. 9 A flow chart of a cloud account cash withdrawal process 900 in resource processing according to some embodiments of the present disclosure is shown. The process 900 may specifically include the following processes:
[0069] a) After receiving the withdrawal request from the cloud account 420, the transaction system 810 first verifies the request information. After the verification is passed, the electronic bank account system 570 is called. After receiving the withdrawal request, the electronic bank account system 570 immediately calls the cloud account transaction system 720 to transfer funds.
[0070] b) After receiving the request, the cloud account transaction system 720 first calls the cloud account accounting system 560 to deduct the balance of the cloud account 420. After the deduction is successful, the result is synchronously returned to the cloud account transaction system 720. Subsequently, the cloud account transaction system 720 calls the cloud account channel 530 to initiate a withdrawal accounting request.
[0071] c) After receiving the request, the cloud account channel 530 encrypts and signs the message, and then calls the withdrawal accounting interface of UnionPay 540. UnionPay 540 then forwards the request to the bank 550 for processing. After successful processing, the result is synchronously returned to the cloud account transaction system 720. Then, the cloud account transaction system 720 calls the electronic banking account system 570 to increase the balance of the cloud account withdrawal intermediary account 450.
[0072] d) After the balance of the cloud account withdrawal intermediary account 450 is successfully increased, the electronic banking account system 570 deducts the balance of the cloud account withdrawal intermediary account 450. The transaction system 810 pays the funds to the merchant's settlement card. At this point, the withdrawal request is completed.
[0073] For the cloud account withdrawal intermediary account 450, it can be a temporary account used to process the withdrawal process during the withdrawal process of the cloud account 420. When the user 140 initiates a withdrawal application, the withdrawal funds will first enter this intermediary account, and then be processed accordingly in this account. The role of the intermediary account 450 is mainly to ensure the smooth progress of the withdrawal process and the safety of funds.
[0074] In some embodiments, the resource processing task may include a sub-account resource extraction task, and at least one sub-account may include a resource extraction intermediate account. Furthermore, if the sub-account resource extraction task fails, the server device 130 may generate a resource return task, and based on the resource return task, sequentially increase the first total resource amount of the main account and the fifth total resource amount of the resource extraction intermediate account by a fourth increment, and then reduce the fourth total resource amount after the increase by a fourth increment, so as to increase the second total resource amount of the sub-account by the fourth increment to complete the resource return task. Fig.10 A flow chart of a cloud account withdrawal failure / refund process 1000 in resource processing according to some embodiments of the present disclosure is shown. The process 1000 may specifically include the following processes:
[0075] a) When the cloud account 420 fails to withdraw cash or a check is returned, the transaction system 810 triggers the electronic bank account system 570 to execute a fund return request (i.e., a resource return task). After receiving the request, the electronic bank account system 570 first increases the balance of the parent account 410 and simultaneously increases the balance of the cloud account withdrawal intermediate account 450.
[0076] b) Then, the electronic bank account system 570 calls the cloud account transaction system 720 in an asynchronous thread mode, and sends a request for withdrawing the cloud account cash withdrawal intermediary account 450 to the bank virtual account 555 to the cloud account transaction system 720. The cloud account transaction system 720 further calls the payment platform 750, and the payment platform 750 calls the electronic bank account system 570 to deduct the balance of the cloud account cash withdrawal intermediary account 450. After the deduction is successful, the payment platform 750 then calls the UnionPay system 540.
[0077] c) UnionPay 540 forwards the request to bank 550, and after the bank 550 successfully deposits the master account, it asynchronously deposits the funds into the subsidiary account. After the subsidiary account successfully deposits the funds, bank 550 calls UnionPay system 540, and UnionPay 540 calls cloud account channel 530. Cloud account channel 530 notifies cloud account transaction system 720, and cloud account transaction system 720 then calls cloud account account 560 to increase the balance of cloud account 420 and return the failed withdrawal funds to cloud account 420. At this point, the fund return request is completed.
[0078] Therefore, in the embodiment of resource processing disclosed in the present invention, the payment and collection services for all virtual resources (such as funds) in the target resource change business 125 are realized through the multi-account model 400. Thus, the safe circulation and efficient management of funds are effectively realized, the efficiency of clearing and settlement is improved, and convenient financial solutions are provided for various business scenarios. And it ensures the reasonable allocation and smooth flow of funds between various accounts, and meets the diversified business needs of users 140. In addition, the disaster recovery capability in the resource processing process is also enhanced, which is conducive to timely discovery and processing when an abnormality occurs in a certain node.
[0079] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Fig.11 A block diagram of a resource processing apparatus 1100 according to some embodiments of the present disclosure is shown. The apparatus 1100 may be implemented as or included in a server device 130. Each module / component in the apparatus 1100 may be implemented by hardware, software, firmware, or any combination thereof.
[0080] like Fig.11 As shown, the device 1100 includes a generation module 1110, which is configured to generate a resource processing task in response to determining that a user selects a target resource change business from a plurality of resource change businesses, and the resource processing task indicates the amount of virtual resources associated with the resource change business; a first change module 1120, which is configured to change the first total amount of resources of the user's main account or the second total amount of resources of the user's sub-account based on the resource processing task, the main account is used to present the first total amount of resources to the user, and the sub-account is associated with the custodian of the second total amount of resources of the user; a second change module 1130, which is configured to change the total amount of resources of at least one sub-account associated with the resource processing task, and at least one sub-account corresponds to the sub-account; and a completion module 1140, which is configured to complete the resource processing task by executing one of the following: in response to the change of the first total amount of resources and the total amount of resources of at least one sub-account, changing the second total amount of resources of the sub-account; or in response to the change of the second total amount of resources and the total amount of resources of at least one sub-account, changing the first total amount of resources of the main account.
[0081] In some embodiments, the resource processing task includes a resource extraction task, and the at least one sub-account includes a resource settlement account and a resource operation account. And the first change module 1120 is further configured to increase the first total resource amount of the user's main account by a first increment based on the resource extraction task, and the first increment is associated with the selected target resource change business. The second change module 1130 is further configured to increase the third total resource amount of the resource settlement account by a first increment based on the increase in the first total resource amount of the main account; reduce the fourth total resource amount of the resource operation account by a first increment; and based on the reduction in the fourth total resource amount, call the interface of the custodian institution to increase the second total resource amount of the sub-account by a first increment.
[0082] In some embodiments, the resource processing task includes a resource allocation task, and at least one sub-account includes a resource operation account. And the first change module 1120 is further configured to reduce the second total resource amount of the user's sub-account by a second increment based on the resource allocation task, and the second increment is associated with the selected target resource change business. The second change module 1130 is further configured to call the interface of the custodian institution based on the resource allocation task to increase the fourth total resource amount of the resource operation account by a second increment; and reduce the fourth total resource amount of the resource operation account after the increase by a second increment to reduce the first total resource amount of the main account by the second increment.
[0083] In some embodiments, the resource processing task includes a sub-account resource extraction task, and at least one sub-account includes a resource extraction intermediate account. And the first change module 1120 is further configured to reduce the second total resource amount of the user's sub-account by a fourth increment based on the sub-account resource extraction task, and the third increment is associated with the selected target resource change business.
[0084] In some embodiments, the second change module 1130 is further configured to call the interface of the custodian institution based on the sub-account resource extraction task to increase the fifth total resource amount of the resource extraction intermediate account by a third increment; and reduce the increased fifth total resource amount of the resource extraction intermediate account by a third increment to reduce the first total resource amount of the main account by a third increment.
[0085] In some embodiments, the resource processing task includes a sub-account resource extraction task, at least one sub-account includes a resource extraction intermediate account, and the device 1100 also includes a resource withdrawal task, which is configured to generate a resource withdrawal task in response to the failure of the sub-account resource extraction task; based on the resource withdrawal task, the first total resource amount of the main account and the fifth total resource amount of the resource extraction intermediate account are increased by a fourth increment in sequence; and the increased fourth total resource amount is reduced by a fourth increment to increase the second total resource amount of the sub-account by the fourth increment to complete the resource withdrawal task.
[0086] In some embodiments, the device 1100 also includes an account opening module, which is configured to, in response to receiving a user's request to open a sub-account, open a sub-account and a resource extraction intermediate account for the user in sequence; in response to receiving a user's request to upgrade the sub-account, trigger the cutting module to determine whether the user can upgrade the sub-account through the cutting module; and in response to determining that the user can upgrade the sub-account, open a main account and a resource settlement account corresponding to the sub-account for the user in sequence.
[0087] The units and / or modules included in the device 1100 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units and / or modules can be implemented using software and / or firmware, such as machine executable instructions stored on a storage medium. In addition to or as an alternative to machine executable instructions, some or all of the units and / or modules in the device 1100 can be implemented at least in part by one or more hardware logic components. As an example and not limitation, exemplary types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0088] Fig.12 1 shows a block diagram of an electronic device 1200 in which one or more embodiments of the present disclosure may be implemented. It should be understood that Fig.12 The electronic device 1200 shown is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. Fig.12 The electronic device 1200 shown can be used to implement Figure 1 The server device 130 or Fig.11 Device 1100.
[0089] like Fig.12 As shown, the electronic device 1200 is in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to, one or more processors or processing units 1210, a memory 1220, a storage device 1230, one or more communication units 1240, one or more input devices 1250, and one or more output devices 1260. The processing unit 1210 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 1220. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capabilities of the electronic device 1200.
[0090] The electronic device 1200 typically includes a plurality of computer storage media. Such media may be any available media accessible to the electronic device 1200, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 1220 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 1230 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 1200.
[0091] The electronic device 1200 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig.12 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 1220 may include a computer program product 1225 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.
[0092] The communication unit 1240 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 1200 can be implemented in a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 1200 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.
[0093] The input device 1250 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 1260 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 1200 may also communicate with one or more external devices (not shown) through the communication unit 1240 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 1200, or communicate with any device that allows the electronic device 1200 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).
[0094] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.
[0095] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0096] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0097] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0098] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.
[0099] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.
Claims
1. A resource processing method, comprising: In response to determining that the user selects a target resource change service from a plurality of resource change services, generating a resource processing task, the resource processing task indicating an amount of virtual resources associated with the target resource change service; Based on the resource processing task, change a first total resource amount of the user's primary account or a second total resource amount of the user's secondary account, wherein the primary account is used to present the first total resource amount to the user, and the secondary account is associated with a custodian of the user's second total resource amount; Changing the total resource amount of at least one sub-account associated with the resource processing task, the at least one sub-account corresponding to the secondary account; as well as Complete the resource processing task by performing one of the following: In response to changes in the first total resource amount and the total resource amount of the at least one sub-account, changing the second total resource amount of the sub-account; or In response to changes in the second total resource amount and the total resource amount of the at least one sub-account, the first total resource amount of the main account is changed.
2. The method according to claim 1, wherein the resource processing task comprises a resource extraction task, the at least one sub-account comprises a resource settlement account and a resource operation account, and Wherein, based on the resource processing task, changing the first total resource amount of the primary account of the user or the second total resource amount of the secondary account of the user comprises: Based on the resource extraction task, increase a first increment to a first total resource amount of the primary account of the user, where the first increment is associated with the selected target resource change service; Changing the total resource amount of at least one sub-account associated with the resource processing task includes: Based on the increase of the first total resource amount of the primary account, increasing the third total resource amount of the resource settlement account by the first increment; reducing the fourth total resource amount of the resource operation account by the first increment; and Based on the decrease of the fourth total amount of resources, an interface of the custodian institution is called to increase the first increment to the second total amount of resources of the secondary account.
3. The method according to claim 1, wherein the resource processing task comprises a resource allocation task, the at least one sub-account comprises a resource operation account, and Wherein, based on the resource processing task, changing the first total resource amount of the primary account of the user or the second total resource amount of the secondary account of the user further comprises: Based on the resource allocation task, reducing a second total resource amount of the secondary account of the user by a second increment, where the second increment is associated with the selected target resource change service; Wherein changing the total resource amount of at least one sub-account associated with the resource processing task further includes: Based on the resource allocation task, calling the interface of the trustee institution to increase the second increment to the fourth total resource amount of the resource operation account; as well as The fourth total resource amount after the increase in the resource operation account is reduced by the second increment, so as to reduce the first total resource amount of the main account by the second increment.
4. The method according to claim 1, wherein the resource processing task comprises a sub-account resource extraction task, the at least one sub-account comprises a resource extraction intermediate account, and Wherein, based on the resource processing task, changing the first total resource amount of the primary account of the user or the second total resource amount of the secondary account of the user further comprises: Based on the secondary account resource extraction task, the second total resource amount of the secondary account of the user is reduced by a fourth increment, wherein the third increment is associated with the selected target resource change service.
5. The method according to claim 4, wherein changing the total resource amount of at least one sub-account associated with the resource processing task further comprises: Based on the sub-account resource extraction task, calling the interface of the custodian institution to increase the third increment to the fifth total resource amount of the resource extraction intermediate account; as well as The fifth total resource amount after the increase of the resource extraction intermediate account is reduced by the third increment, so as to reduce the first total resource amount of the main account by the third increment.
6. The method according to claim 1, wherein the resource processing task comprises a sub-account resource extraction task, the at least one sub-account comprises a resource extraction intermediate account, and the method further comprises: In response to the failure of the secondary account resource extraction task, generating a resource return task; Based on the resource withdrawal task, sequentially increase the first total resource amount of the main account and the fifth total resource amount of the resource extraction intermediate account by a fourth increment; as well as The fourth increment is reduced from the increased fourth total amount of resources, so as to increase the fourth increment from the second total amount of resources in the secondary account to complete the resource withdrawal task.
7. The method according to claim 1, further comprising: In response to receiving a request from the user to open the sub-account, sequentially opening the sub-account and a resource extraction intermediate account for the user; In response to receiving a request from the user to upgrade the secondary account, triggering a slicing module to determine whether the user can upgrade the secondary account through the slicing module; as well as In response to determining that the user can upgrade the secondary account, the primary account and resource settlement account corresponding to the secondary account are opened for the user in sequence.
8. A resource processing device, comprising: a generating module configured to generate a resource processing task in response to determining that a user selects a target resource change service from a plurality of resource change services, the resource processing task indicating an amount of virtual resources associated with the resource change service; A first changing module is configured to change a first total resource amount of a primary account of the user or a second total resource amount of a secondary account of the user based on the resource processing task, wherein the primary account is used to present the first total resource amount to the user, and the secondary account is associated with a custodian of the second total resource amount of the user; a second changing module, configured to change the total resource amount of at least one sub-account associated with the resource processing task, the at least one sub-account corresponding to the secondary account; as well as a completion module configured to complete the resource processing task by performing one of the following: in response to changes in the first total resource amount and the total resource amount of the at least one sub-account, changing the second total resource amount of the sub-account; Or in response to changes in the second total resource amount and the total resource amount of the at least one sub-account, the first total resource amount of the main account is changed.
9. An electronic device, characterized in that: include: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 7 when executed by the at least one processing unit.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, which can be executed by a processor to implement the method according to any one of claims 1 to 7.
11. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the method according to any one of claims 1 to 7.
