Data processing method, device, equipment, system and storage medium

By creating streaming tasks in online resource exchange tasks and updating them in real time, the problem of insufficient timeliness of data comparison in the prior art is solved, and real-time and accurate comparison of resource exchange task data is achieved.

CN119829622APending Publication Date: 2025-04-15BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311332623.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-13
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The prior art is difficult to ensure the timeliness of data comparison in online resource exchange tasks, and offline comparison solutions are usually adopted.

Method used

By receiving the task creation request for the target task sent by the first server, the streaming task processing data of the target task is created, and the task processing request is sent to the second server, the processing instructions information is received, and the streaming task data is forwarded to the first server, and the streaming task data is updated to realize real-time comparison.

Benefits of technology

Enhanced data comparison timeliness and ensures real-time accuracy of data related to resource exchange tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829622A_ABST
    Figure CN119829622A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method, device, equipment and system and a storage medium, and relates to the technical field of computers. The method comprises the steps of receiving a task creation request of a target task sent by a first server side, creating streaming task processing data, sending a task processing request to a second server side, forwarding received processing indication information returned by the second server side to the first server side, and sending the processing indication information to the second server side, the client initiates a processing operation based on the processing instruction, obtains processing information of the processing operation from the second server, updates streaming task processing data, and sends a processing notification corresponding to the processing information to the first server so as to instruct the first server to process the streaming task according to the updated streaming task data. Wherein the streaming task processing data is used for performing real-time comparison with the streaming task data for the target parameter. By adopting the technical scheme, the timeliness of data comparison can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to data processing methods, devices, equipment, systems, and storage media. Background Art

[0002] With the rapid development of computer technology and Internet technology, many offline tasks can be accomplished online.

[0003] Taking the online resource exchange task as an example, the task can be completed through interaction between servers. During the whole process, different servers usually store task-related data respectively. In order to ensure the accuracy of task-related data, it is necessary to compare the task data stored in different servers.

[0004] At present, task data comparison usually adopts offline comparison scheme, which makes it difficult to ensure the timeliness of data comparison. Summary of the invention

[0005] The embodiments of the present disclosure provide a data processing method, apparatus, device, system and storage medium, which can optimize the existing data processing solution based on resource acquisition tasks.

[0006] In a first aspect, an embodiment of the present disclosure provides a data processing method, including:

[0007] Receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores streaming task data associated with the target task;

[0008] Sending a task processing request of the target task to a second server, and receiving processing instruction information corresponding to the task processing request returned by the second server;

[0009] forwarding the processing instruction information to the first server to instruct the first server to issue a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0010] Acquire processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server;

[0011] A processing notification corresponding to the processing information is sent to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters.

[0012] In a second aspect, the present disclosure also provides a data processing device, including:

[0013] A data creation module, used to receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores the streaming task data associated with the target task;

[0014] a processing instruction receiving module, used for sending a task processing request of the target task to the second server, and receiving processing instruction information corresponding to the task processing request returned by the second server;

[0015] a processing instruction sending module, configured to forward the processing instruction information to the first server to instruct the first server to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0016] a data updating module, configured to obtain processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server;

[0017] A processing notification sending module is used to send a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0018] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0019] one or more processors;

[0020] a storage device for storing one or more programs,

[0021] When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided by the embodiment of the present disclosure.

[0022] In a fourth aspect, an embodiment of the present disclosure further provides a data processing system, including a first server, a second server, and a third server, wherein:

[0023] The first server is used to send a task creation request of a target task to the third server, wherein the target task includes a resource exchange task, the target task is initiated by the client to the first server, and the first server stores streaming task data associated with the target task;

[0024] The third server is used to receive the task creation request, create streaming task processing data of the target task, and send the task processing request of the target task to the second server;

[0025] The second server is used to return processing instruction information corresponding to the task processing request to the third server;

[0026] The third server is further configured to forward the processing instruction information to the first server;

[0027] The first server is further configured to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0028] The third server is further configured to obtain processing information of the processing operation from the second server, update the streaming task processing data according to the processing information, and send a processing notification corresponding to the processing information to the first server, wherein the processing information is included in the local task processing data of the target task in the second server;

[0029] The first server is further used to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0030] In a fifth aspect, an embodiment of the present disclosure further provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute the data processing method provided by the embodiment of the present disclosure.

