Resource conversion method and device, computer equipment and storage medium

By obtaining resource conversion trend tags in the agent resource conversion system and obtaining related resource types from the external domain resource conversion system, the stability problem caused by changes in the resource conversion rate in the agent resource conversion system is solved, and the stability of the system and resource utilization efficiency are improved. .

CN118864092APending Publication Date: 2024-10-29TENPAY PAID TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310438328.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

In the agent resource conversion system, during the resource conversion cycle, the change in the conversion rate between the specified resource type and the optional resource type causes the amount of optional resource types to decrease, which in turn affects system stability and even causes the system to crash.

Method used

In the current resource conversion cycle, by obtaining the resource conversion trend tag, it is judged whether the preset resource type can be converted in the next resource conversion cycle and the amount of resources of the specified resource type is reduced. If it is reduced, the system will convert the resources from the external domain in the current cycle. Obtain associated resource types, generate resource conversion plan tasks, and provide associated resource types to the external domain resource conversion system in the next cycle in exchange for more preset resource types.

Benefits of technology

It improves the stability of the agent resource conversion system, avoids the risk of collapse due to insufficient total resources, reduces unnecessary cyclic resource conversion tasks, and saves resource consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864092A_ABST
    Figure CN118864092A_ABST
Patent Text Reader

Abstract

The invention relates to a resource conversion method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in a current resource conversion period, when a local domain resource conversion system is closed, in response to a resource conversion request of a resource conversion requester, providing a specified quantity of resources of a specified resource type for the resource conversion requester, and obtaining resources of a preset resource type of the resource conversion requester; obtaining a resource conversion trend label for the current resource conversion period between a preset resource type and a specified resource type; when the resource conversion trend label represents that the resource quantity of a specified resource type obtained by conversion of the resource of the preset resource type in the next resource conversion period is reduced, acquiring a specified quantity of resources of an associated resource type from an external domain resource conversion system in the current resource conversion period; and generating a resource conversion plan task triggered in the next resource conversion period. By adopting the method, the stability of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource conversion method, device, computer equipment and storage medium. Background Art

[0002] With the development of science and technology, proxy resource conversion systems have emerged. The proxy resource conversion system can be a resource transfer system between the resource conversion requester and the local resource conversion system. Among them, the local resource conversion system is a periodically open resource conversion system. For a single resource conversion cycle, the local resource conversion system can be opened at part of the time and closed at the rest of the time.

[0003] When the resource conversion system of the domain is closed in the current resource conversion cycle, but the resource conversion party requests to convert its own designated resource type resources with optional resource type resources, the proxy resource conversion system can first convert its own optional resource type resources with the designated resource type resources requested by the resource conversion party. Afterwards, when the resource conversion system of the domain is turned on in the next resource conversion cycle, the proxy resource conversion system will convert the converted designated resource type resources with the optional resource type resources in the resource conversion system of the domain to exchange for the optional resource type resources, and based on the exchanged optional resource type resources, the total amount of optional resource types in the three-party resource conversion system is kept unchanged.

[0004] However, since the resource conversion rate between the designated resource types and the optional resource types will change with the resource conversion cycle, the amount of resources of the optional resource types exchanged back by the proxy resource conversion system from the local domain resource conversion system may be less than the amount of resources of the optional resource types that the proxy resource conversion system flows out to the resource conversion party's request, thereby reducing the total amount of resources of the optional resource types in the proxy resource conversion system. When the total amount of resources of the optional resource types in the proxy resource conversion system is less than a certain value, the proxy resource conversion system may crash. Therefore, the current proxy resource conversion system has the problem of poor stability. Summary of the invention

[0005] Based on this, it is necessary to provide a resource conversion method, device, computer equipment, computer-readable storage medium and computer program product that can improve the stability of a third-party resource conversion system in response to the above technical problems.

[0006] In a first aspect, the present application provides a resource conversion method, the method comprising:

[0007] In the current resource conversion cycle, when the resource conversion system of the domain is closed, in response to a resource conversion request from a resource conversion requester, a specified amount of resources of a specified resource type is provided to the resource conversion requester, and accordingly resources of a preset resource type of the resource conversion requester are obtained;

[0008] Obtaining a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle;

[0009] When the resource conversion trend label indicates that the amount of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced, the specified amount of resources of the associated resource type are obtained from the external domain resource conversion system within the current resource conversion cycle; the associated resource type includes the specified resource type or one of the associated resource types with a fixed resource conversion rate between the specified resource type and the specified resource type;

[0010] Generate a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of resources of the associated resource type to the external domain resource conversion system during the next resource conversion cycle, and obtain the specified amount of resources of the specified resource type from the local domain resource conversion system.

[0011] In a second aspect, the present application further provides a resource conversion device, the device comprising:

[0012] A resource conversion request response module, used to provide a specified amount of resources of a specified resource type to the resource conversion requester in response to a resource conversion request from the resource conversion requester during the current resource conversion cycle, when the resource conversion system of the domain has been shut down, and correspondingly obtain resources of a preset resource type of the resource conversion requester;

[0013] A trend label acquisition module, used to acquire a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle;

[0014] A multiple resource conversion module is used to obtain the specified amount of resources of the associated resource type from the external domain resource conversion system within the current resource conversion cycle when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced; the associated resource type includes the specified resource type or one of the associated resource types with a fixed resource conversion rate between the specified resource type and the specified resource type; generate a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of resources of the associated resource type to the external domain resource conversion system within the next resource conversion cycle, and obtain the specified amount of resources of the specified resource type from the local domain resource conversion system.

[0015] In one of the embodiments, the trend label acquisition module is also used to obtain the corresponding resource conversion rates between the preset resource type and the specified resource type in multiple consecutive resource conversion cycles; based on the obtained corresponding resource conversion rates in the multiple consecutive resource conversion cycles, determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle.

[0016] In one of the embodiments, the trend label acquisition module is also used to determine the average resource conversion rate between the preset resource type and the specified resource type based on the resource conversion rates corresponding to each of the multiple consecutive resource conversion cycles; extract the current resource conversion rate corresponding to the current resource conversion cycle from the resource conversion rates corresponding to each of the multiple consecutive resource conversion cycles obtained; and determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle based on the average resource conversion rate and the current resource conversion rate.

[0017] In one embodiment, the trend label acquisition module is also used to determine a first resource amount of a designated resource type that can be converted from resources of a preset resource type per unit amount of resource based on the current resource conversion rate; determine a second resource amount of a designated resource type that can be converted from resources of a preset resource type per unit amount of resource based on the resource conversion rate mean; when the first resource amount is less than the second resource amount, determine a resource conversion trend label between the preset resource type and the designated resource type for the current resource conversion cycle, which is a label representing a decrease in the resource amount of the selected resource type that can be converted from resources of the preset resource type in the next resource conversion cycle.

[0018] In one embodiment, the trend label acquisition module is also used to determine the resource conversion rate between the preset resource type and the specified resource type at a first time point in the current resource conversion cycle; determine the resource conversion rate between the preset resource type and the specified resource type at a second time point in the current resource conversion cycle; the first time point is earlier than the second time point; based on the resource conversion rate at the first time point, determine a third resource amount of the specified resource type that can be converted by the resources of the preset resource type per unit resource amount; based on the resource conversion rate at the second time point, determine a fourth resource amount of the specified resource type that can be converted by the resources of the preset resource type per unit resource amount; when the fourth resource amount is less than the third resource amount, and the first resource amount is less than the second resource amount, determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label indicating that the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced.

[0019] In one of the embodiments, when the cyclic conversion rate difference between the preset resource type and the specified resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the associated resource type, the associated resource type is determined to be the specified resource type; the cyclic conversion rate difference between the preset resource type and the specified resource type is the difference between the first incoming resource conversion rate and the first outgoing resource conversion rate; the first ingoing resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system receives the resource of the specified resource type; the first outgoing resource conversion rate is the external domain resource conversion rate. When the system provides resources of the specified resource type, the resource conversion rate between the preset resource type and the specified resource type is adopted; the cyclic conversion rate difference between the preset resource type and the related resource type is the difference between the second incoming resource conversion rate and the second outgoing resource conversion rate; the second inflow resource conversion rate is the resource conversion rate between the preset resource type and the related resource type adopted when the external domain resource conversion system receives resources of the related resource type; the second outflow resource conversion rate is the resource conversion rate between the preset resource type and the related resource type adopted when the external domain resource conversion system provides resources of the related resource type.

[0020] In one of the embodiments, the multiple resource conversion module is also used to obtain a preset resource association table, and search the target selected resource type that matches the specified resource type from the association table; use the resource type associated with the target selected resource type recorded in the association table as the associated resource type associated with the specified resource type; and obtain the specified amount of resources of the associated resource type associated with the specified resource type from the external domain resource conversion system during the current resource conversion cycle.

[0021] In one embodiment, the resource conversion device also includes an association relationship table generation module, which is used to determine, for each selected resource type in a preset plurality of selected resource types, a selected related resource type having a fixed resource conversion rate with the selected resource type; determine the cyclic conversion rate difference between the preset resource type and the selected resource type, and determine the cyclic conversion rate difference between the preset resource type and the selected related resource type; when the cyclic conversion rate difference between the preset resource type and the selected resource type is greater than the cyclic conversion rate difference between the preset resource type and the selected related resource type, use the selected related resource type as a resource type associated with the selected resource type; and obtain an association relationship table by combining the plurality of selected resource types and the resource types associated with each of the plurality of selected resource types.

[0022] In one embodiment, the association table generation module is also used to determine the fifth resource amount of the preset resource type that needs to be provided to the external domain resource conversion system when obtaining the unit resource amount of the selected resource type from the external domain resource conversion system; determine the sixth resource amount of the preset resource type returned by the external domain resource conversion system when providing the unit resource amount of the selected resource type to the external domain resource conversion system; determine a first difference between the sixth resource amount and the fifth resource amount, and determine a first ratio between the first difference and the sixth resource amount; and use the first ratio as a cyclic conversion rate difference between the preset resource type and the selected resource type.

[0023] In one of the embodiments, the association table generation module is also used to determine the seventh resource amount of the preset resource type that needs to be provided to the external domain resource conversion system when obtaining a unit resource amount of the selected related resource type from the external domain resource conversion system; determine the eighth resource amount of the preset resource type returned by the external domain resource conversion system when providing a unit resource amount of the selected related resource type to the external domain resource conversion system; determine a second difference between the eighth resource amount and the seventh resource amount, and determine a second ratio between the second difference and the eighth resource amount; and use the second ratio as a cyclic conversion rate difference between the preset resource type and the selected related resource type.

[0024] In one embodiment, the association table generation module is also used to use the targeted selected resource type as the resource type associated with the targeted selected resource type when the cyclic conversion rate difference between the preset resource type and the targeted selected resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the selected contact resource type.

[0025] In one of the embodiments, the multiple resource conversion module is also used to trigger obtaining the specified amount of resources of the specified resource type from the local domain resource conversion system during the next resource conversion cycle when the local domain resource conversion system is turned on when the change trend is that the amount of resources of the optional resource type that can be converted from the resources of the specified resource type increases or remains unchanged.

[0026] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in any one of the resource conversion methods provided in the embodiments of the present application are implemented.

[0027] 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 steps in any resource conversion method provided in the embodiments of the present application are implemented.

[0028] In a fifth aspect, the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps in any one of the resource conversion methods provided in the embodiments of the present application.

