Resource interaction service processing method and device, computer equipment and storage medium
By obtaining the interactive resource type of resource interaction services, triggering detection requests and obtaining the conversion ratio of each closing platform, and determining the target closing processing platform, it solves the problems of low resource conversion rate and waste in traditional strategies, and achieves flexible resource conversion rate improvement.
Patent Information
- Application Number
- CN202410080394.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2025-07-22
AI Technical Summary
The traditional resource interactive order closing processing strategy cannot know the resource conversion ratio supported by various institutions or platforms in advance, resulting in lagging resource conversion ratios, and problems such as waste of resources and low conversion rates.
By obtaining the interactive resource type of resource interaction service, the resource interaction detection request is triggered, and the request is sent to each closing processing platform to obtain the resource conversion ratio, and the target resource conversion ratio and the matching target closing processing platform for resource closing processing.
It avoids the problem of delaying resource conversion ratio, reduces resource waste, improves resource conversion rate, and realizes flexible choices in different application scenarios.
Smart Images

Figure CN120353564A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular, to a method and apparatus for processing resource interaction services, a computer device, a storage medium, and a computer program product. Background Art
[0002] With the development of computer technology and the popularization and use of various resource interaction platforms, the requirement for the processing efficiency of each resource interaction order on the resource interaction platform is increasing day by day. To improve the processing efficiency of resource interaction orders, a pre-set order closing processing strategy has emerged, and different resource interaction orders are respectively sent to the institutions or platforms that match them for closing processing according to the pre-set order closing processing strategy.
[0003] However, the traditional method of uniformly distributing each resource interaction order to the institutions or platforms that match it for closing processing according to the pre-set order closing processing strategy has a relatively fixed and single form, and it is impossible to know in advance the resource conversion ratio between the various resource types supported by each institution or platform, resulting in a lag in the resource conversion ratio. Therefore, it is also impossible to perform closing processing according to the optimal or latest resource conversion ratio, resulting in a problem of resource waste, and the resource conversion rate still needs to be improved. Summary of the Invention
[0004] Based on this, it is necessary to provide a method and apparatus for processing resource interaction services, a computer device, a storage medium, and a computer program product that can reduce resource waste and improve the resource conversion rate for resource interaction orders in view of the above technical problems.
[0005] In a first aspect, the present application provides a method for processing resource interaction services, including:
[0006] Obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0007] Send the resource interaction detection request to each closing processing platform, and obtain the resource conversion ratio corresponding to each closing processing platform;
[0008] Based on each resource conversion ratio, determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0009] In a second aspect, the present application further provides a device for processing resource interaction services, including:
[0010] A resource interaction detection request triggering module, configured to obtain an interaction resource type corresponding to a resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0011] A resource conversion ratio receiving module, configured to send the resource interaction detection request to each closing processing platform, and obtain a resource conversion ratio corresponding to each closing processing platform;
[0012] A target resource conversion ratio determining module, configured to determine a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio based on each resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0013] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0014] Obtain an interaction resource type corresponding to a resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0015] Send the resource interaction detection request to each closing processing platform, and obtain a resource conversion ratio corresponding to each closing processing platform;
[0016] Based on each resource conversion ratio, determine a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0017] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0018] Obtain an interaction resource type corresponding to a resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0019] Send the resource interaction detection request to each closing processing platform, and obtain a resource conversion ratio corresponding to each closing processing platform;
[0020] Based on each resource conversion ratio, determine a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0021] In a fifth aspect, the present application also provides a computer program product, including a computer program which, when executed by a processor, implements the following steps:
[0022] Obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0023] Send the resource interaction detection request to each closing processing platform, and obtain the resource conversion ratio corresponding to each closing processing platform;
[0024] Based on each of the resource conversion ratios, determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0025] In the above resource interaction service processing method, device, computer device, storage medium and computer program product, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratio corresponding to each closing processing platform, it is possible to obtain in advance the resource conversion ratio corresponding to each closing processing platform by means of resource interaction detection before subsequent closing processing, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio, so that the resource interaction service can be subjected to resource closing processing by the target closing processing platform, without adopting the traditional single fixed resource interaction service distribution and processing method, and different target resource conversion ratios can be flexibly selected in different actual application scenarios, reducing resource waste and improving the resource conversion rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for describing the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0027] Figure 1 It is an application environment diagram of the resource interaction service processing method in an embodiment;
[0028] Figure 2 It is a flowchart of the resource interaction service processing method in an embodiment;
[0029] Figure 3Schematic flowchart of obtaining resource conversion ratios corresponding to respective closing processing platforms in one embodiment;
[0030] Figure 4 Schematic flowchart of a resource interaction service processing method in another embodiment;
[0031] Figure 5 Schematic flowchart of a resource interaction service processing method in still another embodiment;
[0032] Figure 6 Schematic flowchart of a resource interaction service processing method in yet another embodiment;
[0033] Figure 7 Overall schematic flowchart of a resource interaction service processing method in one embodiment;
[0034] Figure 8 Schematic architecture diagram of a resource interaction service processing system in one embodiment;
[0035] Figure 9 Schematic timing diagram of resource interaction service processing based on a resource interaction service processing system in one embodiment;
[0036] Figure 10 Structural block diagram of a resource interaction service processing apparatus in one embodiment;
[0037] Figure 11 Internal structure diagram of a computer device in one embodiment. Detailed implementation manners
[0038] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0039] The resource interaction service processing method provided by the embodiments of the present application can be applied to, for example Figure 1In the application environment shown. Among them, the terminal 102 communicates with the resource interaction processing server 104 through the network, and the resource interaction processing server 104 also communicates with the target closing processing platform 106 through the network. The data storage system can store the data that the resource interaction processing server 104 needs to process. The data storage system can be integrated on the resource interaction processing server 104, or can be placed on the cloud or other network servers. Among them, the terminal 102 can trigger and feedback a resource closing processing request to the resource interaction processing server 104. Among them, the resource closing processing request carries the resource interaction service to be processed, and the resource interaction service carries the interaction resource type. Further, after receiving the resource closing processing request feedback by the terminal 102, the resource interaction processing server 104 can obtain the interaction resource type corresponding to the resource interaction service to be processed carried by the resource closing processing request, and trigger a resource interaction detection request according to the interaction resource type. Further, the resource interaction processing server 104 sends the resource interaction detection request to each closing processing platform, and obtains the resource conversion ratio corresponding to each closing processing platform. Further, based on each resource conversion ratio, the target resource conversion ratio and the target closing processing platform 106 matching the target resource conversion ratio can be determined. Finally, the target closing processing platform 106 is used to perform resource closing processing on the resource interaction service.
[0040] Among them, the terminal 102 can be but is not limited to various personal computers, laptop computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The resource interaction processing server 104 and the target closing processing platform 106 can be implemented by an independent server or a server cluster composed of multiple servers.
[0041] In an exemplary embodiment, as Figure 2 shown, a resource interaction service processing method is provided. Taking the resource interaction processing server 104 in Figure 1 as an example for illustration, it includes the following steps S202 to step S206. Among them:
[0042] Step S202, obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type.
[0043] Among them, in the process of processing resource interaction services, there are usually open position data that need to be closed out. That is, the user can trigger a resource closing-out processing request based on the terminal. The resource interaction processing server feeds back the resource closing-out processing request to the closing-out processing platform, and the closing-out processing platform performs resource closing-out processing on the open position data in response to the resource closing-out processing request to obtain the corresponding closing-out processing result. Among them, the open position data specifically represents the aggregated resource amount accumulated by a bank or institution (i.e., the closing-out processing platform) in the process of performing foreign exchange resource interaction processing for users in cases where the resource inflow amount is greater than the resource outflow amount (i.e., long position), or the resource outflow amount is greater than the resource inflow amount (i.e., short position). Specifically, when the closing-out processing platform performs closing-out processing on the open position data, it needs to sell the long positions in the open position data or make up the short positions in the open position data, that is, to solve the problem of the resource inflow amount being greater than the resource outflow amount (i.e., long position) or the resource outflow amount being greater than the resource inflow amount (i.e., short position), and obtain the closing-out processing result.
[0044] Specifically, if the resource interaction processing server detects a resource closing-out processing request, it obtains the resource interaction service to be processed carried by the resource closing-out processing request, and through parsing the resource interaction service, it can obtain the interaction resource type corresponding to the resource interaction service, and trigger a resource interaction detection request according to the interaction resource type corresponding to the resource interaction service. Among them, the resource interaction detection request represents a request that needs to be triggered for resource interaction detection processing in advance before performing resource closing-out processing, and through performing resource interaction detection processing, the resource conversion ratio corresponding to the resource interaction detection request feedback by different closing-out processing platforms can be obtained.
[0045] Furthermore, by adopting the method of resource interaction detection, before performing subsequent resource closing-out processing, the resource conversion ratio corresponding to each closing-out processing platform is obtained in advance, avoiding the problem of delayed resource conversion ratio. Furthermore, based on the resource conversion ratio corresponding to each closing-out processing platform, the target resource conversion ratio that meets the actual requirements and the target closing-out processing platform matching the target resource conversion ratio can be determined, so as to perform resource closing-out processing on the current resource interaction service carried by the resource closing-out processing request through the target closing-out processing platform to obtain the closing-out processing result, reducing the waste of resources in the closing-out processing process and improving the resource conversion rate.
[0046] Step S204, send the resource interaction detection request to each closing-out processing platform, and obtain the resource conversion ratio corresponding to each closing-out processing platform.
[0047] Specifically, the resource interaction processing server is deployed with a resource interaction detection component and a resource conversion ratio list construction component. Among them, the resource interaction processing server can send a resource interaction detection request to the resource interaction detection component, so that the resource interaction detection component can send the resource interaction detection request to each closing processing platform. Then, each closing processing platform can obtain the resource conversion ratio corresponding to the resource interaction detection request by responding to the resource interaction detection request.
[0048] Optionally, after receiving the resource interaction detection request sent by the resource interaction detection component, each closing processing platform performs resource interaction detection processing according to the interaction resource type and the detected resource interaction volume carried by the resource interaction detection request by responding to the resource interaction detection request, so as to obtain the detection processing result corresponding to the resource interaction detection request and obtain the resource conversion ratio carried by the detection processing result.
[0049] Among them, the resource interaction detection processing to be performed by the resource interaction detection request and the resource closing processing to be performed by the resource closing processing request both essentially belong to conventional resource interaction processing or resource conversion processing. However, the specific value of the detected resource interaction volume carried by the resource interaction detection request is different from the specific value of the resource interaction volume carried by the resource closing processing request, and the detected resource interaction volume carried by the resource interaction detection request is much smaller than the resource interaction volume carried by the resource closing processing request. For example, the detected resource interaction volume is 10 units of the first resource, while the resource interaction volume is 10 million units of the first resource. That is, the values of the detected resource interaction volume and the resource interaction volume usually belong to different orders of magnitude. Among them, the resource interaction processing server can adopt the method of pre-deploying a detection resource pool to obtain the required detected resource interaction volume from the detection resource pool when resource interaction detection processing is required, and perform resource interaction detection processing, that is, transfer the detected resource interaction volume corresponding to the resource interaction detection request to each closing processing platform respectively, so that each closing processing platform can perform resource interaction detection processing according to the interaction resource type and the detected resource interaction volume, thereby obtaining the resource conversion ratio corresponding to each closing processing platform.
[0050] In an exemplary embodiment, each closing processing platform can send its corresponding resource conversion ratio to the resource conversion ratio list construction component, that is, the resource conversion ratio list construction component is used to receive each resource conversion ratio and construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0051] Further, the resource conversion ratio list construction component constructs a resource conversion ratio list based on each closing processing platform and its corresponding resource conversion ratio. After that, by feeding back the resource conversion ratio list to the resource interaction processing server, the resource interaction processing server can obtain the resource conversion ratios corresponding to each closing processing platform included in the resource conversion ratio list by either retrieving the resource conversion ratio list from the resource conversion ratio list construction component or receiving the resource conversion ratio list fed back by the resource conversion ratio list construction component.
[0052] Step S206: Based on each resource conversion ratio, determine the target resource conversion ratio and the target closing processing platform that matches the target resource conversion ratio. The target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0053] Specifically, the resource interaction processing server parses the resource interaction service to be processed to obtain the resource interaction requirements corresponding to the resource interaction service, and then determines the target resource conversion ratio that matches it and the target closing processing platform that matches the target resource conversion ratio according to different resource interaction requirements. Among them, the resource interaction requirements specifically include resource transfer-in requirements and resource transfer-out requirements.
[0054] Further, if the resource interaction requirement is a resource transfer-in requirement, then filter out the minimum resource conversion ratio based on each resource conversion ratio, determine the minimum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform that matches the minimum resource conversion ratio as the target closing processing platform.
[0055] Exemplarily, sort each resource conversion ratio according to its value size. For example, sort each resource conversion ratio from smallest to largest to obtain a resource conversion ratio sequence. Thus, based on the resource conversion ratio sequence, the minimum resource conversion ratio can be determined, and the minimum resource conversion ratio can be determined as the target resource conversion ratio. Among them, if the resource interaction requirement is a resource transfer-in requirement, it means that currently, the minimum resource conversion ratio needs to be selected to obtain as much transferred-in resource as possible when performing resource interaction processing for the transferred-out resource type and the transferred-out resource type.
[0056] Among them, each resource conversion ratio can also be sorted from largest to smallest to obtain a resource conversion ratio sequence. Thus, based on the resource conversion ratio sequence, the minimum resource conversion ratio can be determined, and the minimum resource conversion ratio can be determined as the target resource conversion ratio.
[0057] In an exemplary embodiment, if the resource interaction requirement is a resource transfer-out requirement, the maximum resource conversion ratio is screened out based on each resource conversion ratio, the maximum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform matching the maximum resource conversion ratio is determined as the target closing processing platform.
[0058] Exemplarily, by sorting each resource conversion ratio according to the value size, for example, sorting each resource conversion ratio from large to small in value, a resource conversion ratio sequence is obtained. Thus, based on the resource conversion ratio sequence, the maximum resource conversion ratio can be determined, and the maximum resource conversion ratio is determined as the target resource conversion ratio. Among them, if the resource interaction requirement is a resource transfer-out requirement, it indicates that the maximum resource conversion ratio needs to be selected currently, so as to convert as little as possible of the transfer-out resources with the transfer-out resource type and the transfer-out resource type during the resource interaction processing.
[0059] Among them, each resource conversion ratio can also be sorted from small to large in value to obtain a resource conversion ratio sequence. Thus, based on the resource conversion ratio sequence, the maximum resource conversion ratio can be determined, and the maximum resource conversion ratio is determined as the target resource conversion ratio.
[0060] In an exemplary embodiment, after determining the target resource conversion ratio and the target closing processing platform matching the target resource conversion ratio, the resource closing processing of the resource interaction service is performed by using the target closing processing platform.
[0061] Specifically, after determining the target resource conversion ratio and the target closing processing platform, by feeding back the resource closing processing request to the target closing processing platform, the target closing processing platform responds to the resource closing processing request, and obtains the interaction resource type and the resource interaction amount carried by the resource closing processing request. Furthermore, through the target closing processing platform, according to the interaction resource type and the resource interaction amount carried by the resource interaction service, the resource closing processing is performed to obtain the resource closing processing result.
[0062] In the above resource interaction service processing method, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratio corresponding to each closing processing platform, it is possible to adopt the method of resource interaction detection to obtain in advance the resource conversion ratio corresponding to each closing processing platform before subsequent closing processing, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio are determined, so that the resource interaction service can be subjected to resource closing processing through the target closing processing platform, without adopting the traditional single and fixed resource interaction service distribution and processing method, and different target resource conversion ratios can be flexibly selected in different actual application scenarios, reducing resource waste and improving the resource conversion rate.
[0063] In an exemplary embodiment, as Figure 3 shown, the step of obtaining the resource conversion ratio corresponding to each closing processing platform, that is, the step of sending the resource interaction detection request to each closing processing platform and obtaining the resource conversion ratio corresponding to each closing processing platform, specifically includes the following steps S302 to step S306. Among them:
[0064] Step S302, send the resource interaction detection request to each closing processing platform, and through each closing processing platform responding to the resource interaction detection request, obtain the resource conversion ratio corresponding to the resource interaction detection request.
[0065] Specifically, the resource interaction processing server sends the resource interaction detection request to the resource interaction detection component, so that the resource interaction detection component sends the resource interaction detection request to each closing processing platform.
[0066] Among them, the resource interaction detection request carries the interaction resource type and the detected resource interaction amount. The interaction resource type includes the resource type that needs to transfer in resources (i.e., the transfer-in resource type) and the resource type that needs to transfer out resources (i.e., the transfer-out resource type), and the detected resource interaction amount is used to transfer to different closing processing platforms, so that each closing processing platform performs resource interaction detection processing according to the interaction resource type and the detected resource interaction amount, thereby obtaining the resource conversion ratio corresponding to each closing processing platform.
[0067] Further, each liquidation processing platform receives a resource interaction detection request, responds to the resource interaction detection request, and obtains the interaction resource type and the detected resource interaction volume carried by the resource interaction detection request, so as to perform resource interaction detection processing according to the corresponding interaction resource type and the detected resource interaction volume, thereby obtaining a detection processing result corresponding to the resource interaction detection request, and further obtaining the resource conversion ratio carried by the detection processing result.
[0068] Step S304: Through the resource conversion ratio list construction component, receive each resource conversion ratio, and construct a resource conversion ratio list according to each liquidation processing platform and its corresponding resource conversion ratio.
[0069] Specifically, each liquidation processing platform can send its corresponding resource conversion ratio to the resource conversion ratio list construction component, that is, the resource interaction detection component is used to receive the resource conversion ratios fed back by each liquidation processing platform, and feed back each resource conversion ratio to the resource conversion ratio list construction component. Furthermore, through the resource conversion ratio list construction component, a resource conversion ratio list can be constructed according to each liquidation processing platform and its corresponding resource conversion ratio.
[0070] In an exemplary embodiment, referring to Table 1 (resource conversion ratio list) below, it can be seen that after the resource conversion ratio list construction component receives the resource conversion ratios of different liquidation processing platforms, it constructs a resource conversion ratio list according to the liquidation processing platform, the resource conversion ratio, and the feedback time of each resource conversion ratio.
[0071] Table 1 Resource conversion ratio list
[0072]
[0073] Specifically, upon receiving the detection processing results of different liquidation platforms fed back by the resource interaction detection component, including the resource conversion ratio, the feedback time of each resource conversion ratio, the liquidation platform (such as platform 1), the interactive resource type (such as the first resource type - the second resource type), and the resource interaction requirement (such as the resource transfer requirement), etc., the resource conversion ratio list construction component constructs an index structure in the form of key - value based on the received interactive resource type, resource interaction requirement, liquidation platform, resource conversion ratio, and the feedback time of the resource conversion ratio. Among them, the key is represented in the format of "interactive resource type + resource interaction requirement", and the value is represented in the format of "liquidation platform + resource conversion ratio + feedback time of the resource conversion ratio", that is, the value is represented by a resource conversion ratio list. Furthermore, after receiving the query information of "interactive resource type + resource interaction requirement", the content of the resource conversion ratio list that meets the "interactive resource type + resource interaction requirement" can be queried, and then the specific liquidation platform, resource conversion ratio, and the feedback time of the resource conversion ratio can be obtained.
[0074] Exemplarily, when the resource conversion ratio list construction component receives the query information fed back by the resource processing service, such as the query information of "the first resource type - the second resource type, resource transfer requirement", due to the resource transfer requirement, it is necessary to screen out the minimum resource conversion ratio. Then, the resource conversion ratio list can be queried according to the query information. For example, based on the resource conversion ratio list shown in Table 1, the minimum resource conversion ratio, that is, "7.11" in Table 1, is screened out. Then, the resource conversion ratio "7.11" is determined as the target resource conversion ratio, and the liquidation platform "platform 2" corresponding to the resource conversion ratio "7.11" is determined as the target liquidation platform.
[0075] Among them, after continuously receiving the resource conversion ratios of different liquidation platforms, the feedback times of each resource conversion ratio, and the resource interaction information associated with the corresponding resource interaction detection requests fed back by the resource interaction detection component, the resource conversion ratio list construction component updates the resource conversion ratios of different liquidation platforms according to the latest feedback time of the resource conversion ratio, that is, updates them to the resource conversion ratios corresponding to the latest feedback time.
[0076] Step S306, obtain the resource conversion ratio list from the resource conversion ratio list construction component. The resource conversion ratio list includes the resource conversion ratios corresponding to each liquidation platform.
[0077] Specifically, the resource conversion ratio list construction component constructs a resource conversion ratio list based on each liquidation processing platform and its corresponding resource conversion ratio. After that, by feeding back the resource conversion ratio list to the resource interaction processing server, the resource interaction processing server can obtain the resource conversion ratios corresponding to each liquidation processing platform included in the resource conversion ratio list by obtaining the resource conversion ratio list from the resource conversion ratio list construction component or receiving the resource conversion ratio list fed back by the resource conversion ratio list construction component.
[0078] In this embodiment, by sending a resource interaction detection request to each liquidation processing platform, the resource conversion ratio corresponding to the resource interaction detection request is obtained through the response of each liquidation processing platform to the resource interaction detection request. Each liquidation processing platform sends its corresponding resource conversion ratio to the resource conversion ratio list construction component, and the resource conversion ratio list construction component constructs a resource conversion ratio list according to each liquidation processing platform and its corresponding resource conversion ratio. Furthermore, the resource interaction processing server can obtain the resource conversion ratio list from the resource conversion ratio list construction component, that is, obtain the resource conversion ratios corresponding to each liquidation processing platform included in the resource conversion ratio list. Thus, by adopting the method of resource interaction detection, before subsequent liquidation processing, the resource conversion ratio corresponding to each liquidation processing platform can be obtained in advance, avoiding the problem of delayed resource conversion ratio. Finally, when performing resource liquidation processing, the target resource conversion ratio corresponding to it can be flexibly selected under different actual application scenarios, further reducing resource waste and improving the resource conversion rate.
[0079] In one embodiment, as Figure 4 shown, a resource interaction service processing method is provided, which specifically includes the following steps S402 to step S412. Among them:
[0080] Step S402: Send a resource interaction detection request to the resource interaction detection component, and the resource interaction detection component sends the resource interaction detection request to each liquidation processing platform. The resource interaction detection request carries the interaction resource type and the detected resource interaction volume.
[0081] Specifically, the resource interaction processing server is deployed with a resource interaction detection component and a resource conversion ratio list construction component. The resource interaction processing server can send the resource interaction detection request to the resource interaction detection component, so that the resource interaction detection component sends the resource interaction detection request to each liquidation processing platform.
[0082] Among them, the resource interaction detection request carries the interaction resource type and the detected resource interaction volume. The interaction resource type includes the resource type that needs to transfer in resources (i.e., the transfer-in resource type) and the resource type that needs to transfer out resources (i.e., the transfer-out resource type), and the detected resource interaction volume is used to transfer to different closing processing platforms, so that each closing processing platform can perform resource interaction detection processing according to the interaction resource type and the detected resource interaction volume, thereby obtaining the resource conversion ratio corresponding to each closing processing platform.
[0083] Step S404: Through each closing processing platform, in response to the resource interaction detection request, perform resource interaction detection processing according to the interaction resource type and the detected resource interaction volume carried in the resource interaction detection request, and obtain a detection processing result corresponding to the resource interaction detection request. The detection processing result carries the resource conversion ratio.
[0084] Specifically, after each closing processing platform receives the resource interaction detection request, by responding to the resource interaction detection request and obtaining the interaction resource type and the detected resource interaction volume carried in the resource interaction detection request, resource interaction detection processing is performed according to the corresponding interaction resource type and the detected resource interaction volume, so as to obtain a detection processing result corresponding to the resource interaction detection request. Among them, the detection processing result carries the resource conversion ratio.
[0085] Step S406: Through the resource interaction detection component, receive the resource conversion ratios fed back by each closing processing platform, and feed back each resource conversion ratio to the resource conversion ratio list construction component.
[0086] Specifically, each closing processing platform respectively feeds back its own detection processing result to the resource interaction detection component. After the resource interaction detection component receives the detection processing results fed back by each closing processing platform, it feeds back each detection processing result to the resource conversion ratio list construction component. And the resource conversion ratio list construction component, after receiving the detection processing result, further obtains the resource conversion ratio carried in the detection processing result, so as to construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0087] Step S408: Through the resource conversion ratio list construction component, construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0088] Specifically, after the resource conversion ratio list construction component receives the detection processing results of different closing processing platforms, it further obtains the resource conversion ratio carried in the detection processing result, so as to construct a resource conversion ratio list according to the closing processing platform, the resource conversion ratio carried in the detection processing result, and the feedback time of each resource conversion ratio.
[0089] Among them, the resource conversion ratio list construction component, after receiving the detection processing results of different liquidation processing platforms fed back by the resource interaction detection component, including the resource conversion ratio, the feedback time of each resource conversion ratio, the liquidation processing platform, the interactive resource type (such as the first resource type - the second resource type), and the resource interaction requirement (such as the resource transfer requirement), etc., based on the received interactive resource type, resource interaction requirement, liquidation processing platform, resource conversion ratio, and the feedback time of the resource conversion ratio, constructs an index structure in the form of key - value, where the key is represented in the format of "interactive resource type + resource interaction requirement", and the value is represented in the format of "liquidation processing platform + resource conversion ratio + feedback time of the resource conversion ratio", that is, the value is represented by a list of resource conversion ratios.
[0090] Furthermore, after receiving the query information of "interactive resource type + resource interaction requirement" fed back by the resource interaction processing service, the resource conversion ratio list construction component can query based on the resource conversion ratio list to query the content of the resource conversion ratio list that meets "interactive resource type + resource interaction requirement", that is, obtain the specific liquidation processing platform, resource conversion ratio, and the feedback time of the resource conversion ratio.
[0091] Step S410, the resource conversion ratio list construction component feeds back the list construction completion prompt information to the resource interaction detection component to trigger the resource interaction detection completion prompt information through the resource interaction detection component.
[0092] Specifically, after constructing the resource conversion ratio list, the resource conversion ratio list construction component simultaneously generates the list construction completion prompt information and sends the list construction completion prompt information to the resource interaction detection component. After receiving the list construction completion prompt information, the resource interaction detection component further triggers the resource interaction detection completion prompt information.
[0093] Among them, the resource interaction detection completion prompt information is used to be sent to the resource interaction processing server to instruct the resource interaction processing server to obtain the resource conversion ratio list from the resource conversion ratio list construction component.
[0094] Step S412, receive the resource interaction detection completion prompt information fed back by the resource interaction detection component. The resource interaction detection completion prompt information is used to instruct the resource interaction processing server to obtain the resource conversion ratio list from the resource conversion ratio list construction component.
[0095] Specifically, after the resource interaction detection component receives the list construction completion prompt message and triggers the generation of the resource interaction detection completion prompt message, it sends the resource interaction detection completion prompt message to the resource interaction processing server. After receiving the resource interaction detection completion prompt message, the resource interaction processing server can learn the prompt message indicating that the resource conversion ratio list has been successfully constructed, and then obtain the constructed resource conversion ratio list from the resource conversion ratio list construction component to obtain the resource conversion ratios corresponding to each closing processing platform from the resource conversion ratio list.
[0096] In the above resource interaction service processing method, by sending a resource interaction detection request to the resource interaction detection component, the resource interaction detection component sends the resource interaction detection request to each closing processing platform, so that each closing processing platform can perform resource interaction detection processing according to the interaction resource type and detection resource interaction volume carried in the resource interaction detection request to obtain a detection processing result corresponding to the resource interaction detection request, and the detection processing result carries a resource conversion ratio. Then, the resource interaction detection component receives the resource conversion ratios feedback by each closing processing platform and feeds back each resource conversion ratio to the resource conversion ratio list construction component, so that the resource conversion ratio list construction component constructs a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio. Further, the resource conversion ratio list construction component feeds back the list construction completion prompt message to the resource interaction detection component, so that the resource interaction detection component triggers the resource interaction detection completion prompt message. After receiving the resource interaction detection completion prompt message fed back by the resource interaction detection component, the resource interaction processing server obtains the resource conversion ratio list from the resource conversion ratio list construction component, and can obtain the resource conversion ratio corresponding to each closing processing platform in advance before performing subsequent closing processing, avoiding the problem of delayed resource conversion ratio, so as to flexibly determine the target resource conversion ratio that meets different actual requirements based on each resource conversion ratio in the future, avoiding the use of a unified resource conversion ratio, reducing resource waste, and improving the resource conversion rate.
[0097] In one embodiment, as Figure 5 shown, a resource interaction service processing method is provided, which specifically includes the following steps S502 to S510. Among them:
[0098] Step S502, if a resource closing processing request is detected, obtain the resource interaction service to be processed carried in the resource closing processing request, and the resource interaction service carries an interaction resource type and a resource interaction volume.
[0099] Specifically, the user can trigger a resource liquidation processing request based on the terminal. There is a communication connection established between the terminal and the resource interaction processing server. The terminal can feedback the resource liquidation processing request to the resource interaction processing server. Then, after receiving the resource liquidation processing request, the resource interaction processing server parses the resource liquidation processing request to obtain the to-be-processed resource interaction service carried by the resource liquidation processing request.
[0100] Furthermore, the resource interaction processing server parses the to-be-processed resource interaction service carried by the resource liquidation processing request to obtain the interaction resource type and the resource interaction volume carried by the resource interaction service. Among them, the interaction resource type includes the resource type that needs to transfer in resources (i.e., the transfer-in resource type) and the resource type that needs to transfer out resources (i.e., the transfer-out resource type), and the resource interaction volume specifically includes the transfer-out resource volume and the transfer-in resource volume.
[0101] Step S504: Obtain the interaction resource type corresponding to the to-be-processed resource interaction service, and trigger a resource interaction detection request according to the interaction resource type.
[0102] Specifically, the resource interaction processing server parses the to-be-processed resource interaction service carried by the resource liquidation processing request to obtain the interaction resource type corresponding to the to-be-processed resource interaction service. For example, the transfer-in resource type is the second type and the transfer-out resource type is the first type, or the transfer-in resource type is the third type and the transfer-out resource type is the first type, etc. Among them, the first type, the second type, and the third type belong to different resource types, which can specifically be the circulation resource types in different regions. For example, the first type is the circulation resource type in Region A, the second type is the circulation resource type in Region B, and the third type is the circulation resource type in Region C, etc. The involved interaction resource types can be determined according to the actual resource interaction service. For example, if it is necessary to convert the circulation resources in Region A into the circulation resources in Region B, it indicates that the transfer-in resource type is the second type and the transfer-out resource type is the first type. Another example is that if it is necessary to convert the circulation resources in Region A into the circulation resources in Region C, it indicates that the transfer-in resource type is the third type and the transfer-out resource type is the first type.
[0103] Furthermore, the resource interaction processing server triggers a resource interaction detection request according to the interaction resource type corresponding to the resource interaction service. Among them, the resource interaction detection request represents a request that needs to trigger resource interaction detection processing in advance before resource liquidation processing. By performing resource interaction detection processing, the resource interaction processing server can obtain the detection processing results corresponding to the resource interaction detection request feedback by different liquidation processing platforms, and further obtain the resource conversion ratio carried by the detection processing results.
[0104] Step S506: Send the resource interaction detection request to each closing processing platform and obtain the resource conversion ratio corresponding to each closing processing platform.
[0105] Specifically, the resource interaction processing server sends the resource interaction detection request to the resource interaction detection component, so that the resource interaction detection component can send the resource interaction detection request to each closing processing platform. Then, each closing processing platform can obtain the resource conversion ratio corresponding to the resource interaction detection request by responding to the resource interaction detection request.
[0106] Among them, after each closing processing platform receives the resource interaction detection request sent by the resource interaction detection component, it parses the resource interaction detection request by responding to the resource interaction detection request to obtain the interaction resource type and the detected resource interaction volume carried by the resource interaction detection request, and performs resource interaction detection processing according to the corresponding interaction resource type and the detected resource interaction volume to obtain the detection processing result corresponding to the resource interaction detection request. The detection processing result carries the resource conversion ratio.
[0107] Furthermore, each closing processing platform can send its corresponding detection processing result to the resource conversion ratio list construction component, that is, the resource conversion ratio list construction component receives each detection processing result and obtains the resource conversion ratio carried by the detection processing result, so as to construct a resource conversion ratio list according to each closing processing platform and the resource conversion ratio carried by each detection processing result. Then, the resource interaction processing server can obtain the resource conversion ratio corresponding to each closing processing platform included in the resource conversion ratio list by obtaining the resource conversion ratio list from the resource conversion ratio list construction component or receiving the resource conversion ratio list fed back by the resource conversion ratio list construction component.
[0108] Step S508: Based on each resource conversion ratio, determine the target resource conversion ratio and the target closing processing platform that matches the target resource conversion ratio.
[0109] Specifically, the resource interaction processing server parses the resource interaction service to be processed to obtain the resource interaction requirements corresponding to the resource interaction service, including the resource transfer-in requirement and the resource transfer-out requirement, and then determines the target resource conversion ratio that matches it and the target closing processing platform that matches the target resource conversion ratio according to different resource interaction requirements.
[0110] Among them, if the resource interaction requirement is the resource transfer-in requirement, the minimum resource conversion ratio is selected from each resource conversion ratio, the minimum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform that matches the minimum resource conversion ratio is determined as the target closing processing platform.
[0111] Further, if the resource interaction requirement is a resource transfer-out requirement, the maximum resource conversion ratio is screened out based on each resource conversion ratio, the maximum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform matching the maximum resource conversion ratio is determined as the target closing processing platform.
[0112] Step S510: Feedback the resource closing processing request to the target closing processing platform, and perform resource closing processing on the resource interaction service through the target closing processing platform to obtain the resource closing processing result.
[0113] Specifically, the resource interaction processing server feeds back the resource closing processing request to the target closing processing platform. After receiving the resource closing processing request, the target closing processing platform parses the resource closing processing request to obtain the interaction resource type and resource interaction volume carried in the resource closing processing request.
[0114] Further, the target closing processing platform responds to the resource closing processing request to perform resource closing processing according to the interaction resource type and resource interaction volume carried in the resource interaction service, and obtains the resource closing processing result.
[0115] Among them, in the process of processing the resource interaction service, there are usually open data that need to be closed. The open data specifically represents the aggregated resource amount accumulated by a bank or institution (i.e., the closing processing platform) in the process of performing foreign exchange resource interaction processing for users when the resource transfer-in amount is greater than the resource transfer-out amount (i.e., long position), or the resource transfer-out amount is greater than the resource transfer-in amount (i.e., short position). Therefore, when the closing processing platform performs closing processing on the open data, it needs to sell the long position in the open data or make up the short position in the open data, that is, to solve the problem that the resource transfer-in amount is greater than the resource transfer-out amount (i.e., long position), or the resource transfer-out amount is greater than the resource transfer-in amount (i.e., short position), and obtain the closing processing result.
[0116] In the above resource interaction service processing method, by obtaining the to-be-processed resource interaction service carried in the detected resource closing processing request, and the resource interaction service carries the interaction resource type and the resource interaction quantity, and then triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratio corresponding to each closing processing platform, it is possible to obtain in advance the resource conversion ratio corresponding to each closing processing platform by using the resource interaction detection method before subsequent closing processing, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio are determined, and the resource closing processing request is fed back to the target closing processing platform to perform resource closing processing on the resource interaction service through the target closing processing platform, without using a fixed closing processing platform to process the resource interaction service, and different target resource conversion ratios can be flexibly selected in different actual application scenarios to reduce resource waste and improve the resource conversion rate.
[0117] In an exemplary embodiment, as Figure 6 shown, a resource interaction service processing method is provided, which specifically includes the following steps S602 to step S612. Among them:
[0118] Step S602, obtain the interaction resource type corresponding to the to-be-processed resource interaction service, and trigger a resource interaction detection request according to the interaction resource type.
[0119] Specifically, if the resource interaction processing server detects a resource closing processing request, it obtains the to-be-processed resource interaction service carried in the resource closing processing request, and by parsing the resource interaction service, the interaction resource type corresponding to the resource interaction service can be obtained, and a resource interaction detection request is triggered according to the interaction resource type corresponding to the resource interaction service.
[0120] Step S604, obtain the resource conversion ratio list from the resource conversion ratio list construction component, and obtain the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list.
[0121] Specifically, the resource interaction processing server accesses the deployed resource conversion ratio list construction component, and when it is determined that the stored data of the resource conversion ratio list construction component is not empty, obtains the resource conversion ratio list from the resource conversion ratio list construction component, and obtains the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list.
[0122] Step S606, compare each feedback time with the current time point to determine the time difference between each feedback time and the current time point.
[0123] Specifically, the resource interaction processing server determines the time difference between each feedback time and the current time point by obtaining the current time point and comparing each feedback time of the resource conversion ratio with the current time point respectively.
[0124] Step S608: Compare each time difference with a first preset time threshold. If it is determined that there is a feedback time with a time difference less than the first preset time threshold, skip the resource interaction detection process for the closing processing platform corresponding to this feedback time.
[0125] Specifically, the resource interaction processing server obtains the first preset time threshold set in advance and compares each time difference with the first preset time threshold to obtain a first comparison result. The first comparison result includes that the time difference between the feedback time and the current time point is less than the first preset time threshold, and the time difference between the feedback time and the current time point is not less than the first preset time threshold.
[0126] Furthermore, according to the first comparison result, when it is determined that there is a feedback time with a time difference less than the first preset time threshold, that is, when it is determined that the time difference between the feedback time and the current time point is less than the first preset time threshold, skip the resource interaction detection process for the closing processing platform corresponding to this feedback time. That is, the feedback time of the resource conversion ratio of this closing processing platform is relatively close to the current time point and belongs to a relatively new resource conversion ratio. Therefore, there is no need to perform the resource interaction detection process again, and the resource conversion ratio with the latest feedback time can be directly applied.
[0127] On the contrary, if according to the first comparison result, it is determined that the time difference between the feedback time and the current time point is not less than the first preset time threshold, it indicates that the feedback time of the resource conversion ratio of this closing processing platform is not close to the current time point. Therefore, it is necessary to perform the resource interaction detection process again to re-determine the resource conversion ratio of this closing processing platform, that is, to obtain the latest resource conversion ratio of this closing processing platform.
[0128] In an exemplary embodiment, after comparing each feedback time with the current time point to determine the time difference between each feedback time and the current time point, it further includes:
[0129] Compare each time difference with a second preset time threshold. The first preset time threshold is less than the second preset time threshold. If it is determined that there is a feedback time with a time difference greater than the second preset time threshold, remove the closing processing platform corresponding to this feedback time from the resource conversion ratio list.
[0130] Specifically, the resource interaction processing server obtains a second preset time threshold and compares each time difference with the second preset time threshold to obtain a second comparison result. The second comparison result includes that the time difference between the feedback time and the current time point is greater than the second preset time threshold, and that the time difference between the feedback time and the current time point is not greater than the second preset time threshold.
[0131] Further, according to the second comparison result, when it is determined that there is a feedback time with a time difference greater than the second preset time threshold, that is, when it is determined that the time difference between the feedback time and the current time point is greater than the second preset time threshold, the closing processing platform corresponding to the feedback time is removed from the resource conversion ratio list. That is, the update time of the closing processing platform is too long, exceeding the second preset time threshold (that is, exceeding the corresponding ratio validity period), indicating that the resource conversion ratio of the closing processing platform can no longer be used, and thus the closing processing platform needs to be removed from the resource conversion ratio list.
[0132] On the contrary, if according to the second comparison result, it is determined that the time difference between the feedback time of the resource conversion ratio of each closing processing platform and the current time point is not greater than the second preset time threshold, it indicates that the update time of each closing processing platform has not exceeded the second preset time threshold (that is, they are all within the corresponding ratio validity period), that is, there is no need to remove these closing processing platforms from the resource conversion ratio list.
[0133] Step S610: Send a resource interaction detection request to each closing processing platform with a feedback time whose time difference is not less than the first preset time threshold, and obtain the resource conversion ratios corresponding to these closing processing platforms.
[0134] Specifically, the resource interaction processing server sends a resource interaction detection request to each closing processing platform with a feedback time whose time difference is not less than the first preset time threshold, that is, sends a resource interaction detection request to each closing processing platform that does not need to skip the resource interaction detection process, so that these closing processing platforms can receive and respond to the resource interaction detection request and feedback their respective resource conversion ratios.
[0135] Step S612: Based on each resource conversion ratio, determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio. The target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0136] Specifically, the resource interaction processing server parses the resource interaction service to be processed to obtain the resource interaction requirements corresponding to the resource interaction service, and then determines the target resource conversion ratio that matches it and the target closing processing platform that matches the target resource conversion ratio according to different resource interaction requirements. The resource interaction requirements specifically include resource transfer-in requirements and resource transfer-out requirements.
[0137] Among them, if the resource interaction requirement is a resource transfer-in requirement, the minimum resource conversion ratio is screened out based on each resource conversion ratio, the minimum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform matching the minimum resource conversion ratio is determined as the target closing processing platform.
[0138] Further, if the resource interaction requirement is a resource transfer-out requirement, the maximum resource conversion ratio is screened out based on each resource conversion ratio, the maximum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform matching the maximum resource conversion ratio is determined as the target closing processing platform.
[0139] In an exemplary embodiment, after determining the target resource conversion ratio and the target closing processing platform matching the target resource conversion ratio, the resource closing processing of the resource interaction service is performed by using the target closing processing platform.
[0140] Specifically, after determining the target resource conversion ratio and the target closing processing platform, the resource closing processing request is fed back to the target closing processing platform, so that the target closing processing platform responds to the resource closing processing request, obtains the interactive resource type and the resource interaction volume carried by the resource closing processing request, and then, through the target closing processing platform, the resource closing processing can be performed according to the interactive resource type and the resource interaction volume carried by the resource interaction service, and the resource closing processing result can be obtained.
[0141] In the above resource interaction service processing method, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and obtaining a resource conversion ratio list from a resource conversion ratio list construction component, as well as the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list. Furthermore, by comparing each feedback time with the current time point, the time difference between each feedback time and the current time point is determined. Further, by comparing each time difference with a first preset time threshold, if it is determined that there is a feedback time with a time difference less than the first preset time threshold, the resource interaction detection processing for the closing processing platform corresponding to this feedback time is skipped, that is, the resource interaction detection processing for the closing processing platform with a feedback time closer to the current time point is skipped, thereby reducing the number of resource interaction detection processing times and saving resources. Among them, by sending the resource interaction detection request to each closing processing platform with a feedback time whose time difference is not less than the first preset time threshold to obtain the resource conversion ratio corresponding to these closing processing platforms, the latest resource conversion ratios of these closing processing platforms can be obtained, avoiding the problem of lagging resource conversion ratios. Furthermore, based on the latest resource conversion ratios, a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio can be determined, and different target resource conversion ratios can be flexibly selected in different actual application scenarios for resource closing processing, reducing resource waste and improving the resource conversion rate.
[0142] In an exemplary embodiment, as Figure 7 shown, a resource interaction service processing method is provided, which specifically includes the following steps:
[0143] Step S701, if a resource closing processing request is detected, obtain the resource interaction service to be processed carried by the resource closing processing request, and the resource interaction service carries an interaction resource type and a resource interaction amount.
[0144] Step S702, obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type.
[0145] Step S703, obtain a resource conversion ratio list from a resource conversion ratio list construction component, and obtain the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list.
[0146] Step S704, compare each feedback time with the current time point, determine the time difference between each feedback time and the current time point, and compare each time difference with a first preset time threshold.
[0147] Step S705, if it is determined that there is a feedback time with a time difference less than the first preset time threshold, skip the resource interaction detection process for the closing processing platform corresponding to this feedback time.
[0148] After executing step S704, execute step S706. Send the resource interaction detection request to the resource interaction detection component, and through the resource interaction detection component, send the resource interaction detection request to each closing processing platform corresponding to the feedback time with a time difference not less than the first preset time threshold. The resource interaction detection request carries the interaction resource type and the detected resource interaction volume.
[0149] Step S707, through each closing processing platform responding to the resource interaction detection request, perform the resource interaction detection process according to the interaction resource type and the detected resource interaction volume carried in the resource interaction detection request, and obtain the detection processing result corresponding to the resource interaction detection request; the detection processing result carries the resource conversion ratio.
[0150] Step S708, through the resource interaction detection component, receive the detection processing results fed back by each closing processing platform, and feed back each detection processing result to the resource conversion ratio list construction component.
[0151] Step S709, through the resource conversion ratio list construction component, obtain the resource conversion ratios carried in each detection processing result, and construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0152] Step S710, through the resource conversion ratio list construction component, feed back the list construction completion prompt information to the resource interaction detection component, so as to trigger the resource interaction detection completion prompt information through the resource interaction detection component.
[0153] Step S711, receive the resource interaction detection completion prompt information fed back by the resource interaction detection component. The resource interaction detection completion prompt information is used to instruct the resource interaction processing server to obtain the resource conversion ratio list from the resource conversion ratio list construction component. The resource conversion ratio list includes the resource conversion ratios corresponding to each closing processing platform.
[0154] Step S712, analyze the resource interaction service to be processed, and obtain the resource interaction requirements corresponding to the resource interaction service. The resource interaction requirements include resource transfer-in requirements and resource transfer-out requirements.
[0155] Step S713, if the resource interaction requirement is a resource transfer-in requirement, screen out the minimum resource conversion ratio based on each resource conversion ratio, determine the minimum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform matching the minimum resource conversion ratio as the target closing processing platform.
[0156] After step S712 is executed, step S714 is executed. If the resource interaction requirement is a resource transfer-out requirement, the maximum resource conversion ratio is selected based on each resource conversion ratio, the maximum resource conversion ratio is determined as the target resource conversion ratio, and the closing processing platform that matches the maximum resource conversion ratio is determined as the target closing processing platform.
[0157] After step S713 or step S714 is executed, step S715 is executed. The resource closing processing request is fed back to the target closing processing platform, and the resource interaction service is subjected to resource closing processing through the target closing processing platform to obtain a resource closing processing result.
[0158] In the above resource interaction service processing method, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratio corresponding to each closing processing platform, it is possible to obtain in advance the resource conversion ratio corresponding to each closing processing platform before subsequent closing processing by adopting the method of resource interaction detection, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, the target resource conversion ratio and the target closing processing platform that matches the target resource conversion ratio are determined, so that the resource interaction service can be subjected to resource closing processing through the target closing processing platform, without adopting the traditional single and fixed resource interaction service distribution and processing method, and different target resource conversion ratios can be flexibly selected in different actual application scenarios, reducing resource waste and improving the resource conversion rate.
[0159] In an exemplary embodiment, as Figure 8 shown, a resource interaction service processing system is provided. Referring to Figure 8 it can be seen that the resource interaction service processing system specifically includes: an exposure data management component 802, a resource interaction processing server 804, and a closing processing platform 806. The resource interaction processing server 804 is deployed with a resource interaction detection component 808 and a resource conversion ratio list construction component 810. Among them:
[0160] The exposure data management component 802 is configured to: when detecting a resource closing processing request triggered by a usage object based on a terminal, forward the resource closing processing request to the resource interaction processing server 804, and receive the closing processing result corresponding to the closing processing platform 806 forwarded by the resource interaction processing server 804 finally.
[0161] Among them, in the traditional resource closing processing method, usually when the exposure data management component 802 detects a resource closing processing request triggered by a usage object based on a terminal, it directly sends the resource closing processing request to a fixed closing processing platform, so that the closing processing platform responds to the resource closing processing request and performs resource closing processing. There are problems such as single and fixed allocation and processing of closing, and it is impossible to flexibly select different closing processing platforms according to actual needs, resulting in resource waste.
[0162] The resource interaction processing server 804 is configured to: when detecting a resource closing processing request, obtain the to-be-processed resource interaction service carried in the resource closing processing request, parse the to-be-processed resource interaction service, and obtain the interaction resource type corresponding to the to-be-processed resource interaction service, so as to trigger a resource interaction detection request according to the interaction resource type; send the resource interaction detection request to the resource interaction detection component 808, and send the resource interaction detection request to each closing processing platform 806 through the resource interaction detection component 808.
[0163] Among them, when the resource interaction processing server 804 obtains the interaction resource type corresponding to the resource interaction service, such as "first resource type - second resource type", it also needs to obtain the resource interaction volume corresponding to the resource interaction service. When the resource interaction processing server 804 receives the resource interaction detection completion prompt message, it obtains the specific content of the resource conversion ratio list from the resource conversion ratio list construction component 810 according to the interaction resource type and resource interaction requirements (including resource transfer-in requirements and resource transfer-out requirements).
[0164] Exemplarily, when querying information such as "first resource type - second resource type, resource transfer-in requirement", due to the resource transfer-in requirement, it is necessary to screen out the minimum resource conversion ratio, and then the resource conversion ratio list can be queried according to the query information, that is, the content of the resource conversion ratio list that meets "first resource type - second resource type, resource transfer-in requirement" is queried, and then the specific closing processing platform, resource conversion ratio, and feedback time of the resource conversion ratio are obtained.
[0165] The resource interaction detection component 808 is configured to: receive the resource interaction detection request sent by the resource interaction processing server 804, and send the resource interaction detection request to each closing processing platform 806, so that each closing processing platform 806 responds to the resource interaction detection request and obtains the resource conversion ratio corresponding to the resource interaction detection request; send the resource conversion ratio corresponding to each closing processing platform 806 to the resource conversion ratio list construction component 810.
[0166] Among them, after receiving a resource interaction detection request, the resource interaction detection component 808 parses the resource interaction detection request to obtain the interaction resource type carried by the resource interaction detection request, and queries the pre-stored list of closing processing platforms according to the interaction resource type, and determines each closing processing platform that meets the interaction resource type from the pre-stored list of closing processing platforms, so as to send the resource interaction detection request to each screened closing processing platform.
[0167] Optionally, according to different closing processing platforms and different resource types, the resource interaction detection component 808 can configure different detection resource interaction amounts. For example, for platform 1, configure a detection resource interaction amount of 10 units of the first resource type, and for platform 2, configure a detection resource interaction amount of 100 units of the second resource type, etc.
[0168] The closing processing platform 806 is used to: receive the resource interaction detection request, and parse the resource interaction detection request to obtain the interaction resource type and the detection resource interaction amount carried by the resource interaction detection request; respond to the resource interaction detection request, and perform resource interaction detection processing according to the interaction resource type and the detection resource interaction amount to obtain a detection processing result corresponding to the resource interaction detection request, where the detection processing result carries a resource conversion ratio; and feedback the detection processing result to the resource interaction detection component 808.
[0169] The resource conversion ratio list construction component 810 is used to: receive the detection processing results corresponding to each closing processing platform 806 sent by the resource interaction detection component 808, obtain the resource conversion ratio carried by the detection processing results, construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio, and trigger the generation of a list construction completion prompt message, so as to send the list construction completion prompt message to the resource interaction detection component 808.
[0170] Among them, the resource conversion ratio list construction component 810, after receiving the detection processing results fed back by the resource interaction detection component, including: resource conversion ratio, feedback time of each resource conversion ratio, closing processing platform (such as platform 1), interactive resource type (such as first resource type - second resource type), and resource interaction requirement (such as resource transfer-in requirement), etc., constructs an index structure in the form of key-value based on the received interactive resource type, resource interaction requirement, closing processing platform, resource conversion ratio, and feedback time of the resource conversion ratio. Among them, the key is represented in the format of "interactive resource type + resource interaction requirement", and the value is represented in the format of "closing processing platform + resource conversion ratio + feedback time of the resource conversion ratio", that is, the value is represented by a resource conversion ratio list. Furthermore, after receiving the query information of "interactive resource type + resource interaction requirement", the content of the resource conversion ratio list that conforms to "interactive resource type + resource interaction requirement" can be queried, and then the specific closing processing platform, resource conversion ratio, and feedback time of the resource conversion ratio can be obtained.
[0171] Among them, after continuously receiving the resource conversion ratios of different closing processing platforms, the feedback time of each resource conversion ratio, and the resource interaction information associated with the corresponding resource interaction detection request fed back by the resource interaction detection component, the resource conversion ratio list construction component updates the resource conversion ratios of different closing processing platforms according to the latest feedback time of the resource conversion ratio, that is, updates them to the resource conversion ratios corresponding to the latest feedback time.
[0172] The resource interaction detection component 808 is further configured to: receive the list construction completion prompt information fed back by the resource conversion ratio list construction component 810, and trigger the resource interaction detection completion prompt information according to the list construction completion prompt information; send the resource interaction detection completion prompt information to the resource interaction processing server 804.
[0173] The resource interaction processing server 804 is further configured to: receive the resource interaction detection completion prompt information fed back by the resource interaction detection component 808, and obtain the resource conversion ratio list from the resource conversion ratio list construction component 810 according to the resource interaction detection completion prompt information, so as to obtain the resource conversion ratios corresponding to each closing processing platform included in the resource conversion ratio list; determine the target resource conversion ratio and the target closing processing platform matching the target resource conversion ratio based on each resource conversion ratio, and feedback the resource closing processing request to the target closing processing platform.
[0174] The closing processing platform 806 is further configured to: receive a resource closing processing request, parse the resource closing processing request to obtain the interactive resource type and the resource interaction quantity carried in the resource closing processing request; in response to the resource closing processing request, perform resource closing processing according to the interactive resource type and the resource interaction quantity to obtain a resource closing processing result; and send the resource closing processing result to the resource interaction processing server 804, and the resource interaction processing server 804 sends the resource closing processing result to the exposure data management component 802.
[0175] In an exemplary embodiment, as Figure 9 shown, a schematic diagram of a process for performing resource interaction services based on a resource interaction service processing system is provided. Referring to Figure 9 it can be seen that during the resource interaction service processing process, it specifically involves an exposure data management component, a resource interaction processing server, a resource interaction detection component, a resource conversion ratio list construction component, and a closing processing platform, and specifically includes the following steps S901 to step S9, where:
[0176] Step S901, the exposure data management component forwards the detected resource closing processing request to the resource interaction processing server.
[0177] Step S902, the resource interaction processing server receives and parses the resource closing processing request, obtains the interactive resource type corresponding to the resource interaction service to be processed, triggers a resource interaction detection request according to the interactive resource type, and sends the resource interaction detection request to the resource interaction detection component.
[0178] Step S903, the resource interaction detection component receives the resource interaction detection request and sends the resource interaction detection request to each closing processing platform.
[0179] Step S904, the closing processing platform receives and parses the resource interaction detection request, obtains the interactive resource type and the detected resource interaction quantity carried in the resource interaction detection request, performs resource interaction detection processing according to the interactive resource type and the detected resource interaction quantity, obtains a detection processing result corresponding to the resource interaction detection request, the detection processing result carries a resource conversion ratio, and feeds back the resource conversion ratio to the resource interaction detection component.
[0180] Step S905, the resource interaction detection component sends the detection processing results corresponding to each closing processing platform to the resource conversion ratio list construction component.
[0181] Step S906, the resource conversion ratio list construction component receives the detection processing results corresponding to each closing processing platform, obtains the resource conversion ratio carried in the detection processing result, and constructs a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0182] Step S907, the resource conversion ratio list construction component triggers the generation of a list construction completion prompt message and sends the list construction completion prompt message to the resource interaction detection component.
[0183] Step S908, the resource interaction detection component triggers the generation of a resource interaction detection completion prompt message according to the received list construction completion prompt message, and sends the resource interaction detection completion prompt message to the resource interaction processing server.
[0184] Step S909, the resource interaction processing server receives the resource interaction detection completion prompt message, and according to the resource interaction detection completion prompt message, obtains the resource conversion ratio list from the resource conversion ratio list construction component to obtain the resource conversion ratios corresponding to each closing processing platform included in the resource conversion ratio list.
[0185] Step S910, the resource interaction processing server determines the target resource conversion ratio and the target closing processing platform matching the target resource conversion ratio based on each resource conversion ratio, and feeds back the resource closing processing request to the target closing processing platform.
[0186] Step S911, the target closing processing platform receives and parses the resource closing processing request, obtains the interaction resource type and the resource interaction volume carried by the resource closing processing request, performs resource closing processing according to the interaction resource type and the resource interaction volume, obtains the resource closing processing result, and sends the resource closing processing result to the resource interaction processing server.
[0187] Step S912, the resource interaction processing server sends the resource closing processing result to the exposure data management component.
[0188] In the above resource interaction service processing system, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratios corresponding to each closing processing platform, it is possible to obtain in advance the resource conversion ratio corresponding to each closing processing platform before subsequent closing processing by adopting the method of resource interaction detection, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, the target resource conversion ratio and the target closing processing platform matching the target resource conversion ratio are determined, so that the resource interaction service can be subjected to resource closing processing by the target closing processing platform, without adopting the traditional single and fixed resource interaction service distribution and processing method, and different target resource conversion ratios can be flexibly selected in different actual application scenarios, reducing resource waste and improving the resource conversion rate.
[0189] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless specifically stated herein, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0190] Based on the same inventive concept, an embodiment of the present application further provides a resource interaction service processing device for implementing the resource interaction service processing method described above. The solution provided by this device for solving problems is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the resource interaction service processing device provided below can refer to the limitations on the resource interaction service processing method in the above text, and will not be repeated here.
[0191] In an exemplary embodiment, as Figure 10 shown, a resource interaction service processing device is provided, including: a resource interaction detection request trigger module 1002, a resource conversion ratio receiving module 1004, and a target resource conversion ratio determination module 1006, where:
[0192] The resource interaction detection request trigger module 1002 is configured to obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type;
[0193] The resource conversion ratio receiving module 1004 is configured to send the resource interaction detection request to each closing processing platform, and obtain the resource conversion ratio corresponding to each closing processing platform;
[0194] The target resource conversion ratio determination module 1006 is configured to determine a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio based on each resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
[0195] In the above resource interaction service processing device, by obtaining the interaction resource type corresponding to the resource interaction service to be processed, triggering a resource interaction detection request according to the interaction resource type, and sending the resource interaction detection request to each closing processing platform to obtain the resource conversion ratio corresponding to each closing processing platform, it is possible to obtain in advance the resource conversion ratio corresponding to each closing processing platform by means of resource interaction detection before subsequent closing processing, avoiding the problem of delayed resource conversion ratio. Further, based on each resource conversion ratio, a target resource conversion ratio and a target closing processing platform matching the target resource conversion ratio are determined, so that the resource interaction service can be resource-closed by the target closing processing platform, without using the traditional single and fixed resource interaction service distribution and processing method, and different target resource conversion ratios can be flexibly selected in different actual application scenarios, reducing resource waste and improving the resource conversion rate.
[0196] In an exemplary embodiment, the resource interaction detection request triggering module is further configured to: send the resource interaction detection request to each closing processing platform, and obtain, through each closing processing platform's response to the resource interaction detection request, the resource conversion ratio corresponding to the resource interaction detection request; receive each resource conversion ratio through the resource conversion ratio list construction component, and construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio; obtain the resource conversion ratio list from the resource conversion ratio list construction component; the resource conversion ratio list includes the resource conversion ratios corresponding to each closing processing platform.
[0197] In an exemplary embodiment, the resource interaction detection request triggering module is further configured to: send the resource interaction detection request to the resource interaction detection component, and send, through the resource interaction detection component, the resource interaction detection request to each closing processing platform; receive, through the resource interaction detection component, the resource conversion ratios fed back by each closing processing platform, and feed back each resource conversion ratio to the resource conversion ratio list construction component; construct, through the resource conversion ratio list construction component, a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
[0198] In an exemplary embodiment, a resource interaction service processing device is further provided, and further includes:
[0199] The resource interaction detection completion prompt information triggering module is configured to feed back the list construction completion prompt information to the resource interaction detection component through the resource conversion ratio list construction component, so as to trigger, through the resource interaction detection component, the resource interaction detection completion prompt information;
[0200] A resource interaction detection completion prompt information receiving module, configured to receive a resource interaction detection completion prompt information fed back by a resource interaction detection component; the resource interaction detection completion prompt information is used to instruct the resource interaction processing server to obtain a resource conversion ratio list from a resource conversion ratio list construction component.
[0201] In an exemplary embodiment, the resource conversion ratio receiving module is further configured to: send a resource interaction detection request to each closing processing platform, where the resource interaction detection request carries an interaction resource type and a detected resource interaction volume; through each closing processing platform's response to the resource interaction detection request, perform resource interaction detection processing according to the interaction resource type and the detected resource interaction volume carried in the resource interaction detection request, and obtain a detection processing result corresponding to the resource interaction detection request; the detection processing result carries a resource conversion ratio.
[0202] In an exemplary embodiment, there is provided a resource interaction service processing apparatus, further including:
[0203] A resource closing processing request detection module, configured to, if a resource closing processing request is detected, obtain the to-be-processed resource interaction service carried in the resource closing processing request; the resource interaction service carries an interaction resource type and a resource interaction volume;
[0204] A resource closing processing module, configured to feedback the resource closing processing request to a target closing processing platform, and perform resource closing processing on the resource interaction service through the target closing processing platform to obtain a resource closing processing result.
[0205] In an exemplary embodiment, the resource closing processing module is further configured to: feedback the resource closing processing request to a target closing processing platform, through the target closing processing platform to respond to the resource closing processing request, and obtain the interaction resource type and the resource interaction volume carried in the resource closing processing request; through the target closing processing platform, perform resource closing processing according to the interaction resource type and the resource interaction volume carried in the resource interaction service, and obtain a resource closing processing result.
[0206] In an exemplary embodiment, there is provided a resource interaction service processing apparatus, further including:
[0207] A feedback time acquisition module for the resource conversion ratio, configured to obtain a resource conversion ratio list from a resource conversion ratio list construction component, and obtain the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list;
[0208] A time difference determination module, configured to compare each feedback time with the current time point to determine the time difference between each feedback time and the current time point;
[0209] The first comparison module is used to compare each time difference with a first preset time threshold. If it is determined that there is a feedback time with a time difference less than the first preset time threshold, the resource interaction detection process for the closing processing platform corresponding to this feedback time is skipped.
[0210] In an exemplary embodiment, a resource interaction service processing device is provided, and further includes:
[0211] The second comparison module is used to compare each time difference with a second preset time threshold, and the first preset time threshold is less than the second preset time threshold;
[0212] The closing processing platform elimination module is used to, if it is determined that there is a feedback time with a time difference greater than the second preset time threshold, eliminate the closing processing platform corresponding to this feedback time from the resource conversion ratio list.
[0213] In an exemplary embodiment, the target resource conversion ratio determination module is further used for:
[0214] Analyze the resource interaction service to be processed, obtain the resource interaction requirements corresponding to the resource interaction service, and the resource interaction requirements include resource transfer-in requirements and resource transfer-out requirements; if the resource interaction requirement is a resource transfer-in requirement, filter out the minimum resource conversion ratio based on each resource conversion ratio, determine the minimum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform matching the minimum resource conversion ratio as the target closing processing platform; or if the resource interaction requirement is a resource transfer-out requirement, filter out the maximum resource conversion ratio based on each resource conversion ratio, determine the maximum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform matching the maximum resource conversion ratio as the target closing processing platform.
[0215] Each module in the above resource interaction service processing device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above respective modules.
[0216] In an exemplary embodiment, a computer device is provided. This computer device can be a server, and its internal structure diagram can be as Figure 11As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as the interaction resource types corresponding to the resource interaction service, the resource interaction detection requests, the resource conversion ratios corresponding to each of the closing processing platforms, the target resource conversion ratio, and the target closing processing platform that matches the target resource conversion ratio. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a resource interaction service processing method.
[0217] Those skilled in the art can understand that Figure 11 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0218] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above-mentioned resource interaction service processing are implemented.
[0219] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above-mentioned resource interaction service processing are implemented.
[0220] In an exemplary embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above-mentioned resource interaction service processing are implemented.
[0221] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0222] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memories can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.
[0223] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0224] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A resource interaction service processing method, characterized in that, The method includes: Obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type; Send the resource interaction detection request to each closing processing platform, and obtain the resource conversion ratio corresponding to each closing processing platform; Based on each of the resource conversion ratios, determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
2. The method according to claim 1, wherein The step of sending the resource interaction detection request to each closing processing platform and obtaining the resource conversion ratio corresponding to each closing processing platform includes: Send the resource interaction detection request to each closing processing platform, and have each closing processing platform respond to the resource interaction detection request to obtain a resource conversion ratio corresponding to the resource interaction detection request; Through a resource conversion ratio list construction component, receive each of the resource conversion ratios, and construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio; Obtain the resource conversion ratio list from the resource conversion ratio list construction component; the resource conversion ratio list includes the resource conversion ratios corresponding to each closing processing platform.
3. The method according to claim 2, wherein The step of sending the resource interaction detection request to each closing processing platform includes: sending the resource interaction detection request to a resource interaction detection component, and having the resource interaction detection component send the resource interaction detection request to each closing processing platform; The step of, through the resource conversion ratio list construction component, receiving each of the resource conversion ratios and constructing a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio includes: Receive, through the resource interaction detection component, the resource conversion ratios fed back by each closing processing platform, and feed back each of the resource conversion ratios to the resource conversion ratio list construction component; Through the resource conversion ratio list construction component, construct a resource conversion ratio list according to each closing processing platform and its corresponding resource conversion ratio.
4. The method according to claim 2 or 3, characterized in that, After constructing the resource conversion ratio list, it further includes: Through the resource conversion ratio list construction component, feed back a list construction completion prompt message to the resource interaction detection component, so as to trigger a resource interaction detection completion prompt message through the resource interaction detection component; Receive the resource interaction detection completion prompt message fed back by the resource interaction detection component; the resource interaction detection completion prompt message is used to instruct the resource interaction processing server to obtain the resource conversion ratio list from the resource conversion ratio list construction component.
5. The method according to claim 2 or 3, characterized in that, The step of sending the resource interaction detection request to each closing processing platform, having each closing processing platform respond to the resource interaction detection request, and obtaining a resource conversion ratio corresponding to the resource interaction detection request includes: Send the resource interaction detection request to each closing processing platform, and the resource interaction detection request carries the interaction resource type and the detected resource interaction volume; Each of the closing processing platforms responds to the resource interaction detection request, and performs resource interaction detection processing according to the interaction resource type and the detected resource interaction volume carried in the resource interaction detection request, so as to obtain a detection processing result corresponding to the resource interaction detection request; the detection processing result carries a resource conversion ratio.
6. The method according to any one of claims 1 to 3, characterized in that, Before obtaining the interaction resource type corresponding to the resource interaction service to be processed and triggering a resource interaction detection request according to the interaction resource type, it further includes: If a resource closing processing request is detected, obtain the resource interaction service to be processed carried in the resource closing processing request; the resource interaction service carries an interaction resource type and a resource interaction volume. After determining the target resource conversion ratio and the target closing processing platform based on the resource conversion ratio list, it further includes: Feedback the resource closing processing request to the target closing processing platform, and perform resource closing processing on the resource interaction service through the target closing processing platform to obtain a resource closing processing result.
7. The method according to claim 6, characterized in that, The step of feedbacking the resource closing processing request to the target closing processing platform, performing resource closing processing on the resource interaction service through the target closing processing platform, and obtaining a resource closing processing result includes: Feedback the resource closing processing request to the target closing processing platform, and the target closing processing platform responds to the resource closing processing request, and obtain the interaction resource type and the resource interaction volume carried in the resource closing processing request. Through the target closing processing platform, perform resource closing processing according to the interaction resource type and the resource interaction volume carried in the resource interaction service to obtain a resource closing processing result.
8. The method according to claim 2 or 3, characterized in that, The resource conversion ratio list further includes the feedback time of each resource conversion ratio; before sending the resource interaction detection request to each closing processing platform, it further includes: Obtain the resource conversion ratio list from the resource conversion ratio list construction component, and obtain the feedback time of each resource conversion ratio of each closing processing platform in the resource conversion ratio list. Compare each of the feedback times with the current time point to determine the time difference between each feedback time and the current time point. Compare each of the time differences with a first preset time threshold. If it is determined that there is a feedback time whose time difference is less than the first preset time threshold, skip the resource interaction detection processing for the closing processing platform corresponding to this feedback time.
9. The method according to claim 8, characterized in that After comparing each of the feedback times with the current time point and determining the time difference between each feedback time and the current time point, it further includes: Compare each of the time differences with a second preset time threshold, and the first preset time threshold is less than the second preset time threshold. If it is determined that there is a feedback time whose time difference is greater than the second preset time threshold, remove the closing processing platform corresponding to this feedback time from the resource conversion ratio list.
10. The method according to any one of claims 1 to 3, characterized in that Based on each of the resource conversion ratios, determining a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio includes: Analyze the resource interaction service to be processed, and obtain the resource interaction requirements corresponding to the resource interaction service. The resource interaction requirements include resource transfer-in requirements and resource transfer-out requirements; If the resource interaction requirement is a resource transfer-in requirement, then based on each of the resource conversion ratios, select the minimum resource conversion ratio, determine the minimum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform that matches the minimum resource conversion ratio as the target closing processing platform; Or If the resource interaction requirement is a resource transfer-out requirement, then based on each of the resource conversion ratios, select the maximum resource conversion ratio, determine the maximum resource conversion ratio as the target resource conversion ratio, and determine the closing processing platform that matches the maximum resource conversion ratio as the target closing processing platform.
11. A resource interaction service processing device, characterized in that, The device includes: A resource interaction detection request trigger module, configured to obtain the interaction resource type corresponding to the resource interaction service to be processed, and trigger a resource interaction detection request according to the interaction resource type; A resource conversion ratio receiving module, configured to send the resource interaction detection request to each closing processing platform, and obtain the resource conversion ratios corresponding to each of the closing processing platforms; A target resource conversion ratio determination module, configured to determine a target resource conversion ratio and a target closing processing platform that matches the target resource conversion ratio based on each of the resource conversion ratios; the target closing processing platform is used to perform resource closing processing on the resource interaction service.
12. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 10 are implemented.
14. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 10 are implemented.