[0031] The data processing scheme provided by the embodiment of the present disclosure receives a task creation request of a target task sent by a first server, creates streaming task processing data of the target task, wherein the target task includes a resource exchange task, the first server stores streaming task data associated with the target task, sends a task processing request of the target task to a second server, receives processing instruction information corresponding to the task processing request returned by the second server, forwards the processing instruction information to the first server, to instruct the first server to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction, obtains processing information of the processing operation from the second server, and updates the streaming task processing data according to the processing information, the processing information is included in the local task processing data in the second server, sends a processing notification corresponding to the processing information to the first server, to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters. By adopting the above technical scheme, the timeliness of data comparison can be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0033] Figure 1 A flowchart of a data processing method provided by an embodiment of the present disclosure;

[0034] Figure 2 A flowchart of another data processing method provided by an embodiment of the present disclosure;

[0035] Figure 3 A schematic diagram of an interactive process of a data processing method provided by an embodiment of the present disclosure;

[0036] Figure 4 A schematic diagram of the structure of a data processing device provided by an embodiment of the present disclosure;

[0037] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure;

[0038] Figure 6 A schematic diagram of the structure of a data processing system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0039] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0040] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0041] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0042] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0043] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0044] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0045] Figure 1 A flow chart of a data processing method provided in an embodiment of the present disclosure is provided. The embodiment of the present disclosure is applicable to data processing scenarios. The method can be executed by a data processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a server or other device.

[0046] like Figure 1 As shown, the method includes:

[0047] Step 101, receive a task creation request for a target task sent by a first server, and create streaming task processing data for the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores streaming task data associated with the target task.

[0048] Exemplarily, the method can be executed by a third server, and the third server and the first server can be deployed in different independent physical devices, or deployed in the same physical device, without specific limitation. The resource exchange task can be understood as a task of transferring ownership of different resources, wherein the resources can include items, commodities, services or funds, etc., and the target task can be, for example, an order transaction task. The first server can be understood as a server that interacts directly with the client, for example, it can be a business system, and the specific business type can be related to the type of resources used for exchange, such as if the resource is a commodity, and the business can be an online shopping mall business, etc.; the second server can be understood as a server used to execute the target task, for example, it can be an external transaction system or a third-party transaction system; the third server can be understood as a server between the first server and the second server, for example, it can be recorded as an intermediate transaction system or an intermediate payment system.

[0049] Exemplarily, when a user performs a resource acquisition task (which can be recorded as an upper-level task of a target task, such as a task of placing an order to purchase goods) through a client, the target task corresponding to the resource acquisition task can be initiated to the first server through the client (such as initiating an order transaction task for the purchased goods). The first server responds to the client initiating the target task (such as receiving a transaction request from the front end) and internally creates streaming task data (which can be recorded as business data) associated with the target task. The streaming task data may include streaming task data associated with the target task. The specific form of expression can be a message queue. Each message in the message queue corresponds to task data associated with the target task at a moment. The streaming task data currently created can be understood as the first message in the message queue. The streaming task data associated with the target task may be the streaming task data of the resource acquisition task associated with the target task, such as streaming order data, which may include resource information (such as product name or purchase quantity), resource value information (such as product unit price or transaction amount), logistics information, subject information of the resource exchange subject (such as user account ID, merchant name or merchant account ID), task status information (such as order status or transaction status), and task time information (such as order time, payment time, transaction completion time, delivery time, receipt time, and order completion time), etc. The first server is responsible for dynamically updating the streaming task data.

[0050] Exemplarily, the streaming task processing data can be understood as the streaming processing data related to resource exchange maintained by the third server, for example, it may include the subject information of the resource exchange subject (such as merchant account ID or merchant account ID, etc.), exchange key information (such as merchant key), exchange order number (such as transaction order number), exchange status (such as transaction status), exchange content (such as transaction amount), exchange time (such as transaction time) or exchange channel (such as transaction channel), etc. The specific form of the streaming task processing data can be a message queue, each message in the message queue corresponds to the task processing data associated with a moment of the target task, and the currently created streaming task processing data can be understood as the first message in the message queue.

[0051] Step 102: Send a task processing request for the target task to a second server, and receive processing instruction information corresponding to the task processing request returned by the second server.

[0052] For example, based on the information in the current streaming task processing data, a task processing request for the target task can be sent to the second server, such as placing an order to a third-party trading system. After receiving the task processing request, the second server can return processing instruction information corresponding to the task processing request to the third server, and the processing instruction information may include operation parameters for performing the exchange operation, such as cashier parameters.

[0053] Step 103: forward the processing instruction information to the first server to instruct the first server to issue a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction.