[0029] The resource conversion method, apparatus, computer device, storage medium and computer program product can determine the designated resource type and preset resource type pointed to by the resource conversion task by determining the resource conversion task that has been executed between the proxy resource conversion system and the resource conversion requester during the current resource conversion cycle when the local domain resource conversion system is closed. By determining the designated resource type and the preset resource type, the resource conversion trend label of the designated resource type and the preset resource type can be determined, thereby determining whether the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will be reduced based on the resource conversion trend label. Since the resource conversion task has been executed between the proxy resource conversion system and the resource conversion requester during the current resource conversion cycle and when the local resource conversion system is closed, the proxy resource conversion system has transmitted a specified amount of resources of a specified resource type to the resource conversion requester. If, based on the resource conversion trend label, it is determined that the amount of resources of the selected resource type that can be converted from the preset resource type in the next resource conversion cycle will decrease, then in the next resource conversion cycle, the amount of resources of the specified resource type converted back from the local resource conversion system by the proxy resource conversion system based on the preset resource type resources obtained from the resource conversion requester will decrease. Therefore, it can be considered that there is a probability that the total amount of resources of the specified resource type in the proxy resource conversion system will decrease, and the proxy resource conversion system has a risk of crashing due to insufficient total amount of resources of the specified resource type. In this way, the potential crash risk of the proxy resource conversion system is identified. By identifying the potential crash risk of the proxy resource conversion system, the potential crash risk can be handled in a timely manner, thereby improving the stability of the proxy resource conversion system.

[0030] When it is identified that the proxy resource conversion system has a potential crash risk, since the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will decrease, the amount of resources of the preset resource type that can be converted from the resources of the corresponding selected resource type in the next resource conversion cycle will increase. Therefore, by triggering the proxy resource conversion system to obtain a specified amount of resources of the associated resource type from the external domain resource conversion system in the current resource conversion cycle, and providing a specified amount of resources of the associated resource type to the external domain resource conversion system in the next resource conversion cycle, more resources of the preset resource type can be obtained in the next resource conversion cycle in exchange with the external domain resource conversion system based on the resources of the specified amount of associated resource types obtained from the external domain resource conversion system in the current resource conversion cycle. Therefore, even if the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will decrease, the proxy resource conversion system can also exchange back the specified amount of resources of the specified resource type based on more resources of the preset resource type. In this way, the total amount of resources of the specified resource type in the proxy resource conversion system can be kept unchanged, thereby improving the stability of the proxy resource conversion system.

[0031] In addition, when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted from the resources of the specified resource type is reduced, the proxy resource conversion system and the specified resource conversion system are triggered to execute a cyclic resource conversion task, which also reduces the number of executions of unnecessary cyclic resource conversion tasks, thereby saving resources such as electricity consumed in executing unnecessary cyclic resource conversion tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 An application environment diagram of a resource conversion method in an embodiment;

[0033] Figure 2 A schematic diagram of a process of resource conversion method in one embodiment;

[0034] Figure 3 A schematic diagram of a resource conversion request generation interface in one embodiment;

[0035] Figure 4 A schematic diagram of a recording process of requesting information in one embodiment;

[0036] Figure 5 A schematic diagram of system crash risk processing in one embodiment;

[0037] Figure 6 A schematic diagram of generating a resource conversion trend label in one embodiment;

[0038] Figure 7 A schematic diagram of generating a resource conversion trend label in another embodiment;

[0039] Figure 8 is a schematic diagram of an association relationship table in one embodiment;

[0040] Fig. 9 A schematic diagram of the overall process of resource conversion in an embodiment;

[0041] Fig.10 It is a flowchart of a resource conversion method in a specific embodiment;

[0042] Fig.11 is a structural block diagram of a resource conversion device in an embodiment;

[0043] Fig.12 is an internal structure diagram of a computer device in one embodiment;

[0044] Fig.13 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with 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.

[0046] The resource conversion method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers. Both the terminal 102 and the server 104 can be used alone to execute the resource conversion method provided in the embodiment of the present application. The terminal 102 and the server 104 can also be used in conjunction to execute the resource conversion method provided in the embodiment of the present application. Taking the example that the terminal 102 and the server 104 can be used in conjunction to execute the resource conversion method provided in the embodiment of the present application, the resource conversion requester can initiate a resource conversion request through the terminal 102, so that the terminal 102 can send the resource conversion request to the server 104. The server 104 can be a background server of the proxy resource conversion system. When the server 104 receives the resource conversion request, the server 104 can respond to the resource conversion request, execute the resource conversion task, and perform crash risk management and control on the proxy resource conversion system according to the resource conversion trend tag. The terminal 102 may be, but is not limited to, various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0047] It should be noted that the words "first", "second" and similar terms used in this application do not indicate any order, quantity or importance, but are only used to distinguish different components. Unless the context clearly indicates otherwise, the singular form "one", "an" or "the" and similar terms do not indicate a quantity restriction, but rather indicate the presence of at least one. The quantities of "multiple" or "multiple copies" mentioned in the various embodiments of the present application all refer to the quantity of "at least two", for example, "multiple" refers to "at least two", and "multiple copies" refers to "at least two copies".

[0048] In one embodiment, Figure 2 As shown, a resource conversion method is provided, which is applied to Figure 1 The computer device in the example is used to illustrate that the computer device can be Figure 1 The resource conversion method comprises the following steps:

[0049] Step 202, during the current resource conversion cycle, when the domain resource conversion system is closed, in response to a resource conversion request from a resource conversion requester, a specified amount of resources of a specified resource type is provided to the resource conversion requester, and resources of a preset resource type of the resource conversion requester are correspondingly obtained.

[0050] Among them, the resource conversion cycle refers to the cycle for resource conversion, for example, the resource conversion cycle can be specifically one day and one night. The local domain resource conversion system refers to a system built in the local domain for resource conversion, for example, it can be the resource conversion system of the backend server in the local domain. The external domain resource conversion system refers to a system built in the external domain for resource conversion, for example, it can be the resource conversion system of the backend server in the external domain. For an area, the area can include the local domain and the external domain, so that the remaining areas in the area except the local domain can be considered as external domains.

[0051] The proxy resource conversion system can be an intermediary system between the resource conversion requester and the local resource conversion system or the external resource conversion system. For example, when the resource conversion requester expects to perform resource conversion, the proxy resource conversion system can first provide the resource conversion requester with a specified amount of resources of a specified resource type, and then obtain a specified amount of resources of a specified resource type from the local resource conversion system or the external resource conversion system. Compared with the external resource conversion system, the priority of the proxy resource conversion system for resource conversion with the local resource conversion system is higher than that of the external resource conversion system.

[0052] The resource conversion system of this domain can be in an open or closed state within a single resource conversion cycle. For example, after the resource conversion system of this domain has been running for a period of time within the current resource conversion cycle, in order to maintain the resource conversion system of this domain, the resource conversion system of this domain can be shut down within the current resource conversion cycle to detect faults in the resource conversion system of this domain, and then reopened in the next resource conversion cycle.

[0053] Specifically, during the current resource conversion cycle and when the resource conversion system of this domain is closed, the resource conversion requester may request to perform resource conversion with the proxy resource conversion system, so that the proxy resource conversion system responds to the resource conversion requester's resource conversion request, provides the resource conversion requester with a specified amount of resources of a specified resource type, and obtains resources of a preset resource type from the resource conversion requester. Wherein, the resource conversion request may carry a specified amount, so that the proxy resource conversion system may provide the resource conversion requester with a specified amount of resources of a specified resource type according to the specified amount carried in the resource conversion request. Wherein, the preset resource type refers to a preset resource type; the specified resource type refers to a resource specified by the resource conversion requester. For example, the proxy resource conversion system may pre-set a resource type, and the resource type is called a preset resource type. When the resource conversion requester requests resource conversion, the resource conversion requester may select a resource type from a plurality of resource types, so that the selected resource type is called a specified resource type.

[0054] In one embodiment, the local domain resource conversion system may specifically be a local bank; and the external domain resource conversion system may specifically be a foreign bank outside the area where the local bank is located.

[0055] In one embodiment, the resource may specifically be computer resources, power resources, or currency, etc. Computer resources may specifically be memory, CPU, etc.

[0056] In one embodiment, the resource conversion requester may be a merchant or an individual.

[0057] In one embodiment, reference Figure 3 , the resource conversion requester can trigger a resource conversion request through the terminal. At this time, the terminal can display a resource conversion request generation interface, and display multiple resource types in the resource conversion request generation interface, so that the resource conversion requester can select one of the multiple resource types displayed as the specified resource type, and enter the specified amount in the resource conversion request generation interface. When the terminal determines that the resource conversion requester clicks the confirmation control, the terminal can generate a resource conversion request carrying the specified resource type and the specified amount, and send the resource conversion request to the server. When the server receives the resource conversion request, the proxy resource conversion system in the server can respond to the resource conversion request and provide the resource conversion requester with a specified amount of resources of the specified resource type, and correspondingly obtain the resources of the preset resource type from the resource account of the resource conversion requester. The resource account can specifically be a resource pool owned by the resource conversion requester. Figure 3 A schematic diagram of a resource conversion request generation interface in an embodiment is shown.

[0058] In one embodiment, the computer device may obtain multiple resource conversion requests, merge target resource conversion requests with the same specified resource type in the multiple resource conversion requests to obtain a merged resource conversion request, and execute the merged resource conversion request. Figure 4The computer device may obtain multiple resource conversion requests and write the request information of the multiple resource conversion requests into the request information record table, wherein the request information of the resource conversion requests indicating the same specified resource type is recorded in the same information row. For example, resource conversion request 1 is "resource conversion requester A requests to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and to flow out 100 resources of the A specified resource type from the proxy resource conversion system to resource conversion requester A"; resource conversion request 2 is "resource conversion requester B requests to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and to flow out 300 resources of the A specified resource type from the proxy resource conversion system to resource conversion requester B"; since the request information of resource conversion request 1 and the request information of resource conversion request 2 both point to the A specified resource type, the request information of resource conversion request 1 and the request information of resource conversion request 2 are recorded in the same information row, for example, the A specified resource type is recorded in information row a, and 100 and 300 are also recorded in information row a, so that the merged specified amount can be determined based on the request information record table, for example, the merged specified amount is determined to be 400. Figure 4 A schematic diagram of a recording process of request information in an embodiment is shown.

[0059] For example, during the current resource conversion cycle and when the resource conversion system of this domain is closed, the computer device receives a total of three resource conversion requests, among which resource conversion request 1 is "A resource conversion requester requests to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and 100 resources of A's designated resource type flow out from the proxy resource conversion system to A resource conversion requester"; resource conversion request 2 is "B resource conversion requester requests to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and 300 resources of A's designated resource type flow out from the proxy resource conversion system to B resource conversion requester"; resource conversion request 3 is "C resource conversion requester requests to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and 200 resources of B's ​​designated resource type flow out from the proxy resource conversion system to C resource conversion requester". Since both resource conversion request 1 and resource conversion request 2 involve resource types specified by A, resource conversion request 1 and resource conversion request 2 can be merged into one resource conversion request "Resource conversion requester A and resource conversion requester B both request to flow out a certain amount of resources of a preset resource type to the proxy resource conversion system, and to flow out 400 resources of the resource type specified by A from the proxy resource conversion system to resource conversion requester A and resource conversion requester B". The specified amount at this time can be 400 resources of the resource type specified by A in the merged resource conversion request.

