Resource transfer method and device, equipment and medium
By obtaining the consumption rule data of the resource provider and selecting the appropriate resource provider, the tedious problem of the resource requester in selecting the resource provider is solved, and the convenience and efficiency of resource transfer are improved.
Patent Information
- Application Number
- CN202310273385.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2024-09-27
AI Technical Summary
In the existing technology, the resource requester's process of selecting a suitable resource provider is cumbersome, time-consuming and labor-intensive, and lacks convenience and efficiency.
By receiving the resource transfer request from the resource requester, obtain the resource consumption rule data of multiple resource providers, select the appropriate target resource provider from multiple resource providers based on the target resource quantity and consumption rule data, and report it to the resource requester. Recommended to realize resource transfer.
Automatically recommend appropriate resource providers to resource requesters, reducing the cumbersome operations of resource comparison and selection, improving the convenience and efficiency of resource transfer, and improving the accuracy of transfer.
Smart Images

Figure CN118710352A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a resource transfer method, a resource transfer device, an electronic device, and a computer-readable medium. Background Art
[0002] Currently, the resource requester can request the required resources from the resource provider and return them in installments at a later time. The installment return usually consumes a certain amount of resources, that is, the resource provider will charge a certain amount of resources.
[0003] In the related art, since there are usually multiple resource providers, the resource requester needs to compare the quantity of resources required by multiple resource providers, so as to select a suitable resource provider to obtain the required transferred resources. However, the whole process is relatively cumbersome, time-consuming and labor-intensive for the resource requester.
[0004] Therefore, how to improve the convenience of resource transfer is an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a resource transfer method, apparatus, device, and medium, which improve the convenience of resource transfer.
[0006] In a first aspect, an embodiment of the present application provides a resource transfer method, the method comprising: receiving a resource transfer request sent by a resource requester, the resource transfer request comprising a target resource to be transferred to the resource requester; obtaining resource consumption rule data corresponding to a plurality of resource providers, the resource consumption rule data being rules that the resource provider should follow when calculating the resources consumed by the resource requester to return the target resource in installments to the resource provider; selecting a target resource provider from the plurality of resource providers based on the quantity of the target resources and the resource consumption rule data; and recommending the target resource provider to the resource requester; wherein the target resource provider is used to provide the transfer of the target resource to the resource requester.
[0007] In a second aspect, an embodiment of the present application provides a resource transfer device, the device comprising: a receiving module, configured to receive a resource transfer request sent by a resource requester, the resource transfer request comprising a target resource to be transferred to the resource requester; an acquisition module, configured to acquire resource consumption rule data corresponding to a plurality of resource providers, the resource consumption rule data being rules that the resource provider should follow when calculating the resources consumed by the resource requester to return the target resource in installments to the resource provider; a selection module, configured to select a target resource provider from the plurality of resource providers based on the quantity of the target resources and the resource consumption rule data; a recommendation module, configured to recommend the target resource provider to the resource requester; wherein the target resource provider is used to provide the transfer of the target resource to the resource requester.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, comprising one or more processors; and a memory for storing one or more programs, so that when the one or more programs are executed by the one or more processors, the electronic device implements the resource transfer method as described above.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, wherein the computer program implements the resource transfer method as described above when executed by a processor.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the resource transfer method as described above.
[0011] In the technical solution provided in the embodiments of the present application: after receiving a resource transfer request from a resource requester, resource consumption rule data corresponding to multiple providers are obtained, and then based on the multiple resource consumption rule data and the number of target resources to be transferred to the resource requester contained in the resource transfer request, a target resource provider can be selected from multiple resource providers, and the target resource provider can be recommended to the resource requester so that the target resource provider can provide the transfer of target resources to the resource requester.
[0012] On the one hand, it realizes automatic recommendation of suitable resource providers for resource requesters, which can avoid the tedious operation of resource requesters to select resource providers through comparison, brings many conveniences to resource requesters and improves the convenience of resource transfer; at the same time, since it reduces the tedious operation of resource request comparison and selection of resource providers, it also improves the efficiency of resource transfer to a certain extent.
[0013] On the one hand, recommending suitable resource providers to resource requesters through the machine side is more accurate than the resource requesters independently selecting resource providers through comparison, which improves the accuracy of resource transfer to a certain extent.
[0014] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 is a schematic diagram of an exemplary implementation environment to which the technical solution of the embodiments of the present application can be applied;
[0016] Figure 2 is a flow chart of a resource transfer method shown in an exemplary embodiment of the present application;
[0017] Figure 3 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0018] Figure 4 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0019] Figure 5 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0020] Figure 6 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0021] Figure 7 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0022] Figure 8 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0023] Fig. 9 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0024] Fig.10 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0025] Fig.11 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0026] Fig.12 is a schematic diagram of a resource transfer system shown in another exemplary embodiment of the present application;
[0027] Fig.13is a schematic diagram of an interface for performing resource transfer shown in another exemplary embodiment of the present application;
[0028] Fig.14 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0029] Fig.15a and Fig.15b is a schematic diagram of a resource collection function shown in another exemplary embodiment of the present application;
[0030] Fig.16 is a flow chart of a resource transfer method shown in another exemplary embodiment of the present application;
[0031] Fig.17 is a block diagram of a resource transfer device according to an embodiment of the present application;
[0032] Fig.18 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0033] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments that are the same as the present application. Instead, they are only examples of devices and methods that are the same as some aspects of the present application as detailed in the attached claims.
[0034] 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 may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0035] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0036] It should be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0037] Currently, the resource requester can request the required resources from the resource provider and return them in installments at a later time. The installment return usually consumes a certain amount of resources, that is, the resource provider will charge a certain amount of resources.
[0038] In the related art, since there are usually multiple resource providers, the resource requester needs to compare the quantity of resources required by multiple resource providers, so as to select a suitable resource provider to obtain the required transferred resources. However, the whole process is relatively cumbersome, time-consuming and labor-intensive for the resource requester.
[0039] Therefore, in order to improve the convenience of resource transfer, this application provides a resource transfer solution. Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment involved in the present application. The implementation environment mainly includes a resource requester 101, a resource transfer system 102, and multiple resource providers 103. It can be understood that the resource requester 101, the resource transfer system 102, and the multiple resource providers 103 are connected through network communication, and the network can include various connection types, such as wireless communication links, wired and optical fiber cables, etc. Among them:
[0040] The resource requester 101 is the party that requests the transfer of resources and returns them in installments at a later stage.
[0041] Exemplarily, the resource requester 101 may initiate a resource transfer request through a terminal, where the terminal may be a smart phone, a tablet, a laptop, a computer, an intelligent voice interaction device, a smart home appliance, a smart wearable device, an aircraft, etc.
[0042] The resource provider 103 is a party that provides resources to the resource requester 101 and charges a certain amount of resources at a later time.
[0043] Exemplarily, the resource provider 103 may receive a resource transfer request through a terminal, where the terminal may be a smart phone, a tablet, a laptop, a computer, an intelligent voice interaction device, a smart home appliance, a smart wearable device, an aircraft, etc.
[0044] The resource transfer system 102 is a party that interacts with the resource requester 101 and multiple resource providers 103 respectively, and can be understood as a third-party resource transfer platform, which can receive the resource transfer request sent by the resource requester 101, and then select the target resource provider from the multiple resource providers 103, and recommend the target resource provider to the resource requester 101, so that the resource requester 101 completes the transfer of the target resource from the target resource provider.
[0045] Exemplarily, the resource transfer system 102 can be a server that provides various services; among them, it can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN) and basic cloud computing services such as big data and artificial intelligence platforms, which are not restricted here.
[0046] It should be noted that Figure 1 The number of terminals corresponding to the resource requester 101, the terminal corresponding to the resource provider 103, and the server corresponding to the resource transfer system 102 are only illustrative, and any number of terminals and servers may be provided according to actual needs.
[0047] In one embodiment of the present application, the resource transfer method may be executed by the resource transfer system 102 .
[0048] Exemplarily, the resource transfer system 102 receives a resource transfer request sent by the resource requester 101, where the resource transfer request includes a target resource to be transferred to the resource requester 101; then, resource consumption rule data corresponding to a plurality of resource providers 103 are obtained, where the resource consumption rule data are rules that the resource provider 103 should follow when calculating the resources consumed when the resource requester 101 returns the target resource to the resource provider 103 in installments; then, based on the quantity of the target resources and the resource consumption rule data, a target resource provider is selected from the plurality of resource providers 103; then, the target resource provider is recommended to the resource requester 101; wherein the target resource provider is used to provide the transfer of the target resource to the resource requester 101.
[0049] Figure 1 The technical solutions of the illustrated embodiments can be applied to various scenarios, including but not limited to smart transportation, assisted driving, cloud technology, artificial intelligence, etc.; in actual applications, corresponding adjustments can be made according to specific application scenarios.
[0050] Exemplarily, if applied to smart transportation or assisted driving scenarios, the terminal corresponding to the resource requester 101 may be a vehicle terminal, a navigation terminal, etc. For example, for the Internet of Vehicles service in smart transportation or assisted driving scenarios, the resource transfer system 102 may receive a resource transfer request sent by the resource requester 101 through the vehicle terminal, and select a target resource provider from multiple resource providers 103, thereby recommending the target resource provider to the resource requester, so that the resource requester 101 completes the transfer of the target resource from the target resource provider, thereby achieving precise operation under the Internet of Vehicles service.
[0051] Exemplarily, if applied to cloud technology or artificial intelligence scenarios, the resource transfer system 102 can be deployed on a server located in the cloud (i.e., a cloud server). For example, for payment services in cloud technology or artificial intelligence scenarios, the cloud server can receive a resource transfer request sent by a resource requester 101 via a smart phone, and select a target resource provider from multiple resource providers 103, thereby recommending the target resource provider to the resource requester, so that the resource requester 101 completes the transfer of target resources from the target resource provider, and implements payment operations based on the transferred target resources, thereby achieving precise operations under the payment service.
[0052] It should be noted that in the specific implementation of this application, user-related data is involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0053] The following is a detailed description of various implementation details of the technical solution of the embodiment of the present application:
[0054] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a resource transfer method according to an embodiment of the present application, and the resource transfer method may be executed by the resource transfer system 102. Figure 2 As shown, the resource transfer method at least includes S201 to S204, which are described in detail as follows:
[0055] S201, receiving a resource transfer request sent by a resource requester, where the resource transfer request includes a target resource to be transferred to the resource requester.
[0056] In the embodiment of the present application, when the resource requester has a resource transfer requirement, a resource transfer request may be generated and sent to a resource transfer system; accordingly, the resource transfer system receives the resource transfer request sent by the resource requester.
[0057] In the embodiment of the present application, the resource transfer request includes the target resource to be transferred to the resource requester, wherein the target resource refers to the resource that the resource requester needs to transfer; for example, if the resource that the resource requester needs to transfer is A1, then resource A1 is called the target resource, and for another example, if the resource that the resource requester needs to transfer is A2, then resource A2 is called the target resource. That is, the resource transfer request is a request used by the resource requester to indicate to the resource transfer system that it has a target resource that needs to be transferred.
[0058] S202, obtaining resource consumption rule data corresponding to a plurality of resource providers respectively, wherein the resource consumption rule data is the rule that the resource provider should follow when calculating the resource consumption when the resource requester returns the target resource to the resource provider in installments.
[0059] In the embodiment of the present application, the resource transfer system receives a resource transfer request sent by a resource requester, and then can obtain resource consumption rule data corresponding to multiple resource providers.
[0060] In the embodiment of the present application, the resource consumption rule data is the rules that the resource provider should follow when calculating the resource consumption when the resource requester returns the target resources to the resource provider in installments.
[0061] It is understandable that after each resource provider provides the target resource to the resource requester, when the resource requester returns the target resource in installments at a later stage, each resource provider will charge a certain amount of resources, that is, the resource requester will have a certain amount of resource consumption; in other words, each resource provider provides the target resource to the resource requester for a fee, but the amount of resources charged by different resource providers is different. Among them, each resource provider calculates the amount of resources to be charged based on its own corresponding resource consumption rule data; usually different resource providers use different resource consumption rule data, so different resource providers calculate different amounts of resources to be charged. Of course, different resource providers use different resource consumption rule data, and the calculated amounts of resources to be charged may also be the same. In actual applications, the amount of resources to be charged calculated by different resource providers can be flexibly adjusted according to specific application scenarios.
[0062] For example, please refer to Table 1, which is an example mapping relationship between resource providers and resource consumption rule data.
[0063] Resource Provider Resource consumption rule data P1 q1 P2 q2 P3 q3 …… ……
[0064] Table 1
[0065] As shown in Table 1, the resource transfer system obtains resource consumption rule data q1 corresponding to resource provider P1, resource consumption rule data q2 corresponding to resource provider P2, and resource consumption rule data q3 corresponding to resource provider P3.
[0066] S203: Select a target resource provider from multiple resource providers based on the quantity of the target resources and the resource consumption rule data.
[0067] In an embodiment of the present application, the resource transfer system receives a resource transfer request containing target resources to be transferred to the resource requester, and obtains resource consumption rule data corresponding to multiple resource providers. Thereafter, the target resource provider can be selected from the multiple resource providers based on the number of target resources and the resource consumption rule data.
[0068] In the embodiment of the present application, the target resource provider refers to a resource provider selected from multiple resource providers based on the quantity of target resources and resource consumption rule data, so as to provide the transfer of target resources to the resource requester.
[0069] Exemplarily, there may be only one target resource provider, that is, one target resource provider alone provides the transfer of target resources to the resource requester.
[0070] Exemplarily, there may be multiple target resource providers, that is, multiple target resource providers jointly provide the target resource to the resource requester.
[0071] For example, A0 is used to represent the target resource, where the number of target resources A0 is m0, and the acquired resource consumption rule data are respectively resource consumption rule data q1 corresponding to resource provider P1, resource consumption rule data q2 corresponding to resource provider P2, and resource consumption rule data q3 corresponding to resource provider P3.
[0072] Assume that, based on the quantity m0 of the target resource A0 and the resource consumption rule data q1-q3, the resource provider P1 is selected from a plurality of resource providers P1-P3. At this time, the resource provider P1 is the target resource provider.
[0073] Furthermore, it is assumed that based on the number m0 of target resources A0 and resource consumption rule data q1-q3, resource provider P1 and resource provider P2 are selected from multiple resource providers P1-P3. At this time, resource provider P1 and resource provider P2 are target resource providers.
[0074] S204, recommending a target resource provider to the resource requester; wherein the target resource provider is used to provide the target resource to the resource requester.
[0075] In the embodiment of the present application, the resource transfer system selects a target resource provider from multiple resource providers based on the quantity of target resources and resource consumption rule data, and then can recommend the target resource provider to the resource requester, so that the resource requester can complete the transfer of target resources from the target resource provider.
[0076] For example, continuing with the above example, if resource provider P1 is the target resource provider, resource provider P1 is recommended to the resource requester, so that resource provider P1 can provide the target resource transfer to the resource requester alone.
[0077] Alternatively, if resource provider P1 and resource provider P2 are target resource providers, resource provider P1 and resource provider P2 are recommended to the resource requester, so that resource provider P1 and resource provider P2 jointly provide the target resource to the resource requester.
[0078] In the embodiment of the present application, the resource transfer system automatically recommends a suitable resource provider to the resource requester, which brings many conveniences to the resource requester and improves the convenience of resource transfer; at the same time, since the tedious operation of comparing and selecting resource providers for resource requests is reduced, the efficiency of resource transfer is also improved to a certain extent; and the recommendation of a suitable resource provider to the resource requester is achieved through the machine side, which is more accurate than the resource requester independently selecting the resource provider through comparison, and also improves the accuracy of resource transfer to a certain extent.
[0079] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 3 As shown, the resource transfer method may include S301 to S303, S201 to S202, and S204.
[0080] S301 to S303 are described in detail as follows:
[0081] S301, after calculating the target resources transferred out by each resource provider based on the resource consumption rule data of each resource provider, the resource requester returns the resources to be consumed by the target resources in installments to obtain a plurality of first consumed resources.
[0082] It is understandable that the target resources required by the resource requester can ultimately be obtained by transferring in a single resource provider; therefore, in the embodiment of the present application, the resource transfer system can calculate the number of target resources transferred out by each resource provider based on the resource consumption rule data of each resource provider, and the resource requester can return the resources to be consumed by the target resources in installments to obtain multiple first consumed resources.
[0083] In the embodiment of the present application, the first consumable resource refers to the resource to be consumed by the target resource that the resource requester returns in installments to each resource provider after each resource provider transfers out the target resource separately.
[0084] For example, please refer to Table 2, which is an example mapping relationship between multiple first consumption resources.
[0085] Resource Provider The number of transfer-out target resources The resource requester returns the consumed resources in installments P1 m0 A11 P2 m0 A21 P3 m0 A31 …… …… ……
[0086] Table 2
[0087] As shown in Table 2, based on the resource consumption rule data q1 corresponding to the resource provider P1, after the resource provider P1 transfers out the target resource A0 with a quantity m0 alone, the resource requester needs to consume the resource A11 to return the target resource A0 in installments; and
[0088] Based on the resource consumption rule data q2 corresponding to the resource provider P2, it is calculated that after the resource provider P2 transfers out the target resource A0 of quantity m0 alone, the resource requester needs to consume the resource A21 to return the target resource A0 in installments; and
[0089] Based on the resource consumption rule data q3 corresponding to the resource provider P3, after the resource provider P3 transfers out the target resource A0 with a quantity m0 alone, the resource requester needs to consume the resource A31 to return the target resource A0 in installments;
[0090] It can be understood that the aforementioned resource A11 to be consumed, the resource A21 to be consumed, and the resource A31 to be consumed are referred to as a plurality of first consumed resources.
[0091] S302, based on the resource consumption rule data of each resource provider, after calculating the target resources that each resource provider transfers out in combination, the resource requester returns the resources to be consumed by the target resources in installments to obtain a plurality of second consumed resources.
[0092] It is understandable that the target resources required by the resource requester can ultimately be obtained by transferring in multiple resource providers; therefore, in the embodiment of the present application, the resource transfer system can calculate the target resources that each resource provider transfers in combination based on the resource consumption rule data of each resource provider, and the resource requester can return the resources to be consumed by the target resources in installments to obtain multiple second consumed resources.
[0093] In the embodiment of the present application, the second consumable resource refers to the resource to be consumed by the target resource returned by the resource requester in installments for each resource provider combination after each resource provider combination transfers out the target resource together.
[0094] For example, please refer to Table 3, which is an example mapping relationship of multiple second consumable resources.
[0095] Resource Provider The number of transfer-out target resources The resource requester returns the consumed resources in installments P1+P2 m0 A12 P1+P3 m0 A13 P2+P3 m0 A23 P1+P2+P3 m0 A123 …… …… ……
[0096] Table 3
[0097] As shown in Table 3, based on the resource consumption rule data q1 corresponding to the resource provider P1 and the resource consumption rule data q2 corresponding to the resource provider P2, after calculating the target resource A0 with a quantity m0 transferred out by the resource provider P1 and the resource provider P2, the resource to be consumed by the resource requester to return the target resource A0 in installments is A12; and
[0098] Based on the resource consumption rule data q1 corresponding to the resource provider P1 and the resource consumption rule data q3 corresponding to the resource provider P3, after the resource provider P1 and the resource provider P3 jointly transfer out the target resource A0 of quantity m0, the resource requester needs to consume the resource to return the target resource A0 in installments as A13; and
[0099] Based on the resource consumption rule data q2 corresponding to the resource provider P2 and the resource consumption rule data q3 corresponding to the resource provider P3, after the resource provider P2 and the resource provider P3 jointly transfer out the target resource A0 of quantity m0, the resource requester needs to consume the resource to return the target resource A0 in installments as A23; and
[0100] Based on the resource consumption rule data q1 corresponding to resource provider P1, the resource consumption rule data q2 corresponding to resource provider P2, and the resource consumption rule data q3 corresponding to resource provider P3, after resource provider P1, resource provider P2, and resource provider P3 jointly transfer out the target resource A0 of quantity m0, the resource requester needs to consume A123 to return the target resource A0 in installments;
[0101] It can be understood that the aforementioned resource A12 to be consumed, the resource A13 to be consumed, the resource A23 to be consumed, and the resource A123 to be consumed are referred to as a plurality of second consumable resources.
[0102] S303: Select a target resource provider from a plurality of resource providers based on the plurality of first consumable resources and the plurality of second consumable resources.
[0103] In the embodiment of the present application, the resource transfer system calculates a plurality of first consumable resources and a plurality of second consumable resources, and then can select a target resource provider from a plurality of resource providers based on the plurality of first consumable resources and the plurality of second consumable resources.
[0104] For example, following the above example, a target resource provider is selected from multiple resource providers based on multiple first consumable resources A11, A21, A31 and multiple second consumable resources A12, A13, A23, A123. The target resource provider that may be selected may be resource provider P1, or resource provider P2, or resource provider P3, or resource provider P1 and resource provider P2, or resource provider P1 and resource provider P3, or resource provider P2 and resource provider P3, or resource provider P1, resource provider P2 and resource provider P3.
[0105] In one embodiment of the present application, the process of selecting a target resource provider from multiple resource providers based on the quantity of target resources and resource consumption rule data in S203 may include:
[0106] After calculating the target resources that each resource provider transfers out individually based on the resource consumption rule data of each resource provider, the resource requester returns the resources to be consumed by the target resources in installments, thereby obtaining a plurality of first consumed resources;
[0107] A target resource provider is selected from a plurality of resource providers based on the plurality of first consumption resources.
[0108] That is, the optional embodiment only considers the situation that each resource provider transfers out the target resource separately and the resource requester returns the resource consumed by the target resource in installments. For other details, please refer to the introduction of the above embodiment, which will not be repeated here.
[0109] For example, following the above example, based on multiple first consumable resources A11, A21, A31, a target resource provider is selected from multiple resource providers. The target resource provider that may be selected may be resource provider P1, resource provider P2, or resource provider P3.
[0110] In one embodiment of the present application, the process of selecting a target resource provider from multiple resource providers based on the quantity of target resources and resource consumption rule data in S203 may include:
[0111] Based on the resource consumption rule data of each resource provider, after calculating the target resources that each resource provider transfers out in combination, the resource requester returns the resources to be consumed by the target resources in installments to obtain a plurality of second consumed resources;
[0112] A target resource provider is selected from a plurality of resource providers based on the plurality of second consumable resources.
[0113] That is, the optional embodiment only considers the situation that after each resource provider transfers a certain amount of target resources in combination, the resource requester returns the resources consumed by the target resources in installments. For other details, please refer to the introduction of the above embodiment, which will not be repeated here.
[0114] For example, following the above example, based on multiple second consumable resources A12, A13, A23, and A123, a target resource provider is selected from multiple resource providers. The target resource provider that may be selected may be resource provider P1 and resource provider P2, or resource provider P1 and resource provider P3, or resource provider P2 and resource provider P3, or resource provider P1, resource provider P2, and resource provider P3.
[0115] It should be noted that Figure 3 As shown, S301 and S302 can be executed either first, either later, or in parallel; Figure 3 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0116] In the embodiment of the present application, the resource transfer system calculates that after each resource provider transfers out the target resource individually, the resource requester returns the required consumed resources (i.e., the first consumed resources) in installments, and calculates that after each resource provider transfers out the target resource in combination with each other, the resource requester returns the required consumed resources (i.e., the second consumed resources) in installments. Therefore, a suitable target resource provider can be selected based on the first consumed resource and the second consumed resource, with higher selection accuracy, thereby further improving the accuracy of resource transfer.
[0117] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 4 As shown, the resource transfer method may include S401 to S403, S301, S303, S201 to S202, and S204.
[0118] S401 to S403 are described in detail as follows:
[0119] S401, dividing a plurality of resource providers into a plurality of resource provider combinations; wherein each resource provider combination includes at least two resource providers, and different resource provider combinations have at least one different resource provider.
[0120] In the embodiment of the present application, the resource transfer system can divide multiple resource providers into multiple resource provider combinations; wherein each resource provider combination includes at least two resource providers, and different resource provider combinations have at least one different resource provider.
[0121] For example, in the aforementioned example, the resource transfer system divides multiple resource providers P1-P3 into four resource provider combinations 1-4, where resource provider combination 1 is resource provider P1 and resource provider P2 (i.e., P1+P2), resource provider combination 2 is resource provider P1 and resource provider P3 (i.e., P1+P3), resource provider combination 3 is resource provider P2 and resource provider P3 (i.e., P2+P3), and resource provider combination 4 is resource provider P1, resource provider P2 and resource provider P3 (i.e., P1+P2+P3).
[0122] In practical applications, the resource provider combination can be flexibly adjusted according to the specific application scenario; for example, in order to reduce the computational complexity, two combinations can be used.
[0123] S402, after calculating the target resources of each resource provider combination for the transfer-out quantity based on the resource consumption rule data of each resource provider, the resource requester returns the resources to be consumed by the target resources in installments to obtain the collected resources of each resource provider combination.
[0124] In the embodiment of the present application, the resource transfer system divides multiple resource providers into multiple resource provider combinations, and then calculates the target resources to be transferred out of each resource provider combination based on the resource consumption rule data of each resource provider. The resource requester returns the resources to be consumed by the target resources in installments to obtain the collected resources for each resource provider combination.
[0125] For example, following the above example, for resource provider combination 1 (i.e., P1+P2), based on the resource consumption rule data q1 corresponding to resource provider P1 and the resource consumption rule data q2 corresponding to resource provider P2, after calculating the target resource A0 of quantity m0 transferred out by resource provider P1 and resource provider P2, when the resource requester returns the target resource A0 in installments, the collected resource of resource provider combination 1 is A12; and
[0126] For resource provider combination 2 (i.e., P1+P3), based on the resource consumption rule data q1 corresponding to resource provider P1 and the resource consumption rule data q3 corresponding to resource provider P3, after calculating the target resource A0 of quantity m0 transferred out by resource provider P1 and resource provider P3, when the resource requester returns the target resource A0 in installments, the collected resource of resource provider combination 2 is A13; and
[0127] For resource provider combination 3 (i.e., P2+P3), based on the resource consumption rule data q2 corresponding to resource provider P2 and the resource consumption rule data q3 corresponding to resource provider P3, after calculating the target resource A0 of quantity m0 transferred out by resource provider P2 and resource provider P3, when the resource requester returns the target resource A0 in installments, the collected resource of resource provider combination 3 is A23; and
[0128] For resource provider combination 4 (i.e., P1+P2+P3), based on the resource consumption rule data q1 corresponding to resource provider P1, the resource consumption rule data q2 corresponding to resource provider P2, and the resource consumption rule data q3 corresponding to resource provider P3, after calculating that resource provider P1, resource provider P2, and resource provider P3 jointly transfer out a quantity m0 of target resources A0, when the resource requester returns the target resource A0 in installments, the collected resources of resource provider combination 4 are A123.
[0129] S403: taking the collected resources of each resource provider combination as a plurality of second consumable resources.
[0130] In the embodiment of the present application, the resource transfer system obtains the collected resources of each resource provider combination, and then can use the collected resources of each resource provider combination as multiple second consumable resources.
[0131] For example, following the above example, the collected resources A12 of resource provider combination 1, the collected resources A13 of resource provider combination 2, the collected resources A23 of resource provider combination 3, and the collected resources A123 of resource provider combination 4 are referred to as multiple second consumable resources.
[0132] It should be noted that Figure 4 For detailed description of S301 and S303, please refer to Figure 3 S301 and S303 shown in FIG. Figure 4 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0133] In the embodiment of the present application, the resource transfer system divides multiple resource providers into multiple resource provider combinations, and then calculates the collected resources of each resource provider combination respectively. In this way, the second consumable resources corresponding to each resource provider combination can be obtained conveniently and accurately. The process is simple, easy to implement, and suitable for many scenarios.
[0134] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 5As shown, the resource transfer method may include S501 to S503, S401, S403, S301, S303, S201 to S202, and S204.
[0135] S501 to S503 are described in detail as follows:
[0136] S501 , for each resource provider combination, specifying the number of resources to be transferred out for each resource provider in the resource provider combination based on the number of target resources, wherein the sum of the numbers of multiple resources to be transferred out is equal to the number of target resources.
[0137] In the embodiment of the present application, the resource transfer system can specify the number of resources to be transferred for each resource provider in the resource provider combination based on the number of target resources, wherein the sum of the numbers of multiple resources to be transferred is equal to the number of target resources.
[0138] For example, please refer to Table 4, which is an example of specifying the number of resources to be transferred out.
[0139]
[0140] Table 4
[0141] As shown in Table 4, for resource provider combination 1 (i.e., P1+P2), based on the requested target resource quantity m0, the quantity of resources to be transferred out is specified as m1 for resource provider P1, and the quantity of resources to be transferred out is specified as m2 for resource provider P2, where m1+m2=m0; and
[0142] For resource provider combination 2 (i.e., P1+P3), based on the requested target resource quantity m0, the quantity of resources to be transferred out is assigned to resource provider P1 as m1, and the quantity of resources to be transferred out is assigned to resource provider P3 as m3, where m1+m3=m0; and
[0143] For resource provider combination 3 (i.e., P2+P3), based on the requested target resource quantity m0, the quantity of resources to be transferred out is assigned to resource provider P2 as m2, and the quantity of resources to be transferred out is assigned to resource provider P3 as m3, where m2+m3=m0; and
[0144] For resource provider combination 4 (i.e., P1+P2+P3), based on the number of requested target resources m0, the number of resources to be transferred out is specified as m1 for resource provider P1, the number of resources to be transferred out is specified as m2 for resource provider P2, and the number of resources to be transferred out is specified as m3 for resource provider P3, where m1+m2+m3=m0.
[0145] S502, based on the resource consumption rule data corresponding to each resource provider in the resource provider combination, respectively calculate the resources to be consumed by the resource requester returning the target resources in installments after each resource provider transfers out a corresponding amount of target resources, and obtain multiple third consumable resources.
[0146] In the embodiment of the present application, the resource transfer system specifies the number of resources to be transferred for each resource provider in the resource provider combination based on the number of target resources for each resource provider combination. Then, based on the resource consumption rule data corresponding to each resource provider in the resource provider combination, the resource requesting party can calculate the corresponding number of target resources transferred by each resource provider, and then return the resources to be consumed by the target resources in installments, thereby obtaining multiple third consumable resources of the resource provider combination.
[0147] In the embodiment of the present application, the third consumable resources refer to the resources to be consumed by the resource requester returning the corresponding amount of resources to each resource provider in the resource provider combination in installments after each resource provider in the resource provider combination transfers out the corresponding amount of resources.
[0148] For example, please refer to Table 5, which is an example mapping relationship of multiple third consumable resources.
[0149]
[0150]
[0151] Table 5
[0152] As shown in Table 5, for resource provider combination 1 (i.e., P1+P2), based on the resource consumption rule data q1 corresponding to resource provider P1, after calculating the resources transferred out by resource provider P1, the resources consumed by the resource requesting direction to return the resources of quantity m1 to resource provider P1 in installments are a1; at the same time, based on the resource consumption rule data q2 corresponding to resource provider P2, after calculating the resources transferred out by resource provider P2, the resources consumed by the resource requesting direction to return the resources of quantity m2 to resource provider P2 in installments are a2; and
[0153] For resource provider combination 1 (i.e., P1+P3), based on the resource consumption rule data q1 corresponding to resource provider P1, after resource provider P1 transfers out a quantity of resources m1, the resources required for the resource requester to return a quantity of resources m1 to resource provider P1 in installments are calculated as a1; at the same time, based on the resource consumption rule data q3 corresponding to resource provider P3, after resource provider P3 transfers out a quantity of resources m3, the resources required for the resource requester to return a quantity of resources m3 to resource provider P3 in installments are calculated as a3; and
[0154] For resource provider combination 2 (i.e., P2+P3), based on the resource consumption rule data q2 corresponding to resource provider P2, after resource provider P2 transfers out a quantity of resources m2, the resource required for the resource requester to return a quantity of resources m2 to resource provider P2 in installments is calculated as a2; at the same time, based on the resource consumption rule data q3 corresponding to resource provider P3, after resource provider P3 transfers out a quantity of resources m3, the resource required for the resource requester to return a quantity of resources m3 to resource provider P3 in installments is calculated as a3; and
[0155] For resource provider combination 1 (i.e., P1+P2+P3), based on the resource consumption rule data q1 corresponding to resource provider P1, after resource provider P1 transfers out quantity m1 of resources, the resources required for the resource requesting direction to return quantity m1 of resources in installments to resource provider P1 are calculated to be a1; at the same time, based on the resource consumption rule data q2 corresponding to resource provider P2, after resource provider P2 transfers out quantity m2 of resources, the resources required for the resource requesting direction to return quantity m2 of resources in installments to resource provider P2 are calculated to be a2; at the same time, based on the resource consumption rule data q3 corresponding to resource provider P3, after resource provider P3 transfers out quantity m3 of resources, the resources required for the resource requesting direction to return quantity m3 of resources in installments to resource provider P3 are calculated to be a3.
[0156] It can be understood that the aforementioned resources a1 to be consumed, the resources a2 to be consumed, and the resources a3 to be consumed are referred to as a plurality of third consumable resources combined for the resource provider.
[0157] S503, performing a sum operation on multiple third consumable resources of the resource provider combination to obtain the collected resources of the resource provider combination.
[0158] In the embodiment of the present application, the resource transfer system obtains multiple third consumable resources of the resource provider combination, and then can perform a sum operation on the multiple third consumable resources of the resource provider combination to obtain the collected resources of the resource provider combination.
[0159] For example, following the above example, for resource provider combination 1 (ie, P1+P2), a1+a2=A12; and
[0160] For resource provider combination 2 (ie, P1+P3), a1+a3=A13; and
[0161] For resource provider combination 3 (ie, P2+P3), a2+a3=A23; and
[0162] For resource provider combination 4 (ie, P1+P2+P3), a1+a2+a3=A123.
[0163] It should be noted that Figure 5 For detailed description of S401 and S403, please refer to Figure 4 S401 and S403 shown in FIG. Figure 5 For detailed description of S301 and S303, please refer to Figure 3 S301 and S303 shown in FIG. Figure 5 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0164] In the embodiment of the present application, the resource transfer system specifies the number of resources to be transferred for each resource provider in the resource provider combination through the number of target resources, and then calculates the corresponding number of resources transferred by each resource provider in the resource provider combination. The resource requester returns the required consumed resources (i.e., the third consumable resources) in installments, so that the collected resources corresponding to each resource provider combination can be calculated based on the third consumable resources corresponding to each resource provider in the resource provider combination, which provides strong support for the subsequent selection of a suitable target resource provider based on the first consumable resources and the second consumable resources. The process is simple and easy to implement, and is suitable for many scenarios.
[0165] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 6 As shown, the resource transfer method may further include S601 to S604 after S503.
[0166] S601 to S604 are described in detail as follows:
[0167] S601, adjusting the quantity of a plurality of resources to be transferred out; wherein the sum of the adjusted quantities of the plurality of resources to be transferred out is equal to the quantity of the requested target resources.
[0168] It is understandable that, for each resource provider combination, when the resource transfer system specifies the number of resources to be transferred for each resource provider in the resource provider combination based on the number of target resources, it is often not able to specify it well; therefore, in the embodiment of the present application, by traversing the number of resources to be transferred, multiple collected resources of the resource provider combination are calculated, and then a final collected resource of the resource provider combination is determined based on the multiple collected resources of the resource provider combination.
[0169] For example, taking resource provider combination 1 (i.e., P1+P2) as an example, let the number of target resources A0 be m0=10000, and let the number of resources to be transferred out specified by resource provider P1 be m1=1, and correspondingly, let the number of resources to be transferred out specified by resource provider P2 be m2=9999. At this time, the number of resources to be transferred out specified by resource provider P1 can be adjusted from m1=1 to m1=2, and correspondingly, the number of resources to be transferred out specified by resource provider P1 can be adjusted from m2=9999 to m2=9998, that is, the sum of the adjusted m1 and the adjusted m2 is still equal to 10000.
[0170] In one embodiment of the present application, the process of adjusting the number of multiple resources to be transferred out in S601 may include:
[0171] Increasing one of the quantities of the multiple resources to be transferred out according to a preset quantity increasing unit;
[0172] Based on the increased quantity, other quantities among the plurality of resources to be transferred out are reduced.
[0173] That is, in an optional embodiment, the resource transfer system can increase the quantity of one of the multiple resources to be transferred out according to a preset quantity increase unit, and then reduce the quantity of other resources to be transferred out based on the increased quantity.
[0174] Among them, in the optional embodiment, the preset quantity increase unit refers to the quantity unit that increases each time, wherein the preset quantity increase unit can be flexibly set according to the specific application scenario; for example, it can be set to 1, 2, 3, etc.
[0175] Among them, in an optional embodiment, the other quantities among the multiple quantities of resources to be transferred out refer to the quantities among the multiple quantities of resources to be transferred out except one of the quantities; for example, in the aforementioned example, m1 can be one of the quantities among the multiple quantities of resources to be transferred out, and accordingly, m2 is the other quantities among the multiple quantities of resources to be transferred out.
[0176] S602: recalculate the collected resources of the resource provider combination based on the adjusted quantities of the multiple resources to be transferred out.
[0177] In the embodiment of the present application, the resource transfer system adjusts the number of multiple resources to be transferred out to obtain the adjusted number of multiple resources to be transferred out, and then recalculates the collected resources of the resource provider combination based on the adjusted number of multiple resources to be transferred out. The resource transfer system recalculates the collected resources of the resource provider combination based on the adjusted number of multiple resources to be transferred out, please refer to the introduction of the previous embodiment, which will not be repeated here.
[0178] S603, jumping to execute the step of adjusting the quantity of the multiple resources to be transferred out, until the preset end condition is reached, and the multiple collected resources of the resource provider combination are obtained.
[0179] In the embodiment of the present application, after the resource transfer system recalculates the collected resources of the resource provider combination based on the adjusted number of multiple resources to be transferred, it will return to the step of adjusting the number of multiple resources to be transferred until the preset end condition is reached, so that the multiple collected resources of the resource provider combination can be obtained.
[0180] For example, taking resource provider combination 1 (ie, P1+P2) as an example, please refer to Table 6, which is an example of a process of adjusting the quantity of multiple resources to be transferred out multiple times.
[0181]
[0182] Table 6
[0183] As shown in Table 6, each time an adjustment is made, the collected resources of resource provider combination 1 can be recalculated, thereby obtaining multiple collected resources of resource provider combination 1.
[0184] In one embodiment of the present application, the preset end condition includes that the other number is reduced to 1; that is, as shown in Table 6, the loop is stopped when m2=1.
[0185] S604: Select a collected resource with the lowest collected resource from multiple collected resources, and use the selected collected resource as a collected resource of the resource provider combination.
[0186] In the embodiment of the present application, the resource transfer system obtains multiple collected resources of the resource provider combination, and then can select the collected resource with the lowest collected resource from the multiple collected resources, and use the selected collected resource as the collected resource of the resource provider combination.
[0187] For example, following the above example, since 9998 adjustments have been made, 9998 collected resources of resource provider combination 1 (i.e., P1+P2) are obtained. The collected resource with the smallest collected resource is selected from the 9998 collected resources of resource provider combination 1 (i.e., P1+P2), and the selected collected resource is used as the collected resource of resource provider combination 1 (i.e., P1+P2). Thus, a final collected resource of resource provider combination 1 (i.e., P1+P2) is determined. It can be understood that the process of determining the final collected resources of other resource provider combinations can be deduced by analogy, and will not be repeated here.
[0188] It should be noted that Figure 6For detailed description of S501 to S503, please refer to Figure 5 S501 to S503 shown, Figure 6 For detailed description of S401 and S403, please refer to Figure 4 S401 and S403 shown in FIG. Figure 6 For detailed description of S301 and S303, please refer to Figure 3 S301 and S303 shown in FIG. Figure 6 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0189] In the embodiment of the present application, the resource transfer system traverses the number of resources to be transferred, calculates multiple collected resources of the resource provider combination, and then uses the lowest collected resource among the multiple collected resources of the resource provider combination as a final collected resource of the resource provider combination. In this way, more accurate collected resources of the resource provider combination can be obtained, thereby improving the accuracy of subsequent selection of a suitable target resource provider based on the first consumption resource and the second consumption resource, and further improving the accuracy of resource transfer.
[0190] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 7 As shown, the resource transfer method may include S701 to S702, S301 to S302, S201 to S202, and S204.
[0191] S701 to S702 are described in detail as follows:
[0192] S701: Select a consumption resource with the lowest consumption from a plurality of first consumption resources and a plurality of second consumption resources, and use the selected consumption resource as a target consumption resource.
[0193] In the embodiment of the present application, the resource transfer system can select a consumption resource with the lowest consumption from multiple first consumption resources and multiple second consumption resources, and use the selected consumption resource as the target consumption resource.
[0194] For example, following the above example, a consumption resource with the lowest consumption is selected from a plurality of first consumption resources A11, A21, A31 and a plurality of second consumption resources A12, A13, A23, A123, and the selected consumption resource is used as a target consumption resource.
[0195] S702: Select a resource provider corresponding to the target consumable resource from multiple resource providers, and use the selected resource provider as the target resource provider.
[0196] In the embodiment of the present application, the resource transfer system obtains the target consumable resource, and then can select the resource provider corresponding to the target consumable resource from multiple resource providers, and use the selected resource provider as the target resource provider.
[0197] To illustrate, following the previous example, suppose the first consumable resource A11 is the consumable resource with the lowest resource consumption among multiple first consumable resources A11, A21, A31 and multiple second consumable resources A12, A13, A23, A123, then it is used as the target consumable resource, and thus the resource provider P1 corresponding to the first consumable resource A11 is selected as the target resource provider from resource provider P1, resource provider P2, resource provider P3, resource provider P1 and resource provider P2, resource provider P1 and resource provider P3, resource provider P2 and resource provider P3, resource provider P1, resource provider P2 and resource provider P3.
[0198] Suppose further that the second consumable resource A12 is the consumable resource with the lowest resource consumption among multiple first consumable resources A11, A21, A31 and multiple second consumable resources A12, A13, A23, A123, then it is used as the target consumable resource, and thus the resource providers P1 and P2 corresponding to the second consumable resource A12 are selected as the target resource providers from resource provider P1, resource provider P2, resource provider P3, resource provider P1 and resource provider P2, resource provider P1 and resource provider P3, resource provider P2 and resource provider P3, resource provider P1, resource provider P2 and resource provider P3.
[0199] It should be noted that Figure 7 For detailed description of S301 to S302, please refer to Figure 3 S301 to S302 shown, Figure 7 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0200] In the embodiment of the present application, the resource transfer system selects the resource provider corresponding to the lowest resource consumption as the target resource provider and recommends the target resource provider to the resource requester. This allows the resource requester to complete the transfer of target resources from the target resource provider and repay the resources consumed in subsequent installments with minimal resources. This greatly improves the resource requester's experience of resource transfer in the resource transfer system, i.e., the resource requester has a higher stickiness in the resource transfer system.
[0201] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Figure 8 As shown, the resource transfer method may include S801 to S802, S302 to S303, S201 to S202, and S204.
[0202] S801 to S802 are described in detail as follows:
[0203] S801, obtaining the preferential activity data corresponding to each resource provider.
[0204] The preferential activity data corresponding to the resource provider in the embodiment of the present application refers to the preferential treatment / reduction provided by the resource provider for the consumed resources when the resource requester returns the target resources in installments, thereby forming a strategy to attract the resource requester.
[0205] Exemplarily, the preferential activity data may be a discount activity, which corresponds to a discount rate.
[0206] Exemplarily, the preferential activity data may be an activity for reducing or exempting the number of installments, which corresponds to the reduction or exemption of the number of installments.
[0207] Exemplarily, the preferential activity data may be a reduction or exemption activity of the number of resources, which corresponds to the reduction or exemption of the number of resources.
[0208] In actual applications, promotional activity data can be flexibly adjusted according to specific application scenarios.
[0209] S802, for each resource provider, based on the resource consumption rule data and promotional activity data of the resource provider, after calculating the target resources transferred out by the resource provider, the resource requester returns the resources to be consumed by the target resources in installments, obtains the collected resources of the resource provider, and uses the collected resources of the resource provider as the first consumed resources to obtain multiple first consumed resources.
[0210] In the embodiment of the present application, the resource provider obtains the preferential activity data corresponding to each resource provider. Then, for each resource provider, the resource provider can calculate the resources to be consumed by the resource requester to return the target resources in installments after the resource provider transfers out the target resources based on the resource consumption rule data and preferential activity data of the resource provider, obtain the collected resources of the resource provider, and use the collected resources of the resource provider as the first consumed resources to obtain multiple first consumed resources.
[0211] For example, k1 is used to represent the preferential activity data corresponding to the resource provider P1. Based on the resource consumption rule data q1 and preferential activity data k1 of the resource provider P1, after the resource provider P1 transfers out the target resource A0 with a quantity m0 alone, the resource requester returns the resource A11 to be consumed by the target resource A0 in installments; and
[0212] Use k2 to represent the preferential activity data corresponding to the resource provider P2. Continuing with the above example, based on the resource consumption rule data q2 and preferential activity data k2 corresponding to the resource provider P2, it is calculated that after the resource provider P2 transfers out the target resource A0 with a quantity m0 alone, the resource requester needs to consume the resource A21 to return the target resource A0 in installments; and
[0213] Use k3 to represent the promotional activity data corresponding to the resource provider P2. Continuing with the previous example, based on the resource consumption rule data q3 and promotional activity data k3 corresponding to the resource provider P3, after the resource provider P3 transfers out the target resource A0 with a quantity m0 alone, the resources consumed by the resource requester to return the target resource A0 in installments are calculated to be A31.
[0214] It can be understood that this is a process in which the resource requester calculates the resources to be consumed by the resource requester to return the target resources in installments by using the resource consumption rule data and preferential activity data corresponding to the resource provider after the resource provider transfers the target resources alone.
[0215] For another example, taking resource provider combination 1 (i.e., P1+P2) as an example, k1 is also used to represent the promotional activity data corresponding to resource provider P1. Continuing with the previous example, based on the resource consumption rule data q1 and the promotional activity data k1 of resource provider P1, after calculating that resource provider P1 transfers out a quantity m1 of resources, the resources required for the resource requesting direction to return a quantity m1 of resources in installments to resource provider P1 are a1; at the same time, k2 is also used to represent the promotional activity data corresponding to resource provider P2. Continuing with the previous example, based on the resource consumption rule data q2 and the promotional activity data k2 corresponding to resource provider P2, after calculating that resource provider P2 transfers out a quantity m2 of resources, the resources required for the resource requesting direction to return a quantity m2 of resources in installments to resource provider P2 are a2.
[0216] It can be understood that here the target resources are transferred out by a combination of resource providers, and the resource consumption rule data and promotional activity data corresponding to the resource providers are used to calculate the resources to be consumed by the resource requester to return the target resources in installments. The same process can be applied to other combinations of resource providers, and no further details will be given here.
[0217] It should be noted that Figure 8 For detailed description of S302 to S303, please refer to Figure 3S302 to S303 shown, Figure 8 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0218] In the embodiment of the present application, the resource transfer system is based on the resource consumption rule data and preferential activity data of the resource provider. After the resource provider transfers out the target resources, the resource requester returns the resources to be consumed by the target resources in installments and obtains the collected resources from the resource provider. In this way, the first consumption resources corresponding to each resource provider can be obtained conveniently and accurately. The process is simple, easy to implement, and suitable for many scenarios.
[0219] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Fig. 9 As shown, the resource transfer method may include S901 to S904, S801, S302 to S303, S201 to S202, and S204.
[0220] S901 to S904 are described in detail as follows:
[0221] S901, receiving the installment number and the installment resource number corresponding to the target resource with the estimated return quantity sent by the resource requester.
[0222] In the embodiment of the present application, the resource requester can specify the number of installments and the number of installment resources corresponding to the expected return of the target resources, and then send the number of installments and the number of installment resources to the resource transfer system; accordingly, the resource transfer system receives the number of installments and the number of installment resources sent by the resource requester.
[0223] S902, based on the resource consumption rule data of the resource provider, calculate the resources to be consumed corresponding to the number of installments and the number of installment resources.
[0224] In the embodiment of the present application, the resource transfer system receives the installment number and the installment resource number sent by the resource requester, and can then calculate the corresponding consumed resources to be consumed under the installment number and the installment resource number based on the resource consumption rule data of the resource provider.
[0225] Exemplarily, the consumable resources to be consumed may be represented as f(n, x), where n is the number of installments and x is the number of installment resources.
[0226] S903, based on the preferential activity data, calculate the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources.
[0227] In the embodiment of the present application, the resource transfer system receives the number of installments and the number of installment resources sent by the resource requester, and can then calculate the corresponding preferential consumption resources under the number of installments and the number of installment resources based on the preferential activity data.
[0228] Exemplarily, the preferential consumable resources can be represented as g(n, x), where n is the number of installments and x is the number of installment resources.
[0229] S904, calculating the collected resources of the resource provider based on the consumable resources to be consumed and the preferential consumable resources.
[0230] In the embodiment of the present application, the resource transfer system obtains the consumable resources to be consumed and the preferential consumable resources, and then can calculate the collected resources of the resource provider based on the consumable resources to be consumed and the preferential consumable resources.
[0231] Exemplarily, the collected resources of the resource provider are f(n, x)-g(n, x).
[0232] It should be noted that Fig. 9 As shown, S902 and S903 can be executed either first, either later, or in parallel; Fig. 9 For a detailed description of S801, please refer to Figure 8 The S801 shown, Fig. 9 For detailed description of S302 to S303, please refer to Figure 3 S302 to S303 shown, Fig. 9 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0233] In the embodiment of the present application, the resource transfer system calculates the consumable resources to be consumed corresponding to the number of installment periods and the number of installment resources based on the resource consumption rule data of the resource provider, and calculates the preferential consumable resources corresponding to the number of installment periods and the number of installment resources based on the preferential activity data, so that the collected resources of the resource provider can be calculated based on the consumable resources to be consumed and the preferential consumable resources. In this way, the calculated collected resources of the resource provider are more accurate, which further improves the accuracy of resource transfer.
[0234] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Fig.10 As shown, the resource transfer method may include S1001 to S1003, S901 to S902, S904, S801, S302 to S303, S201 to S202, and S204.
[0235] S1001 to S1003 are described in detail as follows:
[0236] S1001, obtaining attribute data of the resource requester.
[0237] In the embodiment of the present application, the attribute data of the resource requester refers to data related to the resource requester. The attribute data includes but is not limited to the relationship between the resource requester and the resource provider, such as whether the resource requester is a member of the resource provider, if so, the specific membership level; the resource transfer situation of the resource requester in the historical time period; the installment repayment situation of the borrowed resources in the historical time period of the resource requester, etc.
[0238] S1002, based on the attribute data, detecting whether the resource requester has participated in the preferential activity represented by the preferential activity data, and obtaining a detection result.
[0239] In the embodiment of the present application, the resource transfer system obtains the attribute data of the resource requester, and then can detect the resource requester's compliance with the participation in the preferential activity represented by the preferential activity data based on the attribute data to obtain a detection result.
[0240] There are two situations in the test results in the embodiment of the present application; among which:
[0241] In the first case, it is detected based on the attribute data that the resource requester is eligible to participate in the preferential activity represented by the preferential activity data, and a detection result is obtained for representing that the resource requester is eligible to participate in the preferential activity.
[0242] In the second case, it is detected based on the attribute data that the resource requester does not meet the conditions for participating in the preferential activity represented by the preferential activity data, and a detection result is obtained for representing that the resource requester does not meet the conditions for participating in the preferential activity.
[0243] S1003: If the detection result indicates that the resource requester meets the conditions for participating in the preferential activity, then based on the preferential activity data, the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources are calculated.
[0244] In the embodiment of the present application, the resource transfer system detects the resource requester's compliance with the participation in the preferential activity represented by the preferential activity data based on the attribute data, and obtains the detection result. Then, based on the detection result, it can be determined whether to calculate the corresponding preferential consumption resources under the number of installments and the number of installment resources based on the preferential activity data.
[0245] Exemplarily, if it is the aforementioned situation one, that is, the detection result indicates that the resource requester meets the conditions for participating in the promotional activity, then the consumption resources of the promotion corresponding to the number of installments and the number of installment resources can be calculated based on the promotional activity data.
[0246] For example, if it is the second situation mentioned above, that is, the detection result indicates that the resource requester does not meet the conditions for participating in the promotional activity, then no processing will be performed at this time, that is, there is no need to calculate the consumption resources corresponding to the preferential number of installments and the number of installment resources based on the promotional activity data.
[0247] It should be noted that Fig.10 For detailed description of S901 to S902 and S904, please refer to Fig. 9 S901 to S902, S904 shown, Fig.10 For a detailed description of S801, please refer to Figure 8 The S801 shown, Fig.10 For detailed description of S302 to S303, please refer to Figure 3 S302 to S303 shown, Fig.10 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0248] In the embodiment of the present application, the resource transfer system calculates the consumption resources of the discount corresponding to the number of installments and the number of installment resources based on the discount activity data only when the resource requesting party meets the conditions for participating in the discount activity represented by the discount activity data. This avoids the consumption of computing resources caused by calculating the consumption resources of the discount when the resource requesting party does not meet the conditions for participating in the discount activity represented by the discount activity data, thereby saving the computing resources of the resource transfer system and being suitable for many scenarios.
[0249] In one embodiment of the present application, another resource transfer method is provided, which can be executed by the resource transfer system 102. Fig.11 As shown, the resource transfer method may include S1101 to S1103, S901 to S902, S904, S801, S302 to S303, S201 to S202, and S204.
[0250] S1101 to S1103 are described in detail as follows:
[0251] S1101, if the preferential activity data includes a discount rate, the consumption resources of the preferential treatment are calculated based on the discount rate, the number of installment resources, and the number of installment periods.
[0252] As in the aforementioned embodiment, the preferential activity data may include a discount rate, wherein when the preferential activity data includes a discount rate, the consumption resources of the preferential treatment may be calculated based on the discount rate, the number of installment resources, and the number of installment periods.
[0253] For example, continuing with the previous example, assuming the discount rate is 0.8, then g(n,x)=(1-0.8)*x*APR, where n is the number of installments (can be any value), x is the number of installment resources, and APR is the annualized interest rate.
[0254] S1102: If the preferential activity data includes the number of installment periods that are reduced or exempted, the consumption resources of the preferential treatment are calculated based on the number of installment periods that are reduced or exempted, the number of installment resources, and the number of installment periods.
[0255] As in the aforementioned embodiment, the preferential activity data may include the number of installment periods that are reduced or exempted. When the preferential activity data includes the number of installment periods that are reduced or exempted, the consumption resources of the preferential treatment may be calculated based on the number of installment periods that are reduced or exempted, the number of installment resources, and the number of installment periods.
[0256] Exemplarily, the reduction or exemption of the number of installments may require that the number of installments reaches a preset installment threshold; for example, if the number of installments for reduction or exemption is 3 and the preset installment threshold is 6, then only when the number of installments corresponding to the expected return target resources specified by the resource requester reaches 6, can it participate in the 3-installment reduction activity.
[0257] For example, continuing with the previous example, assuming that the number of installment periods for the exemption is 3, then g(n,x)=3*(x / n), where n is the number of installments and n≥6, and x is the number of installment resources.
[0258] S1103: If the preferential activity data includes the number of exempted resources, the consumed resources of the preferential treatment are calculated based on the number of exempted resources, the number of installment resources, and the number of installment periods.
[0259] As in the aforementioned embodiment, the preferential activity data may include the number of exempted resources. When the preferential activity data includes the number of exempted resources, the consumed resources of the preferential treatment may be calculated based on the number of exempted resources, the number of installment resources, and the number of installment periods.
[0260] Exemplarily, the number of reduced resources may be associated with the level of the resource requester; for example, if the resource requester is level one, the number of reduced resources is 200; if the resource requester is level two, the number of reduced resources is 100; if the resource requester is level three, the number of reduced resources is 50, and so on.
[0261] For example, if the number of exempted resources is 100, then g(n,x)=200, where n is the number of installments (can be any value), and x is the number of installment resources (can be any value).
[0262] It is understandable that, in actual applications, the promotional activity data can be flexibly adjusted according to the specific application scenario, so as to calculate the consumption resources of the promotion.
[0263] It should be noted that Fig.11As shown, S1101 to S1103 may be executed in any order, in any order, or in parallel; Fig.11 For detailed description of S901 to S902 and S904, please refer to Fig. 9 S901 to S902, S904 shown, Fig.11 For a detailed description of S801, please refer to Figure 8 The S801 shown, Fig.11 For detailed description of S302 to S303, please refer to Figure 3 S302 to S303 shown, Fig.11 For detailed description of S201 to S202 and S204, please refer to Figure 2 S201 to S202 and S204 shown are not described in detail here.
[0264] In the embodiment of the present application, the resource transfer system calculates the consumption resources of the discount corresponding to the number of installments and the number of installment resources when the discount activity data includes several situations. The process is simple, easy to implement, and applicable to many scenarios.
[0265] The following is a detailed description of a specific scenario of an embodiment of the present application:
[0266] See also Fig.12 The resource transfer system mainly includes the presentation layer, the Common Gateway Interface (CGI) layer, the background service layer, and the data layer. Among them:
[0267] Presentation layer: mainly used to present the target resource transfer-related pages to the resource requester, where the resource requester can enter the number of target resources in the relevant pages, and can gradually complete the installment repayment trial calculation, installment repayment application, installment repayment record viewing and other operations. It can be understood that the installment repayment trial calculation means that the resource requester can specify a number of installment resources that meets the installment rules within the quota (such as meeting the minimum number of installment resources and other requirements), and pre-calculate the installment repayment data (for example, it can include the resources consumed in each period, the number of resources to be returned, the resource return plan, the annualized interest rate, the total resources consumed, the rate, the discount, etc.). Exemplarily, if the resource transfer system is an application, the presentation layer may include the application's nine-square grid, mini-programs, official accounts, etc.
[0268] Universal gateway interface layer (also known as unified gateway access layer): mainly used to pass the corresponding request of the resource requester (such as installment repayment trial calculation request, installment repayment record viewing request, etc.) to the background service layer.
[0269] Backend service layer: mainly includes discount push service, operation configuration service, installment recommendation service, installment trial calculation service, batch running service, and bank front-end machine, etc. Among them, the discount recommendation service is mainly used to push discount activity data to the resource requester. The operation configuration service is mainly for the operation staff who configure the discount activities, and is responsible for launching and shutting down different types of installment discount activities, including but not limited to configuring discount coupons, configuring N-period free coupons, configuring cash coupons, etc. The installment trial calculation service is mainly used to calculate the target resources requested by the resource requester, and send the trial calculation data to the installment recommendation service. The installment recommendation service is mainly used to select the appropriate target resource provider based on the trial calculation data and discount activity data, and recommend it to the resource requester. The batch running service is mainly used to handle some scheduled tasks related to discount activities, including but not limited to pushing discount activities and pulling trial calculation data. The bank front-end machine is mainly used to connect to the installment interface of major resource providers.
[0270] Data layer mysql: mainly used to store the preferential activity data of resource providers, including but not limited to the preferential activity data configured by the resource transfer system platform, the preferential activity data configured by the resource provider, etc. Exemplarily, the preferential activity data includes but is not limited to the preferential type (discount coupons, N-period free coupons, cash coupons, repayment coupons, etc.), the starting period, the starting resource, the validity period, the resource provider type, the attribute data of the resource requester, etc.
[0271] For example, in the embodiment of the present application, the resource requester is a user, the resource provider is a bank, and the resource transfer system is a third-party resource transfer platform. That is, in the embodiment of the present application, the user transfers the target resource on the third-party resource transfer platform to complete the transfer of the target resource from the target bank, and returns the target resource in installments at a later stage.
[0272] See also Fig.13 , is a schematic diagram of an example interface in which a user can request resource transfer. Fig.13 As shown, users can withdraw cash from the Agricultural Bank of China or the Bank of Communications with their credit cards. The credit card limit of the Agricultural Bank of China is 5,000, and the credit card limit of the Bank of Communications is 9,000.
[0273] based on Fig.12 The implementation environment shown is shown in Fig.14 , Fig.14 FIG. 1 is a flow chart of a resource transfer method according to an embodiment of the present application. Fig.14 As shown, the resource transfer method at least includes S1401 to S1411, which are described in detail as follows:
[0274] S1401, the user sends a resource transfer request to the general gateway interface layer.
[0275] S1402, the general gateway interface layer sends a resource transfer request to the installment trial calculation service.
[0276] S1403, the installment trial calculation service requests the bank trial calculation interface from the bank front-end.
[0277] S1404, the bank front-end returns the bank trial calculation interface to the installment trial calculation service.
[0278] S1405, the installment trial calculation service returns the trial calculation data to the general gateway interface layer.
[0279] S1406, the general gateway interface layer sends a low-consumption-resource installment recommendation request to the installment recommendation service.
[0280] S1407, the installment recommendation service queries the data layer for promotion data.
[0281] S1408, the data layer returns the promotion data to the installment recommendation service.
[0282] S1409, the installment recommendation service calculates based on the trial calculation data and the preferential activity data to obtain a target bank with low resource consumption.
[0283] Exemplarily, the consumable resources to be consumed corresponding to the trial calculation data can be represented as f(n, x), where n is the number of installments and x is the number of installment resources; at the same time, the consumable resources corresponding to the preferential activity data can be represented as g(n, x), where n is the number of installments and x is the number of installment resources; therefore, the resources required for the user to return the target resources in installments can be represented as f(n, x)-g(n, x).
[0284] Afterwards, the collection resources of each bank can be constructed based on y(bank) = f(n, x) - g(n, x). Fig.15a , Fig.15a The figure shows the collection resource functions of two banks, where the collection resources of each bank are different under the same number of installments. Fig.15b , Fig.15b It is shown in the figure that the smaller the vertical axis value is, the fewer resources the user consumes for installment repayment, that is, the final bank's collection resource function can be represented as y=min{y(bank)}.
[0285] It is understandable that when the target resource and the number of installments for the user to withdraw are certain, the bank's collection resource function expresses which bank consumes the least resources. In practical applications, it may be better to withdraw target resources from multiple banks (i.e., withdraw target resources from multiple banks in combination).
[0286] For example, for example, two banks are selected for cash withdrawal combination to achieve the minimum resource consumption required by the user. Suppose the cash withdrawal resource of a certain bank is X1, and the cash withdrawal resource of another bank is X2=X-X1, where X is the target resource to be withdrawn by the user, then find an X1 that minimizes y(X1)+y(X2). It can be understood that when X is constant, by traversing the X1 value (0, X) through computer iteration, the minimum value of y(X1)+y(X2) can be found.
[0287] Among them, if the value X1 that minimizes y(X1)+y(X2) is found, the banks corresponding to X1 and X2 can be clarified through the resource collection function, and then an installment combination plan can be generated based on the clarified banks, and the installment combination plan includes the combined banks, number of installments, installment resources, etc.
[0288] Among them, if the value X1 that minimizes y(X1)+y(X2) is not found, then directly withdrawing X is the best option, and an installment plan is generated based on the specified bank, which includes the bank, number of installments, installment resources, etc.
[0289] S1410, the installment recommendation service returns the recommended target bank to the general gateway interface layer.
[0290] S1411, the general gateway interface layer returns the recommended target bank to the user.
[0291] It should be noted that Fig.14 For the detailed description of S1401 to S1411 shown, please refer to the aforementioned embodiment, which will not be repeated here.
[0292] In the embodiment of the present application, the third-party resource transfer platform automatically recommends suitable credit card withdrawal banks, such as withdrawal combination methods, to users, which brings many conveniences to users and improves the convenience and efficiency of resource transfer.
[0293] based on Fig.12 The implementation environment shown is shown in Fig.16 , Fig.16 FIG. 1 is a flow chart of a resource transfer method according to an embodiment of the present application. Fig.16 As shown, the resource transfer method at least includes S1601 to S1609, which are described in detail as follows:
[0294] S1601, the operation personnel sends the online installment discount activity to the operation configuration service.
[0295] S1602, the operation configuration service sends the online installment preferential activities configured by the operation personnel to the data layer.
[0296] S1603, the data layer stores the online installment discount activities configured by the operation personnel, and returns the storage results to the operation configuration service.
[0297] S1604: The operation configuration service returns the storage result to the operation personnel.
[0298] S1605, the batch running service periodically obtains promotion data from the data layer.
[0299] S1606, the data layer returns the promotion data to the batch service.
[0300] S1607, the batch running service pushes the discount activity data to the discount recommendation service.
[0301] S1608, the discount recommendation service pushes discount activity data to the target user.
[0302] S1609, the discount recommendation service returns the push result of the discount activity data to the batch running service.
[0303] It should be noted that Fig.16 For the detailed description of S1601 to S1609 shown, please refer to the aforementioned embodiment, which will not be repeated here.
[0304] In the embodiment of the present application, the online installment discount activities are configured by the operating personnel, which is more flexible and increases the stickiness between users and the third-party resource transfer platform.
[0305] Fig.17 FIG. 1 is a block diagram of a resource transfer device according to an embodiment of the present application. Fig.17 As shown, the resource transfer device includes:
[0306] The receiving module 1701 is configured to receive a resource transfer request sent by a resource requester, wherein the resource transfer request includes a target resource to be transferred to the resource requester;
[0307] The acquisition module 1702 is configured to acquire resource consumption rule data corresponding to a plurality of resource providers, wherein the resource consumption rule data is a rule that the resource provider should follow when calculating the resource consumed when the resource requester returns the target resource to the resource provider in installments;
[0308] A selection module 1703, configured to select a target resource provider from the multiple resource providers based on the quantity of the target resources and the resource consumption rule data;
[0309] The recommendation module 1704 is configured to recommend the target resource provider to the resource requester; wherein the target resource provider is used to provide the target resource to the resource requester.
[0310] In one embodiment of the present application, the selection module 1703 includes:
[0311] A first calculation module is configured to calculate, based on resource consumption rule data of each resource provider, resources to be consumed by the resource requester returning the target resources in installments after each resource provider individually transfers out the target resources of the quantity, thereby obtaining a plurality of first consumed resources;
[0312] A second calculation module is configured to calculate, based on the resource consumption rule data of each resource provider, the resources to be consumed by the resource requester returning the target resources in installments after each resource provider combines with each other to transfer the target resources of the quantity, thereby obtaining a plurality of second consumed resources;
[0313] The selection submodule is configured to select the target resource provider from the plurality of resource providers based on the plurality of first consumable resources and the plurality of second consumable resources.
[0314] In one embodiment of the present application, the second computing module is specifically configured as follows:
[0315] Dividing the multiple resource providers into multiple resource provider combinations; wherein each resource provider combination includes at least two resource providers, and different resource provider combinations have at least one different resource provider;
[0316] Based on the resource consumption rule data of each resource provider, after each resource provider combination transfers out the target resources in the quantity, the resource requester returns the resources consumed by the target resources in installments, and obtains the collected resources of each resource provider combination;
[0317] The collected resources of each resource provider combination are used as the plurality of second consumable resources.
[0318] In one embodiment of the present application, the second computing module is further specifically configured as follows:
[0319] For each resource provider combination, specifying the number of resources to be transferred out for each resource provider in the resource provider combination based on the number of the target resources, wherein the sum of the numbers of the multiple resources to be transferred out is equal to the number of the target resources;
[0320] Based on the resource consumption rule data corresponding to each resource provider in the resource provider combination, respectively calculating the resources to be consumed by the resource requester returning the target resource in installments after each resource provider transfers out a corresponding amount of resources, to obtain a plurality of third consumable resources of the resource provider combination; and
[0321] A sum operation is performed on a plurality of third consumable resources of the resource provider combination to obtain the collected resources of the resource provider combination.
[0322] In one embodiment of the present application, the second computing module is further specifically configured as follows:
[0323] Adjusting the quantity of the plurality of resources to be transferred out; wherein the sum of the adjusted quantities of the plurality of resources to be transferred out is equal to the quantity of the target resources;
[0324] recalculating the collected resources of the resource provider combination based on the adjusted quantities of the multiple resources to be transferred out;
[0325] Jump to the step of adjusting the quantity of the plurality of resources to be transferred out until a preset end condition is reached, thereby obtaining a plurality of collected resources of the resource provider combination;
[0326] A collecting resource with the lowest collecting resource is selected from the multiple collecting resources, and the selected collecting resource is used as the collecting resource of the resource provider combination.
[0327] In one embodiment of the present application, the second computing module is further specifically configured as follows:
[0328] Increasing one of the quantities of the plurality of resources to be transferred out according to a preset quantity increasing unit;
[0329] Based on the increased quantity, reducing other quantities of the plurality of resources to be transferred out;
[0330] The preset end condition includes: the number of others is reduced to 1.
[0331] In one embodiment of the present application, the submodule is selected and specifically configured as follows:
[0332] Selecting a consumption resource with the lowest consumption resource from the plurality of first consumption resources and the plurality of second consumption resources, and using the selected consumption resource as a target consumption resource;
[0333] A resource provider corresponding to the target consumable resource is selected from the multiple resource providers, and the selected resource provider is used as the target resource provider.
[0334] In one embodiment of the present application, the first computing module is specifically configured as follows:
[0335] Get the corresponding promotion data of each resource provider;
[0336] For each resource provider, based on the resource consumption rule data of the resource provider and the promotional activity data, after calculating that the resource provider transfers out the target resources in quantity, the resource requester returns the resources to be consumed by the target resources in installments, obtains the collected resources of the resource provider, and uses the collected resources of the resource provider as the first consumed resources to obtain the multiple first consumed resources.
[0337] In one embodiment of the present application, the first computing module is further specifically configured as follows:
[0338] Receive the number of installments and the number of installment resources corresponding to the expected return of the target quantity of resources sent by the resource requester;
[0339] Based on the resource consumption rule data of the resource provider, calculating the consumption resources to be consumed corresponding to the number of installments and the number of installment resources;
[0340] Based on the preferential activity data, calculating the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources;
[0341] The collected resources of the resource provider are calculated based on the consumption resources to be consumed and the preferential consumption resources.
[0342] In one embodiment of the present application, the first computing module is further specifically configured as follows:
[0343] Acquiring attribute data of the resource requester;
[0344] Detecting, based on the attribute data, whether the resource requester has participated in the preferential activity represented by the preferential activity data, and obtaining a detection result;
[0345] If the detection result indicates that the resource requester meets the conditions for participating in the preferential activity, then based on the preferential activity data, the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources are calculated.
[0346] In one embodiment of the present application, the first computing module is further specifically configured as follows:
[0347] If the preferential activity data includes a discount rate, the consumption resources of the preferential treatment are calculated based on the discount rate, the number of installment resources, and the number of installment periods;
[0348] If the preferential activity data includes the number of installment periods to be exempted, then based on the number of installment periods to be exempted, the number of installment resources, and the number of installment periods, the consumption resources of the preferential treatment are calculated;
[0349] If the preferential activity data includes the number of reduced resources, the consumed resources of the preferential treatment are calculated based on the number of reduced resources, the number of installment resources, and the number of installment periods.
[0350] In one embodiment of the present application, the recommendation module 1704 is specifically configured as follows:
[0351] If there are multiple target resource providers, the multiple target resource providers are recommended to the resource requester; wherein the multiple target resource providers are used to jointly provide the transfer of the target resource to the resource requester.
[0352] It should be noted that the apparatus provided in the aforementioned embodiment and the method provided in the aforementioned embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment.
[0353] An embodiment of the present application also provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the resource transfer method as described above.
[0354] Fig.18 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application.
[0355] It should be noted that Fig.18 The computer system 1800 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0356] like Fig.18 As shown, the computer system 1800 includes a central processing unit (CPU) 1801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1802 or the program loaded from the storage part 1808 to the random access memory (RAM) 1803, such as executing the method in the above embodiment. In RAM 1803, various programs and data required for system operation are also stored. CPU 1801, ROM 1802 and RAM 1803 are connected to each other through bus 1804. Input / output (I / O) interface 1805 is also connected to bus 1804.
[0357] The following components are connected to the I / O interface 1805: an input section 1806 including a keyboard, a mouse, etc.; an output section 1807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1808 including a hard disk, etc.; and a communication section 1809 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 1809 performs communication processing via a network such as the Internet. A drive 1810 is also connected to the I / O interface 1805 as needed. A removable medium 1811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1810 as needed so that a computer program read therefrom is installed into the storage section 1808 as needed.
[0358] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 1809, and / or installed from a removable medium 1811. When the computer program is executed by a central processing unit (CPU) 1801, various functions defined in the system of the present application are executed.
[0359] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. Computer-readable media may be, for example, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0360] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0361] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0362] Another aspect of the present application also provides a computer readable medium having a computer program stored thereon, which implements the resource transfer method as described above when the computer program is executed by a processor. The computer readable medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0363] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable medium. A processor of a computer device reads the computer instruction from the computer-readable medium, and the processor executes the computer instruction, so that the computer device executes the resource transfer method provided in each of the above embodiments.
[0364] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A resource transfer method, characterized in that: include: receiving a resource transfer request sent by a resource requester, wherein the resource transfer request includes a target resource to be transferred to the resource requester; Acquire resource consumption rule data corresponding to a plurality of resource providers respectively, wherein the resource consumption rule data is a rule that the resource provider should follow when calculating the resource consumed by the resource requester to return the target resource to the resource provider in installments; selecting a target resource provider from the plurality of resource providers based on the quantity of the target resource and the resource consumption rule data; The target resource provider is recommended to the resource requester; wherein the target resource provider is used to provide the target resource to the resource requester.
2. The method according to claim 1, characterized in that The selecting a target resource provider from the plurality of resource providers based on the quantity of the target resource and the resource consumption rule data comprises: Based on the resource consumption rule data of each resource provider, after each resource provider individually transfers out the target resource in the quantity, the resource requester returns the resource consumed by the target resource in installments, thereby obtaining a plurality of first consumed resources; Based on the resource consumption rule data of each resource provider, after each resource provider transfers the target resource in combination, the resource requester returns the resources consumed by the target resource in installments, thereby obtaining a plurality of second consumed resources; The target resource provider is selected from the plurality of resource providers based on the plurality of first consumption resources and the plurality of second consumption resources.
3. The method according to claim 2, characterized in that The resource requesting party returns the resources to be consumed by the target resources in installments based on the resource consumption rule data of each resource provider, and obtains a plurality of second consumed resources, including: Dividing the multiple resource providers into multiple resource provider combinations; wherein each resource provider combination includes at least two resource providers, and different resource provider combinations have at least one different resource provider; Based on the resource consumption rule data of each resource provider, after each resource provider combination transfers out the target resources in the quantity, the resource requester returns the resources consumed by the target resources in installments, and obtains the collected resources of each resource provider combination; The collected resources of each resource provider combination are used as the plurality of second consumable resources.
4. The method according to claim 3, characterized in that: The step of calculating, based on the resource consumption rule data of each resource provider, that after each resource provider combination transfers out the target resource in the quantity, the resource requesting party returns the resources to be consumed by the target resource in installments, and obtaining the collected resources of each resource provider combination, includes: For each resource provider combination, specifying the number of resources to be transferred out for each resource provider in the resource provider combination based on the number of the target resources, wherein the sum of the numbers of the multiple resources to be transferred out is equal to the number of the target resources; Based on the resource consumption rule data corresponding to each resource provider in the resource provider combination, respectively calculating the resources to be consumed by the resource requester returning the target resource in installments after each resource provider transfers out a corresponding amount of resources, to obtain a plurality of third consumable resources of the resource provider combination; and A sum operation is performed on a plurality of third consumable resources of the resource provider combination to obtain the collected resources of the resource provider combination.
5. The method according to claim 4, characterized in that After summing up the plurality of third consumable resources of the resource provider combination to obtain the collected resources of the resource provider combination, the method further includes: Adjusting the quantity of the plurality of resources to be transferred out; wherein the sum of the adjusted quantities of the plurality of resources to be transferred out is equal to the quantity of the target resources; recalculating the collected resources of the resource provider combination based on the adjusted quantities of the multiple resources to be transferred out; Jump to the step of adjusting the quantity of the plurality of resources to be transferred out until a preset end condition is reached, thereby obtaining a plurality of collected resources of the resource provider combination; A collecting resource with the lowest collecting resource is selected from the multiple collecting resources, and the selected collecting resource is used as the collecting resource of the resource provider combination.
6. The method according to claim 5, characterized in that The adjusting the quantity of the plurality of resources to be transferred out includes: Increasing one of the quantities of the plurality of resources to be transferred out according to a preset quantity increasing unit; Based on the increased quantity, reducing other quantities of the plurality of resources to be transferred out; The preset end condition includes: the number of others is reduced to 1.
7. The method according to claim 2, characterized in that The selecting a target resource provider from the plurality of resource providers based on the plurality of first consumable resources and the plurality of second consumable resources comprises: Selecting a consumption resource with the lowest consumption resource from the plurality of first consumption resources and the plurality of second consumption resources, and using the selected consumption resource as a target consumption resource; A resource provider corresponding to the target consumable resource is selected from the multiple resource providers, and the selected resource provider is used as the target resource provider.
8. The method according to claim 2, characterized in that: The resource requesting party returns the resources to be consumed by the target resources in installments based on the resource consumption rule data of each resource provider, and obtains a plurality of first consumed resources, including: Get the corresponding promotion data of each resource provider; For each resource provider, based on the resource consumption rule data of the resource provider and the promotional activity data, after calculating that the resource provider transfers out the target resources in quantity, the resource requester returns the resources to be consumed by the target resources in installments, obtains the collected resources of the resource provider, and uses the collected resources of the resource provider as the first consumed resources to obtain the multiple first consumed resources.
9. The method according to claim 8, characterized in that The method of calculating the target resource transferred out by the resource provider based on the resource consumption rule data of the resource provider and the preferential activity data, and the resource requesting party returning the resources to be consumed by the target resource in installments to obtain the collected resources of the resource provider includes: Receive the number of installments and the number of installment resources corresponding to the expected return of the target quantity of resources sent by the resource requester; Based on the resource consumption rule data of the resource provider, calculating the consumption resources to be consumed corresponding to the number of installments and the number of installment resources; Based on the preferential activity data, calculating the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources; The collected resources of the resource provider are calculated based on the consumption resources to be consumed and the preferential consumption resources.
10. The method according to claim 9, characterized in that The calculating, based on the preferential activity data, the preferential consumption resources corresponding to the number of installments and the number of installment resources comprises: Acquiring attribute data of the resource requester; Detecting, based on the attribute data, whether the resource requester has participated in the preferential activity represented by the preferential activity data, and obtaining a detection result; If the detection result indicates that the resource requester meets the conditions for participating in the preferential activity, then based on the preferential activity data, the consumption resources of the preferential treatment corresponding to the number of installments and the number of installment resources are calculated.
11. The method according to claim 9, characterized in that The calculating, based on the preferential activity data, the preferential consumption resources corresponding to the number of installments and the number of installment resources comprises: If the preferential activity data includes a discount rate, the consumption resources of the preferential treatment are calculated based on the discount rate, the number of installment resources, and the number of installment periods; If the preferential activity data includes the number of installment periods to be exempted, then based on the number of installment periods to be exempted, the number of installment resources, and the number of installment periods, the consumption resources of the preferential treatment are calculated; If the preferential activity data includes the number of reduced resources, the consumed resources of the preferential treatment are calculated based on the number of reduced resources, the number of installment resources, and the number of installment periods.
12. The method according to any one of claims 1 to 11, characterized in that The recommending the target resource provider to the resource requester includes: If there are multiple target resource providers, the multiple target resource providers are recommended to the resource requester; wherein the multiple target resource providers are used to jointly provide the transfer of the target resource to the resource requester.
13. A resource transfer device, characterized in that: include: A receiving module, configured to receive a resource transfer request sent by a resource requester, wherein the resource transfer request includes a target resource to be transferred to the resource requester; An acquisition module configured to acquire resource consumption rule data corresponding to a plurality of resource providers, wherein the resource consumption rule data is a rule that the resource provider should follow when calculating the resource consumed by the resource requester to return the target resource to the resource provider in installments; A selection module configured to select a target resource provider from the plurality of resource providers based on the quantity of the target resource and the resource consumption rule data; The recommendation module is configured to recommend the target resource provider to the resource requester; wherein the target resource provider is used to provide the target resource to the resource requester.
14. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs, which, when executed by the electronic device, enables the electronic device to implement the resource transfer method described in any one of claims 1 to 12.
15. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the resource transfer method according to any one of claims 1 to 12 is implemented.
16. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the resource transfer method according to any one of claims 1 to 12 is implemented.