[0054] Exemplarily, the third server can send the processing instruction information to the first server by transparent transmission, so that the first server can issue corresponding processing instructions to the client according to the processing instruction information, such as an instruction to pop up an exchange processing page. After receiving the processing instruction, the client can display the exchange processing page, such as a cashier page. The user can enter the payment password and other information in the exchange processing page, so that the client can initiate a processing operation to the second server. Taking the purchase of goods as an example, the processing operation can be a payment operation.

[0055] Step 104: Obtain processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server.

[0056] Exemplarily, after receiving the processing operation initiated by the client, the second server can execute its own processing flow and dynamically update the internal local task processing data. The local task processing data can be understood as the streaming processing data related to resource exchange that the second server is responsible for maintaining, for example, it may include the subject information of the resource exchange subject (such as merchant account identification or merchant account identification, etc.), exchange key information (such as merchant key), exchange order number (such as transaction order number), exchange status (such as transaction status), exchange content (such as transaction amount), exchange time (such as transaction time) or exchange channel (such as transaction channel), etc. For data security considerations, the local task processing data is the internal data of the second server and is generally not open to the outside world. The comparison platform used for data comparison cannot directly read the local task processing data.

[0057] In the disclosed embodiment, in order to realize the streaming real-time comparison between task data and task processing data, the third server is responsible for data synchronization with the second server, and dynamically obtains the processing information in the local task processing data from the second server to dynamically update the streaming task processing data, so as to ensure that the data about the processing information between the third server and the second server can have consistency and short timeliness. Exemplarily, the processing information may include the subject information of the resource exchange subject (such as merchant account identification or merchant account identification, etc.), exchange key information (such as merchant key), exchange order number (such as transaction order number), exchange status (such as transaction status), exchange content (such as transaction amount), exchange time (such as transaction time) or exchange channel (such as transaction channel), etc.

[0058] Step 105: Send a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters.

[0059] Exemplarily, the processing notification may include information related to the target task for updating the streaming task data, such as the subject information of the resource exchange subject (such as the merchant account ID), the exchange status (such as the transaction status), the exchange content (such as the transaction amount), the exchange time (such as the transaction time), etc.

[0060] Exemplarily, after receiving the processing notification, the first server promptly updates the streaming task data, so that the comparison platform can perform a real-time comparison of the streaming task processing data with the streaming task data for the target parameters. The comparison can specifically be to compare whether the parameter value of the same target parameter in the streaming task processing data is consistent with the parameter value in the streaming task data. Among them, the target parameter can be understood as the parameter that needs to be compared. For example, the real-time comparison can specifically be a real-time reconciliation, and the target parameters may include transaction status, transaction amount, merchant account identification, and transaction time, etc.

[0061] The data processing method of the embodiment of the present disclosure receives a task creation request for a target task sent by a first server, creates streaming task processing data of the target task, wherein the target task includes a resource exchange task, the first server stores the streaming task data associated with the target task, sends a task processing request for the target task to a second server, receives processing indication information corresponding to the task processing request returned by the second server, forwards the processing indication information to the first server to instruct the first server to send a processing instruction to the client according to the processing indication information, wherein the client initiates a processing operation to the second server based on the processing instruction, obtains processing information of the processing operation from the second server, and updates the streaming task processing data according to the processing information, the processing information is included in the local task processing data in the second server, and sends a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters. By adopting the above-mentioned technical solution, relevant information of the resource exchange task is forwarded between the first server and the second server, and the local task processing data in the second server is synchronized, so as to realize real-time comparison between the streaming task data in the first server and the synchronized streaming task processing data, thereby enhancing the timeliness of data comparison.

[0062] In some embodiments, after forwarding the processing instruction information to the first server, it also includes: creating a delayed message queue and writing a first delayed message in the delayed message queue, wherein the first delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the first delayed message and the writing time of the first delayed message is less than a first preset duration. Wherein, obtaining the processing information of the processing operation from the second server and updating the streaming task processing data according to the processing information includes: consuming the first delayed message in response to the current time being equal to the consumption time of the first delayed message, so as to query the second server for the current first processing information of the processing operation, and updating the streaming task processing data according to the first processing information; wherein, sending the processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification includes: sending the first processing notification corresponding to the first processing information to the first server to instruct the first server to update the streaming task data according to the first processing notification. In this way, the timeliness of data comparison can be further guaranteed.