[0060] Step 204: Obtain resource conversion trend labels for the current resource conversion cycle between the preset resource type and the specified resource type.

[0061] Specifically, for the preset resource types and the specified resource types, a resource conversion trend label can be pre-generated in each resource conversion cycle, so that when responding to the resource conversion request of the resource conversion requester, a specified amount of resources of the specified resource type is provided to the resource conversion requester, and the resources of the preset resource type of the resource conversion requester are obtained accordingly, the pre-generated resource conversion trend label can be obtained. The resource conversion trend label can be used to characterize the change trend of the resource conversion rate between the preset resource type and the specified resource type in the next resource conversion cycle. For example, the resource conversion trend label can be used to characterize whether the amount of resources of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will decrease.

[0062] In one embodiment, the resource conversion rate trend label is determined according to the resource conversion rate change trend between the preset resource type and the specified resource type. For example, when the resource conversion rate change trend between the preset resource type and the specified resource type is that the amount of the specified resource type that can be converted from the resources of the preset resource type per unit resource amount is reduced, the resource conversion rate trend label can be set to "on"; correspondingly, when the resource conversion rate change trend between the preset resource type and the specified resource type is that the amount of the specified resource type that can be converted from the resources of the preset resource type per unit resource amount is increased, the resource conversion rate trend label can be set to "off".

[0063] In one of the embodiments, in response to the resource conversion request of the resource conversion requester, a specified amount of resources of a specified resource type is provided to the resource conversion requester, and after obtaining the resources of the preset resource type of the resource conversion requester accordingly, a resource conversion trend label for the current resource conversion cycle between the preset resource type and the specified resource type is generated in real time based on the corresponding resource conversion rates in multiple consecutive resource conversion cycles between the preset resource type and the specified resource type.

[0064] In one embodiment, a computer device may store multiple resource conversion trend labels for the current resource conversion cycle. Each resource conversion trend label may correspond to a different specified resource type. For example, resource conversion trend label 1 may be used to characterize the resource conversion change trend between a preset resource type and a specified resource type A; resource conversion trend label 2 may be used to characterize the resource conversion change trend between a preset resource type and a specified resource type B. Thus, the computer device may filter out the resource conversion trend labels for the current resource conversion cycle between the preset resource type and the specified resource type from multiple resource conversion trend labels.

[0065] Step 206, when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted into the preset resource type in the next resource conversion cycle is reduced, a specified amount of resources of the associated resource type is obtained from the external domain resource conversion system in the current resource conversion cycle; the associated resource type includes the specified resource type or one of the related resource types that has a fixed resource conversion rate with the specified resource type.

[0066] Specifically, when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced, it can be considered that in the next resource conversion cycle, the amount of resources of the specified resource type converted back from the local resource conversion system by the proxy resource conversion system based on the resources of the preset resource type obtained from the resource conversion requester will be reduced, and there is a probability that the total amount of resources of the specified resource type in the proxy resource conversion system will be reduced. The proxy resource conversion system has the risk of crashing due to insufficient total amount of resources of the specified resource type. Since the local resource conversion system is closed at this time, the computer device obtains a specified amount of resources of the associated resource type from the external domain resource conversion system in the current resource conversion cycle. Among them, the associated resource type includes one of the specified resource type or the associated resource type with a fixed resource conversion rate between the specified resource type. Since the associated resource type is a resource type with a fixed resource conversion rate between the specified resource type, the change trend of the resource conversion rate between the preset resource type and the specified resource type can be consistent with the change trend of the resource conversion rate between the preset resource type and the associated resource type. Therefore, the associated resource type can replace the specified resource type.

[0067] Exemplarily, since the proxy resource conversion system has responded to the resource conversion request, it has provided the specified amount of resources of the specified resource type it owns to the resource conversion requester, and has obtained the resources of the preset resource type of the resource conversion requester. Since the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted to the resources of the preset resource type in the next resource conversion cycle will be reduced, if the local resource conversion system is restarted in the next resource conversion cycle, the proxy resource conversion system will convert the resources of the preset resource type of the resource conversion requester obtained with the local resource conversion system, then based on the resources of the preset resource type of the resource conversion requester obtained, the amount of resources of the specified resource type obtained from the local resource conversion system will be less than the specified amount. As a result, the total amount of resources of the specified resource type owned by the proxy resource conversion system is reduced, and there is a risk of collapse. In order to improve the stability of the proxy resource conversion system, the proxy resource conversion system can timely convert resources with the external domain resource conversion system in the current resource conversion cycle, and obtain the specified amount of resources of the associated resource type from the external domain resource conversion system, and accordingly, provide a certain amount of resources of the preset resource type to the external domain resource conversion system.

[0068] Step 208, generating a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide a specified amount of resources of the associated resource type to the external domain resource conversion system within the next resource conversion cycle, and obtain a specified amount of resources of the specified resource type from the local domain resource conversion system.

[0069] Specifically, the computer device may generate a resource conversion plan task triggered in the next resource conversion cycle. The resource conversion task includes two subtasks. The first subtask is used to provide a specified amount of resources of the associated resource type to the external domain resource conversion system in the next resource conversion cycle. The second subtask is used to obtain a specified amount of resources of the specified resource type from the local domain resource conversion system when the local domain resource conversion system is turned on in the next resource conversion cycle.

[0070] In one embodiment, reference Figure 5 When a computer device determines that its own proxy resource conversion system has the risk of crashing, the computer device may obtain a specified amount of resources of an associated resource type from an external domain resource conversion system in the current resource conversion cycle; provide a specified amount of resources of an associated resource type to the external domain resource conversion system in the next resource conversion cycle; and obtain a specified amount of resources of a specified resource type from the local domain resource conversion system in the next resource conversion cycle. Figure 5 A schematic diagram of system crash risk processing in one embodiment is shown.

[0071] In one of the embodiments, for example, when the associated resource type is a specified resource type, when the resource conversion trend label indicates that in the next resource conversion cycle, the resource conversion ratio between the preset resource type and the specified resource type may change from 8:1 to 8.2:1, it can be considered that the amount of resources of the preset resource type that can be converted into the selected resource type in the next resource conversion cycle will decrease, and the amount of resources of the corresponding selected resource type that can be converted into the preset resource type in the next resource conversion cycle will increase. At this time, the computer device can trigger the proxy resource conversion system to obtain 10,000 resources of the specified resource type from the external domain resource conversion system in the current resource conversion cycle, and provide 10,000 resources of the specified resource type to the external domain resource conversion system in the next resource conversion cycle. Since the resource conversion ratio between the preset resource type and the specified resource type will change from 8:1 to 8.2:1 in the next resource conversion cycle, when obtaining 10,000 resources of the specified resource type from the external domain resource conversion system, it is necessary to provide 80,000 resources of the specified resource type to the external domain resource conversion system; when providing 10,000 resources of the specified resource type to the external domain resource conversion system, 82,000 resources of the preset resource type can be obtained from the external domain resource conversion system. Compared with providing 80,000 resources of the specified resource type to the external domain resource conversion system in the current resource conversion cycle, the proxy resource conversion system obtains more resources of the preset resource type in the next resource conversion cycle, and the 82,000 resources of the preset resource type obtained in the next resource conversion cycle are used. Therefore, even if the amount of resources of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced, the computer device can exchange the specified amount of resources of the specified resource type based on more resources of the preset resource type. In this way, the total amount of resources of the specified resource type in the proxy resource conversion system can be kept unchanged, thereby improving the stability of the proxy resource conversion system.

[0072] In one embodiment, for example, when the associated resource type is a contact resource type, when the resource conversion trend label indicates that in the next resource conversion cycle, the resource conversion rate between the preset resource type and the specified resource type may change from 5:1 to 5.2:1, since the resource conversion rate between the contact resource type and the specified resource type is fixed, it can be considered that in the next resource conversion cycle, the resource conversion rate between the preset resource type and the specified resource type may also change geometrically, for example, from 10:1 to 10.4:1. At this time, the computer device can trigger the proxy resource conversion system to obtain 10,000 resources of the contact resource type from the external domain resource conversion system in the current resource conversion cycle, and provide 10,000 resources of the contact resource type to the external domain resource conversion system in the next resource conversion cycle. Since the resource conversion ratio between the preset resource type and the specified resource type will change from 10:1 to 10.4:1 in the next resource conversion cycle, when obtaining 10,000 resources of the specified resource type from the external domain resource conversion system, it is necessary to provide 100,000 resources of the specified resource type to the external domain resource conversion system; when providing 10,000 resources of the specified resource type to the external domain resource conversion system, 104,000 resources of the preset resource type can be obtained from the external domain resource conversion system. Compared with the 100,000 resources of the preset resource types provided to the external domain resource conversion system in the current resource conversion cycle, the 104,000 resources of the preset resource types obtained in the next resource conversion cycle enable the proxy resource conversion system to obtain more resources of the preset resource types. Therefore, even if the amount of resources of the designated resource types that can be converted from the resources of the preset resource types in the next resource conversion cycle is reduced, the computer device can exchange the designated amount of resources of the designated resource types based on more resources of the preset resource types. In this way, the total amount of resources of the designated resource types in the proxy resource conversion system can be kept unchanged, thereby improving the stability of the proxy resource conversion system.

[0073] In one embodiment, the purpose of obtaining a specified amount of resources of the associated resource type from the external domain resource conversion system in the current resource conversion cycle and providing a specified amount of resources of the associated resource type to the external domain resource conversion system in the next resource conversion cycle is to lock the system crash risk. The purpose of obtaining a specified amount of resources of the specified resource type from the local domain resource conversion system in the next resource conversion cycle is to deal with the system crash risk.

[0074] In the resource conversion method, by determining the resource conversion tasks that have been executed between the proxy resource conversion system and the resource conversion requester in the current resource conversion cycle and when the domain resource conversion system is closed, the designated resource type and the preset resource type pointed to by the resource conversion task can be determined. By determining the designated resource type and the preset resource type, the resource conversion trend labels of the designated resource type and the preset resource type can be determined, so as to determine whether the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will be reduced based on the resource conversion trend labels. Since the resource conversion task has been executed between the proxy resource conversion system and the resource conversion requester during the current resource conversion cycle and when the local resource conversion system is closed, the proxy resource conversion system has transmitted a specified amount of resources of a specified resource type to the resource conversion requester. If, based on the resource conversion trend label, it is determined that the amount of resources of the selected resource type that can be converted from the preset resource type in the next resource conversion cycle will decrease, then in the next resource conversion cycle, the amount of resources of the specified resource type converted back from the local resource conversion system by the proxy resource conversion system based on the preset resource type resources obtained from the resource conversion requester will decrease. Therefore, it can be considered that there is a probability that the total amount of resources of the specified resource type in the proxy resource conversion system will decrease, and the proxy resource conversion system has a risk of crashing due to insufficient total amount of resources of the specified resource type. In this way, the potential crash risk of the proxy resource conversion system is identified. By identifying the potential crash risk of the proxy resource conversion system, the potential crash risk can be handled in a timely manner, thereby improving the stability of the proxy resource conversion system.

