Resource data interaction method, system and device, computer equipment and storage medium
By judging the service status in resource data interaction and synchronizing the resource data to an interaction management server that meets the conditions, the problem of excessive resource consumption in resource data interaction is solved, and resource data saving and interaction efficiency are improved.
Patent Information
- Application Number
- CN202311174850.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-11
- Publication Date
- 2025-03-11
AI Technical Summary
In the process of resource data interaction, the existing technology has the problem of high resource data consumption, resulting in inefficiency and waste of resources.
When obtaining the resource data interaction request, it is determined whether the current service status meets the interactive execution conditions. If it does not meet, the resource data to be interactive is synchronized to the associated interaction management server until the associated service status meets the interactive execution conditions, and then a resource data interaction instruction is generated and resource data interaction operations are performed.
Through this method, the resource consumption of resource data interaction can be reduced, resource data can be saved, and interaction efficiency can be improved.
Smart Images

Figure CN119603366A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a resource data interaction method, apparatus, computer equipment, storage medium and computer program product. Background Art
[0002] With the development of computer technology, resource data interaction services have emerged, through which resource data interaction can be realized. The resource data can be financial data, media data, etc. For example, financial data can be monetary amounts, and monetary transactions can be realized through resource data interaction services. Media data can be converted through resource data interaction services.
[0003] Currently, when resource data is interacted, a server providing resource data interaction services usually directly performs resource data interaction operations after obtaining a resource data interaction request. However, directly performing resource data interaction operations has the problem of consuming a lot of resource data. Summary of the invention
[0004] Based on this, it is necessary to provide a resource data interaction method, device, computer equipment, computer-readable storage medium and computer program product that can reduce resource data consumption and save resource data in response to the above technical problems.
[0005] In one aspect, the present application provides a resource data interaction method. The method comprises:
[0006] Obtain a resource data interaction request, where the resource data interaction request carries the resource data to be interacted with;
[0007] Based on the resource data interaction request, the current service state is obtained; when the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state; when the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server; the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state;
[0008] The resource interaction completion data corresponding to the resource data to be interacted with returned by the associated interaction management server through data synchronization is obtained, and the resource interaction completion data corresponding to the resource data to be interacted with is returned to the request end corresponding to the resource data interaction request.
[0009] On the other hand, the present application provides a resource data interaction method. The method comprises:
[0010] Acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0011] Acquire the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, and obtains the resource interaction completion data corresponding to the resource data to be interacted;
[0012] Obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0013] On the other hand, the present application also provides a resource data interaction system. The system includes:
[0014] The current interaction management server is used to obtain a resource data interaction request, which carries the resource data to be interacted with, and obtain the current service status based on the resource data interaction request. When the current service status does not meet the interaction execution conditions, the resource data to be interacted with is synchronized with the associated interaction management server corresponding to the resource data interaction request;
[0015] The associated interaction management server is used to obtain the resource data to be interacted sent by the current interaction management server through data synchronization, obtain the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the interaction execution server corresponding to the associated interaction management server, and the resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status;
[0016] The interaction execution server is used to perform resource data interaction operations using the resource data to be interacted with according to the resource data interaction instruction, obtain resource interaction completion data corresponding to the resource data to be interacted with, and return the resource interaction completion data to the associated interaction management server;
[0017] The associated interaction management server is further used to obtain the resource interaction completion data corresponding to the resource data to be interacted with returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server;
[0018] The current interaction management server is also used to obtain resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0019] On the other hand, the present application also provides a resource data interaction device. The device includes:
[0020] A request acquisition module is used to acquire a resource data interaction request, where the resource data interaction request carries the resource data to be interacted with;
[0021] A resource data synchronization module is used to obtain the current service status based on the resource data interaction request. When the current service status does not meet the interaction execution conditions, the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service status. When the associated service status meets the associated interaction execution conditions, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the resource data interaction instructions, obtains resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server. The resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status.
[0022] The data acquisition module is used to acquire the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0023] On the other hand, the present application also provides a resource data interaction device. The device includes:
[0024] The resource data acquisition module is used to acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution conditions, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0025] An interaction module is used to obtain the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, and obtain the resource interaction completion data corresponding to the resource data to be interacted;
[0026] The interaction completion module is used to obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted to the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0027] On the other hand, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0028] Obtain a resource data interaction request, where the resource data interaction request carries the resource data to be interacted with;
[0029] Based on the resource data interaction request, the current service state is obtained; when the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state; when the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server; the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state;
[0030] The resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization is obtained, and the resource interaction completion data corresponding to the resource data to be interacted is returned to the request end corresponding to the resource data interaction request.
[0031] On the other hand, the present application also provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0032] Acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0033] Acquire the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, and obtains the resource interaction completion data corresponding to the resource data to be interacted;
[0034] Obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0035] On the other hand, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Obtain a resource data interaction request, where the resource data interaction request carries the resource data to be interacted with;
[0037] Based on the resource data interaction request, the current service state is obtained; when the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state; when the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server; the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state;
[0038] The resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization is obtained, and the resource interaction completion data corresponding to the resource data to be interacted is returned to the request end corresponding to the resource data interaction request.
[0039] On the other hand, the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0041] Acquire the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, and obtains the resource interaction completion data corresponding to the resource data to be interacted;
[0042] Obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0043] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0044] Obtain a resource data interaction request, where the resource data interaction request carries the resource data to be interacted with;
[0045] Based on the resource data interaction request, the current service state is obtained; when the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state; when the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server; the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state;
[0046] The resource interaction completion data corresponding to the resource data to be interacted with returned by the associated interaction management server through data synchronization is obtained, and the resource interaction completion data corresponding to the resource data to be interacted with is returned to the request end corresponding to the resource data interaction request.
[0047] On the other hand, the present application also provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0048] Acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0049] Acquire the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, and obtains the resource interaction completion data corresponding to the resource data to be interacted;
[0050] Obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0051] The resource data interaction method, system, device, computer equipment, storage medium and computer program product obtain resource data interaction request and current service status through the current interaction management server. When the current service status does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request. Then the associated interaction management server obtains the associated service status. When the associated service status meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server. The interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server. The resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status. Finally, the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request. That is, according to the service status, the resource data to be interacted is synchronized to the interaction management server where the resource data interaction operation consumes less resource data to perform the resource data interaction operation, which can reduce resource data consumption and save resource data. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 An application environment diagram of a resource data interaction method in an embodiment;
[0053] Figure 2 A schematic diagram of a flow chart of a resource data interaction method in one embodiment;
[0054] Figure 3 A schematic diagram of a framework for resource data interaction in a specific embodiment;
[0055] Figure 4 A schematic diagram of a data synchronization framework in a specific embodiment;
[0056] Figure 5 A schematic diagram of a process of associating resource data to be interacted with for resource data interaction in one embodiment;
[0057] Figure 6 A schematic diagram of a framework for obtaining a resource transaction request in a specific embodiment;
[0058] Figure 7 A schematic diagram of a flow chart of a resource data interaction method in another embodiment;
[0059] Figure 8 It is a flowchart of a resource data interaction method in a specific embodiment;
[0060] Fig. 9 A schematic diagram of a framework of a foreign exchange transaction management server in a specific embodiment;
[0061] Fig.10 A system schematic diagram of a resource data interaction system in an embodiment;
[0062] Fig.11 is a structural block diagram of a resource data interaction device in an embodiment;
[0063] Fig.12 is a structural block diagram of a resource data interaction device in another embodiment;
[0064] Fig.13 is an internal structure diagram of a computer device in one embodiment;
[0065] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0066] 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.
[0067] The resource data interaction method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the requesting end 102 communicates with the current interaction management server 104 through the network, the current interaction management server 104 communicates with the associated interaction management server 106 through the network, and the associated interaction management server 106 communicates with the interaction execution server 108 through the network. The current interaction management server 104 obtains the resource data interaction request sent by the requesting end 102, and the resource data interaction request carries the resource data to be interacted; the current interaction management server 104 obtains the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution conditions, synchronizes the resource data to be interacted with the associated interaction management server 106 corresponding to the resource data interaction request, so that the associated interaction management server 106 obtains the associated service status, and when the associated service status meets the associated interaction execution conditions, generates a resource data interaction instruction based on the resource data to be interacted, and sends the resource data interaction instruction to the interaction execution server 108 corresponding to the associated interaction management server 106, so that the interaction execution service The device 108 performs resource data interaction operation using resource data to be interacted according to resource data interaction instruction, obtains resource interaction completion data corresponding to resource data to be interacted, and returns resource interaction completion data to the associated interaction management server 106, and resource data consumed by resource data interaction operation corresponding to current service state is greater than resource data consumed by resource data interaction operation corresponding to associated service state; current interaction management server 104 obtains resource interaction completion data corresponding to resource data to be interacted returned by associated interaction management server 106 through data synchronization, and returns resource interaction completion data corresponding to resource data to be interacted to request end 102 corresponding to resource data interaction request, and request end 102 can be a terminal or a server. Among them, the terminal can be but not limited to various desktop computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers.
[0068] In one embodiment, Figure 2 As shown, a resource data transaction method is provided, which is applied to Figure 1 The current interactive management server in is taken as an example to illustrate, including the following steps:
[0069] S202, obtaining a resource data interaction request, where the resource data interaction request carries resource data to be interacted with.
[0070] Among them, the current interaction management server refers to the interaction management server that currently serves as the execution subject, and the interaction management server is a server for managing resource data interaction. The resource data interaction request is used to request the interaction of resource data. The resource data to be interacted refers to the resource data that needs to be interacted, and the resource data refers to data that can be exchanged with other resource data. The resource data can be financial data or media data, etc. The financial data can be a monetary amount, that is, monetary transactions can be realized through resource data interaction. The media data can be image data, text data or voice data, etc., and the exchange can be realized through resource data interaction, for example, blurry image data can be exchanged for clear image data, noisy voice data can be exchanged for noise-free voice data, and a paragraph of text can be exchanged for an article, etc.
[0071] Specifically, the current interaction management server can obtain the resource data interaction request sent by the terminal, parse the resource data interaction request, and obtain the resource data to be interacted. The server can also obtain the resource data interaction request sent by the service provider providing business services, thereby parsing and obtaining the resource data to be interacted. The server can also obtain the resource data interaction request when a request event is triggered. The request event can be an event requesting resource data interaction. For example, when the current time reaches a preset request trigger time, a request event is triggered to obtain a resource data interaction request.
[0072] S204, based on the resource data interaction request, obtain the current service status. When the current service status does not meet the interaction execution conditions, synchronize the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service status. When the associated service status meets the associated interaction execution conditions, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the resource data interaction instructions, obtain resource interaction completion data corresponding to the resource data to be interacted, and return the resource interaction completion data to the associated interaction management server. The resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status.
[0073] Among them, the current service status refers to the current service status of the current interactive management server, and the service status is information used to characterize whether the resource data exchange operation can be performed. The service status can be time, that is, whether the server can perform the resource data exchange operation is determined according to the time point. The service status can also be a pre-set server type, and the server type includes a type that can perform the resource data exchange operation and a type that cannot perform the resource data exchange operation. The interactive execution condition refers to the condition for performing the resource data exchange operation. The condition can be a condition when the service status of the server is in a state where the resource data exchange operation can be performed. For example, the interactive execution condition can be a pre-set time period, and the service status of the server is in a state where the resource data exchange operation can be performed during this time period. That is, the time period in which the current interactive management server can perform the resource data exchange operation and the time period in which the resource data exchange operation cannot be performed are pre-set. The associated interactive management server refers to the interactive management server associated with the current interactive management server. The associated service status refers to the current service status of the associated interactive management server. The service status of different interactive management servers at the same time point may be different or the same, that is, the service status of different interactive management servers at the same time point may be in a state where resource data exchange operations can be performed, or the service status of some interactive management servers may be in a state where resource data exchange operations can be performed, and the service status of other interactive management servers may be in a state where resource data exchange operations cannot be performed. The associated interactive execution condition refers to the interactive execution condition corresponding to the associated interactive management server. Different interactive management servers may correspond to different interactive execution conditions or to the same interactive execution conditions. The interactive execution condition may be determined based on the size of resource data consumed when the server performs resource data interactive operations. For example, the time period with less resource data consumed may be used as the time period where resource data interactive operations can be performed, i.e., the interactive execution condition. The resource data interactive instruction refers to an instruction to perform a resource data interactive operation. A resource data interactive operation refers to an operation of using resource data to exchange another resource data. The interactive execution server refers to a server that performs resource data interactive operations. The interactive management server is associated with a corresponding interactive execution server. Different interactive management servers correspond to different interactive execution servers. There may be multiple interactive execution servers. An interactive execution server may be randomly selected to perform resource data interactive operations, or the interactive execution server may be determined according to a pre-set setting. Resource interaction completion data refers to the resource data obtained after the exchange through the resource data interactive operation. The resource interaction completion data may include the resource data obtained through the resource data interactive operation. In one embodiment, the resource interaction completion data may also include the remaining resource data in the resource data to be interactively performed.
[0074] Specifically, when the current interactive management server receives the resource data interaction request, it can obtain the current service status through the service of the current interactive management server, or it can obtain the current service status from the database. Then it is judged whether the current service status meets the interactive execution condition. For example, when the current service status is the current time point, it can be judged whether the current time point is within the pre-set time period for executing the resource data exchange operation. The current service status is the server type, and it is judged whether the current server type is a pre-set type for executing the resource data exchange operation. When the current service status does not meet the interactive execution condition, it means that more resource data will be consumed by using the current interactive management server to execute the resource data exchange operation at this time. Then the current interactive management server synchronizes the resource data to be interacted with the associated interactive management server corresponding to the resource data interaction request. When the associated interactive management server receives the resource data to be interacted synchronized by the current interactive management server, it obtains the associated service status. Then it is judged whether the associated service status meets the associated interactive execution condition, for example, when the current time point of the associated interactive management server is obtained, it is judged whether the current time point is within the time period for executing the resource data exchange operation corresponding to the associated interactive management server. When the current time point of the associated interactive management server is within the time period, it means that the associated service state of the associated interactive management server meets the associated interactive execution condition, that is, the resource data consumed by using the associated interactive management server to perform the resource data exchange operation at this time is less than the resource data consumed by the current interactive management server to perform the resource data exchange operation. At this time, the associated interactive management server generates a resource data interaction instruction using the resource data to be interacted, and sends the resource data interaction instruction to the interactive execution server corresponding to the associated interactive management server. The interactive execution server receives the resource data interaction instruction, uses the resource data to be interacted to perform the resource data interaction operation, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interactive management server. That is, when the current service state does not meet the interactive execution condition, the resource data consumed by using the current interactive management server to perform the resource data interaction operation is greater than the resource data consumed by using the associated interactive management server to perform the resource data interaction operation when the associated service state meets the associated interactive execution condition. That is, when there is an interactive management server whose service state meets the interactive execution condition, using the interactive management server that meets the interactive execution condition to perform the resource data interaction operation can reduce the consumption of resource data and save resource data.
[0075] S206, obtaining resource interaction completion data corresponding to the resource data to be interacted with returned by the associated interaction management server through data synchronization, and returning the resource interaction completion data corresponding to the resource data to be interacted with to the request end corresponding to the resource data interaction request.
[0076] Specifically, when the associated interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, the resource interaction completion data corresponding to the resource data to be interacted is synchronized to the current interaction management server. The current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and can save the resource interaction completion data corresponding to the resource data to be interacted, or return the resource interaction completion data corresponding to the resource data to be interacted to the requesting end corresponding to the resource data interaction request. The requesting end receives the resource interaction completion data corresponding to the resource data to be interacted, and can display it.
[0077] The resource data interaction method obtains the resource data interaction request through the current interaction management server, and obtains the current service status. When the current service status does not meet the interaction execution conditions, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request. Then the associated interaction management server obtains the associated service status. When the associated service status meets the associated interaction execution conditions, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server. The interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server. The resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status. Finally, the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request. That is, according to the service status, the resource data to be interacted is synchronized to the interaction management server where the resource data interaction operation consumes less resource data to perform the resource data interaction operation, which can reduce resource data consumption and save resource data.
[0078] In one embodiment, the associated interaction management server includes at least two, resource data exchange methods, further comprising the steps of:
[0079] When the current service status does not meet the interaction execution conditions, synchronize the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request, so that the at least two associated interaction management servers respectively obtain the corresponding associated service status, and when the target associated service status of the target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution conditions, the target management server generates a target resource data interaction instruction using the resource data to be interacted, and sends the resource data interaction instruction to the target interaction execution server corresponding to the target management server, so that the target interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the target resource data interaction instruction, obtains the target resource interaction completion data corresponding to the resource data to be interacted, and returns the target resource interaction completion data to the target management server; obtains the target resource interaction completion data corresponding to the resource data to be interacted returned by the target management server through data synchronization, and returns the target resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0080] The target management server refers to the interactive management server that meets the corresponding associated interactive execution conditions among at least two associated interactive management servers. The target associated service state refers to the service state corresponding to the target management server. The target resource data interactive instruction refers to the resource data interactive instruction generated by the target management server using the resource data to be interacted. The target interactive execution server refers to the interactive execution server corresponding to the target management server.
[0081] Specifically, the associated interaction management server may include at least two, that is, the current interaction management server is associated with at least two interaction management servers, that is, the associated interaction management servers can perform data synchronization, and the data synchronization is bidirectional. When the current interaction management service determines that the current service state does not meet the interaction execution condition, it can synchronize the resource data to be interacted with all associated interaction management servers. After each associated interaction management server is synchronized to the resource data to be interacted, it obtains the associated service state. Then it is determined whether the associated service state meets the corresponding associated interaction execution condition. When there is an associated service state of an associated interaction management server that meets the corresponding associated interaction execution condition, the associated interaction management server is the target management server. At this time, the target management server generates a target resource data interaction instruction using the resource data to be interacted, and sends the target resource data interaction instruction to the corresponding target interaction execution server. The target interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the target resource data interaction instruction, obtains the target resource interaction completion data corresponding to the resource data to be interacted, and returns the target resource interaction completion data to the target management server. The target management server obtains the target resource interaction completion data corresponding to the resource data to be interacted, and synchronizes the target resource interaction completion data to the current interaction management server. The current interaction management server may save the target resource interaction completion data corresponding to the synchronized resource data to be interacted, and may also return the target resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0082] In one embodiment, when each associated interaction management server synchronizes to the resource data to be interacted, the resource data to be interacted is saved. Then, when any associated interaction management server among all associated interaction management servers triggers an interaction operation event, the associated interaction management server that triggers the interaction operation event is used as the target management server, wherein the interaction operation event triggers an event that triggers the execution of the resource data interaction operation, which may include a time point reaching a pre-set start time point for the execution of the resource data interaction operation. Then, the target management server executes the resource data interaction operation, thereby obtaining the target resource interaction completion data corresponding to the resource data to be interacted.
[0083] In a specific embodiment, Figure 3As shown, it is a schematic diagram of a framework for multiple interactive management servers to interact with resource data, including: a request end 302, a current interactive management server 304, an associated interactive management server 306, an associated interactive management server 308, an associated interactive management server 310, and an interactive execution server 308A corresponding to the associated interactive management server 308. The current interactive management server 304 communicates with each associated interactive management server through a network, and can perform two-way data synchronization. Each associated interactive management server also communicates with each other through a network, and can perform two-way data synchronization. When the current interactive management server 304 obtains the resource data interaction request sent by the request end 302 and determines that the current service state does not meet the interactive execution condition, the resource data to be interacted is synchronized, so that each associated interactive management server obtains the resource data to be interacted sent by the current interactive management server 304 through data synchronization. Then each associated interactive management server obtains the associated service state and determines whether the associated service state meets the associated interactive execution condition. Among them, the associated service state of the associated interactive management server 308 meets the corresponding associated interactive execution condition. At this time, the associated interaction server 308 generates a resource data interaction instruction using the resource data to be interacted with, and sends the resource data interaction instruction to the corresponding interaction execution server 308A. The target interaction execution server performs the resource data interaction operation using the resource data to be interacted with according to the target resource data interaction instruction, obtains the target resource interaction completion data corresponding to the resource data to be interacted with, and returns the target resource interaction completion data to the associated interaction server 308. The associated interaction server 308 obtains the target resource interaction completion data corresponding to the resource data to be interacted with, and synchronizes the target resource interaction completion data to each interaction management server, including the current interaction management server 304. The current interaction management server 304 can save the synchronized target resource interaction completion data corresponding to the resource data to be interacted with, and can also return the target resource interaction completion data corresponding to the resource data to be interacted with to the request end 302 corresponding to the resource data interaction request, and the request end 302 can display the target resource interaction completion data.
[0084] In the above embodiment, a target resource data interaction instruction is generated by using a target management server among at least two associated interaction management servers, and the resource data interaction instruction is sent to a target interaction execution server corresponding to the target management server, so that the target interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the target resource data interaction instructions, and obtains target resource interaction completion data corresponding to the resource data to be interacted. This can prevent the situation where there is only a single associated interaction management server and the associated interaction management server does not meet the interaction execution conditions, thereby ensuring the normal execution of the resource data interaction operation, and selecting a target management server that meets the interaction execution conditions for resource data interaction, thereby reducing resource data consumption and saving resource data.
[0085] In one embodiment, the target management server includes at least two; the resource data interaction method further includes the steps of:
[0086] Obtain final resource interaction completion data corresponding to the resource data to be interacted returned by the final management server among at least two target management servers through data synchronization, wherein the resource data consumed by the resource data interaction operation corresponding to the final management server is less than the resource data consumed by the resource data interaction operation corresponding to the remaining target management servers among at least two target management servers; return the final resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0087] The final management server refers to the target management server that consumes the least resource data in executing the resource data interaction operation among at least two target management servers. The final resource interaction completion data refers to the resource interaction completion data obtained by the final management server executing the resource data interaction operation.
[0088] Specifically, when there are at least two target management servers, the at least two target management servers respectively obtain the size of resource data consumed by other target management servers in executing resource data interaction operations through data synchronization. Then each target management server compares and obtains the size of resource data consumed corresponding to all target management servers, and then determines the target management server with the smallest resource data consumed. Each target management server determines whether the target management server with the smallest resource data consumed is itself. When the target management server determines that the target management server with the smallest resource data consumed is not itself, no processing is performed. When the target management server determines that the target management server with the smallest resource data consumed is itself, the target management server is the final management server. At this time, the final management server generates a corresponding resource data interaction instruction using the resource data to be interacted, and sends the resource data interaction instruction to the corresponding interaction execution server. The interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the final resource interaction completion data corresponding to the resource data to be interacted, and returns the final resource interaction completion data to the final management server. Then the final management server synchronizes the final resource interaction completion data corresponding to the resource data to be interacted to the current interaction management server. That is, the current interaction management server obtains the final resource interaction completion data corresponding to the resource data to be interacted with returned by the final management server through data synchronization.
[0089] In the above embodiment, when at least two target management servers meet the corresponding interaction execution conditions, the target management server that consumes the least resource data in executing the resource data interaction operation is used as the final management server, and the resource data interaction operation is performed to obtain the final resource interaction completion data corresponding to the resource data to be interacted, thereby further reducing the consumption of resource data and saving resource data.
[0090] In one embodiment, the current service state includes the current time point, the interaction execution condition includes a preset interaction execution time period, the associated interaction execution condition includes a preset associated interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-repeating time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as the preset time period;
[0091] S204, based on the resource data interaction request, obtaining the current service status, when the current service status does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request, including the steps of:
[0092] Based on the resource data interaction request, the current time point is obtained. When the current time point is not within the preset interaction execution time period, the address of the associated interaction management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0093] Among them, the current time point refers to the time point of the operating system of the current server. The preset interactive execution time period refers to the preset time period during which the current interactive management server can interact with resource data. The preset associated interactive execution time period refers to the time period during which the associated interactive management server corresponding to the current interactive management server can interact with resource data. The preset time period refers to a preset time period. The preset interactive execution time period is a part of the preset time period, and the preset associated interactive execution time period is another part of the preset time period. For example, if the preset time period is 24 hours a day, the preset interactive execution time period can be the time period from 0 o'clock to 14 o'clock, and the preset associated interactive execution time period can be the time period from 14 o'clock to 24 o'clock. The associated interactive management server address refers to the communication address of the associated interactive management server, and can also be an Internet Protocol address.
[0094] Specifically, the current interaction management server can establish an association relationship with the associated interaction management server in advance, that is, the current interaction management server can save the communication address of the associated interaction management server in the association relationship table. When data synchronization is required, the communication address of the associated interaction management server is found from the association relationship table and data synchronization is performed. That is, after obtaining the resource data interaction request, the current interaction association server obtains the current time point through the server operating system, and then compares the current time point with the preset interaction execution time period. When the current time point is not within the preset interaction execution time period, the address of the associated interaction management server corresponding to the resource data interaction request is obtained from the database. Then the current interaction association server synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request according to the address of the associated interaction management server.
[0095] In one embodiment, when there are at least two associated interaction management servers, the preset interaction execution time periods corresponding to all associated interaction management servers are non-repeating time periods, and the preset interaction execution times corresponding to all interaction management servers are combined into a pre-set time period. For example, if there are 4 associated interaction management servers and the preset time period is 24 hours a day, the time period can be divided into 4 time periods according to the resource data consumption of the interaction management server. The resource data consumption of the interaction management server corresponding to each time period is the least compared to the resource data consumption of other interaction management servers in the time period, and then the 4 time periods are allocated to the corresponding interaction management servers according to the resource data consumption of the interaction management servers in the time period. In one embodiment, the preset interaction execution time period corresponding to each interaction management server can also be directly obtained.
[0096] In the above embodiment, by obtaining the current time point based on the resource data interaction request, when the current time point is not within the preset interaction execution time period, the address of the associated interaction management server corresponding to the resource data interaction request is obtained. Then, according to the associated interaction management server address, the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request, and the resource data to be interacted is synchronized after comparing the current time point with the preset interaction execution time period, thereby improving the efficiency of data synchronization.
[0097] In one embodiment, the current service state includes the current interactive resource data type, and the interactive execution condition includes the preset interactive resource data type;
[0098] S204, based on the resource data interaction request, obtaining the current service status, when the current service status does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request, including the steps of:
[0099] Based on the resource data interaction request, the current interaction resource data type is obtained. When the current interaction resource data type does not conform to the preset interaction resource data type, the address of the associated interaction management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0100] Among them, the interactive resource data type refers to the type of resource data that can be used for resource data interaction. The current interactive resource data type refers to the type of resource data that the current interactive management server can use for resource data interaction. The preset interactive resource data type refers to the type of resource data that is preset and can be used for resource data interaction. For example, in a currency transaction scenario, the currency transaction management server can interact with resource data for one type of currency, but not for other types of currency, or it may consume more for other types of currency when conducting transactions.
[0101] Specifically, after obtaining the resource data interaction request, the current interaction management server can obtain the current interaction resource data type from the database. Then, it is determined whether the current interaction resource data type is consistent with the preset interaction resource data type. If the current interaction resource data type is inconsistent with the preset interaction resource data type, the previous interaction management server obtains the address of the associated interaction management server corresponding to the resource data interaction request, and then synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address. For example, in a currency transaction scenario, the current interaction resource data type is currency A, and the preset interaction resource data type is currency B. At this time, currency A and currency B are inconsistent, indicating that the current interaction management server needs to consume more to use currency A for currency transactions. At this time, the interaction management server whose interaction resource data type is currency B can be used for currency transactions, that is, the currency A resource data to be traded can be synchronized to the associated interaction management server through data. When the associated interaction management server determines that the currency types that can be traded externally are all currency A, the synchronized currency A resource data is used for currency transactions.
[0102] In one embodiment, the associated interaction management server obtains the current time point and the interaction resource data type, and only when the current time point and the interaction resource data type meet the preset interaction execution conditions, the associated interaction management server performs resource data interaction.
[0103] In the above embodiment, by obtaining the current interactive resource data type based on the resource data interaction request, when the current interactive resource data type does not conform to the preset interactive resource data type, the address of the associated interactive management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interactive management server corresponding to the resource data interaction request according to the associated interactive management server address. That is, by performing resource data interaction in the interactive management server that conforms to the preset interactive resource data type, the consumption of resource data can be further reduced and resource data can be saved.
[0104] In one embodiment, the current service state includes an interactive operation unprovided state, and the interactive execution condition includes a preset interactive operation state;
[0105] S204, based on the resource data interaction request, obtaining the current service status, when the current service status does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request, including the steps of:
[0106] Based on the resource data interaction request, the interaction operation not provided status is obtained. When the interaction operation not provided status is inconsistent with the preset interaction operation status, the address of the associated interaction management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0107] The interactive operation unprovided state refers to a state in which resource data interactive operations are not provided. The preset interactive operation state refers to a state in which resource data interactive operations can be performed in advance.
[0108] Specifically, after obtaining the resource data interaction request, the current interaction management server detects whether it can perform the resource data interaction operation. When it detects that the resource data interaction operation service is not provided, it obtains the interaction operation not provided state. That is, the current interaction management server is in the interaction operation not provided state, which may mean that there is no corresponding interaction execution server for the current interaction associated server. The interaction operation not provided state is then compared with the preset interaction operation state. When the interaction operation not provided state is inconsistent with the preset interaction operation state, it means that the current interaction management server is only a server for obtaining resource data interaction requests and will not perform resource data interaction operations. At this time, the current interaction management server obtains the address of the associated interaction management server corresponding to the resource data interaction request from the database, and then synchronizes the resource data to be interacted to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0109] In the above embodiment, by obtaining the interactive operation not provided state based on the resource data interactive request, when the interactive operation not provided state is inconsistent with the preset interactive operation state, the address of the associated interactive management server corresponding to the resource data interactive request is obtained; and the resource data to be interacted is synchronized to the associated interactive management server corresponding to the resource data interactive request according to the associated interactive management server address. That is, the resource data transaction request can be obtained through the current interactive management server in the interactive operation not provided state, thereby expanding the scope of resource data interaction and improving the convenience of resource data interaction.
[0110] In one embodiment, S204, when the current service state does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request includes the following steps:
[0111] When the current service status does not meet the interaction execution conditions, the resource data to be interacted is stored in the synchronous data storage space; the resource data to be interacted in the synchronous data storage space is synchronized with the associated interaction management server corresponding to the resource data interaction request, and the associated interaction management server obtains the resource data to be interacted and stores the resource data to be interacted in the associated synchronous data storage space.
[0112] The synchronous data storage space refers to the storage space in the current interaction management server for storing synchronous data. The associated synchronous data storage space refers to the storage space in the associated interaction management server for storing synchronous data. The data stored in the associated synchronous data storage space is consistent with the data stored in the synchronous data storage space. The synchronous data storage space and the associated synchronous data storage space can be established using the same type of database.
[0113] Specifically, when the current interaction management server determines that the current service state does not meet the interaction execution conditions, the resource data to be interacted is stored in the synchronous data storage space. Then, the resource data to be interacted in the synchronous data storage space is synchronized with the associated interaction management server corresponding to the resource data interaction request, and the associated interaction management server obtains the resource data to be interacted, stores the resource data to be interacted in the associated synchronous data storage space, and then, when the associated interaction management server detects that the associated service state meets the interaction execution conditions, the resource data to be interacted is obtained in the associated synchronous data storage space to generate the corresponding resource data interaction instruction, and the resource data interaction instruction is sent to the corresponding interaction execution server to execute the resource data interaction operation, and then the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server is obtained.
[0114] In one embodiment, after obtaining the resource data interaction request, the current interaction management server can directly store the resource data to be interacted in the synchronization data storage space. Then, when it is determined that the current service state does not meet the interaction execution conditions, no processing is performed. When the associated interaction management server synchronizes to the resource data to be interacted, and then, when it is determined that the current service state meets the interaction execution conditions, the associated interaction management server uses the resource data to be interacted for resource data interaction.
[0115] In a specific embodiment, Figure 4As shown, it is a schematic diagram of the framework of data synchronization, wherein storage space a is established in the current interaction management server 402, storage space b is established in the associated interaction management server 404, and storage space c is established in the associated interaction management server 406. When storage space d is established in the associated interaction management server 402, the storage space a, storage space b, storage space c and storage space d can be established using Redis (Remote Dictionary Server, i.e., remote dictionary service), which can be a Redis master instance, and the data in the Redis database is stored in the form of key-value pairs. Then the data in storage space a, storage space b, storage space c and storage space d can be synchronized in both directions. That is, the resource data to be interacted is written into the storage space a in the current interaction associated server, and then the resource data to be interacted is synchronized from the storage space a by other associated interaction management servers, that is, the resource data to be interacted is stored in the storage space b, storage space c and storage space d through data synchronization. Then each interaction management server detects whether the service status meets the preset interaction execution conditions. Among the interaction management servers, there is at least one interaction management server whose service status meets the preset interaction execution conditions. For example, the service status of the associated interaction server 406 meets the preset interaction execution conditions. At this time, the associated interaction management server 406 uses the resource data to be interacted stored in the storage space c to generate the corresponding resource data interaction instruction, and sends the resource data interaction instruction to the corresponding interaction execution server to perform the resource data interaction operation, and then obtains the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and then the associated interaction management server 406 writes the resource interaction completion data into the storage space c. At this time, the resource interaction completion data written synchronously from the storage space c by other associated interaction management servers, that is, the resource interaction completion data is stored in the storage space a, storage space b and storage space d through data synchronization.
[0116] In one embodiment, the current interaction management server and the associated interaction management server may also set up the same data storage space. For example, a database server dedicated to storing data may be used to store the resource data to be interacted with of the current interaction management server and the associated interaction management server. That is, the data of the current interaction management server is stored in the corresponding data table in the database server, and the data of the associated interaction management server is stored in the corresponding data table in the database server, thereby reducing the maintenance cost of the storage space and saving storage resources.
[0117] In the above embodiment, when the current service status does not meet the interaction execution conditions, the resource data to be interacted is stored in the synchronous data storage space; the resource data to be interacted in the synchronous data storage space is synchronized to the associated interaction management server corresponding to the resource data interaction request, and the associated interaction management server obtains the resource data to be interacted, and stores the resource data to be interacted in the associated synchronous data storage space, that is, the synchronous data storage space is used to store the data that needs to be synchronized, thereby improving the efficiency of data synchronization.
[0118] In one embodiment, the resource data interaction method further includes the steps of:
[0119] When the current service status meets the interaction execution conditions, a current resource data interaction instruction is generated based on the resource data to be interacted; the current resource data interaction instruction is sent to the current interaction execution server, so that the current interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the current resource data interaction instruction, and obtains the current resource interaction completion data corresponding to the resource data to be interacted; the current resource interaction completion data corresponding to the resource data to be interacted is returned to the request end corresponding to the resource data interaction request.
[0120] Among them, the current resource data interaction instruction refers to the resource data interaction instruction generated by the current interaction management server, and the resource data interaction instruction carries the resource data to be interacted. The current interaction execution server refers to the interaction execution server corresponding to the current interaction management server. The current resource interaction completion data refers to the resource interaction completion data obtained by the current interaction management server through resource data interaction.
[0121] Specifically, when the current interaction management server determines that the current service state meets the interaction execution conditions, it means that the current interaction management server is able to perform resource data interaction. At this time, the current interaction management server uses the resource data to be interacted to generate a current resource data interaction instruction, and then sends the current resource data interaction instruction to the current interaction execution server. The current interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the current resource data interaction instruction, obtains the current resource interaction completion data corresponding to the resource data to be interacted, and returns the obtained current resource interaction completion data to the current interaction execution server. The current interaction execution server can return the current resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0122] In one embodiment, the current interaction execution server may also synchronize the current resource interaction completion data corresponding to the resource data to be interacted with to the associated interaction association server, and the associated interaction association server obtains and saves the current resource interaction completion data corresponding to the synchronized resource data to be interacted with.
[0123] In the above embodiment, when the current service status meets the interaction execution conditions, a current resource data interaction instruction is generated based on the resource data to be interacted, and the current resource data interaction instruction is sent to the current interaction execution server, so that the current interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the current resource data interaction instruction, and obtains the current resource interaction completion data corresponding to the resource data to be interacted, and returns the current resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request, thereby eliminating the need to use an associated interaction server to perform resource data interaction, and can improve the efficiency of resource data interaction on the basis of reducing resource data consumption.
[0124] In one embodiment, Figure 5 As shown, the resource data processing method further includes:
[0125] S502: Acquire the associated resource data to be interacted with sent by the associated interaction server through data synchronization.
[0126] The associated resource data to be interacted refers to the resource data to be interacted carried in the resource data interaction request obtained by the associated interaction management server.
[0127] Specifically, when the associated interaction management server obtains the resource data interaction request, the resource data to be interacted in the resource data interaction request can be synchronized to the current interaction management server through data. Then the current interaction management server obtains the associated resource data to be interacted sent by the associated interaction server through data synchronization. In one embodiment, after the associated interaction management server obtains the resource data interaction request, it obtains the service status. When the service status does not meet the pre-set interaction execution conditions, the resource data to be interacted in the resource data interaction request is synchronized to the current interaction management server through data.
[0128] S504, obtaining a synchronous service state corresponding to the associated resource data to be interacted with, and when the synchronous service state meets the interaction execution condition, generating an associated resource data interaction instruction based on the associated resource data to be interacted with.
[0129] The synchronous service state refers to the service state of the current interaction management server after the synchronous associated resource data to be interacted with is acquired.
[0130] Specifically, the current interaction management server can obtain the synchronization service status corresponding to the associated resource data to be interacted from the database, or can obtain the synchronization service status through the server operating system. Then, when it is determined that the synchronization service status meets the interaction execution condition, the associated resource data to be interacted is used to generate the associated resource data interaction instruction.
[0131] S506, sending an associated resource data interaction instruction to the current interaction execution server, so that the current interaction execution server performs a resource data interaction operation using the associated resource data to be interacted with according to the associated resource data interaction instruction, and obtains associated resource interaction completion data corresponding to the associated resource data to be interacted with.
[0132] S508, synchronizing the associated resource interaction completion data to the associated interaction associated server.
[0133] The current interaction execution server refers to the interaction execution server corresponding to the current interaction management server. The associated resource interaction completion data refers to the resource interaction completion data obtained by performing a resource data interaction operation using the associated resource data to be interacted.
[0134] Specifically, the current interaction management server sends an associated resource data interaction instruction to the current interaction execution server, and the current interaction execution server uses the associated resource data to be interacted to perform a resource data interaction operation according to the associated resource data interaction instruction, obtains the associated resource interaction completion data corresponding to the associated resource data to be interacted, and returns the associated resource interaction completion data to the current interaction management server. When the current interaction management server obtains the associated resource interaction completion data, it synchronizes the associated resource interaction completion data to the associated interaction association server. The associated interaction association server obtains the associated resource interaction completion data through data synchronization, and then can return the associated resource interaction completion data to the requesting end.
[0135] In a specific embodiment, Figure 6 As shown, it is a schematic diagram of the framework of the associated interaction management server obtaining a resource transaction request. Specifically, each associated interaction management server can obtain the resource data interaction request sent by the requesting end, and then write the resource data to be interacted carried in the resource data interaction request into a storage space capable of data synchronization through the resource data interaction management service, and then synchronize the resource data to be interacted to other interaction management servers. For example, when the current interaction management server detects that the current service state meets the interaction execution condition, it obtains the associated resource data to be interacted synchronized by the associated interaction management server from the storage space, and then uses the associated resource data to be interacted to generate a resource data interaction instruction, and sends the resource data interaction instruction to the current interaction execution server. The current interaction execution server uses the associated resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the associated resource interaction completion data corresponding to the associated resource data to be interacted, and returns the associated resource interaction completion data to the current interaction management server. And the current interaction management server synchronizes the associated resource interaction completion data to each associated interaction associated server, and each associated interaction associated server obtains the associated resource interaction completion data through data synchronization and saves it in the storage space.
[0136] In the above embodiment, by acquiring the associated resource data to be interacted sent by the associated interaction server through data synchronization, when the synchronization service state meets the interaction execution condition, an associated resource data interaction instruction is generated based on the associated resource data to be interacted, and the associated resource data interaction instruction is sent to the current interaction execution server, so that the current interaction execution server uses the associated resource data to be interacted to perform resource data interaction operations according to the associated resource data interaction instruction, obtains the associated resource interaction completion data corresponding to the associated resource data to be interacted, and synchronizes the associated resource interaction completion data to the associated interaction server, thereby reducing the resource data consumption of the associated interaction server corresponding to the request end and saving the resource data of the associated interaction server corresponding to the request end.
[0137] In one embodiment, Figure 7 As shown, a resource data transaction method is provided, which is applied to Figure 1 The associated interaction management server in the example is used as an example to illustrate, including the following steps:
[0138] S702, obtain the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server obtains the resource data interaction request, obtains the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution conditions, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request.
[0139] Specifically, the associated interaction management server obtains the resource data to be interacted sent by the current interaction management server through data synchronization. The resource data to be interacted is obtained by the current interaction management server obtaining a resource data interaction request, obtaining the current service state based on the resource data interaction request, and performing data synchronization with the associated interaction management server when the current service state does not meet the interaction execution condition.
[0140] S704, obtain the associated service status. When the associated service status meets the associated interaction execution conditions, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the resource data interaction instruction, and obtain resource interaction completion data corresponding to the resource data to be interacted.
[0141] Specifically, the associated interaction management server may obtain the associated service status from a database or through a server operating system. Then, when the associated service status meets the associated interaction execution condition, the associated interaction management server determines that the resource data to be interacted with generates a resource data interaction instruction using the resource data to be interacted with, and sends the resource data interaction instruction to an interaction execution server corresponding to the associated interaction management server. The interaction execution server corresponding to the associated interaction management server performs a resource data interaction operation using the resource data to be interacted with according to the resource data interaction instruction, obtains resource interaction completion data corresponding to the resource data to be interacted with, and returns the resource interaction completion data to the associated interaction management server.
[0142] S706, obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted to the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0143] Specifically, the associated interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted with returned by the interaction execution server, and synchronizes the resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server. Finally, the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted with returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted with to the request end corresponding to the resource data interaction request.
[0144] In the above embodiment, the resource data to be interacted is obtained by associating the interaction management server and sent by the current interaction management server through data synchronization, and when the associated service status meets the associated interaction execution conditions, the interaction execution server corresponding to the associated interaction server performs resource data interaction operations, thereby reducing the consumption of resource data and saving resource data.
[0145] In one embodiment, the associated service state includes a current associated time point, the associated interaction execution condition includes a preset associated interaction execution time period, the interaction execution condition includes a preset interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-repeating time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as the preset time period;
[0146] S704, obtaining the associated service status, and when the associated service status meets the associated interaction execution condition, generating a resource data interaction instruction based on the resource data to be interacted, including:
[0147] The current association time point is obtained, and when the current association time point is within a preset association interaction execution time period, a resource data interaction instruction is generated based on the resource data to be interacted.
[0148] The preset association interaction execution time period refers to the preset association interaction execution time period corresponding to the association interaction server.
[0149] Specifically, the association interaction server obtains the current association time point. When the current association time point is within the preset association interaction execution time period, it means that using the association interaction server to perform resource data interaction can reduce resource data consumption and save resource data. At this time, the association interaction server generates a resource data interaction instruction using the resource data to be interacted.
[0150] In the above embodiment, by detecting that the current association time point is within the preset association interaction execution time period, a resource data interaction instruction is generated, and using the time point for detection can improve detection efficiency.
[0151] In one embodiment, the associated interaction management server can act as the current interaction management server to execute the steps implemented by the current interaction management server in any of the above embodiments, and the current interaction management server can also act as the associated interaction management server to execute the steps implemented by the associated interaction management server in any of the above embodiments.
[0152] In a specific embodiment, Figure 8 As shown, a resource data interaction method is provided, which is executed by a computer device and specifically includes the following steps:
[0153] S802, the current interaction management server obtains a resource data interaction request, where the resource data interaction request carries resource data to be interacted with.
[0154] S804, the current interaction management server obtains the current service state based on the resource data interaction request, and when the current service state does not meet the interaction execution condition, stores the resource data to be interacted in the synchronous data storage space.
[0155] S806: The current interaction management server synchronizes the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request, so that the at least two associated interaction management servers respectively obtain the resource data to be interacted with and store the resource data to be interacted with in the associated synchronization data storage space.
[0156] S808, at least two associated interaction management servers respectively obtain the corresponding associated service status, and when the target associated service status of the target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution condition, the target management server uses the resource data to be interacted to generate a target resource data interaction instruction, and sends the resource data interaction instruction to the target interaction execution server corresponding to the target management server, so that the target interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the target resource data interaction instruction, obtains the target resource interaction completion data corresponding to the resource data to be interacted, and returns the target resource interaction completion data to the target management server.
[0157] S810, the current interaction management server obtains target resource interaction completion data corresponding to the resource data to be interacted with returned by the target management server through data synchronization, and returns the target resource interaction completion data corresponding to the resource data to be interacted with to the request end corresponding to the resource data interaction request.
[0158] In a specific embodiment, the resource data interaction method is applied to an interaction scenario of image data. For example, multiple images of the same image data with different blur levels can be used to obtain clear image data through resource data interaction. Specifically, the current interaction management server obtains an image data interaction request, which carries multiple blurred images of the same face. Then the current interaction association server determines that the current time point is not within the running time period. For example, when it is not within the running time period, the current interaction association server needs to use more blurred images than the image data carried in the request to convert them into clear images when performing image data interaction. At this time, the current interactive association server sends multiple blurred images of the same face to the associated interactive management server through data synchronization. When the associated interactive management server determines that the current time point is within the running time period, it uses multiple blurred images of the same face to generate image data interaction instructions, and sends the image data interaction instructions to the interactive execution server. After the interactive execution server obtains multiple blurred images of the same face, it uses multiple blurred images of the same face to perform clear conversion. For example, each blurred image can be converted to a clear state, and then the clearest part of each converted clear image is merged to obtain a clear face image, and the clear face image is returned to the associated interactive management server. Then the associated interactive management server sends the clear face image to the current interactive association server through data synchronization, and finally the current interactive association server returns the clear face image to the request end and displays it.
[0159] In a specific embodiment, the resource data interaction method is applied to the interaction scenario of voice data. For example, multiple noisy voice data of the same segment can be obtained through resource data interaction to obtain the same segment of noise-free voice data. Specifically, the current interaction management server obtains a voice data interaction request, and the voice data interaction request carries multiple noisy voice data of the same segment. Then the current interaction association server determines that the current time point is not within the running time period. For example, when it is not within the running time period, the current interaction association server needs to use more noisy voice than the voice data carried in the request to convert it into noise-free voice when performing voice data interaction. At this time, the current interaction association server sends multiple noisy voice data of the same segment to the associated interaction management server through data synchronization. When the associated interaction management server determines that the current time point is within the running time period, it uses multiple noisy voice data of the same segment to generate voice data interaction instructions, and sends the voice data interaction instructions to the interaction execution server. After the interaction execution server obtains multiple noisy voice data of the same segment, it uses multiple noisy voice data of the same segment to perform denoising and synthesis, thereby obtaining the same segment of noise-free voice data, and returns the same segment of noise-free voice data to the associated interaction management server. Then the associated interaction management server sends the same noise-free voice data to the current interaction association server through data synchronization, and finally the current interaction association server returns the same noise-free voice data to the requesting end and plays it.
[0160] In a specific embodiment, the resource data interaction method is applied to the interaction scenario of text data. For example, multiple text words can be obtained through resource data interaction to obtain an article. Specifically, the current interaction management server obtains a text data interaction request, and the image data interaction request carries multiple text words. Then the current interaction association server determines that the current time point is not within the running time period. For example, when it is not within the running time period, the current interaction association server needs to use more text words than the text data carried in the request to convert it into an article when performing text data interaction. At this time, the current interaction association server sends the multiple text words to the associated interaction management server through data synchronization. When the associated interaction management server determines that the current time point is within the running time period, it uses multiple text words to generate text data interaction instructions, and sends the text data interaction instructions to the interaction execution server. The interaction execution server obtains multiple text words, uses multiple text words to generate an article, and returns the generated article to the associated interaction management server. Then the associated interaction management server sends the generated article to the current interaction association server through data synchronization, and finally the current interaction association server returns the generated article to the request end and displays it.
[0161] In a specific embodiment, the resource data interaction method is applied to global foreign exchange trading scenarios. Specifically: Currently, when conducting foreign exchange transactions, transactions are usually conducted in a foreign exchange trading market. However, the foreign exchange trading market in a certain time zone may have two situations: active or inactive foreign exchange transactions. For example, foreign exchange transactions in the region are active during the day, and inactive at night. When foreign exchange transactions are not active, there will be a problem of increased transaction costs in trading in the foreign exchange trading market. At this time, different foreign exchange trading management servers can be established in different time zones in the global foreign exchange trading scenario, so that interactive transactions at each moment can be conducted in an active foreign exchange trading market, thereby saving transaction costs. Among them, 4 foreign exchange trading management servers can be established so that the active time periods of the foreign exchange trading markets of all foreign exchange trading management servers can cover the whole day, such as Fig. 9 As shown, a framework schematic diagram of a foreign exchange transaction management server is provided. Among them, the foreign exchange transaction management server (subject A) is in time zone a, and the corresponding operating time period is set from 4 to 9. The foreign exchange transaction management server (subject B) is in time zone b, and the corresponding operating time period is set from 9 to 17. The foreign exchange transaction management server (subject C) is in time zone c, and the corresponding operating time period is set from 17 to 21. The foreign exchange transaction management server (subject D) is in time zone d, and the corresponding operating time period is set from 21 to 4. Then when any foreign exchange transaction management server receives a foreign exchange transaction request at any time, it can conduct foreign exchange transactions through the foreign exchange transaction market of the foreign exchange transaction management server in the operating time period, thereby saving foreign exchange transaction costs. For example, subject A obtains the foreign exchange transaction request sent by the request end of subject D, and the foreign exchange transaction request carries transaction data, which can be position data. Then subject A obtains the current time point, such as 22:00. At this time, the 22:00 is not within the configured operating time period of subject A from 4 to 9. Then subject A writes the transaction data into the database established by the redis master instance through the transaction association service, and subjects B, subject C, and subject D synchronize to the transaction data and obtain the current request time point 22:00. Among them, the operating time period of subject D is from 21:00 to 4:00, so the transaction data can be used for foreign exchange transactions in subject D, that is, using transaction data to generate transaction instructions, sending the transaction instructions to the foreign exchange trading market, and the server of the foreign exchange trading market executes foreign exchange transactions to obtain the data after the foreign exchange transaction. Subject D obtains the data after the foreign exchange transaction, writes the data after the foreign exchange transaction into the redis master instance database, and then synchronizes the data after the foreign exchange transaction to the redis master instance database of subject A through data synchronization. Subject A obtains the synchronized data after the foreign exchange transaction, and can send the data after the foreign exchange transaction to the request end of subject A for display, thereby saving the cost of subject A's request end in foreign exchange transactions.
[0162] 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 is not strictly limited in order, 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 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.
[0163] Based on the same inventive concept, the embodiment of the present application also provides a resource data interaction system for implementing the resource data interaction method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource data interaction system embodiments provided below can refer to the limitations on the resource data interaction method above, and will not be repeated here.
[0164] In one embodiment, Fig.10 As shown, a resource data interaction system 1000 is provided, including: a current interaction management server 1002, an associated interaction management server 1004 and an interaction execution server 1006, wherein:
[0165] The current interaction management server 1002 is used to obtain a resource data interaction request, which carries the resource data to be interacted with, and obtain the current service state based on the resource data interaction request. When the current service state does not meet the interaction execution condition, the resource data to be interacted with is synchronized with the associated interaction management server corresponding to the resource data interaction request;
[0166] The associated interaction management server 1004 is used to obtain the resource data to be interacted sent by the current interaction management server through data synchronization, obtain the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the interaction execution server corresponding to the associated interaction management server, and the resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status;
[0167] The interaction execution server 1006 is used to perform resource data interaction operations using the resource data to be interacted with according to the resource data interaction instruction, obtain resource interaction completion data corresponding to the resource data to be interacted with, and return the resource interaction completion data to the associated interaction management server;
[0168] The associated interaction management server 1004 is further used to obtain the resource interaction completion data corresponding to the resource data to be interacted with returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server;
[0169] The current interaction management server 1002 is also used to obtain resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0170] In one embodiment, the associated interaction management servers include at least two; the current interaction management server 1002 is further configured to synchronize the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request when the current service state does not meet the interaction execution condition;
[0171] At least two associated interaction management servers are used to respectively obtain corresponding associated service states, and when the target associated service state of a target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution condition, the target management server generates a target resource data interaction instruction using the resource data to be interacted with, and sends the target resource data interaction instruction to a target interaction execution server corresponding to the target management server;
[0172] The target interaction execution server is used to perform resource data interaction operations using the resource data to be interacted with according to the target resource data interaction instruction, obtain target resource interaction completion data corresponding to the resource data to be interacted with, and return the target resource interaction completion data to the target management server;
[0173] The target management server is also used to obtain the target resource interaction completion data corresponding to the resource data to be interacted with, and synchronize the target resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server;
[0174] The current interaction management server is also used to obtain the target resource interaction completion data corresponding to the resource data to be interacted returned by the target management server through data synchronization, and return the target resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0175] In one embodiment, the target management server includes at least two; the at least two target management servers are used to determine the final management server, and the resource data consumed by the resource data interaction operation corresponding to the final management server is less than the resource data consumed by the resource data interaction operation corresponding to the remaining target management servers in the at least two target management servers;
[0176] The final management server is used to generate a final resource data interaction instruction using the resource data to be interacted with, and send the final resource data interaction instruction to the final interaction execution server corresponding to the final management server;
[0177] The final interaction execution server is used to perform resource data interaction operations using the resource data to be interacted according to the final resource data interaction instruction, obtain the final resource interaction completion data corresponding to the resource data to be interacted, and return the final resource interaction completion data to the final management server;
[0178] The final management server is also used to obtain the final resource interaction completion data corresponding to the resource data to be interacted with, and synchronize the final resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server;
[0179] The current interaction management server is also used to obtain the final resource interaction completion data corresponding to the resource data to be interacted returned by the final management server through data synchronization, and return the final resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0180] In one embodiment, the current service state includes the current time point, the interaction execution condition includes a preset interaction execution time period, the associated interaction execution condition includes a preset associated interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-repeating time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as the preset time period;
[0181] The current interaction management server 1002 is also used to obtain the current time point based on the resource data interaction request. When the current time point is not within the preset interaction execution time period, it obtains the address of the associated interaction management server corresponding to the resource data interaction request; and synchronizes the resource data to be interacted to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0182] In one embodiment, the current service state includes the current interactive resource data type, and the interactive execution condition includes the preset interactive resource data type;
[0183] The current interaction management server 1002 is also used to obtain the current interaction resource data type based on the resource data interaction request. When the current interaction resource data type does not conform to the preset interaction resource data type, it obtains the address of the associated interaction management server corresponding to the resource data interaction request; and synchronizes the resource data to be interacted to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0184] In one embodiment, the current service state includes an interactive operation unprovided state, and the interactive execution condition includes a preset interactive operation state;
[0185] The current interaction management server 1002 is also used to obtain the interaction operation not provided status based on the resource data interaction request. When the interaction operation not provided status is inconsistent with the preset interaction operation status, the address of the associated interaction management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0186] In one embodiment, the current interaction management server 1002 is also used to store the resource data to be interacted in the synchronous data storage space when the current service status does not meet the interaction execution conditions; synchronize the resource data to be interacted in the synchronous data storage space to the associated interaction management server corresponding to the resource data interaction request, and the associated interaction management server obtains the resource data to be interacted, and stores the resource data to be interacted in the associated synchronous data storage space.
[0187] In one embodiment, the current interaction management server 1002 is also used to generate current resource data interaction instructions based on the resource data to be interacted when the current service status meets the interaction execution conditions; send the current resource data interaction instructions to the current interaction execution server, so that the current interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the current resource data interaction instructions, and obtain the current resource interaction completion data corresponding to the resource data to be interacted; return the current resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0188] In one embodiment, the current interaction management server 1002 is also used to obtain the associated resource data to be interacted sent by the associated interaction server through data synchronization; obtain the synchronization service status corresponding to the associated resource data to be interacted, and when the synchronization service status meets the interaction execution conditions, generate an associated resource data interaction instruction based on the associated resource data to be interacted; send the associated resource data interaction instruction to the current interaction execution server, so that the current interaction execution server uses the associated resource data to be interacted to perform resource data interaction operations according to the associated resource data interaction instruction, and obtain the associated resource interaction completion data corresponding to the associated resource data to be interacted; synchronize the associated resource interaction completion data to the associated interaction server.
[0189] Based on the same inventive concept, the embodiment of the present application also provides a resource data interaction device for implementing the resource data interaction 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 data interaction device embodiments provided below can refer to the above limitations on the resource data interaction method, and will not be repeated here.
[0190] In one embodiment, Fig.11 As shown, a resource data interaction device 1100 is provided, including: a request acquisition module 1102, a resource data synchronization module 1104 and a data acquisition module 1106, wherein:
[0191] The request acquisition module 1102 is used to acquire a resource data interaction request, where the resource data interaction request carries resource data to be interacted with;
[0192] The resource data synchronization module 1104 is used to obtain the current service state based on the resource data interaction request. When the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state. When the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform the resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server. The resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state.
[0193] The data acquisition module 1106 is used to acquire the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0194] In one embodiment, the association interaction management server includes at least two resource data interaction devices 1100, and further includes:
[0195] The target management module is used to synchronize the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request when the current service status does not meet the interaction execution conditions, so that the at least two associated interaction management servers respectively obtain the corresponding associated service status, and when the target associated service status of the target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution conditions, the target management server generates a target resource data interaction instruction using the resource data to be interacted, and sends the resource data interaction instruction to the target interaction execution server corresponding to the target management server, so that the target interaction execution server uses the resource data to be interacted to perform resource data interaction operations according to the target resource data interaction instruction, obtains the target resource interaction completion data corresponding to the resource data to be interacted, and returns the target resource interaction completion data to the target management server; obtains the target resource interaction completion data corresponding to the resource data to be interacted returned by the target management server through data synchronization, and returns the target resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0196] In one embodiment, the target management server includes at least two; the resource data interaction device 1100 also includes:
[0197] The final management module is used to obtain the final resource interaction completion data corresponding to the resource data to be interacted returned by the final management server among at least two target management servers through data synchronization, and the resource data consumed by the resource data interaction operation corresponding to the final management server is less than the resource data consumed by the resource data interaction operation corresponding to the remaining target management servers among at least two target management servers; and return the final resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0198] In one embodiment, the current service state includes the current time point, the interaction execution condition includes a preset interaction execution time period, the associated interaction execution condition includes a preset associated interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-repeating time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as the preset time period;
[0199] The resource data synchronization module 1104 is also used to obtain the current time point based on the resource data interaction request. When the current time point is not within the preset interaction execution time period, the address of the associated interaction management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
[0200] In one embodiment, the current service state includes the current interactive resource data type, and the interactive execution condition includes the preset interactive resource data type;
[0201] The resource data synchronization module 1104 is also used to obtain the current interactive resource data type based on the resource data interaction request. When the current interactive resource data type does not conform to the preset interactive resource data type, the address of the associated interactive management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interactive management server corresponding to the resource data interaction request according to the associated interactive management server address.
[0202] In one embodiment, the current service state includes an interactive operation unprovided state, and the interactive execution condition includes a preset interactive operation state;
[0203] The resource data synchronization module 1104 is also used to obtain the interactive operation not provided status based on the resource data interaction request. When the interactive operation not provided status is inconsistent with the preset interactive operation status, the address of the associated interactive management server corresponding to the resource data interaction request is obtained; and the resource data to be interacted is synchronized to the associated interactive management server corresponding to the resource data interaction request according to the associated interactive management server address.
[0204] In one embodiment, the resource data synchronization module 1104 is also used to store the resource data to be interacted in the synchronization data storage space when the current service status does not meet the interaction execution conditions; synchronize the resource data to be interacted in the synchronization data storage space to the associated interaction management server corresponding to the resource data interaction request, and the associated interaction management server obtains the resource data to be interacted, and stores the resource data to be interacted in the associated synchronization data storage space.
[0205] In one embodiment, the resource data interaction device 1100 further includes:
[0206] The interactive execution module is used to generate a current resource data interaction instruction based on the resource data to be interacted when the current service status meets the interactive execution conditions; send the current resource data interaction instruction to the current interactive execution server so that the current interactive execution server uses the resource data to be interacted to perform resource data interaction operations according to the current resource data interaction instruction, and obtain the current resource interaction completion data corresponding to the resource data to be interacted; return the current resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0207] In one embodiment, the resource data interaction device 1100 further includes:
[0208] The synchronous data interaction module is used to obtain the associated resource data to be interacted sent by the associated interaction server through data synchronization; obtain the synchronous service status corresponding to the associated resource data to be interacted, and when the synchronous service status meets the interaction execution conditions, generate an associated resource data interaction instruction based on the associated resource data to be interacted; send the associated resource data interaction instruction to the current interaction execution server, so that the current interaction execution server uses the associated resource data to be interacted to perform resource data interaction operations according to the associated resource data interaction instruction, and obtain the associated resource interaction completion data corresponding to the associated resource data to be interacted; synchronize the associated resource interaction completion data to the associated interaction server.
[0209] In one embodiment, Fig.12 As shown, a resource data interaction device 1100 is provided, comprising: a resource data acquisition module 1202, an interaction module 1204 and an interaction completion module 1206, wherein:
[0210] The resource data acquisition module 1202 is used to acquire the resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires the resource data interaction request, acquires the current service status based on the resource data interaction request, and when the current service status does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request;
[0211] The interaction module 1204 is used to obtain the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server performs the resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, and obtains the resource interaction completion data corresponding to the resource data to be interacted;
[0212] The interaction completion module 1206 is used to obtain the resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted to the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
[0213] In one embodiment, the associated service state includes a current associated time point, the associated interaction execution condition includes a preset associated interaction execution time period, the interaction execution condition includes a preset interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-repeating time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as the preset time period;
[0214] The interaction module 1204 is further configured to obtain a current association time point, and when the current association time point is within a preset association interaction execution time period, generate a resource data interaction instruction based on the resource data to be interacted.
[0215] Each module in the resource data interaction 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.
[0216] 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.13 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store resource data to be interacted and resource interaction completion data, etc. 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 data interaction method is implemented.
[0217] 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.14As 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 data interaction 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.
[0218] Those skilled in the art will understand that Fig.13 or Fig.14 The 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.
[0219] 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.
[0220] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0221] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0222] 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.
[0223] 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.
[0224] The technical features of the above embodiments may be combined arbitrarily. 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.
[0225] 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 data interaction method, characterized in that: The method comprises: Obtaining a resource data interaction request, wherein the resource data interaction request carries resource data to be interacted with; Based on the resource data interaction request, the current service state is obtained; when the current service state does not meet the interaction execution condition, the resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request, so that the associated interaction management server obtains the associated service state; when the associated service state meets the associated interaction execution condition, a resource data interaction instruction is generated based on the resource data to be interacted, and the resource data interaction instruction is sent to the interaction execution server corresponding to the associated interaction management server, so that the interaction execution server uses the resource data to be interacted to perform a resource data interaction operation according to the resource data interaction instruction, obtains the resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server, and the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state; The resource interaction completion data corresponding to the resource data to be interacted with returned by the associated interaction management server through data synchronization is obtained, and the resource interaction completion data corresponding to the resource data to be interacted with is returned to the request end corresponding to the resource data interaction request.
2. The method according to claim 1, characterized in that: The associated interaction management servers include at least two, and the method further includes: When the current service status does not meet the interaction execution condition, synchronize the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request, so that the at least two associated interaction management servers respectively obtain the corresponding associated service status, and when the target associated service status of the target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution condition, enable the target management server to use the resource data to be interacted to generate a target resource data interaction instruction, and send the resource data interaction instruction to the target interaction execution server corresponding to the target management server, so that the target interaction execution server uses the resource data to be interacted to perform a resource data interaction operation according to the target resource data interaction instruction, obtain the target resource interaction completion data corresponding to the resource data to be interacted, and return the target resource interaction completion data to the target management server; The target resource interaction completion data corresponding to the resource data to be interacted with returned by the target management server through data synchronization is obtained, and the target resource interaction completion data corresponding to the resource data to be interacted with is returned to the request end corresponding to the resource data interaction request.
3. The method according to claim 2, characterized in that The target management servers include at least two; the method further includes: Acquire final resource interaction completion data corresponding to the resource data to be interacted returned by a final management server among at least two target management servers through data synchronization, wherein resource data consumed by the resource data interaction operation corresponding to the final management server is less than resource data consumed by the resource data interaction operation corresponding to the remaining target management servers among the at least two target management servers; The final resource interaction completion data corresponding to the resource data to be interacted is returned to the request end corresponding to the resource data interaction request.
4. The method according to claim 1, characterized in that: The current service state includes a current time point, the interaction execution condition includes a preset interaction execution time period, the associated interaction execution condition includes a preset associated interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-overlapping time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as a preset time period; The acquiring the current service state based on the resource data interaction request, and synchronizing the resource data to be interacted with an associated interaction management server corresponding to the resource data interaction request when the current service state does not meet the interaction execution condition, comprises: Acquire the current time point based on the resource data interaction request, and when the current time point is not within the preset interaction execution time period, acquire the address of the associated interaction management server corresponding to the resource data interaction request; The resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
5. The method according to claim 1, characterized in that The current service state includes the current interactive resource data type, and the interactive execution condition includes the preset interactive resource data type; The acquiring the current service state based on the resource data interaction request, and synchronizing the resource data to be interacted with an associated interaction management server corresponding to the resource data interaction request when the current service state does not meet the interaction execution condition, comprises: Acquire the current interactive resource data type based on the resource data interactive request, and when the current interactive resource data type does not conform to the preset interactive resource data type, acquire the associated interactive management server address corresponding to the resource data interactive request; The resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
6. The method according to claim 1, characterized in that The current service state includes a state where interactive operation is not provided, and the interactive execution condition includes a preset interactive operation state; The acquiring the current service state based on the resource data interaction request, and synchronizing the resource data to be interacted with an associated interaction management server corresponding to the resource data interaction request when the current service state does not meet the interaction execution condition, comprises: Acquire the interactive operation not provided state based on the resource data interactive request, and when the interactive operation not provided state is inconsistent with the preset interactive operation state, acquire the associated interactive management server address corresponding to the resource data interactive request; The resource data to be interacted is synchronized with the associated interaction management server corresponding to the resource data interaction request according to the associated interaction management server address.
7. The method according to claim 1, characterized in that When the current service state does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request includes: When the current service state does not meet the interactive execution condition, storing the resource data to be interacted with in a synchronous data storage space; The resource data to be interacted in the synchronous data storage space is synchronized with the associated interaction management server corresponding to the resource data interaction request. The associated interaction management server obtains the resource data to be interacted and stores the resource data to be interacted in the associated synchronous data storage space.
8. The method according to claim 1, characterized in that The method further comprises: When the current service state meets the interaction execution condition, generating a current resource data interaction instruction based on the resource data to be interacted; Sending the current resource data interaction instruction to the current interaction execution server, so that the current interaction execution server performs a resource data interaction operation using the resource data to be interacted according to the current resource data interaction instruction, and obtains current resource interaction completion data corresponding to the resource data to be interacted; The current resource interaction completion data corresponding to the resource data to be interacted with is returned to the requesting end corresponding to the resource data interaction request.
9. The method according to claim 1, characterized in that: The method further comprises: Acquire the associated resource data to be interacted with sent by the associated interaction server through data synchronization; Acquire a synchronization service state corresponding to the associated resource data to be interacted with, and when the synchronization service state meets the interaction execution condition, generate an associated resource data interaction instruction based on the associated resource data to be interacted with; Sending the associated resource data interaction instruction to the current interaction execution server, so that the current interaction execution server performs a resource data interaction operation using the associated resource data to be interacted with according to the associated resource data interaction instruction, and obtains associated resource interaction completion data corresponding to the associated resource data to be interacted with; The associated resource interaction completion data is synchronized to the associated interaction associated server.
10. A resource data interaction method, characterized in that: The method comprises: Acquire resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires a resource data interaction request, acquires a current service state based on the resource data interaction request, and when the current service state does not meet the interaction execution condition, synchronizes the resource data to be interacted with an associated interaction management server corresponding to the resource data interaction request; Acquire the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the corresponding interaction execution server, so that the interaction execution server uses the resource data to be interacted to perform a resource data interaction operation according to the resource data interaction instruction, and obtain resource interaction completion data corresponding to the resource data to be interacted; Obtain resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server, so that the current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
11. The method according to claim 10, characterized in that The associated service state includes a current associated time point, the associated interaction execution condition includes a preset associated interaction execution time period, the interaction execution condition includes a preset interaction execution time period, the preset interaction execution time period and the preset associated interaction execution time period are non-overlapping time periods, and the sum of the preset interaction execution time period and the preset associated interaction execution time period is the same as a preset time period; The acquiring of the associated service status, and generating a resource data interaction instruction based on the resource data to be interacted when the associated service status meets the associated interaction execution condition, comprises: The current association time point is acquired, and when the current association time point is within the preset association interaction execution time period, a resource data interaction instruction is generated based on the resource data to be interacted.
12. A resource data interaction system, characterized in that: The system comprises: The current interaction management server is used to obtain a resource data interaction request, the resource data interaction request carries the resource data to be interacted with, and obtain the current service state based on the resource data interaction request, and when the current service state does not meet the interaction execution condition, synchronize the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request; The associated interaction management server is used to obtain the resource data to be interacted sent by the current interaction management server through data synchronization, obtain the associated service status, and when the associated service status meets the associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to the interaction execution server corresponding to the associated interaction management server, and the resource data consumed by the resource data interaction operation corresponding to the current service status is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service status; The interaction execution server is used to perform a resource data interaction operation using the resource data to be interacted with according to the resource data interaction instruction, obtain resource interaction completion data corresponding to the resource data to be interacted with, and return the resource interaction completion data to the associated interaction management server; The associated interaction management server is further used to obtain the resource interaction completion data corresponding to the resource data to be interacted with returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server; The current interaction management server is further used to obtain resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
13. The system according to claim 12, characterized in that The associated interaction management servers include at least two; The current interaction management server is further configured to synchronize the resource data to be interacted with at least two associated interaction management servers corresponding to the resource data interaction request when the current service state does not meet the interaction execution condition; The at least two associated interaction management servers are used to respectively obtain the corresponding associated service states, and when the target associated service state of the target management server among the at least two associated interaction management servers meets the corresponding associated interaction execution condition, the target management server generates a target resource data interaction instruction using the resource data to be interacted with, and sends the target resource data interaction instruction to the target interaction execution server corresponding to the target management server; The target interaction execution server is used to perform resource data interaction operations using the resource data to be interacted with according to the target resource data interaction instruction, obtain target resource interaction completion data corresponding to the resource data to be interacted with, and return the target resource interaction completion data to the target management server; The target management server is further configured to obtain target resource interaction completion data corresponding to the resource data to be interacted with, and synchronize the target resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server; The current interaction management server is also used to obtain the target resource interaction completion data corresponding to the resource data to be interacted with returned by the target management server through data synchronization, and return the target resource interaction completion data corresponding to the resource data to be interacted with to the request end corresponding to the resource data interaction request.
14. The system according to claim 13, characterized in that The target management servers include at least two; The at least two target management servers are used to determine a final management server, and the resource data consumed by the final management server corresponding to the resource data interaction operation is less than the resource data consumed by the remaining target management servers in the at least two target management servers corresponding to the resource data interaction operation; The final management server is used to generate a final resource data interaction instruction using the resource data to be interacted with, and send the final resource data interaction instruction to a final interaction execution server corresponding to the final management server; The final interaction execution server is used to perform resource data interaction operations using the resource data to be interacted according to the final resource data interaction instruction, obtain final resource interaction completion data corresponding to the resource data to be interacted, and return the final resource interaction completion data to the final management server; The final management server is further used to obtain final resource interaction completion data corresponding to the resource data to be interacted with, and synchronize the final resource interaction completion data corresponding to the resource data to be interacted with to the current interaction management server; The current interaction management server is also used to obtain the final resource interaction completion data corresponding to the resource data to be interacted returned by the final management server through data synchronization, and return the final resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
15. A resource data interaction device, characterized in that: The device comprises: A request acquisition module, used to acquire a resource data interaction request, wherein the resource data interaction request carries resource data to be interacted with; A resource data synchronization module, used for obtaining the current service state based on the resource data interaction request, and when the current service state does not meet the interaction execution condition, synchronizing the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request, the associated interaction management server obtains the associated service state, and when the associated service state meets the associated interaction execution condition, generates a resource data interaction instruction based on the resource data to be interacted, and sends the resource data interaction instruction to the interaction execution server corresponding to the associated interaction management server, the interaction execution server performs a resource data interaction operation using the resource data to be interacted according to the resource data interaction instruction, obtains resource interaction completion data corresponding to the resource data to be interacted, and returns the resource interaction completion data to the associated interaction management server, and the resource data consumed by the resource data interaction operation corresponding to the current service state is greater than the resource data consumed by the resource data interaction operation corresponding to the associated service state; The data acquisition module is used to acquire the resource interaction completion data corresponding to the resource data to be interacted returned by the associated interaction management server through data synchronization, and return the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
16. A resource data interaction device, characterized in that: The device comprises: A resource data acquisition module is used to acquire resource data to be interacted sent by the current interaction management server through data synchronization, the current interaction management server acquires a resource data interaction request, acquires a current service state based on the resource data interaction request, and when the current service state does not meet the interaction execution condition, synchronizes the resource data to be interacted with the associated interaction management server corresponding to the resource data interaction request; An interaction module is used to obtain an associated service status, and when the associated service status meets an associated interaction execution condition, generate a resource data interaction instruction based on the resource data to be interacted, and send the resource data interaction instruction to a corresponding interaction execution server, and the interaction execution server uses the resource data to be interacted to perform a resource data interaction operation according to the resource data interaction instruction, and obtains resource interaction completion data corresponding to the resource data to be interacted; An interaction completion module is used to obtain resource interaction completion data corresponding to the resource data to be interacted returned by the interaction execution server, and synchronize the resource interaction completion data corresponding to the resource data to be interacted with the current interaction management server. The current interaction management server obtains the resource interaction completion data corresponding to the resource data to be interacted returned through data synchronization, and returns the resource interaction completion data corresponding to the resource data to be interacted to the request end corresponding to the resource data interaction request.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 11 are implemented.
18. 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 11 are implemented.
19. 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 11 are implemented.