[0063] Exemplarily, the first server may send multiple target task creation requests in parallel or successively in a short period of time. In order to distinguish different target tasks, the target task and the delay message queue can be in a one-to-one relationship. After forwarding the processing instruction information to the first server, the processing operation is initiated directly by the client to the second server. Therefore, the third server cannot accurately determine the processing progress. By writing and consuming the delay message, it actively queries the second server for the current processing information, and the time difference between the consumption time and the writing time is less than the first preset time length, which can ensure the real-time consistency of the processing information data with the local task processing data in the second server. Among them, the first preset time length can be set according to the time accuracy requirement of the real-time comparison, such as 5 seconds, etc. For example, after forwarding the processing instruction information to the first server, create a delay message queue for the target task, and write the first delay message. After 5 seconds, consume the first delay message from the delay message queue, and query the second server for the current processing information of the processing operation (recorded as the first processing information).

[0064] In some embodiments, after the stream task processing data is updated according to the first processing information, it also includes: determining whether the target task is in a completed state; if not, writing a second delayed message in the delayed message queue, wherein the second delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the second delayed message and the writing time of the second delayed message is less than a second preset duration; in response to the current time being equal to the consumption time of the second delayed message, consuming the second delayed message to query the second server for the current second processing information of the processing operation, and updating the stream task processing data according to the second processing information; sending a second processing notification corresponding to the second processing information to the first server to instruct the first server to update the stream task data according to the second processing notification. In this way, the time accuracy and timeliness of data comparison can be further guaranteed.

[0065] Exemplarily, before the target task enters the completed state, the processing information may change dynamically. Therefore, in order to ensure that accurate processing information is obtained in real time, before determining that the target task is not in the completed state, the delayed message (recorded as the second delayed message) can continue to be written to the delayed message queue, and the current processing information can be queried from the second server again by consuming the new delayed message, so as to update the streaming task processing data and streaming task data in time. Among them, the second preset duration can be the same as or different from the first preset duration, and there is no specific limitation.

[0066] Optionally, after sending the second processing notification corresponding to the second processing information to the first server, the method may include: determining whether the target task is in a completed state, and if not, rewriting the second delayed message in the delayed message queue. Thus, the streaming task processing data and streaming task data can be continuously and dynamically updated before the target task enters a completed state.

[0067] In some embodiments, after determining whether the target task is in a completed state, the method further includes: if so, determining that the streaming task processing data stops updating. In this way, unnecessary interactions with the second server can be reduced, saving resources. Optionally, the delayed message queue corresponding to the target task can be destroyed.

[0068] In some embodiments, the method is applied to a third server; the streaming task data is stored in a database corresponding to the first server (such as a log file of the database, binlog) for reading by a preset comparison platform; the streaming task processing data is stored in a database corresponding to the third server (such as a log file of the database) for reading by the preset comparison platform; wherein the preset comparison platform is used to perform a real-time comparison of the streaming task processing data with the streaming task data for target parameters. Thus, the streaming task data is read from the first database of the first server and the streaming task processing data is read from the database of the third server in real time through a preset comparison platform outside the first server and the third server, and a real-time comparison is performed to ensure the objectivity and accuracy of the comparison.

[0069] Figure 2 This is a flow chart of another data processing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is optimized based on each optional solution in the above embodiment. Figure 3 A schematic diagram of the interactive process of a data processing method provided by an embodiment of the present disclosure can be combined with Figure 2 and Figure 3 Understand the solution of the embodiment of the present disclosure. Exemplarily, the method is executed by an intermediate transaction system. Specifically, the method includes the following steps:

[0070] Step 201: Receive a task creation request for a target task sent by a first server, and create streaming task processing data for the target task.

[0071] The target task includes a resource exchange task, the target task is initiated by the client to the first server, and the first server stores streaming task data associated with the target task.

[0072] For example, Figure 3 As shown, the user places an order to the business system (first server) through the client, the business system creates streaming business data (streaming task data) in the business system database, and places an order to the intermediate payment system (third server). After the intermediate payment system receives the task creation request for the order transaction task sent by the business system, it creates streaming transaction data (streaming task processing data) in the intermediate payment system database.

[0073] Step 202: Send a task processing request for the target task to the second server, and receive processing instruction information corresponding to the task processing request returned by the second server.

[0074] For example, Figure 3 As shown, the intermediate payment system places an order to the external transaction system (second service end), and the external transaction system returns a transaction instruction to the intermediate payment system.

[0075] Step 203: forward the processing instruction information to the first server to instruct the first server to send a processing instruction to the client according to the processing instruction information.

[0076] Wherein, the client initiates a processing operation to the second server based on the processing instruction.