[0075] When it is identified that the proxy resource conversion system has a potential crash risk, since the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will decrease, the amount of resources of the preset resource type that can be converted from the resources of the corresponding selected resource type in the next resource conversion cycle will increase. Therefore, by triggering the proxy resource conversion system to obtain a specified amount of resources of the associated resource type from the external domain resource conversion system in the current resource conversion cycle, and providing a specified amount of resources of the associated resource type to the external domain resource conversion system in the next resource conversion cycle, more resources of the preset resource type can be obtained in the next resource conversion cycle in exchange with the external domain resource conversion system based on the resources of the specified amount of associated resource types obtained from the external domain resource conversion system in the current resource conversion cycle. Therefore, even if the amount of resources of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle will decrease, the proxy resource conversion system can also exchange back the specified amount of resources of the specified resource type based on more resources of the preset resource type. In this way, the total amount of resources of the specified resource type in the proxy resource conversion system can be kept unchanged, thereby improving the stability of the proxy resource conversion system.

[0076] In addition, when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted from the resources of the specified resource type is reduced, the proxy resource conversion system and the specified resource conversion system are triggered to execute a cyclic resource conversion task, which also reduces the number of executions of unnecessary cyclic resource conversion tasks, thereby saving resources such as electricity consumed in executing unnecessary cyclic resource conversion tasks.

[0077] In one of the embodiments, the step of determining the resource conversion trend label for the current resource conversion cycle includes: obtaining the corresponding resource conversion rates between the preset resource type and the specified resource type in multiple consecutive resource conversion cycles; determining the resource conversion trend label for the current resource conversion cycle between the preset resource type and the specified resource type based on the corresponding resource conversion rates obtained in the multiple consecutive resource conversion cycles.

[0078] Specifically, the computer device may pre-generate a resource conversion trend label for the current resource conversion cycle. Since the resource conversion trend label is used to characterize the change trend of the resources of the specified resource type that can be converted from the preset resource type, the computer device may generate the resource conversion trend label for the current resource conversion cycle between the preset resource type and the specified resource type through the resource conversion rates corresponding to each other between the preset resource type and the specified resource type in multiple consecutive resource conversion cycles.

[0079] When it is necessary to generate a resource conversion trend label of the current resource conversion cycle between the preset resource type and the specified resource type, the computer device can obtain the corresponding resource conversion rates between the preset resource type and the specified resource type in multiple continuous resource conversion cycles. The multiple continuous resource conversion cycles may include the current resource conversion cycle, so that based on the corresponding resource conversion rates in the multiple continuous resource conversion cycles obtained, the change trend of the resource of the specified resource type that can be converted from the preset resource type in the next resource conversion cycle is analyzed, and then the resource conversion trend label of the current resource conversion cycle between the preset resource type and the specified resource type is generated based on the analyzed change trend.

[0080] In one embodiment, the resource conversion rates corresponding to the preset resource types and the designated resource types in multiple consecutive resource conversion cycles can be input into a pre-trained trend prediction model, and the trend prediction model outputs the change trend of the designated resource type that can be converted from the preset resource type in the next resource conversion cycle. The trend prediction model is a machine learning model pre-trained by training samples.

[0081] In one embodiment, the resource conversion trend label may also be determined based on the fluctuation of the resource conversion rate in the last N hours, where N may be freely set according to the needs.

[0082] In one embodiment, the number of the plurality of consecutive resource conversion cycles can be freely set according to demand. For example, the resource conversion rate within 20 consecutive resource conversion cycles can be obtained.

[0083] In one embodiment, the resource conversion rate obtained within the resource conversion cycle may be a resource conversion rate provided by an external domain resource conversion system.

[0084] In one embodiment, the average of the resource conversion rates at various time points in the resource conversion cycle may be used as the resource conversion rate obtained in the resource conversion cycle; or, the resource conversion rate at the end of the resource conversion cycle may be used as the resource conversion rate obtained in the resource conversion cycle.

[0085] In the above embodiment, by obtaining the resource conversion rates corresponding to each of multiple consecutive resource conversion cycles, the change trend of resources of the specified resource type that can be converted from the preset resource type in the next resource conversion cycle can be accurately predicted based on the resource conversion rates corresponding to each of the multiple consecutive resource conversion cycles, thereby improving the accuracy of the resource conversion trend label based on the accurately predicted change trend.

[0086] In one of the embodiments, a resource conversion trend label between a preset resource type and a specified resource type for a current resource conversion cycle is determined based on resource conversion rates corresponding to each of a plurality of consecutive resource conversion cycles obtained, including: determining an average resource conversion rate between a preset resource type and a specified resource type based on resource conversion rates corresponding to each of a plurality of consecutive resource conversion cycles obtained; extracting a current resource conversion rate corresponding to a current resource conversion cycle from the resource conversion rates corresponding to each of a plurality of consecutive resource conversion cycles obtained; and determining a resource conversion trend label between a preset resource type and a specified resource type for a current resource conversion cycle based on the average resource conversion rate and the current resource conversion rate.

[0087] Specifically, when the computer device obtains the resource conversion rates corresponding to each of the multiple continuous resource conversion cycles, the computer device can superimpose the resource conversion rates corresponding to each of the multiple continuous resource conversion cycles to obtain the superimposed resource conversion rate, and divide the superimposed resource conversion rate by the number of the multiple continuous resource conversion cycles to obtain the average resource conversion rate between the preset resource type and the specified resource type. The resource conversion rate average refers to the average of multiple resource conversion rates. Furthermore, the computer device can determine the change trend of the resources of the specified resource type that can be converted from the preset resource type in the next resource conversion cycle by comparing the difference between the resource conversion rate average and the current resource conversion rate, and then generate a resource conversion trend label for the current resource conversion cycle between the preset resource type and the specified resource type based on the determined change trend. Among them, the current resource conversion rate refers to the resource conversion rate corresponding to the current resource conversion cycle.

[0088] In one of the embodiments, a resource conversion trend label between a preset resource type and a specified resource type for the current resource conversion cycle is determined based on a mean resource conversion rate and a current resource conversion rate, including: determining a first resource amount of a specified resource type that can be converted by a unit amount of resources of a preset resource type based on the current resource conversion rate; determining a second resource amount of a specified resource type that can be converted by a unit amount of resources of a preset resource type based on the mean resource conversion rate; when the first resource amount is less than the second resource amount, determining a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label representing a decrease in the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle.

[0089] Specifically, the computer device determines the first resource amount of the designated resource type that can be converted by the resources of the preset resource type per unit resource amount according to the current resource conversion rate. For example, when the current resource conversion rate is the preset resource type: the designated resource type = 9:1, it can be determined that the first resource amount of the designated resource type that can be converted by one portion of the resources of the preset resource type is 1 / 9. Further, the computer device determines the first resource amount of the designated resource type that can be converted by the resources of the preset resource type per unit resource amount according to the current resource conversion rate. For example, when the resource conversion rate average is the preset resource type: the designated resource type = 8:1, it can be determined that the second resource amount of the designated resource type that can be converted by one portion of the resources of the preset resource type is 1 / 8. At this time, the computer device compares the difference between the first resource amount and the second resource amount, and when it is determined that the first resource amount is less than the second resource amount, it can be considered that the change trend of the designated resource type that can be converted by the preset resource type in the next resource conversion cycle is a decreasing trend. At this time, the resource conversion trend label is determined, which is a label indicating that the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced. For example, the computer device determines that 1 / 9 of the first resource amount is less than 1 / 8 of the second resource amount, and thus sets the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle to a label indicating that the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced.

[0090] In one of the embodiments, when the first resource amount is greater than the second resource amount, it can be considered that the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle has an increasing trend, and then a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle is determined, which is a label that represents the increase in the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle.

[0091] In one embodiment, reference Figure 6 The computer device can obtain the resource conversion rates corresponding to each of multiple consecutive resource conversion cycles, and determine the current resource conversion rate and the average resource conversion rate from the obtained resource conversion rates. Then, based on the difference between the current resource conversion rate and the average resource conversion rate, the change trend of the resource conversion rate in the next resource conversion cycle is determined, thereby generating a resource conversion trend label for the current resource conversion cycle between a preset resource type and a specified resource type based on the change trend. Figure 6 A schematic diagram of generating a resource conversion trend label in an embodiment is shown.

[0092] In the above embodiment, by pre-generating a resource conversion trend label, it is possible to quickly determine whether the proxy resource conversion system has a crash risk based on the pre-generated resource conversion trend label, thereby improving the efficiency of determining the system crash risk. In addition, since the resource conversion rate mean can objectively reflect the resource conversion rate over a period of time, the resource conversion rate mean is compared with the current resource conversion rate, and the change trend of the resource conversion rate in the next resource conversion cycle can be objectively analyzed based on the comparison result, thereby improving the accuracy of the generated resource conversion trend label.

[0093] In one embodiment, when the first resource amount is less than the second resource amount, a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle is determined, which is a label indicating that the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced, including: determining the resource conversion rate between the preset resource type and the specified resource type at a first time point in the current resource conversion cycle; determining the resource conversion rate between the preset resource type and the specified resource type at a second time point in the current resource conversion cycle; the first time point is earlier than the second time point; according to the resource conversion rate at the first time point, determining a third resource amount of the specified resource type that can be converted by the resources of the preset resource type per unit resource amount; according to the resource conversion rate at the second time point, determining a fourth resource amount of the specified resource type that can be converted by the resources of the preset resource type per unit resource amount. When the fourth resource amount is less than the third resource amount and the first resource amount is less than the second resource amount, a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle is determined, which is a label indicating that the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced.

[0094] Specifically, since the resource conversion rate may also change with time in a single resource conversion cycle, in order to further improve the accuracy of the generated resource conversion trend label, the resource conversion trend label can also be determined in combination with the resource conversion rate at the time point. More specifically, the computer device can determine the first time point and the second time point in the current resource conversion cycle, wherein the first time point is earlier than the second time point. For example, the first time point may be 10 am and the second time point may be 4 pm. The computer device obtains the resource conversion rate between the preset resource type and the specified resource type at the first time point, and obtains the resource conversion rate at the second time point. The computer device determines the third resource amount of the specified resource type that can be converted by the resource of the preset resource type per unit resource amount according to the resource conversion rate at the first time point. When the resource conversion rate at the first time point is preset resource type: specified resource type = 9:1, it can be determined that the first resource amount of the specified resource type that can be converted by the resource of 1 portion of the preset resource type is 1 / 9. And the computer device determines the fourth resource amount of the designated resource type that can be converted from the resources of the preset resource type per unit resource amount based on the resource conversion rate at the second time point. For example, when the resource conversion rate at the second time point is preset resource type: designated resource type = 8:1, it can be determined that the second resource amount of the designated resource type that can be converted from 1 portion of the resources of the preset resource type is 1 / 8.

[0095] Further, the computer device compares the difference between the fourth resource amount and the third resource amount, and when the fourth resource amount is less than the third resource amount, it can be considered that the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle has a decreasing trend. At this time, when the fourth resource amount is less than the third resource amount and the first resource amount is less than the second resource amount, the computer device determines the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label indicating that the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced.

[0096] In one embodiment, reference Figure 7 After obtaining the resource conversion rates corresponding to each of multiple consecutive resource conversion cycles and determining the current resource conversion rate and the resource conversion rate average from the obtained resource conversion rates, the computer device can also obtain the resource conversion rate at a first time point and a resource conversion rate at a second time point in the current resource conversion cycle, and determine the change trend of the resource conversion rate in the next resource conversion cycle based on the difference between the current resource conversion rate and the resource conversion rate average, and the difference between the resource conversion rate at the first time point and the resource conversion rate at the second time point, thereby generating a resource conversion trend label for the current resource conversion cycle between a preset resource type and a specified resource type based on the change trend. Figure 7A schematic diagram of generating a resource conversion trend label in another embodiment is shown.

