Virtual resource transfer method and apparatus, readable medium, device, and program product
By obtaining and confirming the reduction information from the resource sender, the amount of virtual resource transfer can be adjusted, thus solving the flexibility problem of virtual resource transfer business in social scenarios and improving user experience and business development.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN TENCENT COMP SYST CO LTD
- Filing Date
- 2025-01-23
- Publication Date
- 2026-07-24
AI Technical Summary
In virtual resource transfer services within social scenarios, the lack of flexibility in the quantity of virtual resources negatively impacts the experience for both parties involved in the transfer.
By obtaining the reduction information from the resource sender, in response to the input of the total resource amount, the target reduction information is confirmed, and the total amount of resources to be transferred is adjusted accordingly.
It improves the flexibility of virtual resource transfer services in social scenarios, enhances the transfer experience for the initiating party, avoids disputes over the final transfer amount, and promotes the development of virtual resource transfer services.
Smart Images

Figure CN122453402A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to virtual resource transfer methods, apparatus, readable media, devices and program products. Background Technology
[0002] With the rapid development of virtual resource transfer services, virtual resource transfer services in social scenarios are also gradually emerging. These social scenario virtual resource transfer services refer to those with social attributes, such as money transfers and face-to-face virtual resource transfers. Currently, the number of virtual resources transferred in social scenario virtual resource transfer services is fixed, lacking flexibility. Therefore, how to improve the flexibility of virtual resource transfer services in social scenarios is an urgent problem to be solved. Summary of the Invention
[0003] This application provides a virtual resource transfer method, apparatus, storage medium, device, and program product, which can flexibly adjust the number of virtual resources transferred in virtual resource transfer services in social scenarios, thereby improving the flexibility of virtual resource transfer services in social scenarios.
[0004] On one hand, embodiments of this application provide a virtual resource transfer method, including:
[0005] In response to the total amount of pre-transferable resources input by the resource sender, obtain the reduction information associated with the resource sender;
[0006] In response to the confirmation operation of the reduction information, the confirmed target reduction information is obtained;
[0007] Based on the total resource amount and the target reduction information, the target total resource amount is obtained;
[0008] The virtual resources of the target total amount of resources are transferred from the resource sender to the resource receiver corresponding to the pre-transfer resources.
[0009] On one hand, embodiments of this application provide a virtual resource transfer device, which includes a first acquisition unit, a second acquisition unit, a processing unit, and a resource transfer unit, wherein:
[0010] The first acquisition unit is used to acquire the reduction information associated with the resource sender in response to the total amount of pre-transfer resources input by the resource sender.
[0011] The second acquisition unit is used to acquire the confirmed target exemption information in response to the confirmation operation of the exemption information;
[0012] The processing unit is used to obtain the target total resource amount based on the total resource amount and the target reduction information;
[0013] The resource transfer unit is used to transfer the virtual resources of the target total amount of resources from the resource sender to the resource receiver corresponding to the pre-transfer resources.
[0014] In one embodiment of this application, based on the aforementioned scheme, after the second acquisition unit acquires the confirmed target reduction information, the second acquisition unit may further be used to perform: storing the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver.
[0015] After transferring the total virtual resources of the target resource amount from the resource sender to the resource receiver corresponding to the pre-transfer resource, the resource transfer unit can also be used to: obtain the target reduction information from the session information of the resource transfer session, and generate a resource transfer settlement interface based on the target reduction information; and display the resource transfer settlement interface.
[0016] In one embodiment of this application, based on the aforementioned scheme, the session information of the resource transfer session is generated based on the pre-order identifier generated in the resource transfer session. The pre-order identifier is generated when the total amount of resources to be transferred is detected. When the resource transfer unit obtains the target reduction information from the session information of the resource transfer session, it can specifically perform the following: if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, the pre-order identifier is obtained based on the transfer callback information; the session information matching the pre-order identifier is searched from the stored session information and used as the session information of the resource transfer session; the target reduction information is obtained from the session information.
[0017] In one embodiment of this application, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit can also be used to: generate a resource transaction request through the transfer manager and send it to the resource manager, so that the resource manager responds to the resource transaction request, generates a transaction order identifier corresponding to the resource transfer transaction between the resource sender and the resource receiver, stores the transaction order identifier locally, and sends the transaction order identifier to the transfer manager; the transfer manager receives the transaction order identifier and associates the pre-order identifier and the transaction order identifier managed by the transfer manager with the session storage.
[0018] The transfer callback information is generated by the resource manager based on the transaction order identifier stored locally after detecting that the transfer of the target total amount of virtual resources has been completed. When the resource transfer unit detects the transfer callback information corresponding to the target total amount of virtual resources, it can also obtain the pre-order identifier based on the transfer callback information. Specifically, it can also be used to perform the following: the resource manager sends the transfer callback information to the callback information manager, so that the callback information manager can obtain the transaction order identifier carried by the transfer callback information when it detects the transfer callback information, and obtain the pre-order identifier associated with the transaction order identifier from the session storage.
[0019] In one embodiment of this application, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit can also be used to: generate a resource transaction request through the pre-order identifier managed by the transfer manager and send it to the resource manager, so that the resource manager can parse the pre-order identifier from the resource transaction request and write the pre-order identifier into an extended field stored locally by the resource manager.
[0020] The transfer callback information is generated by the resource manager after detecting the completion of the transfer of virtual resources of the target total amount, based on the pre-order identifier contained in the extended field. When the resource transfer unit detects the transfer callback information corresponding to the virtual resources of the target total amount, it can obtain the pre-order identifier based on the transfer callback information. Specifically, it can be used to execute: the resource manager sends the transfer callback information to the callback information manager, so that the callback information manager can obtain the pre-order identifier carried by the transfer callback information when it detects the transfer callback information.
[0021] In one embodiment of this application, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit can also be used to: generate a resource transaction request through the pre-order identifier managed by the transfer manager and send it to the resource manager so that the resource manager responds to the resource transaction request and generates a transaction order identifier for the resource transfer transaction between the resource sender and the resource receiver.
[0022] The transfer callback information is generated by the resource manager based on the transaction order identifier after detecting that the transfer of the target total amount of virtual resources has been completed. When the resource transfer unit detects the transfer callback information corresponding to the target total amount of virtual resources, it can specifically use the transfer callback information to obtain the pre-order identifier. Specifically, it can send the transfer callback information to the transfer manager so that the transfer manager can respond to the transfer callback information and obtain the pre-order identifier it manages when it detects the transfer callback information.
[0023] In one embodiment of this application, the session information further includes a transaction order identifier generated in the resource transfer session; when the resource transfer unit stores the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver, it can also specifically perform the following: associating the transaction order identifier with the target reduction information and storing it in the session information of the resource transfer session; when the resource transfer unit obtains the target reduction information from the session information of the resource transfer session, it can also specifically perform the following: if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, then obtain the transaction order identifier carried by the transfer callback information; and search for the target reduction information associated with the transaction order identifier from the session information containing the transaction order identifier.
[0024] In one embodiment of this application, based on the aforementioned scheme, when the processing unit obtains the target total resource amount based on the total resource amount and the target reduction information, it can specifically perform the following: if the target reduction information includes a reduction quantity, then the difference between the total resource amount and the reduction quantity in the target reduction information is taken as the target total resource amount; if the target reduction information includes a reduction ratio, then the target reduction quantity is obtained based on the total resource amount and the reduction ratio, and the difference between the total resource amount and the target reduction quantity is taken as the target total resource amount.
[0025] On one hand, embodiments of this application provide an electronic device, which includes an input interface and an output interface, and further includes:
[0026] A processor, adapted to implement one or more instructions; and,
[0027] A computer storage medium storing one or more instructions, the one or more instructions being adapted to be loaded by the processor and executed by the virtual resource transfer method described above.
[0028] On one hand, embodiments of this application provide a computer-readable medium storing computer program instructions, which, when executed by a processor, are used to perform the aforementioned virtual resource transfer method.
[0029] On one hand, embodiments of this application provide a computer program product or computer program, the computer program product or computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium; a processor of an electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, and when the computer instructions are executed by the processor, they are used to perform the above-described virtual resource transfer method.
[0030] In the technical solutions provided by the embodiments of this application, by obtaining the reduction information associated with the resource sender in response to the total resource amount input by the resource sender, it is beneficial to provide reduction information to the initiating object of the resource transfer at the beginning of the transfer. This allows the initiating object to perceive the reduction information they can use from the outset, thereby improving the experience of the initiating object in the virtual resource transfer process. Simultaneously, by obtaining the confirmed target reduction information in response to the confirmation operation of the reduction information, the embodiments of this application ensure that the final target reduction information used is confirmed, thus avoiding disputes among the initiating objects of the resource transfer regarding the final target total resource amount, further enhancing the experience of the initiating object in the virtual resource transfer process. Furthermore, by introducing reduction information, the embodiments of this application enable flexible adjustments to the originally input total resource amount in virtual resource transfer services in social scenarios, so that the final transferred total resource amount is no longer fixed, thereby improving the flexibility of virtual resource transfer services in social scenarios. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 This is a schematic diagram of the structure of a virtual resource transfer system provided in an embodiment of this application;
[0033] Figure 2 This is a flowchart illustrating a virtual resource transfer method provided in an embodiment of this application;
[0034] Figure 3 This is a schematic diagram of a resource transfer interface provided in an embodiment of this application;
[0035] Figure 4 This is a schematic diagram of a transfer confirmation interface provided in an embodiment of this application;
[0036] Figure 5 This is a schematic diagram of another virtual resource transfer system provided in an embodiment of this application;
[0037] Figure 6 This is a flowchart illustrating another virtual resource transfer method provided in an embodiment of this application;
[0038] Figure 7 This is a schematic diagram illustrating the transfer process of virtual resources in a social scenario, provided in an embodiment of this application.
[0039] Figure 8 This is a schematic diagram illustrating the transfer process of virtual resources in another social scenario provided in this application embodiment;
[0040] Figure 9 This is a schematic diagram illustrating another process of transferring virtual resources in a social scenario provided in an embodiment of this application;
[0041] Figure 10 This is a schematic diagram illustrating the transfer process of virtual resources in another social scenario provided in an embodiment of this application;
[0042] Figure 11 This is a schematic diagram of a billing interface provided in an embodiment of this application;
[0043] Figure 12 This is a schematic diagram of a transfer certificate interface provided in an embodiment of this application;
[0044] Figure 13 This is a schematic diagram of the structure of a virtual resource transfer device provided in an embodiment of this application;
[0045] Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0047] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0048] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0049] The flowcharts shown in the accompanying diagrams are merely illustrative and do not necessarily include all content and operations, nor do they necessarily have to be executed in the described order. For example, some operations may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0050] It should also be noted that "multiple" as mentioned in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0051] With the rapid development of virtual resource transfer services, virtual resource transfer services in social scenarios are also gradually emerging. These social scenario-based virtual resource transfer services refer to those with social attributes, such as money transfers, red envelopes, and face-to-face virtual resource transfers. Virtual resources refer to electronic resources that have similar or identical functions to general equivalents. Currently, the number of virtual resources transferred in social scenario-based virtual resource transfer services is usually fixed, lacking flexibility and thus affecting the experience for both parties involved in the transfer.
[0052] Based on this, this application provides a virtual resource transfer scheme. This scheme responds to the total amount of resources to be transferred input by the resource sender, obtains the reduction information associated with the resource sender (i.e., the party transferring the virtual resources); then, based on the obtained reduction information, it interacts with the resource sender to obtain confirmed target reduction information; thus, the target total amount of resources to be transferred can be obtained based on the total resource amount and the target reduction information. Finally, the virtual resources of the target total amount are transferred from the resource sender to the corresponding resource receiver (i.e., the party receiving the virtual resources). Specifically, the reduction information can be at least one of the following: coupons, promotional activities, discount vouchers, discount activities, reduction amounts, etc., that can represent a reduction in the amount of virtual resources to be transferred.
[0053] It's clear that this solution, in virtual resource transfer transactions within social scenarios, obtains the fee reduction information associated with the resource sender. Through interaction with the resource sender, it confirms the target fee reduction information used in this resource transfer. This target fee reduction information allows for flexible adjustment of the total amount of resources to be transferred, resulting in the final target total amount of resources to be transferred. In other words, the final target total amount of resources transferred in this solution is not the same as the originally input total amount; it is obtained after flexible adjustment of the originally input total amount. Therefore, this solution effectively improves the flexibility of virtual resource transfer transactions in social scenarios.
[0054] Based on the above-described virtual resource transfer method, this application provides a virtual resource transfer system, which can be found in [reference]. Figure 1 , Figure 1 The virtual resource transfer system shown may include multiple terminal devices 101 and multiple servers 102, wherein a communication connection is established between any terminal device and any server. Terminal devices 101 may include any one or more of the following: sensors, smartphones, tablets, laptops, desktop computers, smart vehicles, and smart wearable devices. Terminal devices 101 may run payment clients, social clients, social payment clients, and other clients capable of virtual resource transfer, as well as various other applications (APPs), such as multimedia playback clients, browser clients, news feed clients, educational clients, and so on.
[0055] Server 102 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. Terminal device 101 and server 102 can communicate directly or indirectly via wired or wireless communication; this application does not impose any restrictions on this.
[0056] In one embodiment, the above-described virtual resource transfer method can be performed solely by... Figure 1 The terminal device 101 in the virtual resource transfer system described above executes the following process: In response to the total amount of resources to be transferred input by the resource sender, the terminal device 101 obtains the reduction information associated with the resource sender. Then, in response to a confirmation operation of the reduction information, the terminal device 101 obtains the confirmed target reduction information. Afterwards, based on the total resource amount and the target reduction information, the terminal device 101 obtains the target total resource amount. Finally, the terminal device 101 transfers the virtual resources of the target total resource amount from the resource sender to the resource receiver corresponding to the pre-transfer resources.
[0057] Optionally, before responding to the total amount of resources to be transferred input by the resource sender, the terminal device may also display a resource transfer interface containing a resource quantity input area to obtain the input total amount of resources. Optionally, after obtaining the reduction information associated with the resource sender, the terminal device may also generate and display a transfer confirmation interface containing the reduction information.
[0058] Alternatively, the above-mentioned virtual resource transfer method can also be implemented solely by... Figure 1 The execution process is carried out by server 102 in the virtual resource transfer system shown. For details of the execution process, please refer to the specific execution process of terminal device 101 mentioned above. It will not be repeated here.
[0059] In another embodiment, the above-described virtual resource transfer method can be provided by... Figure 1 In the virtual resource transfer system shown, terminal device 101 and server 102 work together. The specific execution process is as follows: Terminal device 101, in response to the total amount of resources input by the resource sender, obtains the total resource amount and sends it to server 102. Server 102, in response to the received total resource amount, obtains the reduction information associated with the resource sender and sends it to terminal device 101. After receiving the reduction information, terminal device 101 can display it so that it can subsequently obtain the confirmed target reduction information in response to the confirmation operation. Then, terminal device 101 can send the target reduction information to server 102, and server 102 can obtain the target total resource amount based on the total resource amount and the target reduction information. Finally, server 102 transfers the virtual resources of the target total resource amount from the resource sender to the resource receiver corresponding to the pre-transfer resource.
[0060] It should be noted that the embodiments of this application can be applied to various scenarios, including but not limited to smart finance, AI (Artificial Intelligence), smart living, smart transportation, intelligent driving and any other scenario that requires the transfer of virtual resources, and there is no limitation thereto.
[0061] Furthermore, in specific embodiments of this application, if data or information such as virtual resources and fee reduction information involves objects, when the embodiments of this application are applied to specific products or technologies, permission or consent from the objects is required, and the collection, use, and processing of related data or information must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0062] Based on the above-described virtual resource transfer scheme and system, this application provides a virtual resource transfer method. See also... Figure 2 This is a flowchart illustrating a virtual resource transfer method provided in an embodiment of this application. Figure 2 The virtual resource transfer method shown can be executed by a server or a terminal device. In this embodiment, the method is described using the server as an example.
[0063] in, Figure 2 The virtual resource transfer method shown may include steps S201 to S204:
[0064] S201, in response to the total amount of resources to be transferred input by the resource sender, obtain the reduction information associated with the resource sender.
[0065] In this application embodiment, the resource sender may include at least one of the following: a terminal device, a client running on the terminal device (such as a payment client or a social client), or an account logged into the terminal device; and the object that inputs the total amount of resources through the resource sender (specifically, a person or a device) may be referred to as the initiator of the resource transfer.
[0066] Specifically, the main characteristic of virtual resource transfer services in social scenarios is that the resource sender inputs the total amount of resources to be transferred. For example, whether it's a money transfer, a red envelope, or a QR code payment in a face-to-face resource transfer scenario, the resource sender needs to input the amount they want to transfer (i.e., the total amount of resources to be transferred). The discount information associated with the resource sender can include at least one.
[0067] In one embodiment, the identification information of each resource sender can be associated with and stored along with its corresponding exemption information. The process of obtaining the exemption information associated with a resource sender can specifically include: obtaining the identification information of the resource sender; and searching for the exemption information associated with the obtained identification information from the stored exemption information. It should be noted that each resource sender may also be a resource recipient (i.e., the party receiving the resources) of other resource senders.
[0068] Optionally, different resource recipients may offer different promotional activities or discounts for different resource senders; therefore, the resource sender's identification information, the resource recipient's identification information, and the discount information can be stored together.
[0069] While the resource sender is inputting the total amount of resources, the server can also collect relevant information about the resource recipient of the pre-transfer resources. For example, during a money transfer, the resource sender needs to confirm the transfer recipient (i.e., the resource recipient) to obtain their relevant information; during a red envelope (digital cash gift) payment, the resource sender needs to enter the conversation interface with the resource recipient to obtain their relevant information; and during QR code payment, the QR code scanned by the resource sender itself carries the resource recipient's relevant information.
[0070] The process of obtaining the exemption information associated with the resource sender can specifically include: obtaining the identification information of the resource sender and the identification information of the resource receiver; and searching for exemption information that is associated with both the identification information of the resource sender and the identification information of the resource receiver from the stored exemption information.
[0071] In one embodiment, a resource transfer interface, including a resource quantity input area, may be displayed before responding to the total amount of resources to be transferred input by the resource sender. This allows the resource sender to input the total resource amount via the resource quantity input area.
[0072] For example, please see the appendix. Figure 3 This illustrates a schematic diagram of a resource transfer interface. For example... Figure 3 As shown, after scanning the recipient's (i.e., resource recipient's) QR code 301 using a social client running on the terminal device, the terminal device's display screen will show a resource transfer interface 302. The resource transfer interface 302 includes a resource quantity input area 303, which in turn includes a keyboard area 304 and a numeric input display area 305. (The last sentence appears to be incomplete and possibly refers to a different process.) Figure 3 As shown, the user of the terminal device (hereinafter referred to as the user) can enter 3.01 by clicking the numbers in the keyboard area 304; after the payment amount of 3.01 is displayed in the number display area 305, the user can further click "Payment" in the keyboard area 304 to perform subsequent operations related to confirming the transfer of resources.
[0073] S202, in response to the confirmation operation of the exemption information, obtain the confirmed target exemption information.
[0074] In this embodiment, the aforementioned reduction information can specifically be information representing a reduction in the amount of virtual resources to be transferred. For example, the reduction information may include "9.5% discount for members" or "discount amount of 6 yuan". Furthermore, the reduction information obtained in step S201 is the reduction information that the resource sender can use, while the target reduction information is the reduction information that the resource sender determines will actually use.
[0075] In one embodiment, the exemption information may be displayed before the confirmation operation of the exemption information is performed; specifically, the confirmation operation of the exemption information may be a click operation on the exemption information.
[0076] Optionally, the number of exemption information mentioned in step S201 may include multiple (i.e., at least two); then, the confirmation operation for exemption information can specifically be a selection operation for at least one of the multiple exemption information. Optionally, the confirmation operation for exemption information can also be any operation used to explicitly select exemption information, such as an editing operation or a sliding operation, and is not limited here.
[0077] In one possible implementation, after obtaining the reduction / exemption information associated with the resource sender, a transfer confirmation interface containing the reduction / exemption information can be generated and displayed. Optionally, the transfer confirmation interface may also include other information such as payment method, which is not limited here.
[0078] For example, please see the appendix. Figure 4 This shows a schematic diagram of a transfer confirmation interface. (Continuing...) Figure 3 For example, when a click on the "Pay" button in keyboard area 304 is detected, a transfer confirmation interface 401 is generated based on the discount information associated with the resource sender and the resource source (i.e., payment method) of the virtual resource associated with the resource sender. The transfer confirmation interface 401 includes payment method options to select the target payment method for this transfer; it also includes discount information options to select the target discount information for this transfer. Figure 4 As shown, the currently selected target payment method is cash, and the currently selected target discount information includes "member discount 95% off".
[0079] S203, based on the total resource amount and the target reduction information, obtain the target total resource amount.
[0080] In this embodiment, the target total resource amount can be obtained by subtracting the number of virtual resources that can be reduced from the target reduction information from the total resource amount. The number of virtual resources that can be reduced from the target reduction information may vary depending on the total resource amount. For example, when the target reduction information includes "5 off for every 10 spent, 10 off for every 20 spent," if the total resource amount is 23, the number of virtual resources that can be reduced from the target reduction information is 10; if the total resource amount is 12, the number of virtual resources that can be reduced from the target reduction information is 5.
[0081] In one embodiment, if the target reduction information includes a reduction quantity, the difference between the total resource amount and the reduction quantity in the target reduction information can be used as the target total resource amount; if the target reduction information includes a reduction ratio, the target reduction quantity can be obtained based on the total resource amount and the reduction ratio, and the difference between the total resource amount and the target reduction quantity can be used as the target total resource amount.
[0082] Considering that the discount information mainly includes two types of discounts (such as an instant discount of 5 yuan, a discount of 10 yuan for every 100 yuan spent, etc.) and discount percentages (such as 9.5% off, 88% off), different calculation processes can be set according to the different information contained in the target discount information to avoid errors in the calculation process. This will help to obtain a more accurate total target resource quantity, thereby improving the accuracy of the final transferred virtual resource quantity. At the same time, it will also help to improve the calculation efficiency of the total target resource quantity.
[0083] S204, transfer the total virtual resources of the target resource quantity from the resource sender to the resource receiver corresponding to the pre-transfer resource.
[0084] In this embodiment, the virtual resources owned by the resource sender can be associated with the resource sender for storage; similarly, the virtual resources owned by the resource receiver can also be associated with the resource receiver for storage. Therefore, the transfer process can specifically include: obtaining virtual resources of the target total quantity from the virtual resources associated with the resource sender, and deleting the association between the target total quantity of virtual resources and the resource sender; and establishing an association between the target total quantity of virtual resources and the resource receiver.
[0085] In this embodiment, by responding to the total resource amount input by the resource sender and obtaining the associated reduction information, it is beneficial to provide the resource sender with the associated reduction information at the beginning of the resource transfer. This allows the initiator of the resource transfer to be aware of the reduction information they can use from the outset, thereby improving the initiator's experience during the virtual resource transfer process. Simultaneously, by responding to the confirmation operation of the reduction information and obtaining the confirmed target reduction information, this embodiment ensures that the final target reduction information used is confirmed, thus avoiding disputes among the initiators of the resource transfer regarding the final target total resource amount, further enhancing the initiator's experience during the virtual resource transfer process. Furthermore, by introducing reduction information, this embodiment allows for flexible adjustment of the originally input total resource amount in social scenarios, improving the flexibility of virtual resource transfer services in social settings.
[0086] Finally, in this embodiment, the total amount of resources to be transferred is reduced by a certain amount based on the total amount of resources, which can encourage more people to use the virtual resource transfer service in social scenarios and is conducive to promoting the development of the virtual resource transfer service in social scenarios.
[0087] In one possible implementation, based on the above-described virtual resource transfer method, this application provides another virtual resource transfer system, which can be found in [reference needed]. Figure 5 , Figure 5The virtual resource transfer system shown may include a resource sender 501, a transfer manager 502, a resource manager 503, a callback information manager 504, and a session storage provider 505. Any two of these parties can directly establish a wired or wireless communication connection. The resource sender 501 can initiate the transfer of virtual resources; the transfer manager 502 interacts with the resource sender 501 and manages data transfer during the virtual resource transfer process; the resource manager 503 manages the virtual resources; the callback information manager 504 manages the callback information after a successful virtual resource transfer; and the session storage provider 505 stores session information for the resource transfer session.
[0088] The resource sender 501 can specifically include any one or more of the following: sensors, smartphones, tablets, laptops, desktop computers, smart vehicles, and smart wearable devices. The resource sender 501 can run clients capable of virtual resource transfer, such as payment clients, social clients, and social payment clients. It can also run various other applications (APPs), such as multimedia playback clients, browser clients, news feed clients, educational clients, and so on.
[0089] The transfer manager 502, resource manager 503, callback information manager 504, and session storage manager 505 can all be independent physical servers, server clusters or distributed systems composed of multiple physical servers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0090] Based on the above virtual resource transfer scheme and system, this application provides another virtual resource transfer method. See also... Figure 6 This is a flowchart illustrating another virtual resource transfer method provided in an embodiment of this application. Figure 6 The virtual resource transfer method shown can be derived from... Figure 5 The devices in the virtual resource transfer system shown in this application execute collaboratively. This embodiment of the application... Figure 2 The method shown has been extended.
[0091] in, Figure 6 The virtual resource transfer method shown may include the following steps S601 to S607:
[0092] S601, in response to the total amount of resources to be transferred input by the resource sender, obtain the reduction information associated with the resource sender.
[0093] In this embodiment of the application, after the transfer manager inputs the total amount of resources, it can send the total amount of resources to the transfer manager so that the transfer manager can respond to the total amount of resources and obtain the reduction information associated with the resource sender.
[0094] In one embodiment, when the total amount of resources is detected, the transfer manager can pre-order the virtual resource transfer between the resource sender and the resource receiver, obtaining a pre-order identifier (i.e., an order voucher on the transfer management side). Then, in response to the pre-order identifier, the transfer manager can obtain the reduction information associated with the resource sender. Specifically, pre-ordering may include the process of pre-confirming the construction of a resource transfer transaction between the resource sender and the resource receiver.
[0095] Optionally, the transfer manager can pre-order virtual resource transfers between the resource sender and the resource receiver based on the resource sender's and receiver's identification information. The resource sender's and receiver's identification information can be sent by the resource sender to the transfer manager.
[0096] In one possible implementation, the transfer manager can also create a resource transfer session between the resource sender and the resource recipient based on the pre-order identifier. Specifically, the transfer manager can create the resource transfer session by associating information generated during the pre-order process with the pre-order identifier, using this information as session information between the resource sender and recipient. Correspondingly, the pre-order identifier can be used to identify the session information of the resource transfer session. In practical applications, this association can be achieved by using the pre-order identifier as the key and the information generated during the pre-order process as the value.
[0097] A resource transfer session can include the process from initiating a resource transfer to completing it. Optionally, a resource transfer session can also include the process from the resource sender initiating the resource transfer to both parties (i.e., the resource sender and the resource receiver) receiving settlement information (such as a resource transfer settlement interface) for this resource transfer. Optionally, if the transmitted message, packet, or data packet contains a pre-order identifier, or if the transmitted message, packet, or data packet contains any information from the session information of the resource transfer session, then it can be determined that the transmitted message, packet, or data packet belongs to this resource transfer session.
[0098] In one embodiment, all the exemption information can be stored in an exemption information storage server. Then, the specific process of obtaining the exemption information associated with the resource sender can include: the transfer manager can respond to the pre-order identifier, generate an information retrieval request based on the identifier information of the resource sender, and send it to the exemption information storage server; the exemption information storage server can query the exemption information that matches the identifier information of the resource sender from the stored exemption information, and send the queried exemption information to the exemption information storage server.
[0099] S602, in response to the confirmation operation of the exemption information, obtain the confirmed target exemption information.
[0100] In this embodiment of the application, after obtaining the reduction information, the transfer manager can send it to the resource sender, and the resource sender outputs the reduction information; then, the resource sender responds to the confirmation operation of the reduction information and obtains the confirmed target reduction information.
[0101] Furthermore, for the specific implementation of the confirmation operation in step S602, please refer to the specific implementation in step S202, which will not be repeated here.
[0102] S603, store the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver.
[0103] In this embodiment, the resource sender can send the target exemption information to the transfer manager, who then stores the target exemption information in the session information corresponding to the resource transfer session. Specifically, the session information corresponding to the resource transfer session is stored in the session storage provider, so the transfer manager can store the target exemption information in the session storage provider.
[0104] In one embodiment, the transfer manager can send the target discount information and pre-order identifier to the session storage provider. The session storage provider can first find the session information that matches the session storage provider, and then store the target discount information in the found session information.
[0105] Optionally, the resource sender may directly store the target reduction information in the session information corresponding to the resource transfer session. Alternatively, the session storage party may retrieve the target reduction information from the resource sender and store it after detecting the session storage party; this is not limited here.
[0106] In one possible implementation, the resource sender may also send the target exemption information or the identification information of the target exemption information to the exemption information storage server, so that the exemption information storage server deletes the association between the resource sender and the target exemption information.
[0107] S604, based on the total resource amount and the target reduction information, obtain the target total resource amount.
[0108] In this embodiment, step S604 can be performed by the resource sender, the transfer manager, or the resource manager; no limitation is made here. Optionally, since the resource manager manages virtual resources, and the target total resource amount is the final number of virtual resources to be transferred, after obtaining the target total resource amount, it is also necessary to send the target total resource amount to the resource manager so that the virtual resources of the target total resource amount can be transferred subsequently.
[0109] In one embodiment, after obtaining the target total amount of resources, the resource sender can output a secondary confirmation interface containing the target total amount of resources, so that the transfer initiator can confirm that the final number of virtual resources transferred is the target total amount of resources.
[0110] S605, transfers the total virtual resources of the target resource quantity from the resource sender to the resource receiver corresponding to the pre-transfer resource.
[0111] In this embodiment, the resource manager can associate the virtual resources owned by each party with each party for storage. The specific transfer process can then include: the resource manager obtaining the target total amount of virtual resources from the virtual resources associated with the resource sender; the resource manager deleting the association between the target total amount of virtual resources and the resource sender; and the resource manager establishing an association between the target total amount of virtual resources and the resource receiver.
[0112] In practice, the resource manager can associate and store the virtual resources owned by each party with the identification information of each party. Therefore, the resource manager can find the virtual resources associated with the resource sender based on the resource sender's identification information. The same applies to the resource receiver, which will not be elaborated upon here.
[0113] S606: Obtain the target reduction information from the session information of the resource transfer session, and generate the resource transfer settlement interface based on the target reduction information.
[0114] In this embodiment, the resource transfer settlement interface may include at least one of the following: target reduction information and the quantity of virtual resources reduced as represented by the target reduction information. Furthermore, the resource transfer settlement interface may also include at least one of the following: total resource quantity and target total resource quantity. Specifically, the resource transfer settlement interface may include at least one of the following: a billing interface and a transfer voucher interface.
[0115] Step S601 mentions that the session information of the resource transfer session is generated by the transfer manager based on the pre-order identifier generated in the resource transfer session, and the pre-order identifier is generated when the transfer manager detects the total amount of resources to be transferred.
[0116] Therefore, in this embodiment of the application, the specific process of obtaining target reduction information from the session information of the resource transfer session may include: if transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, then a pre-order identifier is obtained based on the transfer callback information; the session information that matches the pre-order identifier is searched from the stored session information and used as the session information of the resource transfer session; and the target reduction information is obtained from the session information.
[0117] Specifically, the transfer callback information can be generated by the resource manager after detecting the transfer of the target total amount of virtual resources. The transfer callback information can include transfer success callbacks and transfer failure callbacks. The transfer success callback information can be generated by the resource manager after detecting that the target total amount of virtual resources has been successfully transferred. However, if the number of virtual resources associated with the resource sender is less than the target total amount, or if the virtual resource account of either party in the resource transfer is incorrect, the transfer of the target total amount of virtual resources may fail. Therefore, the resource manager can generate a transfer failure callback information after detecting that the transfer of the target total amount of virtual resources has failed.
[0118] In addition, the stored session information may contain session information of multiple different resource transfer sessions, and the aforementioned pre-order identifier is stored in association with the session information. The pre-order identifier can identify the session information of the resource transfer session; therefore, the session information that matches the pre-order identifier is the session information of the resource transfer session between the resource sender and the resource receiver.
[0119] In one embodiment, the pre-order executed by the transfer manager indicates an intention to construct a resource transfer transaction between the resource sender and the resource receiver; therefore, after the pre-order, a transaction order for the resource transfer transaction needs to be placed by the resource manager to indicate the completion of constructing the resource transfer transaction between the resource sender and the resource receiver.
[0120] Specifically, the transfer manager can generate a resource transaction request and send it to the resource manager; the resource manager can respond to the resource transaction request, generate a transaction order identifier corresponding to the resource transfer transaction between the resource sender and the resource receiver, store the transaction order identifier locally, and send the transaction order identifier to the transfer manager; after receiving the transaction order identifier, the transfer manager can associate and store the pre-order identifier and the transaction order identifier managed by the transfer manager in the session storage.
[0121] The transfer callback information can be generated by the resource manager based on the transaction order identifier stored locally after detecting a virtual resource transfer of the target total amount of resources. Therefore, the resource manager can send the transfer callback information to the callback information manager, and the callback information manager, upon detecting the transfer callback information, can obtain the transaction order identifier carried in the transfer callback information and obtain the pre-order identifier associated with the transaction order identifier from the session storage provider.
[0122] In face-to-face resource transfer services in real-world social scenarios, the resource sender may include the client used by the transfer initiator (specifically, the account logged into the client), the transfer manager may include a face-to-face transfer management server and a social transfer management server, the resource manager may include a virtual resource management server, and the callback information manager may include a resource callback notification server, a face-to-face callback notification server, a face-to-face business notification server, a billing server, and a transfer credential server.
[0123] Specifically, the resource callback notification server manages callback information for the virtual resource management server; the face-to-face callback notification server manages callback information for face-to-face resource transfer services; the face-to-face service notification server transmits callback information to face-to-face resource transfer services; the billing server generates a billing interface based on the callback notification information; and the transfer voucher server generates a transfer voucher interface based on the callback notification information. It is understandable that the transfer management component can include transfer management servers built for different resource transfer services in social scenarios, such as a money transfer server.
[0124] Please see the appendix Figure 7 This diagram illustrates the transfer process of virtual resources in a social setting. Figure 7 It mainly consists of four parts.
[0125] As shown in steps 701 to 707, in the first part, after the transfer initiator scans the recipient's (i.e., the resource receiver's) QR code through the client, the client will display a resource transfer interface. The transfer initiator can then enter the total amount of resources to be transferred to initiate the resource transfer. The resource transfer interface can be generated by the face-to-face transfer management server and sent to the client.
[0126] Subsequently, the client can generate a transfer order request in response to the total amount of resources to be transferred and send it to the face-to-face transfer management server. The face-to-face transfer management server can then send the transfer order request to the social transfer management server. Upon detecting a transfer order request containing the total amount of resources to be transferred, the social transfer management server can respond by generating an order credential on the transfer management side, namely the pre-order identifier (prepay_id). Furthermore, the social transfer management server can use the pre-order identifier as the key to store information from the pre-order process as session information (value) in a session information storage server. Finally, the social transfer management server can pass the pre-order identifier to the face-to-face transfer management server, which in turn can pass it to the client. Additionally, the social transfer management server can also store and manage the pre-order identifier locally.
[0127] The second part, as shown in steps 708 to 715, involves the client sending a pre-order identifier to the social transfer management server to obtain the checkout display information. Upon receiving the pre-order identifier from the client, the social transfer management server can query the discount information associated with the resource sending account of the currently logged-in client from the discount information storage server, and generate a resource transaction request, which is then sent to the virtual resource management server. In response to the resource transaction request, the virtual resource management server generates a transaction order identifier (specifically, a transaction number, `transaction_id`) and returns it to the social transfer management server. Thus, the social transfer management server can obtain the checkout display information based on the transaction order identifier and the discount information.
[0128] After obtaining the transaction order identifier, as shown in step 712, the social transfer management server can associate and store the transaction order identifier and the pre-order identifier in the session information storage server.
[0129] Optionally, the virtual resource management server can also respond to resource transaction requests, obtain the virtual resource source associated with the resource sending account, obtain payment method information, and send it to the social transfer management server; while the social transfer management server can obtain the cashier display information based on the transaction order identifier, payment method information, and discount information.
[0130] Finally, the social transfer management server can send the checkout information to the client, so that the client can generate a transfer confirmation interface based on the checkout information.
[0131] As shown in steps 716 to 721 in the third part, the client can receive the target discount information and target payment method selected by the transfer initiator from the transfer confirmation interface, and send the pre-order identifier, target discount information, and target payment method to the social transfer management server. The social transfer management server can send a request to the discount information storage server to deduct the target discount information, so that the discount information storage server deletes the association between the resource sending account and the target discount information. The social transfer management server can also obtain the target resource total based on the total resource amount and the target discount information, then generate a resource transfer request for the target resource total amount, and send it to the virtual resource management server, so that the virtual resource management server responds to the resource transfer request and transfers the virtual resources of the target resource total amount associated with the resource sending account to the resource receiving account indicated by the previously scanned QR code.
[0132] After detecting the completion of a transfer (which may be successful or fail), the virtual resource management server can generate transfer callback information carrying a transaction order identifier. This transfer callback information may also carry at least one of the following: information regarding whether the transfer was successful or failed; information about both parties involved in the resource transfer; total resource amount; target total resource amount; payment method; target discount information; the amount of virtual resources discounted as indicated by the target discount information; signature information corresponding to the resource receiving account; and signature information corresponding to the resource sending account.
[0133] Meanwhile, as shown in step 720, the virtual resource management server can update the deducted target reduction information and the total amount of transferred target resources to the corresponding session information (i.e., the session information corresponding to the pre-order identifier generated in the first part).
[0134] As shown in steps 722 to 728, in Part Four, the Virtual Resource Management Server can send transfer callback information to the Resource Callback Notification Server, which in turn sends the transfer callback information to the Face-to-Face Callback Notification Server. The Face-to-Face Callback Notification Server can then use the transaction order identifier carried in the transfer callback information to search for the pre-order identifier associated with the transaction order identifier in the Session Information Storage Server. After finding the pre-order identifier, the Face-to-Face Callback Notification Server then searches for the session information that matches the pre-order identifier (i.e., the session information associated with the pre-order identifier) in the Session Information Storage Server and obtains the target discount information from it.
[0135] After obtaining the target exemption information, the face-to-face callback notification server can send the target exemption information to the face-to-face business server, the billing server, and the transfer credential server. The billing server can write the target exemption information into the billing interface for the resource sending account, and can further send the billing interface to the client logged in to the resource sending account; optionally, the billing server can also write the target exemption information into the billing interface for the resource receiving account, and can further send the billing interface to the client logged in to the resource receiving account.
[0136] Accordingly, the transfer credential server can write the target exemption information into the transfer credential interface for the resource sending account, and can further send the transfer credential interface to the client logged in by the resource sending account; optionally, the transfer credential server can also write the target exemption information into the transfer credential interface for the resource receiving account, and can further send the transfer credential interface to the client logged in by the resource receiving account.
[0137] It is understandable that all devices, when transmitting information or data, use identification information (such as ID) to improve data transmission and data processing efficiency, which will not be elaborated further.
[0138] Specifically, this example solution establishes a mapping between pre-order identifiers and transaction order identifiers. This allows the virtual resource management server to generate transfer callback information solely based on the transaction order identifier. The callback information manager can then retrieve the corresponding pre-order identifier from the transaction order identifier within the transfer callback information. This allows them to obtain the target discount information from the session information associated with the pre-order identifier, and subsequently send a callback notification regarding the target discount. This callback notification effectively avoids disputes among parties (such as the initiator of the resource transfer) regarding the final total amount of resources to be transferred. It also enhances the experience for the initiator during the virtual resource transfer process, thereby promoting the development of virtual resource transfer services in social scenarios.
[0139] In one embodiment, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred. The transfer manager can generate a resource transaction request based on the pre-order identifier it manages and send it to the resource manager. The resource manager can parse the pre-order identifier from the resource transaction request and write the pre-order identifier into an extended field stored locally by the resource manager.
[0140] Subsequently, after detecting the completion of the virtual resource transfer for the target total resource amount, the resource manager can generate transfer callback information based on the pre-order identifier contained in the extended fields. Finally, the resource manager can send the transfer callback information to the callback information manager, so that the callback information manager can obtain the pre-order identifier carried in the transfer callback information upon detection of the transfer callback information.
[0141] In practice, the order placement interface protocol of the resource manager can be modified to add extended fields, thereby enabling the resource manager to support storing pre-order identifiers.
[0142] For practical applications, please refer to the appendix. Figure 8 This illustrates a schematic diagram of the transfer process of virtual resources in another social scenario. Figure 8 The process mainly consists of four parts. The first part, as shown in steps 801 to 807, is the same as steps 701 to 707 and will not be described again here.
[0143] The second part, as shown in steps 808 to 815, involves the client sending a pre-order identifier to the social transfer management server to obtain the checkout display information. Upon receiving the pre-order identifier from the client, the social transfer management server can query the discount information associated with the resource sending account of the currently logged-in client from the discount information storage server, and generate a resource transaction request, which is then sent to the virtual resource management server. In response to the resource transaction request, the virtual resource management server generates a transaction order identifier (specifically, a transaction number, `transaction_id`) and returns it to the social transfer management server. This allows the social transfer management server to obtain the checkout display information based on the transaction order identifier and the discount information. Simultaneously, as shown in step 811, the social transfer management server can parse the pre-order identifier carried in the resource transaction request and write it into an extended field in local storage.
[0144] Finally, the social transfer management server can send the received checkout display information to the client, so that the client can generate a transfer confirmation interface based on the checkout display information.
[0145] As shown in steps 816 to 821, the third part allows the client to receive the target discount information and target payment method selected by the transfer initiator from the transfer confirmation interface, and send the pre-order identifier, target discount information, and target payment method to the social transfer management server.
[0146] The social transfer management server can send a request to the exemption information storage server to deduct the target exemption information, so that the exemption information storage server can delete the association between the resource sending account and the target exemption information. The social transfer management server can also obtain the target total resource amount based on the total resource amount and the target exemption information, then generate a resource transfer request for the target total resource amount and send it to the virtual resource management server. The virtual resource management server will then respond to the resource transfer request and transfer the virtual resources of the target total resource amount associated with the resource sending account to the resource receiving account indicated by the previously scanned QR code.
[0147] Meanwhile, as shown in step 820, the virtual resource management server can update and store the deducted target reduction information in the corresponding session information (i.e., the session information corresponding to the pre-order identifier generated in the first part).
[0148] Once the virtual resource management server detects that the transfer is complete, it can generate transfer callback information that includes the transaction order identifier and extended fields.
[0149] As shown in steps 822 to 828, in the fourth part, the virtual resource management server can send the transfer callback information to the resource callback notification server, and the resource callback notification server will send the transfer callback information to the face-to-face callback notification server.
[0150] Then, as shown in step 824, the face-to-face callback notification server can obtain the extended field from the transfer callback information and read the pre-order identifier contained in the extended field; then, as shown in step 825, the face-to-face callback notification server can search for the session information that matches the pre-order identifier from the session information storage server and obtain the target discount information from it.
[0151] After obtaining the target reduction information, as shown in steps 826 to 828, the face-to-face callback notification server can send the target reduction information to the face-to-face business server, billing server, and transfer voucher server.
[0152] Specifically, this example solution adds an extended field to the virtual resource management server to support storing pre-order identifiers. This allows the virtual resource management server to generate transfer callback information containing the pre-order identifier. Upon receiving the transfer callback information, the callback information manager (such as a face-to-face callback notification server) can query the session information associated with the pre-order identifier, and further retrieve the target discount information from the queried session information, thus enabling callback notification of the target discount information. Callback notification of the target discount information effectively avoids disputes among all parties (such as the initiator of the resource transfer, the recipient, the servers on each side, and the backend) regarding the final total amount of target resources transferred. This improves the experience of the initiator during the virtual resource transfer process, thereby promoting the development of virtual resource transfer services in social scenarios.
[0153] In one embodiment, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred. After generating the pre-order identifier, the transfer manager can generate a resource transaction request based on the pre-order identifier it manages and send it to the resource manager so that the resource manager can respond to the resource transaction request and generate a transaction order identifier for the resource transfer transaction between the resource sender and the resource receiver.
[0154] The transfer callback information is generated by the resource manager based on the transaction order identifier after detecting the completion of the virtual resource transfer of the target total amount. The resource manager does not store the pre-order identifier; therefore, the resource manager can send the transfer callback information to the transfer manager, so that the transfer manager can respond to the transfer callback information and obtain the managed pre-order identifier when it detects the transfer callback information.
[0155] For practical applications, please refer to the appendix. Figure 9 This illustrates a schematic diagram of the transfer process of virtual resources in yet another social scenario. Figure 9 The process mainly consists of four parts. The first part, as shown in steps 901 to 907, is the same as steps 701 to 707 and will not be described in detail here.
[0156] The second part, as shown in steps 908 to 914, involves the client sending a pre-order identifier to the social transfer management server to obtain the checkout display information. Upon receiving the pre-order identifier from the client, the social transfer management server can query the discount information associated with the resource sending account of the currently logged-in client from the discount information storage server, and generate a resource transaction request, which is then sent to the virtual resource management server. In response to the resource transaction request, the virtual resource management server generates a transaction order identifier and returns it to the social transfer management server. Thus, the social transfer management server can obtain the checkout display information based on the transaction order identifier and the discount information.
[0157] Finally, the social transfer management server can send the checkout information to the client, so that the client can generate a transfer confirmation interface based on the checkout information.
[0158] As shown in steps 915 to 920, in the third part, the client can receive the target discount information and target payment method selected by the transfer initiator from the transfer confirmation interface, and send the pre-order identifier, target discount information, and target payment method to the social transfer management server. The social transfer management server can send a request to the discount information storage server to deduct the target discount information, so that the discount information storage server deletes the association between the resource sending account and the target discount information.
[0159] The social transfer management server can also obtain the target total resource amount based on the total resource amount and the target reduction information, then generate a resource transfer request for the target total resource amount and send it to the virtual resource management server, so that the virtual resource management server responds to the resource transfer request and transfers the virtual resources of the target total resource amount associated with the resource sending account to the resource receiving account indicated by the previously scanned QR code.
[0160] Simultaneously, as shown in step 919, the virtual resource management server can update and store the deducted target reduction information in the session information corresponding to the pre-order identifier (i.e., the session information corresponding to the pre-order identifier generated in the first part). Finally, as shown in step 920, after detecting that the transfer is complete, the virtual resource management server can generate transfer callback information carrying the transaction order identifier and send it to the social transfer management server.
[0161] As shown in steps 921 and 922, in the fourth part, after receiving the transfer callback information sent by the virtual resource management server, the social transfer management server can respond to the transfer callback information and, through the pre-order identifier it manages, query the session information storage server for the target discount information contained in the session information corresponding to the pre-order identifier. Then, as shown in steps 923 and 924, the social transfer management server can send a callback notification of the retrieved target discount information to the face-to-face business server.
[0162] Specifically, in this example solution, the transfer callback information is sent directly to the transfer manager (such as a social transfer management server), so that the transfer manager can directly obtain the pre-order identifier through the pre-order identifier it manages, and query the session information associated with the pre-order identifier to obtain the target discount information; finally, the transfer manager sends a callback notification for the target discount information.
[0163] It's clear that this example solution deploys some of the processes originally required by the callback information manager (specifically, the resource callback notification server and the face-to-face callback notification server) to the transfer manager. The transfer manager itself manages pre-order identifiers, which can be used to obtain target discount information, eliminating the need to design other complex associated storage or extended field session processes. Therefore, this example solution is simple and convenient, reducing session resource overhead; furthermore, fewer session processes mean a lower probability of data errors transmitted through sessions, thus effectively improving the accuracy of the virtual resource transfer process.
[0164] In one possible implementation, the target discount information can also be stored at the level of the transaction order identifier. Specifically, when storing the target discount information, the transaction order identifier can be associated with the target discount information and stored in the session information of the resource transfer session.
[0165] The specific process of obtaining target reduction information from the session information of the resource transfer session may include: if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, then the transaction order identifier carried by the transfer callback information is obtained; from the session information containing the transaction order identifier, the target reduction information associated with the transaction order identifier is searched.
[0166] For practical applications, please refer to the appendix. Figure 10 This illustrates a schematic diagram of the transfer process of virtual resources in another social scenario. Figure 10 The process mainly consists of four parts. The first part, as shown in steps 1001 to 1007, is the same as steps 701 to 707 and will not be described again here.
[0167] The second part is shown in steps 1008 to 1015. Among them, Figure 7 Step 712 and Figure 10 Steps 10 and 12 are different. Figure 10 In the example, the transaction order identifier and the queried discount information are stored in the session information associated with the pre-order identifier. Figure 10 For detailed implementation methods of the other steps in the second part of the example, please refer to the section on... Figure 7 The specific explanation of the second part of the example will not be repeated here.
[0168] The third part is shown in steps 1016 to 1022. The client can receive the target discount information and target payment method selected by the transfer initiator from the transfer confirmation interface, and send the pre-order identifier, target discount information and target payment method to the social transfer management server.
[0169] Subsequently, as shown in step 1018, the social transfer management server can query the transaction order identifier stored in the session information associated with the pre-order identifier from the session information storage server. And, as shown in step 1019, the social transfer management server can send a request to the discount information storage server regarding the deduction of target discount information, so that the discount information storage server deletes the association between the resource sending account and the target discount information. Furthermore, the social transfer management server can also obtain the target total resource amount based on the total resource amount and the target discount information, and then, as shown in step 1020, generate a resource transfer request for the target total resource amount and send it to the virtual resource management server, so that the virtual resource management server responds to the resource transfer request and transfers the virtual resources of the target total resource amount associated with the resource sending account to the resource receiving account indicated by the previously scanned QR code.
[0170] Simultaneously, as shown in step 1021, the virtual resource management server can store the deducted target reduction information and transaction order identifier in the session information storage server. Finally, as shown in step 1022, after detecting the completion of the transfer, the virtual resource management server can generate transfer callback information carrying the transaction order identifier.
[0171] As shown in steps 1023 to 1029 in Part Four, the Virtual Resource Management Server may send transfer callback information to the Resource Callback Notification Server, which in turn may send the transfer callback information to the Face-to-Face Callback Notification Server. Optionally, the Face-to-Face Callback Notification Server may also send the transfer callback information to at least one of the Face-to-Face Business Server, Billing Server, and Transfer Credential Server.
[0172] Simultaneously, as shown in step 1025, the resource callback notification server can also query the target discount information corresponding to the transaction order identifier carried in the transfer callback information from the session information storage server. Finally, as shown in steps 1025 to 1029, the resource callback notification server can send the target discount information callback notification to the face-to-face callback notification server. The face-to-face callback notification server can then send the target discount information callback notification to the face-to-face business server, billing server, and transfer voucher server.
[0173] Specifically, this example solution stores discount information based on the order placement identifier. This allows the virtual resource management server to generate transfer callback information using only the order placement identifier. The callback information manager can then directly query the target discount information using the order placement identifier within the transfer callback information, thereby enabling callback notification of the target discount. As can be seen, this example solution eliminates the need to indirectly query the target discount information using the pre-order identifier, reducing the session resource overhead required in this process and avoiding the time cost of multiple queries. This effectively improves the speed of callback notification and further enhances the user experience for the initiating party during the virtual resource transfer process.
[0174] In one possible implementation, for the four example schemes mentioned above, if calling any scheme fails to obtain the target reduction information, the remaining schemes can be used to obtain the target reduction information until there are no remaining schemes to call or until the target reduction information is obtained.
[0175] S607 displays the resource transfer settlement interface.
[0176] In this embodiment, the resource transfer settlement interface can be displayed either by the resource sender (specifically, by the client logged in by the resource sender) or the resource receiver (specifically, by the client logged in by the resource receiver). The resource transfer settlement interfaces displayed by the resource sender and the resource receiver can be the same or different.
[0177] In one embodiment, when the resource transfer settlement interface is a billing interface, it may include at least one of the following: target reduction information, the number of virtual resources to be reduced as represented by the target reduction information, etc. Furthermore, the resource transfer settlement interface may also include at least one of the following: total resource amount, target total resource amount, payment method, resource sender identification information, resource receiver identification information, transfer status information (used to represent the resource transfer progress), transfer time information, transaction order identifier, and transfer remarks information.
[0178] For practical applications, please refer to the appendix. Figure 11 The image shows a schematic diagram of a billing interface. Figure 11 As shown, the billing interface 1101 includes the current status (i.e., transfer status information), payee remarks (i.e., transfer remarks information), payment method, transfer time (i.e., transfer time information), transfer order number (i.e., transaction order identifier), original price (i.e., total resource amount), discount information ("Member 9.5% discount activity" and "0.55", i.e. target discount information), actual payment amount ("-10.45", i.e. the final target total resource amount transferred), and payment device F (i.e., the identifier information of the resource recipient).
[0179] In one embodiment, when the resource transfer settlement interface is a transfer voucher interface, the resource transfer settlement interface may include at least one of the following: target reduction information, the quantity of virtual resources reduced as represented by the target reduction information, etc. Furthermore, the resource transfer settlement interface may also include at least one of the following: total resource quantity, target total resource quantity, payment method, and identifier information of the resource recipient, etc.
[0180] For practical applications, please refer to the appendix. Figure 12 The diagram illustrates a user interface for transferring credentials. Figure 12 As shown, the transfer voucher interface 1201 may contain at least one voucher area. As shown in voucher area 1202, voucher area 1202 contains information such as the name of the receiving institution, the receiving device F (i.e., the resource recipient's identification information), the payment method, the original payment amount "11" (i.e., the total resource amount), and the actual payment amount "-10.45" (i.e., the final target total resource amount transferred). Optionally, by clicking the "Bill Details" area in voucher area 1202, one can also jump to the billing interface 1101.
[0181] In this embodiment, by obtaining the target reduction information from the session information of the resource transfer session after the resource transfer is completed, and then generating and displaying the resource transfer settlement interface, the initiating party or the receiving party can perceive the actual amount of virtual resources reduced during the resource transfer process. This effectively avoids disputes between the two parties (i.e., the resource initiating party and the resource receiving party) regarding the final target total amount of resources transferred, thus improving the experience for both parties during the virtual resource transfer process. Furthermore, by obtaining reduction information at the beginning of the resource transfer, confirming the target reduction information during the transfer, and displaying the actual reduction information used after the transfer is completed, the reduction information can be introduced into the virtual resource transfer process. This allows for flexible adjustment of the originally input total amount of resources based on the reduction information. This not only improves the flexibility of virtual resource transfer services in social scenarios but also allows the initiating party to perceive and use the reduction information throughout the process, significantly enhancing the experience for both parties, gaining positive word-of-mouth, and promoting the use of virtual resource transfer services in social scenarios.
[0182] Based on the above description of the virtual resource transfer method, this application also discloses a virtual resource transfer apparatus. This virtual resource transfer apparatus can be a computer program (including program code) running on the aforementioned computer device. This virtual resource transfer apparatus can execute, for example... Figure 2 and Figure 6 For the virtual resource transfer method shown, please refer to [link / reference]. Figure 13The virtual resource transfer device may include at least: a first acquisition unit 1301, a second acquisition unit 1302, a processing unit 1303, and a resource transfer unit 1304, wherein:
[0183] The first acquisition unit 1301 is used to acquire the reduction information associated with the resource sender in response to the total amount of pre-transfer resources input by the resource sender.
[0184] The second acquisition unit 1302 is used to acquire the confirmed target exemption information in response to the confirmation operation of exemption information;
[0185] Processing unit 1303 is used to obtain the target total resource amount based on the total resource amount and the target reduction information;
[0186] Resource transfer unit 1304 is used to transfer virtual resources of the target total amount of resources from the resource sender to the resource receiver corresponding to the pre-transfer resources.
[0187] In one embodiment, after the second acquisition unit 1302 acquires the confirmed target reduction information, the second acquisition unit 1302 can also be used to perform: storing the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver.
[0188] After transferring the total virtual resources of the target resource amount from the resource sender to the resource receiver corresponding to the pre-transfer resource, the resource transfer unit 1304 can also be used to: obtain the target reduction information from the session information of the resource transfer session, and generate a resource transfer settlement interface based on the target reduction information; and display the resource transfer settlement interface.
[0189] In another implementation, the session information of the resource transfer session is generated based on the pre-order identifier generated in the resource transfer session. The pre-order identifier is generated when the total amount of resources to be transferred is detected. When the resource transfer unit 1304 obtains the target reduction information from the session information of the resource transfer session, it can specifically perform the following: if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, the pre-order identifier is obtained based on the transfer callback information; the session information matching the pre-order identifier is searched from the stored session information and used as the session information of the resource transfer session; the target reduction information is obtained from the session information.
[0190] In another embodiment, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit 1304 can also be used to: generate a resource transaction request through the transfer manager and send it to the resource manager, so that the resource manager responds to the resource transaction request, generates a transaction order identifier corresponding to the resource transfer transaction between the resource sender and the resource receiver, stores the transaction order identifier locally, and sends the transaction order identifier to the transfer manager; the transfer manager receives the transaction order identifier and associates the pre-order identifier and the transaction order identifier managed by the transfer manager with the session storage.
[0191] The transfer callback information is generated by the resource manager based on the transaction order identifier stored locally after detecting that the transfer of the virtual resources of the target total amount of resources has been completed. When the resource transfer unit 1304 detects the transfer callback information corresponding to the virtual resources of the target total amount of resources and obtains the pre-order identifier based on the transfer callback information, it can also be used to perform the following: the resource manager sends the transfer callback information to the callback information manager, so that when the callback information manager detects the transfer callback information, it obtains the transaction order identifier carried by the transfer callback information and obtains the pre-order identifier associated with the transaction order identifier from the session storage.
[0192] In another embodiment, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit 1304 can also be used to: generate a resource transaction request through the pre-order identifier managed by the transfer manager and send it to the resource manager, so that the resource manager can parse the pre-order identifier from the resource transaction request and write the pre-order identifier into an extended field stored locally by the resource manager.
[0193] The transfer callback information is generated by the resource manager after detecting that the transfer of virtual resources of the target total amount has been completed, based on the pre-order identifier contained in the extended field. When the resource transfer unit 1304 detects the transfer callback information corresponding to the virtual resources of the target total amount, it can specifically perform the following when obtaining the pre-order identifier based on the transfer callback information: the resource manager sends the transfer callback information to the callback information manager, so that the callback information manager can obtain the pre-order identifier carried by the transfer callback information when it detects the transfer callback information.
[0194] In another embodiment, the pre-order identifier is generated by the transfer manager when it detects the total amount of resources to be transferred; the resource transfer unit 1304 can also be used to: generate a resource transaction request through the pre-order identifier managed by the transfer manager and send it to the resource manager so that the resource manager responds to the resource transaction request and generates a transaction order identifier for the resource transfer transaction between the resource sender and the resource receiver.
[0195] The transfer callback information is generated by the resource manager based on the transaction order identifier after detecting that the virtual resource transfer of the target total amount of resources has been completed. When the resource transfer unit 1304 detects the transfer callback information corresponding to the virtual resource of the target total amount of resources, it can specifically perform the following when obtaining the pre-order identifier based on the transfer callback information: send the transfer callback information to the transfer manager so that the transfer manager can respond to the transfer callback information and obtain the pre-order identifier it manages when it detects the transfer callback information.
[0196] In another embodiment, the session information further includes a transaction order identifier generated during the resource transfer session; when the resource transfer unit 1304 stores the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver, it can also specifically perform the following: associating the transaction order identifier with the target reduction information and storing it in the session information of the resource transfer session; when the resource transfer unit 1304 obtains the target reduction information from the session information of the resource transfer session, it can also specifically perform the following: if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, then the transaction order identifier carried by the transfer callback information is obtained; and the target reduction information associated with the transaction order identifier is searched from the session information containing the transaction order identifier.
[0197] In another embodiment, when the processing unit 1303 obtains the target total resource based on the total resource and the target reduction information, it can specifically perform the following: if the target reduction information includes a reduction quantity, then the difference between the total resource and the reduction quantity in the target reduction information is taken as the target total resource; if the target reduction information includes a reduction ratio, then the target reduction quantity is obtained based on the total resource and the reduction ratio, and the difference between the total resource and the target reduction quantity is taken as the target total resource.
[0198] According to one embodiment of this application, Figure 2 and Figure 6 The steps involved in the method shown can be derived from... Figure 13 This is performed by the individual units within the virtual resource transfer device shown. For example, Figure 6 The step S601 shown can be performed by Figure 13 The first acquisition unit 1301 in the virtual resource transfer device shown is responsible for executing steps S602 to S603; Figure 13 The second acquisition unit 1302 in the virtual resource transfer device shown is responsible for executing step S604; step S604 can be performed by... Figure 13 The processing unit 1303 in the virtual resource transfer device shown is responsible for executing steps S605 to S607; Figure 13 The resource transfer unit 1304 in the virtual resource transfer device shown is used to perform this.
[0199] According to another embodiment of this application, Figure 13 The virtual resource transfer device shown is divided based on logical functions. These units can be individually or entirely merged into one or more other units, or some of these units can be further divided into multiple functionally smaller units. This achieves the same operation without affecting the technical effects of the embodiments of this application. In other embodiments of this application, the virtual resource transfer device may also include other units. In practical applications, these functions can also be implemented with the assistance of other units, and multiple units can collaborate to achieve them.
[0200] According to another embodiment of this application, a general-purpose computing device, such as a computer device, including processing elements and storage elements such as a central processing unit (CPU), random access memory (RAM), and read-only memory (ROM), can be used to run an application capable of performing tasks such as... Figure 2 or Figure 6 The computer program (including program code) involved in each step of the method shown is used to construct, for example... Figure 13 The virtual resource transfer apparatus shown herein, and the virtual resource transfer method for implementing the embodiments of this application, are described. The computer program may be recorded on, for example, a computer storage medium, loaded onto the aforementioned computer device via the computer storage medium, and run therein.
[0201] In this embodiment, by responding to the total resource amount input by the resource sender and obtaining the associated reduction information, it is beneficial to provide the resource sender with the associated reduction information at the beginning of the resource transfer. This allows the initiator of the resource transfer to be aware of the reduction information they can use from the outset, thereby improving the initiator's experience during the virtual resource transfer process. Simultaneously, by responding to the confirmation operation of the reduction information and obtaining the confirmed target reduction information, this embodiment ensures that the final target reduction information used is confirmed, thus avoiding disputes among the initiators of the resource transfer regarding the final target total resource amount, further enhancing the initiator's experience during the virtual resource transfer process. Furthermore, by introducing reduction information, this embodiment allows for flexible adjustment of the originally input total resource amount in social scenarios, improving the flexibility of virtual resource transfer services in social settings.
[0202] Based on the above method and apparatus embodiments, this application also provides an electronic device. See also Figure 14 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 14The electronic device shown may include at least a processor 1401, an input interface 1402, an output interface 1403, and a computer storage medium 1404. The processor 1401, input interface 1402, output interface 1403, and computer storage medium 1404 may be connected via a bus or other means.
[0203] Computer storage medium 1404 can be stored in the memory of electronic device. Computer storage medium 1404 is used to store computer programs, which include program instructions. Processor 1401 is used to execute the program instructions stored in computer storage medium 1404. Processor 1401 (or CPU (Central Processing Unit)) is the computing and control core of electronic device. It is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to realize the above-mentioned virtual resource transfer method process or corresponding functions.
[0204] This application embodiment also provides a computer storage medium (Memory), which is a memory device in an electronic device used to store programs and data. It is understood that the computer storage medium here can include the built-in storage medium in a terminal, or it can include an extended storage medium supported by the terminal. The computer storage medium provides storage space, which stores the terminal's operating system. Furthermore, the storage space also stores one or more instructions suitable for loading and execution by the processor 1401. These instructions can be one or more computer programs (including program code). It should be noted that the computer storage medium here can be a high-speed random access memory (RAM), or it can be non-volatile memory, such as at least one disk storage device; optionally, it can also be at least one computer storage medium located remotely from the aforementioned processor.
[0205] In one embodiment, the processor 1401 may load and execute one or more instructions stored in the computer storage medium to implement the aforementioned related... Figure 2 and Figure 6 In the embodiment of the virtual resource transfer method, one or more instructions in the computer storage medium are loaded and executed by the processor 1401, as follows: Figure 2 and Figure 6 The steps in the virtual resource transfer method embodiment shown.
[0206] This application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. The processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the aforementioned actions. Figure 2 and Figure 6 The method embodiment shown. The computer-readable storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0207] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims. Furthermore, this application does not limit the execution order of the various steps in the specific embodiments.
Claims
1. A method for transferring virtual resources, characterized in that, The method includes: In response to the total amount of pre-transferable resources input by the resource sender, obtain the reduction information associated with the resource sender; In response to the confirmation operation of the reduction information, the confirmed target reduction information is obtained; Based on the total resource amount and the target reduction information, the target total resource amount is obtained; The virtual resources of the target total amount of resources are transferred from the resource sender to the resource receiver corresponding to the pre-transfer resources.
2. The method according to claim 1, characterized in that, After obtaining the confirmed target reduction information, the method further includes: The target reduction information is stored in the session information corresponding to the resource transfer session between the resource sender and the resource receiver; After transferring the virtual resources of the target total amount from the resource sender to the resource receiver corresponding to the pre-transferred resources, the method further includes: The target fee reduction information is obtained from the session information of the resource transfer session, and a resource transfer settlement interface is generated based on the target fee reduction information; The resource transfer settlement interface is displayed.
3. The method according to claim 2, characterized in that, The session information of the resource transfer session is generated based on the pre-order identifier generated in the resource transfer session. The pre-order identifier is generated when the total amount of the pre-transferable resources is detected. Obtaining the target fee reduction information from the session information of the resource transfer session includes: If a transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, then a pre-order identifier is obtained based on the transfer callback information; Search the stored session information for the session information that matches the pre-order identifier, and use it as the session information for the resource transfer session; The target reduction information is obtained from the session information.
4. The method according to claim 3, characterized in that, The pre-order identifier is generated by the transfer manager when it detects the total amount of the pre-transfer resources; the method further includes: The transfer manager generates a resource transaction request and sends it to the resource manager, so that the resource manager responds to the resource transaction request, generates a transaction order identifier corresponding to the resource transfer transaction between the resource sender and the resource receiver, stores the transaction order identifier locally, and sends the transaction order identifier to the transfer manager. The transfer manager receives the transaction order identifier and associates and stores the pre-order identifier and the transaction order identifier managed by the transfer manager in the session storage. The transfer callback information is generated by the resource manager based on the locally stored transaction order identifier after detecting the completion of the virtual resource transfer of the target total amount of resources; if the transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, the pre-order identifier is obtained based on the transfer callback information, including: The resource manager sends the transfer callback information to the callback information manager, so that when the callback information manager detects the transfer callback information, it can obtain the transaction order identifier carried in the transfer callback information and obtain the pre-order identifier associated with the transaction order identifier from the session storage.
5. The method according to claim 3, characterized in that, The pre-order identifier is generated by the transfer manager when it detects the total amount of the pre-transfer resources; the method further includes: A resource transaction request is generated using the pre-order identifier managed by the transfer manager and sent to the resource manager, so that the resource manager can parse the pre-order identifier from the resource transaction request and write the pre-order identifier into an extended field stored locally by the resource manager. The transfer callback information is generated by the resource manager after detecting the completion of the virtual resource transfer of the target total amount of resources, based on the pre-order identifier contained in the extended field; if transfer callback information corresponding to the virtual resources of the target total amount of resources is detected, the pre-order identifier is obtained based on the transfer callback information, including: The resource manager sends the transfer callback information to the callback information manager, so that when the callback information manager detects the transfer callback information, it can obtain the pre-order identifier carried in the transfer callback information.
6. The method according to claim 3, characterized in that, The pre-order identifier is generated by the transfer manager when it detects the total amount of the pre-transfer resources; the method further includes: A resource transaction request is generated using the pre-order identifier managed by the transfer manager and sent to the resource manager, so that the resource manager responds to the resource transaction request and generates a transaction order identifier for the resource transfer transaction between the resource sender and the resource receiver. The transfer callback information is generated by the resource manager based on the transaction order identifier after detecting the completion of the virtual resource transfer of the target total amount; if the transfer callback information corresponding to the virtual resources of the target total amount is detected, the pre-order identifier is obtained based on the transfer callback information, including: The transfer callback information is sent to the transfer manager so that when the transfer manager detects the transfer callback information, it can respond to the transfer callback information to obtain the pre-order identifier it manages.
7. The method according to claim 2, characterized in that, The session information also includes a transaction order identifier generated during the resource transfer session; storing the target reduction information in the session information corresponding to the resource transfer session between the resource sender and the resource receiver includes: The transaction order identifier is associated with the target discount information and stored in the session information of the resource transfer session; Obtaining the target fee reduction information from the session information of the resource transfer session includes: If a transfer callback information corresponding to the virtual resources of the target total resource amount is detected, then the transaction order identifier carried by the transfer callback information is obtained; From the session information containing the transaction order identifier, find the target discount information associated with the transaction order identifier.
8. The method according to any one of claims 1 to 7, characterized in that, The process of obtaining the target total resource amount based on the total resource amount and the target reduction information includes: If the target reduction information includes a reduction quantity, then the difference between the total resource amount and the reduction quantity in the target reduction information shall be taken as the target total resource amount; If the target reduction information includes a reduction ratio, then the target reduction quantity is obtained based on the total resource amount and the reduction ratio, and the difference between the total resource amount and the target reduction quantity is taken as the target total resource amount.
9. A virtual resource transfer device, characterized in that, The device includes a first acquisition unit, a second acquisition unit, a processing unit, and a resource transfer unit, wherein: The first acquisition unit is used to acquire the reduction information associated with the resource sender in response to the total amount of pre-transfer resources input by the resource sender. The second acquisition unit is used to acquire the confirmed target exemption information in response to the confirmation operation of the exemption information; The processing unit is used to obtain the target total resource amount based on the total resource amount and the target reduction information; The resource transfer unit is used to transfer the virtual resources of the target total amount of resources from the resource sender to the resource receiver corresponding to the pre-transfer resources.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the virtual resource transfer method as described in any one of claims 1 to 8.
11. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the virtual resource transfer method as described in any one of claims 1 to 8.
12. A computer program product, characterized in that, The computer program product includes a computer program adapted to be loaded by a processor and executed as described in any one of claims 1 to 8.