[0077] like Figure 3 As shown, the intermediate payment system transmits the transaction instruction to the business system, and the business system controls the client to pull up the user-side cashier, and the user can start the payment operation.

[0078] Step 204: Create a delayed message queue, and write the first delayed message into the delayed message queue.

[0079] Among them, the first delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the first delayed message and the writing time of the first delayed message is less than the first preset duration.

[0080] Step 205 , in response to the current time being equal to the consumption time of the first delayed message, consume the first delayed message to query the second server for the current first processing information of the processing operation, and update the streaming task processing data according to the first processing information.

[0081] like Figure 3 As shown, the external transaction system database of the external transaction system stores local task processing data. For data security reasons, the log files of the external transaction system database are not open to the public. When the external transaction system receives a query request for processing information from the intermediate payment system, it can obtain the current processing information by reading the local task processing data and return it to the intermediate payment system.

[0082] Step 206: Send a first processing notification corresponding to the first processing information to the first server to instruct the first server to update the streaming task data according to the first processing notification.

[0083] Step 207 , determine whether the target task is in a completed state, if so, execute step 211 ; otherwise, execute step 208 .

[0084] Exemplarily, determine whether at least one of the following is satisfied, and if so, determine that the target task is in a completed state: the current processing status of the processing operation is completed; the current processing status of the processing operation is timed out; and the target task is terminated; wherein the processing status is included in the processing information.

[0085] For example, for an order transaction, the completed processing status may specifically mean successful payment; the timed processing status may specifically mean payment timeout; the termination of the target task may mean that the order is closed, such as when the user cancels the order. Non-completed status may include, for example, paying and unpaid. If it is not in the completed status, the latest processing information can be obtained by writing a delayed message again and consuming the delayed message.

[0086] Step 208: Write the second delayed message into the delayed message queue.

[0087] Among them, the second delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the second delayed message and the writing time of the second delayed message is less than the second preset duration.

[0088] Step 209, in response to the current time being equal to the consumption time of the second delayed message, consume the second delayed message to query the second server for the current second processing information of the processing operation, and update the streaming task processing data according to the second processing information.

[0089] Step 210 : Send a second processing notification corresponding to the second processing information to the first server to instruct the first server to update the streaming task data according to the second processing notification, and return to execute step 207 .

[0090] like Figure 3 As shown, before the target task enters the completion state, the transaction information can be queried from the external transaction system in real time by multiple writing and consuming delayed messages, and the intermediate payment system status (that is, updating the streaming task processing data) and the business system status (that is, updating the streaming task data) can be updated.

[0091] Optionally, when sending a task processing request for the target task to the second server, a callback address may be included in the task processing request, so that when the second server determines that the target task is in a completed state, it actively returns the corresponding transaction information based on the callback address. Figure 3 As shown, after the user payment is successful, the external transaction system actively sends transaction information to the intermediate payment system through the callback address to update the status of the intermediate payment system.

[0092] Step 211: Determine whether to stop updating the streaming task processing data.

[0093] like Figure 3 As shown, the reconciliation tool (preset comparison platform) can obtain streaming business data and transaction data in real time for real-time reconciliation by accessing the business system database and the intermediate payment system database respectively.

[0094] The data processing method provided by the disclosed embodiment is that the third server receives the task creation request of the target task sent by the first server, creates the streaming task processing data of the target task, sends the task processing request of the target task to the second server, and receives the processing instruction information corresponding to the task processing request returned by the second server, forwards the processing instruction information to the first server to instruct the first server to issue a processing instruction to the client according to the processing instruction information, creates a delayed message queue, queries the second server for the processing information of the processing operation by multiple writing and consuming delayed messages, and updates the streaming task processing data in time according to the processing information, sends the processing notification corresponding to the processing information to the first server, instructs the first server to update the streaming task data in time according to the processing notification, so that the streaming task processing data and the streaming task data can be compared with each other in real time for the target parameters, thereby enhancing the timeliness of the data comparison. For the reconciliation application scenario, the timeliness and efficiency of the reconciliation can be effectively guaranteed.

[0095] Figure 4 A structural diagram of a data processing device provided by an embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the device comprises:

[0096] The data creation module 401 is used to receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores the streaming task data associated with the target task;

[0097] The processing instruction receiving module 402 is used to send a task processing request of the target task to the second server, and receive processing instruction information corresponding to the task processing request returned by the second server;

[0098] A processing instruction sending module 403 is used to forward the processing instruction information to the first server to instruct the first server to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0099] A data updating module 404, configured to obtain processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server;