[0097] In the above embodiment, the accuracy of the change trend of the resource conversion rate in the next resource conversion cycle is improved by combining the resource conversion rates at different time points in the current resource conversion cycle, thereby improving the accuracy of the resource conversion trend label based on the accurately determined change trend.

[0098] In one of the embodiments, when the cyclic conversion rate difference between the preset resource type and the specified resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the associated resource type provided by the external domain resource conversion system, the associated resource type is determined to be the specified resource type; the cyclic conversion rate difference between the preset resource type and the specified resource type is the difference between the first incoming resource conversion rate and the first outgoing resource conversion rate; the first ingoing resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system receives resources of the specified resource type; the first outgoing resource conversion rate is When the external domain resource conversion system provides resources of the specified resource type, the resource conversion rate between the preset resource type and the specified resource type is adopted; the cyclic conversion rate difference between the preset resource type and the related resource type is the difference between the second incoming resource conversion rate and the second outgoing resource conversion rate; the second inflow resource conversion rate is the resource conversion rate between the preset resource type and the related resource type adopted when the external domain resource conversion system receives resources of the related resource type; the second outflow resource conversion rate is the resource conversion rate between the preset resource type and the related resource type adopted when the external domain resource conversion system provides resources of the related resource type.

[0099] Specifically, the resource conversion rate provided by the external domain resource conversion system may change as the direction of resource conversion changes. For example, for the preset resource type and the specified resource type, the resource conversion rate adopted by the external domain resource conversion system when receiving the resource of the specified resource type may be different from the resource conversion rate when providing the resource of the specified resource type. Therefore, it can be determined according to the cyclic conversion rate difference whether the associated resource type is the specified resource type or the associated resource type with a fixed resource conversion rate between the specified resource type and the associated resource type.

[0100] When the difference in cyclic conversion rate between the preset resource type and the specified resource type is less than or equal to the difference in cyclic conversion rate between the preset resource type and the associated resource type, it can be considered that after the proxy resource conversion system executes the process of "obtaining a specified amount of resources of a specified resource type from an external domain resource conversion system, and providing the external domain resource conversion system with a corresponding amount of resources of the preset resource type, and then providing the external domain resource conversion system with a specified amount of resources of the specified resource type, and receiving a corresponding amount of resources of the preset resource type provided by the external domain resource conversion system", the cost paid by the proxy resource conversion system will be less than or equal to the cost paid by the proxy resource conversion system to execute the process of "obtaining a specified amount of resources of an associated resource type from an external domain resource conversion system, and providing the external domain resource conversion system with a corresponding amount of resources of the preset resource type, and then providing the external domain resource conversion system with a specified amount of resources of the associated resource type, and receiving a corresponding amount of resources of the preset resource type provided by the external domain resource conversion system". Therefore, the specified resource type is taken as the associated resource type. The price paid by the proxy resource conversion system may specifically be the amount of resources of a preset resource type that the proxy resource conversion system needs to additionally provide to the external domain resource conversion system during the designated corresponding process.

[0101] When the difference in cyclic conversion rate between the preset resource type and the specified resource type is less than or equal to the difference in cyclic conversion rate between the preset resource type and the associated resource type, it can be considered that after the proxy resource conversion system executes the process of "obtaining a specified amount of resources of a specified resource type from an external domain resource conversion system, and providing the external domain resource conversion system with a corresponding amount of resources of the preset resource type, and then providing the external domain resource conversion system with a specified amount of resources of the specified resource type, and receiving a corresponding amount of resources of the preset resource type provided by the external domain resource conversion system", the cost paid by the proxy resource conversion system will be greater than the cost paid by the proxy resource conversion system to execute the process of "obtaining a specified amount of resources of an associated resource type from an external domain resource conversion system, and providing the external domain resource conversion system with a corresponding amount of resources of the preset resource type, and then providing the external domain resource conversion system with a specified amount of resources of the associated resource type, and receiving a corresponding amount of resources of the preset resource type provided by the external domain resource conversion system". Therefore, the associated resource type is regarded as the associated resource type.

[0102] In one embodiment, the cyclic conversion rate difference between the preset resource type and the specified resource type is the difference between the first inflow resource conversion rate and the first outflow resource conversion rate; the first inflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system receives resources of the specified resource type, for example, the first inflow resource conversion rate can be the resource conversion rate provided by the external domain resource conversion system, when the external domain resource conversion system receives resources of the specified resource type, the external domain resource conversion system determines the amount of resources of the preset resource type that needs to be provided based on the resource conversion rate; the first outflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system provides resources of the specified resource type; for example, the first outflow resource conversion rate can be the resource conversion rate provided by the external domain resource conversion system, when the external domain resource conversion system provides resources of the specified resource type, the external domain resource conversion system determines the amount of resources of the preset resource type that needs to be received based on the resource conversion rate. The same applies to the second outflow resource conversion rate and the second inflow resource conversion rate.

[0103] In this embodiment, "obtaining a specified amount of resources of an associated resource type associated with a specified resource type from an external domain resource conversion system in the current resource conversion cycle, and providing a specified amount of resources of an associated resource type associated with a specified resource type to the external domain resource conversion system in the next resource conversion cycle" can reduce the number of resources of a preset resource type that the proxy resource conversion system needs to additionally provide, thereby enabling the proxy resource conversion system to obtain more resources of the preset resource type, even if the resources of the preset resource type can be converted in the next resource conversion cycle. When the amount of resources of the specified resource type obtained is far less than the amount of resources of the specified resource type that can be converted from the resources of the preset resource type in the current resource conversion cycle, the proxy resource conversion system can also obtain the specified amount of resources of the specified resource type from the local resource conversion system in the next resource conversion cycle based on more resources of the preset resource type, thereby compensating the resources of the specified resource type transmitted by the proxy resource conversion system to the resource conversion requester in response to the resource conversion request based on the resources of the specified resource type obtained from the local resource conversion system, thereby making up for the resources of the specified resource type transmitted by the proxy resource conversion system to the resource conversion requester in response to the resource conversion request, thereby making the total amount of resources of the specified resource type in the resources of the specified resource type basically remain unchanged, so that the proxy resource conversion system can operate stably based on the basically unchanged total amount of resources of the specified resource type.

[0104] In one of the embodiments, determining the associated resource types associated with the specified resource type includes: obtaining a preset resource association relationship table, searching the association relationship table for a target selected resource type that matches the specified resource type; using the resource types associated with the target selected resource type recorded in the association relationship table as the associated resource types associated with the specified resource type; and obtaining a specified amount of resources of the associated resource types associated with the specified resource type from an external domain resource conversion system during the current resource conversion cycle.

[0105] Specifically, an association table may be pre-set, wherein the association table records resource types associated with a plurality of selected resource types, for example, Figure 8 , the resource type associated with the selected resource type A can be recorded as B, and the resource type associated with the selected resource type C can be recorded as D in the association relationship table, so that the computer device can search for the target selected resource type that matches the specified resource type from the preset association relationship table, for example, search for the target selected resource type that is the same as the specified resource type, and use the resource type associated with the target selected resource type recorded in the association relationship table as the associated resource type associated with the specified resource type. Figure 8 A schematic diagram of an association relationship table in an embodiment is shown.

[0106] In this embodiment, by presetting the association relationship table, when it is necessary to determine the type of associated resources, the corresponding associated resource type can be found out from the association relationship table conveniently and quickly, thereby improving the efficiency of determining the type of associated resources.

[0107] In one embodiment, the step of generating an association relationship table includes: for each selected resource type among a plurality of preset selected resource types, determining a selected related resource type having a fixed resource conversion rate with the selected resource type; determining a cyclic conversion rate difference between the preset resource type and the selected resource type, and determining a cyclic conversion rate difference between the preset resource type and the selected related resource type; when the cyclic conversion rate difference between the preset resource type and the selected resource type is greater than the cyclic conversion rate difference between the preset resource type and the selected related resource type, using the selected related resource type as a resource type associated with the selected resource type; and obtaining an association relationship table by combining the plurality of selected resource types and the resource types associated with the plurality of selected resource types.

[0108] Specifically, the association table may include a plurality of selected resource types. The plurality of selected resource types may be resource types selected in advance by the administrator of the proxy management system from a plurality of resource types. For each selected resource type included in the association table, the computer device may determine a selected contact resource type with a fixed resource conversion rate between the selected resource type; for example, when the administrator of the proxy management system selects resource type A, resource type A may be used as the selected resource type, and the computer device may determine a contact resource type with a fixed resource conversion rate between the selected resource type A, and use the determined resource type as the selected contact resource type of the selected resource type. Among them, the fixed resource conversion rate refers to a fixed resource conversion rate, which does not change with changes in external factors. Further, the computer device determines the cyclic conversion rate difference between the preset resource type and the selected resource type, and the cyclic conversion rate difference between the preset resource type and the selected resource type is referred to as the first cyclic conversion rate difference, and the computer device determines the cyclic conversion rate difference between the preset resource type and the selected contact resource type, and the cyclic resource conversion amount difference between the preset resource type and the selected contact resource type is referred to as the second cyclic conversion rate difference. The cyclic conversion rate difference may be used to characterize the cost that the proxy resource conversion system needs to pay after providing a certain amount of resources of a resource type and obtaining the same amount of resources of the same resource type.

[0109] Further, the computer device determines the difference between the first cycle conversion rate difference and the second cycle conversion rate difference. If the first cycle conversion rate difference is greater than the second cycle conversion rate difference, it is considered that after the proxy resource conversion system provides a certain amount of resources of the selected resource type and obtains the same amount of resources of the selected resource type, the cost that the proxy resource conversion system needs to pay will be greater than the cost that the proxy resource conversion system needs to pay when providing a certain amount of resources of the selected contact resource type and obtaining a certain amount of resources of the selected contact resource type. Therefore, in order to reduce the cost that the proxy resource conversion system needs to pay, the computer device uses the selected contact resource type as the associated resource type associated with the selected resource type. Thus, when the proxy resource conversion system in the computer device subsequently executes "obtaining a specified amount of resources of the associated resource type associated with the specified resource type from the external domain resource conversion system in the current resource conversion cycle; providing a specified amount of resources of the associated resource type associated with the specified resource type to the external domain resource conversion system in the next resource conversion cycle" based on the associated resource conversion type associated with the specified resource type, the cost that the proxy resource conversion system needs to pay can be reduced.

[0110] Furthermore, the computer device may obtain an association relationship table by integrating the multiple resource types and the associated resource types associated with the multiple resource types.

[0111] In this embodiment, by making the first cycle conversion rate difference greater than the second cycle conversion rate difference, the selected associated resource type with a fixed resource conversion rate between the selected resource type and the targeted selected resource type is used as the associated resource type associated with the targeted selected resource type, so that compared with the cost that the proxy resource conversion system of the computer device needs to pay for "obtaining a specified amount of resources of a specified resource type from the external domain resource conversion system in the current resource conversion cycle; providing a specified amount of resources of a specified resource type to the external domain resource conversion system in the next resource conversion cycle", the process of "obtaining a specified amount of resources of an associated resource type associated with the specified resource type from the external domain resource conversion system in the current resource conversion cycle; providing a specified amount of resources of an associated resource type associated with the specified resource type to the external domain resource conversion system in the next resource conversion cycle" can be performed at a lower cost. The cost can be the resources consumed by the proxy resource conversion system in the computer device.

[0112] In one of the embodiments, determining the cyclic conversion rate difference between a preset resource type and a selected resource type includes: determining a fifth resource amount of the preset resource type that needs to be provided to the external resource conversion system when obtaining a unit resource amount of the selected resource type from the external resource conversion system; determining a sixth resource amount of the preset resource type returned by the external resource conversion system when providing a unit resource amount of the selected resource type to the external resource conversion system; determining a first difference between the sixth resource amount and the fifth resource amount, and determining a first ratio between the first difference and the sixth resource amount; and using the first ratio as a means of determining the cyclic conversion rate difference between the preset resource type and the selected resource type.

[0113] Specifically, the computer device determines that when the proxy resource conversion system obtains a unit amount of resources for the selected resource type from the external domain resource conversion system, the amount of resources of the preset resource type that needs to be provided to the external domain resource conversion system, and the resource amount is called the fifth resource amount. For example, when the computer device determines that the proxy resource conversion system obtains 1 resource for the selected resource type from the external domain resource conversion system, 7 resources of the preset resource type need to be provided to the external domain resource conversion system. And when the computer device determines that when the proxy resource conversion system provides a unit amount of resources for the selected resource type to the external domain resource conversion system, the amount of resources of the preset resource type that the external domain resource conversion system can return, and the resource amount is called the sixth resource amount. For example, when the computer device determines that when the proxy resource conversion system provides 1 resource for the selected resource type to the external domain resource conversion system, the external domain resource conversion system can return 6 resources of the preset resource type. Further, the computer device subtracts the fifth resource amount from the sixth resource amount to obtain the difference between the sixth resource amount and the fifth resource amount, and the difference is called the first difference. The computer device determines the ratio between the first difference and the sixth resource amount, and calls the ratio the first ratio, and uses the first ratio as the first cyclic conversion amount difference. The first cyclic conversion amount difference at this time can reflect the amount of resources of the preset resource type that the proxy resource conversion system needs to pay after obtaining the resources of the selected resource type per unit resource amount from the external domain resource conversion system and then providing the resources of the selected resource type per unit resource amount to the external domain resource conversion system, and the amount of resources of the preset resource type paid can be considered as the above-mentioned cost.

[0114] In one of the embodiments, determining the cyclic conversion rate difference between the preset resource type and the selected related resource type includes: determining the seventh resource amount of the preset resource type that needs to be provided to the external domain resource conversion system when obtaining a unit resource amount of the selected related resource type from the external domain resource conversion system; determining the eighth resource amount of the preset resource type returned by the external domain resource conversion system when providing a unit resource amount of the selected related resource type to the external domain resource conversion system; determining a second difference between the eighth resource amount and the seventh resource amount, and determining a second ratio between the second difference and the eighth resource amount; and using the second ratio as the cyclic conversion rate difference between the preset resource type and the selected related resource type.

[0115] Specifically, the computer device determines the amount of resources of the preset resource type that the proxy resource conversion system needs to provide to the external domain resource conversion system when the proxy resource conversion system obtains a unit amount of resources of the contact resource type from the external domain resource conversion system, and the amount of resources is called the seventh resource amount. For example, when the computer device determines that the proxy resource conversion system obtains 1 resource of the contact selected resource type from the external domain resource conversion system, 7 resources of the preset resource type need to be provided to the external domain resource conversion system. And when the computer device determines that the proxy resource conversion system provides a unit amount of resources of the contact resource type to the external domain resource conversion system, the amount of resources of the preset resource type that the external domain resource conversion system can return, and the amount of resources is called the eighth resource amount. For example, when the computer device determines that the proxy resource conversion system provides 1 resource of the contact resource type to the external domain resource conversion system, the external domain resource conversion system can return 6 resources of the preset resource type. Furthermore, the computer device subtracts the seventh resource amount from the eighth resource amount to obtain the difference between the eighth resource amount and the seventh resource amount, and refers to the difference as the second difference, and determines the ratio between the second difference and the eighth resource amount, and refers to the ratio as the second ratio, and uses the second ratio as the second cyclic conversion rate difference. The second cyclic conversion rate difference at this time can reflect the amount of resources of the preset resource type that the proxy resource conversion system needs to pay after obtaining the resources of the contact resource type per unit resource amount from the external domain resource conversion system and then providing the resources of the contact selected resource type per unit resource amount to the external domain resource conversion system, and the amount of resources of the preset resource type paid can be considered as the above-mentioned cost.

[0116] In the above embodiment, by determining the fifth resource amount and the sixth resource amount, the first cycle conversion rate difference characterizing the cost can be accurately determined based on the fifth resource amount and the sixth resource amount; by determining the seventh resource amount and the eighth resource amount, the second cycle conversion rate difference characterizing the cost can be accurately determined based on the seventh resource amount and the eighth resource amount.

[0117] In one of the embodiments, the above method also includes: when the cyclic conversion rate difference between the preset resource type and the selected resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the selected associated resource type, the selected resource type is used as the resource type associated with the selected resource type.

[0118] Specifically, when the first cycle conversion rate difference is less than or equal to the second cycle conversion rate difference, it can be considered that after the proxy resource conversion system provides a certain amount of resources of the targeted selected resource type and obtains the same amount of resources of the targeted selected resource type, the cost that the proxy resource conversion system needs to pay will be less than or equal to the cost that the proxy resource conversion system needs to pay when it provides a certain amount of resources of the associated resource type and obtains a certain amount of resources of the associated resource type. Therefore, in order to reduce the cost that the proxy resource conversion system needs to pay, the computer device uses the targeted selected resource type itself as a resource type associated with the targeted selected resource type.

[0119] In one of the embodiments, the above method also includes: when the change trend is that the amount of resources of the optional resource type that can be converted from the resources of the specified resource type increases or remains unchanged, then during the next resource conversion cycle, when the resource conversion system of this domain is turned on, triggering the acquisition of a specified amount of resources of the specified resource type from the resource conversion system of this domain.

[0120] Specifically, when the changing trend is that the amount of optional resource types that can be converted from resources of the specified resource type increases or remains unchanged, it can be considered that the proxy resource conversion system does not have a potential risk of system crash. At this time, the proxy resource conversion system in the computer device obtains a specified amount of resources of the specified resource type from the local domain resource conversion system during the next resource conversion cycle when the local domain resource conversion system is turned on.

[0121] In this embodiment, by not executing the step of "obtaining a specified amount of resources of the specified resource type from an external domain resource conversion system during the current resource conversion cycle, and providing a specified amount of resources of the specified resource type to the external domain resource conversion system during the next resource conversion cycle" when the change trend is that the amount of resources of the optional resource type that can be converted from the resources of the specified resource type increases or remains unchanged, the energy and other resources consumed by executing "obtaining a specified amount of resources of the specified resource type from an external domain resource conversion system during the current resource conversion cycle, and providing a specified amount of resources of the specified resource type to the external domain resource conversion system during the next resource conversion cycle" can be reduced.

[0122] In one embodiment, reference Fig. 9, step 901, when the proxy resource conversion system receives a resource conversion request triggered by the resource conversion requester during the current resource conversion cycle and when the domain resource conversion system is closed, step 902, the proxy resource conversion party may record the request information of the resource conversion request in the request information recording table, and record the request information indicating the same indicated resource type in the same information row. Further, step 903, for each information row in the request information recording table, the proxy resource conversion system may perform system crash risk detection. For the targeted information row, the proxy resource conversion system may determine the target specified resource conversion type indicated by the request information in the targeted information row, step 904, and obtain the resource conversion trend label between the target specified resource conversion type and the preset resource type for the current resource conversion cycle. Step 905, if the resource conversion trend label indicates that the amount of the target specified resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle remains unchanged or increases, then the specified amount of the target specified resource type resources is obtained from the domain resource conversion system in the next resource conversion cycle. Step 906: If the resource conversion trend tag indicates that the amount of target specified resource types that can be converted from the resources of the preset resource types in the next resource conversion cycle is reduced, the target associated resource types associated with the target specified resource types are queried. Step 907: The proxy resource conversion system information obtains the specified amount of target associated resource types from the external domain resource conversion system in the current resource conversion cycle; generates a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of target associated resource types to the external domain resource conversion system in the next resource conversion cycle, and obtain the specified amount of specified resource types from the local domain resource conversion system. Fig. 9 A schematic diagram of the overall process of resource conversion in an embodiment is shown.

[0123] In one specific embodiment, reference Fig.10 , provides a resource conversion method, including:

[0124] Step 1002, the computer device obtains the corresponding resource conversion rates between the preset resource type and the specified resource type in multiple consecutive resource conversion cycles; based on the corresponding resource conversion rates in multiple consecutive resource conversion cycles, determines the average resource conversion rate between the preset resource type and the specified resource type.

[0125] Step 1004: The computer device extracts the current resource conversion rate corresponding to the current resource conversion cycle from the resource conversion rates corresponding to the multiple consecutive resource conversion cycles.

[0126] Step 1006, the computer device determines the first resource amount of the specified resource type that can be converted from the preset resource type per unit resource amount based on the current resource conversion rate; the computer device determines the second resource amount of the specified resource type that can be converted from the preset resource type per unit resource amount based on the mean resource conversion rate.

[0127] Step 1008, when the first resource amount is less than the second resource amount, the computer device determines a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label representing a decrease in the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle.

[0128] Step 1010, during the current resource conversion cycle, when the domain resource conversion system is closed, the computer device responds to the resource conversion request of the resource conversion requester, provides the resource conversion requester with a specified amount of resources of a specified resource type, and correspondingly obtains resources of the preset resource type of the resource conversion requester.

[0129] Step 1012: The computer device obtains a resource conversion trend tag between a preset resource type and a specified resource type for the current resource conversion cycle.

[0130] Step 1014, when the resource conversion trend label indicates that the amount of resources of the preset resource type that can be converted into the specified resource type in the next resource conversion cycle is reduced, the computer device obtains a preset resource association table; the association table records the associated resource types associated with multiple selected resource types.

[0131] Step 1016: The computer device searches the association table for a target selected resource type that matches the designated resource type, and uses the resource type associated with the target selected resource type recorded in the association table as an associated resource type associated with the designated resource type.

[0132] Step 1018, the computer device obtains the specified amount of resources of the associated resource type associated with the specified resource type from the external domain resource conversion system during the current resource conversion cycle; generates a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of resources of the associated resource type associated with the specified resource type to the external domain resource conversion system during the next resource conversion cycle, and obtain the specified amount of resources of the associated resource type associated with the specified resource type from the local domain resource conversion system.

[0133] Step 1020, when the change trend is that the amount of optional resource types that can be converted from resources of the specified resource type increases or remains unchanged, the computer device triggers obtaining a specified amount of resources of the specified resource type from the resource conversion system of the domain when the resource conversion system of the domain is turned on during the next resource conversion cycle.

[0134] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0135] The present application also provides an application scenario, which applies the above-mentioned resource conversion method. Specifically, the application of the resource conversion method in the application scenario is as follows:

[0136] First, a request information record table needs to be defined. The request information record table uses the currency of the preset currency type (also known as the preset resource type) as the standard currency, and records the amount of currency of different specified currency types (also known as specified resource types). The request information record table records the currency conversion requests (also known as resource conversion requests) executed between the proxy resource conversion system and merchants by currency pairs when the onshore market (also known as the local resource conversion system) is closed on the same day. For example:

[0137] Table 1: Request information record table

[0138]

[0139] ID101, 102, 103, 104 respectively record the currency conversion requests reached between the merchant and the agent resource conversion system during the onshore market closure period (also known as the period when the local resource conversion system has been closed). The night risk management label of the currency pair (also known as the resource conversion trend label) is obtained by comparing the currency amount that can be converted on the day of the currency pair with its 20-day moving average. For example, in the case of a currency pair (including currency type A and currency type B), it is obtained by comparing the currency amount of currency type B that can be converted by 1 currency type A on the day with its 20-day moving average. The 20-day moving average of the currency pair, MOP_20, is obtained by averaging the currency amount of currency type B that can be converted by 1 currency type A in the last 20 days of the currency pair. If the currency amount of currency type B that can be converted by 1 currency type A on the day of the currency pair, MOP_last, is less than MOP_20, the night risk management label of the currency pair is set to "on".

[0140] In addition, it is necessary to preset the associated currency types (also called associated resource types) corresponding to each specified currency type in advance. For example, the association relationship table can be used to record the association relationship. The association relationship table is as follows:

[0141] Table 2: Association table

[0142] Specify currency Related currencies Type B U Type C Type H Type E-type E Type

[0143] Assume that the night risk management label of "A currency type - B currency type" in this request information record table is "On", the night risk management label of "A currency type - C currency type" is "On", and the night risk management label of "A currency type - D currency type" is "Off", that is, the labels of the first two are "On", and the label of the last is "Off". Then that night, 10,000 of currency type U and 10,000 of currency type H are purchased in the offshore market (also known as the foreign resource conversion system), and when the onshore market opens, 10,000 of currency type U and 10,000 of currency type H are sold in the offshore market, and 10,000 of currency type B, 10,000 of currency type C, and 10,000 of currency type D are bought in the onshore market.

[0144] Among all the designated currencies, the associated currencies with fixed exchange rates (also known as fixed resource conversion rates) are selected, such as the associated currency of H currency is U currency, the associated currency of M currency is H currency, etc. The buying and selling spread (also known as the circular conversion rate spread) between "the preset currency and the designated currency" in the offshore market is compared with the buying and selling spread between "the preset currency and the corresponding associated currency", and which method has a smaller spread. Taking M currency as an example, the spread of the preset currency buying and selling currency of M currency is 0.004, while the spread of the preset currency buying and selling currency of H currency is about 0.0005, so the associated currency is set to H currency, and other currencies have no associated currency or the associated currency buying and selling spread does not have a spread advantage, and the associated currency is set to the currency itself.

[0145] The present application also provides an application scenario, which applies the above-mentioned resource conversion method.

[0146] Specifically, the application of the resource conversion method in this application scenario is as follows:

[0147] The resource is specifically memory; the resource conversion requester is specifically a memory applicant who applies for memory for storing vehicle traffic; the proxy resource conversion system is specifically a system with a third-party memory pool, the external domain resource conversion system is specifically a system with a first target memory pool, and the local domain resource conversion system can be specifically a system with a second target memory pool. When the memory application is successful, it can be considered that part of the public memory in the third-party memory pool will be converted into private memory that is only limited to the memory applicant. When the memory applicant releases the occupied private memory to the third-party memory pool, the private memory will be changed to public memory. Therefore, the conversion between public resources and private resources can be considered as the conversion between resources of a specified resource type and resources of a preset resource type. It is also possible to release the public memory in the third-party memory pool to the first target memory pool or the second target memory pool, or to apply for memory from the first target memory pool or the second target application pool to the third-party memory pool. Among them, since the memory in the third-party memory pool is dedicated to the third-party memory pool, and the memory in the target memory pool can be shared by multiple third-party memory pools, compared with the third-party memory pool, the memory in the third-party memory pool is private memory, and the memory in the first target memory pool or the second target memory pool is public memory. Therefore, when the memory in the third-party memory pool is released to the first target memory pool or the second target memory pool, it can be considered as converting private memory to public memory, and when applying for memory from the first target memory pool or the second target memory pool to the third-party memory pool, it can be considered as converting public memory to private memory. Therefore, the conversion between public resources and private resources can be considered as the conversion between resources of a specified resource type and resources of a preset resource type.

[0148] When it is necessary to apply for memory from the first target memory pool or the second target memory pool, the memory application status of the first target memory pool or the second target memory pool can be determined, and the memory conversion rate between platforms can be determined based on the memory application status of the first target memory pool or the second target memory pool, so that the resource conversion rate between public resources and private resources will change. For example, when there is more free memory in the first target memory pool, more memory in the first target memory pool will be converted to memory in the third-party resource pool, and the converted memory size is greater than the memory conversion amount between platforms; when there is less free memory in the first target memory pool, less memory in the first target memory pool will be converted to memory in the third-party resource pool. When it is necessary to release the memory in the third-party memory pool to the first target memory pool, the memory application status of the third-party memory pool can be determined, and the inter-platform memory conversion rate can be determined based on the memory application status of the third-party memory pool, so that when there is more free memory in the third-party memory pool, more memory in the third-party memory pool is released to the first target memory pool, for example, the released memory can be equal to the inter-platform memory conversion amount; when there is less free memory in the first target memory pool, less memory in the third-party memory pool is released to the first target memory pool, for example, the released memory can be less than the inter-platform memory conversion amount. In this way, the memory utilization rate can be improved based on the flexible conversion between private memory and public memory.

[0149] In the above scenario, the proxy resource conversion system provides a specified amount of memory to the resource conversion requester in response to the resource conversion request of the resource conversion requester during the current resource conversion cycle when the local domain resource conversion system is closed. The proxy resource conversion system obtains a memory conversion trend label, and when the memory conversion trend label indicates that the memory that can be recovered in the next resource conversion cycle is reduced, the proxy resource conversion system obtains a specified amount of memory from the external domain resource conversion system during the current resource conversion cycle, and generates a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide a specified amount of memory to the external domain resource conversion system during the next resource conversion cycle, and obtain a specified amount of memory of a specified resource type from the local domain resource conversion system.

[0150] The above application scenarios are merely illustrative illustrations. It is to be understood that the application of the resource conversion methods provided in the embodiments of the present application is not limited to the above scenarios.

[0151] Based on the same inventive concept, the embodiment of the present application also provides a resource conversion device for implementing the resource conversion method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource conversion device embodiments provided below can refer to the limitations on the resource conversion method above, and will not be repeated here.

[0152] In one embodiment, Fig.11 As shown, a resource conversion device 1100 is provided, comprising: a resource conversion request response module 1102, a trend tag acquisition module 1104 and a multiple resource conversion module 1106, wherein:

[0153] The resource conversion request response module 1102 is used to respond to the resource conversion request of the resource conversion requester during the current resource conversion cycle when the resource conversion system of this domain has been shut down, provide the resource conversion requester with a specified amount of resources of a specified resource type, and correspondingly obtain resources of the preset resource type of the resource conversion requester.

[0154] The trend tag acquisition module 1104 is used to acquire the resource conversion trend tag between the preset resource type and the specified resource type for the current resource conversion cycle.

[0155] The multiple resource conversion module 1106 is used to obtain a specified amount of resources of an associated resource type from an external domain resource conversion system within the current resource conversion cycle when the resource conversion trend label indicates that the amount of resources of a preset resource type that can be converted into a specified resource type in the next resource conversion cycle is reduced; the associated resource type includes a specified resource type or a related resource type with a fixed resource conversion rate between the specified resource type and the specified resource type; generate a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide a specified amount of resources of an associated resource type to the external domain resource conversion system within the next resource conversion cycle, and obtain a specified amount of resources of a specified resource type from the local domain resource conversion system.

[0156] In one of the embodiments, the trend label acquisition module 1104 is also used to obtain the corresponding resource conversion rates between the preset resource type and the specified resource type in multiple consecutive resource conversion cycles; based on the corresponding resource conversion rates in the obtained multiple consecutive resource conversion cycles, determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle.

[0157] In one of the embodiments, the trend label acquisition module 1104 is also used to determine the average resource conversion rate between the preset resource type and the specified resource type based on the resource conversion rates corresponding to each of the multiple consecutive resource conversion cycles; extract the current resource conversion rate corresponding to the current resource conversion cycle from the resource conversion rates corresponding to each of the multiple consecutive resource conversion cycles; and determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle based on the average resource conversion rate and the current resource conversion rate.

[0158] In one embodiment, the trend label acquisition module 1104 is also used to determine, based on the current resource conversion rate, a first resource amount of a specified resource type that can be converted from resources of a preset resource type per unit resource amount; determine, based on the mean resource conversion rate, a second resource amount of a specified resource type that can be converted from resources of a preset resource type per unit resource amount; and when the first resource amount is less than the second resource amount, determine a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label representing a decrease in the resource amount of the selected resource type that can be converted from resources of the preset resource type in the next resource conversion cycle.

[0159] In one embodiment, the trend label acquisition module 1104 is also used to determine the resource conversion rate between the preset resource type and the specified resource type at a first time point in the current resource conversion cycle; determine the resource conversion rate between the preset resource type and the specified resource type at a second time point in the current resource conversion cycle; the first time point is earlier than the second time point; based on the resource conversion rate at the first time point, determine the third resource amount of the specified resource type that can be converted by the unit resource amount of resources of the preset resource type; based on the resource conversion rate at the second time point, determine the fourth resource amount of the specified resource type that can be converted by the unit resource amount of resources of the preset resource type; when the fourth resource amount is less than the third resource amount, and the first resource amount is less than the second resource amount, determine the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label indicating that the resource amount of the selected resource type that can be converted by the resources of the preset resource type in the next resource conversion cycle is reduced.

[0160] In one of the embodiments, when the cyclic conversion rate difference between the preset resource type and the designated resource type provided by the external domain resource conversion system is less than or equal to the cyclic conversion rate difference between the preset resource type and the associated resource type provided by the external domain resource conversion system, the associated resource type is determined to be the designated resource type;

[0161] The cyclic conversion rate difference between the preset resource type and the specified resource type provided by the external domain resource conversion system is the difference between the first inflow resource conversion rate and the first outflow resource conversion rate; the first inflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system receives resources of the specified resource type; the first outflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system provides resources of the specified resource type;

[0162] The cyclic conversion rate difference between the preset resource type and the contact resource type provided by the external domain resource conversion system is the difference between the second incoming resource conversion rate and the second outgoing resource conversion rate; the second inflow resource conversion rate is the resource conversion rate between the preset resource type and the contact resource type adopted when the external domain resource conversion system receives resources of the contact resource type; the second outflow resource conversion rate is the resource conversion rate between the preset resource type and the contact resource type adopted when the external domain resource conversion system provides resources of the contact resource type.

[0163] In one of the embodiments, the multiple resource conversion module 1106 is also used to obtain a preset resource association table, and search the association table for a target selected resource type that matches the specified resource type; use the resource type associated with the target selected resource type recorded in the association table as the associated resource type associated with the specified resource type; and obtain a specified amount of resources of the associated resource type associated with the specified resource type from an external domain resource conversion system during the current resource conversion cycle.