[0100] The processing notification sending module 405 is used to send a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0101] The data processing device provided by the embodiment of the present disclosure forwards relevant information of the resource exchange task between the first server and the second server, and synchronizes the local task processing data in the second server, thereby realizing real-time comparison of the streaming task data in the first server and the synchronized streaming task processing data, and enhancing the timeliness of the data comparison.

[0102] Optionally, the device further comprises:

[0103] A queue creation module, used to create a delayed message queue after forwarding the processing instruction information to the first server, and write a first delayed message in the delayed message queue, wherein the first delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the first delayed message and the writing time of the first delayed message is less than a first preset duration;

[0104] The data updating module is specifically used to: in response to the current time being equal to the consumption time of the first delayed message, consume the first delayed message to query the second server for the current first processing information of the processing operation, and update the streaming task processing data according to the first processing information;

[0105] The processing notification sending module is specifically used to send a first processing notification corresponding to the first processing information to the first server to instruct the first server to update the streaming task data according to the first processing notification.

[0106] Optionally, the device further comprises:

[0107] A state judgment module, used for judging whether the target task is in a completed state after the stream task processing data is updated according to the first processing information;

[0108] a message writing module, configured to write a second delayed message in the delayed message queue when the judgment result of the state judgment module is no, wherein the second delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the second delayed message and the writing time of the second delayed message is less than a second preset duration;

[0109] a message consumption module, configured to consume the second delayed message in response to the current time being equal to the consumption time of the second delayed message, so as to query the second server for the current second processing information of the processing operation, and update the streaming task processing data according to the second processing information;

[0110] The notification sending module is used to send a second processing notification corresponding to the second processing information to the first server to instruct the first server to update the streaming task data according to the second processing notification.

[0111] Optionally, the device further comprises:

[0112] The update stop module is used to determine that the stream task processing data stops updating when the judgment result of the state judgment module is yes.

[0113] Optionally, determining whether the target task is in a completed state includes: determining whether at least one of the following items is satisfied, and if so, determining that the target task is in a completed state: the current processing status of the processing operation is completed; the current processing status of the processing operation is timed out; the target task is terminated; wherein the processing status is included in the processing information.

[0114] Optionally, the device is configured on a third server; the streaming task data is stored in a first log file of a first database corresponding to the first server, for reading by a preset comparison platform; the streaming task processing data is stored in a second log file of a second database corresponding to the third server, for reading by the preset comparison platform; wherein the preset comparison platform is used to perform real-time comparison of the streaming task processing data with the streaming task data for target parameters.

[0115] Optionally, the first server includes a business system, the second server includes a third-party transaction system, the target task includes an order transaction task, the processing operation includes a payment operation, the streaming task data includes streaming business data, the streaming task processing data includes streaming transaction data, and the real-time comparison includes real-time reconciliation.

[0116] The data processing device provided in the embodiments of the present disclosure can execute the data processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0117] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0118] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5 The terminal device in the embodiment of the present disclosure may include but is not limited to a terminal such as a desktop computer and a server. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0119] like Figure 5 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0120] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0121] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0122] The names of messages or information exchanged between multiple service terminals in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0123] The electronic device provided by the embodiment of the present disclosure and the data processing method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0124] Figure 6 A structural diagram of a data processing system provided by an embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the data processing system 600 includes a first server 601 , a second server 602 and a third server 603 .

[0125] The first server is used to send a task creation request of a target task to the third server, wherein the target task includes a resource exchange task, the target task is initiated by the client to the first server, and the first server stores streaming task data associated with the target task;

[0126] The third server is used to receive the task creation request, create streaming task processing data of the target task, and send the task processing request of the target task to the second server;

[0127] The second server is used to return processing instruction information corresponding to the task processing request to the third server;

[0128] The third server is further configured to forward the processing instruction information to the first server;

[0129] The first server is further configured to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0130] The third server is further configured to obtain processing information of the processing operation from the second server, update the streaming task processing data according to the processing information, and send a processing notification corresponding to the processing information to the first server, wherein the processing information is included in the local task processing data of the target task in the second server;

[0131] The first server is further used to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0132] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the data processing method provided by the above embodiments is implemented.

[0133] The embodiments of the present disclosure provide a computer program product, including a computer program, which implements the data processing method provided in the above embodiments when executed by a processor.