[0164] In one embodiment, the resource conversion device 1100 also includes an association relationship table generation module, which is used to determine, for each selected resource type in a preset plurality of selected resource types, a selected related resource type having a fixed resource conversion rate with the selected resource type; determine the cyclic conversion rate difference between the preset resource type and the selected resource type, and determine the cyclic conversion rate difference between the preset resource type and the selected related resource type; when the cyclic conversion rate difference between the preset resource type and the selected resource type is greater than the cyclic conversion rate difference between the preset resource type and the selected related resource type, the selected related resource type is used as the resource type associated with the selected resource type; and obtain an association relationship table by combining the plurality of selected resource types and the resource types associated with the plurality of selected resource types.

[0165] In one of the embodiments, the association relationship table generation module is also used to determine the fifth resource amount of the preset resource type that needs to be provided to the external domain resource conversion system when obtaining a unit resource amount of resources for the selected resource type from the external domain resource conversion system; determine the sixth resource amount of the preset resource type returned by the external domain resource conversion system when providing a unit resource amount of resources for the selected resource type to the external domain resource conversion system; determine a first difference between the sixth resource amount and the fifth resource amount, and determine a first ratio between the first difference and the sixth resource amount; and use the first ratio as the cyclic conversion rate difference between the preset resource type and the selected resource type.

[0166] In one of the embodiments, the association relationship table generation module is also used to determine the seventh resource amount of the preset resource type that needs to be provided to the external domain resource conversion system when obtaining a unit resource amount of a related resource type from the external domain resource conversion system; determine the eighth resource amount of the preset resource type returned by the external domain resource conversion system when providing a unit resource amount of a related resource type to the external domain resource conversion system; determine the second difference between the eighth resource amount and the seventh resource amount, and determine the second ratio between the second difference and the eighth resource amount; and use the second ratio as the cyclic conversion rate difference between the preset resource type and the selected related resource type.

[0167] In one of the embodiments, the association relationship table generation module is also used to use the selected resource type as the resource type associated with the selected resource type when the difference in cyclic conversion rate between the preset resource type and the selected resource type is less than or equal to the difference in cyclic conversion rate between the preset resource type and the selected associated resource type.

[0168] In one of the embodiments, the multiple resource conversion module 1106 is also used to trigger obtaining a specified amount of resources of a specified resource type from the resource conversion system of the local domain when the resource conversion system of the local domain is turned on during the next resource conversion cycle when the resource conversion system of the local domain is turned on.

[0169] Each module in the resource conversion device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0170] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.12As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. 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. 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 resource conversion data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource conversion method is implemented.

[0171] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.13 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a resource conversion method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0172] Those skilled in the art will understand that Figure 12 to Figure 13The structure shown in the figure is only a block diagram of a part of the structure 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 a different arrangement of components.

[0173] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0174] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0175] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0176] 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 used for analysis, stored data, displayed data, etc.) involved in this 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 must comply with relevant laws, regulations and standards of relevant countries and regions.

[0177] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory 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 memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0178] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0179] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource conversion method, characterized in that: The method comprises: In the current resource conversion cycle, when the resource conversion system of the domain is closed, in response to a resource conversion request from a resource conversion requester, a specified amount of resources of a specified resource type is provided to the resource conversion requester, and accordingly resources of a preset resource type of the resource conversion requester are obtained; Obtaining a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle; When the resource conversion trend label indicates that the amount of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced, the specified amount of resources of the associated resource type are obtained from the external domain resource conversion system within the current resource conversion cycle; the associated resource type includes the specified resource type or one of the associated resource types with a fixed resource conversion rate between the specified resource type and the specified resource type; Generate a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of resources of the associated resource type to the external domain resource conversion system during the next resource conversion cycle, and obtain the specified amount of resources of the specified resource type from the local domain resource conversion system.

2. The method according to claim 1, characterized in that The step of determining the resource conversion trend label for the current resource conversion cycle includes: Obtaining resource conversion rates corresponding to the preset resource type and the specified resource type in a plurality of consecutive resource conversion cycles; According to the acquired resource conversion rates corresponding to the plurality of consecutive resource conversion periods, a resource conversion trend label for the current resource conversion period between the preset resource type and the designated resource type is determined.

3. The method according to claim 2, characterized in that The determining, according to the acquired resource conversion rates corresponding to each of the plurality of consecutive resource conversion periods, a resource conversion trend label between the preset resource type and the designated resource type for the current resource conversion period comprises: Determining a mean value of the resource conversion rates between the preset resource type and the specified resource type according to the resource conversion rates corresponding to each of the plurality of consecutive resource conversion cycles; Extracting the current resource conversion rate corresponding to the current resource conversion period from the resource conversion rates corresponding to the multiple consecutive resource conversion periods respectively obtained; According to the resource conversion rate mean and the current resource conversion rate, a resource conversion trend label between the preset resource type and the designated resource type for the current resource conversion period is determined.

4. The method according to claim 3, characterized in that: The determining, according to the resource conversion rate mean and the current resource conversion rate, a resource conversion trend label between the preset resource type and the designated resource type for the current resource conversion period includes: Determine, according to the current resource conversion rate, a first resource amount of a specified resource type that can be converted from a resource of a preset resource type per unit resource amount; Determining, according to the resource conversion rate mean, a second resource amount of a specified resource type that can be converted from a resource of a preset resource type per unit resource amount; When the first resource amount is less than the second resource amount, the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle is determined, which is a label representing a decrease in the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle.

5. The method according to claim 4, characterized in that When the first resource amount is less than the second resource amount, determining a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle, which is a label indicating that the resource amount of the selected resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced, includes: Determine a resource conversion rate between the preset resource type and the specified resource type at a first time point in the current resource conversion cycle; Determine a resource conversion rate between the preset resource type and the specified resource type at a second time point within the current resource conversion cycle; the first time point is earlier than the second time point; Determining, according to the resource conversion rate at the first time point, a third resource amount of a specified resource type that can be converted from a unit resource amount of the resource of the preset resource type; Determining, according to the resource conversion rate at the second time point, a fourth resource amount of a specified resource type that can be converted from a unit resource amount of the resource of the preset resource type; When the fourth resource amount is less than the third resource amount, and the first resource amount is less than the second resource amount, the resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle is determined, which is a label indicating a reduction in the resource amount of the selected resource type that can be obtained by converting the resources of the preset resource type in the next resource conversion cycle.

6. The method according to claim 1, characterized in that When the cyclic conversion rate difference between the preset resource type and the designated resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the associated resource type, determining the associated resource type to be the designated resource type; The cyclic conversion rate difference between the preset resource type and the specified resource type is the difference between the first inflow resource conversion rate and the first outflow resource conversion rate; the first inflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system receives the resource of the specified resource type; the first outflow resource conversion rate is the resource conversion rate between the preset resource type and the specified resource type adopted when the external domain resource conversion system provides the resource of the specified resource type; The cyclic conversion rate difference between the preset resource type and the contact resource type is the difference between the second incoming resource conversion rate and the second outgoing resource conversion rate; the second incoming resource conversion rate is the resource conversion rate between the preset resource type and the contact resource type adopted when the external domain resource conversion system receives resources of the contact resource type; the second outgoing resource conversion rate is the resource conversion rate between the preset resource type and the contact resource type adopted when the external domain resource conversion system provides resources of the contact resource type.

7. The method according to claim 1, characterized in that The acquiring the specified amount of resources of the associated resource type from the external domain resource conversion system within the current resource conversion cycle includes: Obtaining a preset resource association table, and searching the association table for a target selected resource type that matches the specified resource type; Using the resource type associated with the target selected resource type recorded in the association relationship table as the associated resource type associated with the designated resource type; In the current resource conversion cycle, the specified amount of resources of the associated resource type associated with the specified resource type are acquired from the external domain resource conversion system.

8. The method according to claim 7, characterized in that The step of generating the association relationship table includes: For each selected resource type among the preset multiple selected resource types, determining a selected related resource type having a fixed resource conversion rate with the selected resource type; Determining a cyclic conversion rate difference between the preset resource type and the targeted selected resource type, and determining a cyclic conversion rate difference between the preset resource type and the selected contact resource type; When the cyclic conversion rate difference between the preset resource type and the targeted selected resource type is greater than the cyclic conversion rate difference between the preset resource type and the selected associated resource type, the selected associated resource type is used as the resource type associated with the targeted selected resource type; The plurality of selected resource types and the resource types respectively associated with the plurality of selected resource types are integrated to obtain an association relationship table.

9. The method according to claim 8, characterized in that The determining of the cyclic conversion rate difference between the preset resource type and the targeted selected resource type includes: Determine the fifth resource amount of the preset resource type to be provided to the external domain resource conversion system when obtaining the resource of the selected resource type with a unit resource amount from the external domain resource conversion system; When determining to provide the resource of the selected resource type with a unit resource amount to the external domain resource conversion system, the external domain resource conversion system returns a sixth resource amount of the preset resource type; determining a first difference between the sixth resource amount and the fifth resource amount, and determining a first ratio between the first difference and the sixth resource amount; The first ratio is used to determine the cyclic conversion rate difference between the preset resource type and the targeted selected resource type.

10. The method according to claim 8, characterized in that The determining of the cycle conversion rate difference between the preset resource type and the selected contact resource type includes: Determine the seventh resource amount of the preset resource type to be provided to the external domain resource conversion system when obtaining the resource of the selected related resource type in unit resource amount from the external domain resource conversion system; When determining to provide the resource of the selected related resource type with a unit resource amount to the external domain resource conversion system, the external domain resource conversion system returns an eighth resource amount of the preset resource type; determining a second difference between the eighth resource amount and the seventh resource amount, and determining a second ratio between the second difference and the eighth resource amount; The second ratio is used to determine the cyclic conversion rate difference between the preset resource type and the selected associated resource type.

11. The method according to claim 8, characterized in that The method further comprises: When the cyclic conversion rate difference between the preset resource type and the targeted selected resource type is less than or equal to the cyclic conversion rate difference between the preset resource type and the selected associated resource type, the targeted selected resource type is used as the resource type associated with the targeted selected resource type.

12. The method according to claim 1, characterized in that The method further comprises: When the change trend is that the amount of resources of the optional resource type that can be converted from the resources of the specified resource type increases or remains unchanged, then in the next resource conversion cycle, when the local domain resource conversion system is turned on, it is triggered to obtain the specified amount of resources of the specified resource type from the local domain resource conversion system.

13. A resource conversion device, characterized in that: The device comprises: A resource conversion request response module, used to provide a specified amount of resources of a specified resource type to the resource conversion requester in response to a resource conversion request from the resource conversion requester during the current resource conversion cycle, when the resource conversion system of the domain has been shut down, and correspondingly obtain resources of a preset resource type of the resource conversion requester; A trend label acquisition module, used to acquire a resource conversion trend label between the preset resource type and the specified resource type for the current resource conversion cycle; A multiple resource conversion module is used to obtain the specified amount of resources of the associated resource type from the external domain resource conversion system within the current resource conversion cycle when the resource conversion trend label indicates that the amount of resources of the specified resource type that can be converted from the resources of the preset resource type in the next resource conversion cycle is reduced; the associated resource type includes the specified resource type or one of the associated resource types with a fixed resource conversion rate between the specified resource type and the specified resource type; generate a resource conversion plan task triggered in the next resource conversion cycle; the resource conversion plan task is used to provide the specified amount of resources of the associated resource type to the external domain resource conversion system within the next resource conversion cycle, and obtain the specified amount of resources of the specified resource type from the local domain resource conversion system.

14. A computer device comprising a memory and a processor, wherein the memory stores 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 12 are implemented.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.