[0134] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0135] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0136] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0137] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a task creation request for a target task sent by a first server, creates streaming task processing data for the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores streaming task data associated with the target task; sends a task processing request for the target task to a second server, and receives processing instruction information corresponding to the task processing request returned by the second server; forwards the processing instruction information to the first server to indicate the task processing request; The first server sends a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction; obtains processing information of the processing operation from the second server, and updates the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server; sends a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters.

[0138] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0139] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, a processing instruction receiving module may also be described as "a module that sends a task processing request for the target task to the second server and receives processing instruction information corresponding to the task processing request returned by the second server".

[0141] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0142] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] According to one or more embodiments of the present disclosure, a data processing method is provided, including:

[0144] Receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores streaming task data associated with the target task;

[0145] Sending a task processing request of the target task to a second server, and receiving processing instruction information corresponding to the task processing request returned by the second server;

[0146] forwarding the processing instruction information to the first server to instruct the first server to issue a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0147] Acquire processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server;

[0148] A processing notification corresponding to the processing information is sent to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters.

[0149] According to one or more embodiments of the present disclosure, after forwarding the processing instruction information to the first server, the method further includes:

[0150] Creating a delayed message queue, and writing a first delayed message in the delayed message queue, wherein the first delayed message is used to indicate obtaining current processing information of the processing operation from the second server, and the difference between the consumption time of the first delayed message and the writing time of the first delayed message is less than a first preset duration;

[0151] The acquiring the processing information of the processing operation from the second server and updating the stream task processing data according to the processing information includes:

[0152] In response to the current time being equal to the consumption time of the first delayed message, consuming the first delayed message to query the second server for current first processing information of the processing operation, and updating the streaming task processing data according to the first processing information;

[0153] The sending of a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification includes:

[0154] A first processing notification corresponding to the first processing information is sent to the first server to instruct the first server to update the streaming task data according to the first processing notification.

[0155] According to one or more embodiments of the present disclosure, after updating the streaming task processing data according to the first processing information, the method further includes:

[0156] Determine whether the target task is in a completed state;

[0157] If not, writing a second delayed message in the delayed message queue, wherein the second delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the second delayed message and the writing time of the second delayed message is less than a second preset duration;

[0158] In response to the current time being equal to the consumption time of the second delayed message, consuming the second delayed message to query the second server for the current second processing information of the processing operation, and updating the streaming task processing data according to the second processing information;

[0159] Sending a second processing notification corresponding to the second processing information to the first server to instruct the first server to update the streaming task data according to the second processing notification.

[0160] According to one or more embodiments of the present disclosure, after determining whether the target task is in a completed state, the method further includes:

[0161] If so, it is determined that the streaming task processing data stops updating.

[0162] According to one or more embodiments of the present disclosure, the determining whether the target task is in a completed state includes:

[0163] Determine whether at least one of the following is met, and if so, determine that the target task is in a completed state:

[0164] The current processing status of the processing operation is completed;

[0165] The current processing status of the processing operation is timed out;

[0166] The target task is terminated;

[0167] The processing status is included in the processing information.

[0168] According to one or more embodiments of the present disclosure, there is provided a data processing device, including:

[0169] A data creation module, used to receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores the streaming task data associated with the target task;

[0170] a processing instruction receiving module, used for sending a task processing request of the target task to the second server, and receiving processing instruction information corresponding to the task processing request returned by the second server;

[0171] a processing instruction sending module, configured to forward the processing instruction information to the first server to instruct the first server to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0172] a data updating module, configured to obtain processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server;

[0173] A processing notification sending module is used to send a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0174] According to one or more embodiments of the present disclosure, a data processing system is provided, including a first server, a second server, and a third server, wherein:

[0175] The first server is used to send a task creation request of a target task to the third server, wherein the target task includes a resource exchange task, the target task is initiated by the client to the first server, and the first server stores streaming task data associated with the target task;

[0176] The third server is used to receive the task creation request, create streaming task processing data of the target task, and send the task processing request of the target task to the second server;

[0177] The second server is used to return processing instruction information corresponding to the task processing request to the third server;

[0178] The third server is further configured to forward the processing instruction information to the first server;

[0179] The first server is further configured to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction;

[0180] The third server is further configured to obtain processing information of the processing operation from the second server, update the streaming task processing data according to the processing information, and send a processing notification corresponding to the processing information to the first server, wherein the processing information is included in the local task processing data of the target task in the second server;

[0181] The first server is further used to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

[0182] According to one or more embodiments of the present disclosure, an electronic device is provided, the electronic device comprising:

[0183] one or more processors;

[0184] a storage device for storing one or more programs,

[0185] When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method provided by the embodiment of the present disclosure.

[0186] According to one or more embodiments of the present disclosure, a storage medium containing computer executable instructions is provided. When the computer executable instructions are executed by a computer processor, they are used to execute the data processing method provided by the embodiments of the present disclosure.

[0187] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0188] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0189] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A data processing method, characterized in that: include: Receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores streaming task data associated with the target task; Sending a task processing request of the target task to a second server, and receiving processing instruction information corresponding to the task processing request returned by the second server; forwarding the processing instruction information to the first server to instruct the first server to issue a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction; Acquire processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server; A processing notification corresponding to the processing information is sent to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used for real-time comparison with the streaming task data for target parameters.

2. The method according to claim 1, characterized in that After forwarding the processing instruction information to the first server, the method further includes: Creating a delayed message queue, and writing a first delayed message in the delayed message queue, wherein the first delayed message is used to indicate obtaining current processing information of the processing operation from the second server, and the difference between the consumption time of the first delayed message and the writing time of the first delayed message is less than a first preset duration; The acquiring the processing information of the processing operation from the second server and updating the stream task processing data according to the processing information includes: In response to the current time being equal to the consumption time of the first delayed message, consuming the first delayed message to query the second server for current first processing information of the processing operation, and updating the streaming task processing data according to the first processing information; The sending of a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification includes: A first processing notification corresponding to the first processing information is sent to the first server to instruct the first server to update the streaming task data according to the first processing notification.

3. The method according to claim 2, characterized in that After updating the stream task processing data according to the first processing information, the method further includes: Determine whether the target task is in a completed state; If not, writing a second delayed message in the delayed message queue, wherein the second delayed message is used to indicate obtaining the current processing information of the processing operation from the second server, and the difference between the consumption time of the second delayed message and the writing time of the second delayed message is less than a second preset duration; In response to the current time being equal to the consumption time of the second delayed message, consuming the second delayed message to query the second server for the current second processing information of the processing operation, and updating the streaming task processing data according to the second processing information; Sending a second processing notification corresponding to the second processing information to the first server to instruct the first server to update the streaming task data according to the second processing notification.

4. The method according to claim 3, characterized in that After determining whether the target task is in a completed state, the method further includes: If so, it is determined that the streaming task processing data stops updating.

5. The method according to claim 3, characterized in that: The determining whether the target task is in a completed state includes: Determine whether at least one of the following is met, and if so, determine that the target task is in a completed state: The current processing status of the processing operation is completed; The current processing status of the processing operation is timed out; The target task is terminated; The processing status is included in the processing information.

6. A data processing device, characterized in that: include: A data creation module, used to receive a task creation request of a target task sent by a first server, and create streaming task processing data of the target task, wherein the target task includes a resource exchange task, the target task is initiated by a client to the first server, and the first server stores the streaming task data associated with the target task; a processing instruction receiving module, used for sending a task processing request of the target task to the second server, and receiving processing instruction information corresponding to the task processing request returned by the second server; a processing instruction sending module, configured to forward the processing instruction information to the first server to instruct the first server to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction; a data updating module, configured to obtain processing information of the processing operation from the second server, and update the streaming task processing data according to the processing information, wherein the processing information is included in the local task processing data of the target task in the second server; A processing notification sending module is used to send a processing notification corresponding to the processing information to the first server to instruct the first server to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

7. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method according to any one of claims 1 to 5.

8. A data processing system, characterized in that: It includes a first server, a second server and a third server, wherein: The first server is used to send a task creation request of a target task to the third server, wherein the target task includes a resource exchange task, the target task is initiated by the client to the first server, and the first server stores streaming task data associated with the target task; The third server is used to receive the task creation request, create streaming task processing data of the target task, and send the task processing request of the target task to the second server; The second server is used to return processing instruction information corresponding to the task processing request to the third server; The third server is further configured to forward the processing instruction information to the first server; The first server is further configured to send a processing instruction to the client according to the processing instruction information, wherein the client initiates a processing operation to the second server based on the processing instruction; The third server is further configured to obtain processing information of the processing operation from the second server, update the streaming task processing data according to the processing information, and send a processing notification corresponding to the processing information to the first server, wherein the processing information is included in the local task processing data of the target task in the second server; The first server is further used to update the streaming task data according to the processing notification, wherein the streaming task processing data is used to perform real-time comparison with the streaming task data for target parameters.

9. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the data processing method according to any one of claims 1 to 5.