Asynchronous information processing method, device and system

By configuring auxiliary queues, cache and reordering activity operations in downstream data processing scripts, the problem of batch activity operations timeout in message queue processing scheme is solved, and the reliability and timeliness of processing are improved.

CN119718715APending Publication Date: 2025-03-28EEO EDUCATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411735785.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing message queue processing scheme can easily cause timeout when handling a large number of batch activity operations, resulting in failure of data processing script execution, blocking the entire message queue, affecting the real-time experience of user operations.

Method used

In the downstream data processing script, an independent auxiliary queue is configured to determine whether it exceeds the processing capacity limit based on the number of batch activity operations. If it exceeds, cache the active operation to the auxiliary queue and process it in the set execution order.

Benefits of technology

By assisting queues to optimize asynchronous message processing, timeout situations are avoided, the reliability and timeliness of message processing are improved, and user experience and data consistency are guaranteed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718715A_ABST
    Figure CN119718715A_ABST
Patent Text Reader

Abstract

The invention discloses an asynchronous information processing method, device and system. The method is applied to a downstream end which is connected with an upstream end through a message queue to transmit data, a plurality of data processing scripts are arranged in the downstream end, and an independent auxiliary queue is configured for each data processing script. The method comprises the following steps: after receiving all activity operations about a batch activity initiated by an upstream end in a message queue, determining a data processing script matched with the batch activity and an activity operation quantity of the batch activity; when the number of the activity operations is identified to be smaller than or equal to the downstream end processing capability upper limit, processing all the activity operations in sequence through a data processing script; and when the number of the activity operations is identified to be greater than the upper limit of the downstream end processing capability, caching all the activity operations to an auxiliary queue, and processing all the activity operations according to a set execution sequence. According to the method, the reliability of the asynchronous message processing method is improved, and the processing timeliness is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to an asynchronous information processing method, device and system. Background Art

[0002] Message Queuing (MQ) processing is an asynchronous communication mechanism used to transmit messages between different upstream and downstream ends. The message queue (also called asynchronous message queue) used by this mechanism is a container for storing messages. The upstream end sends the data request containing the asynchronous message to the message queue, and the downstream end obtains the asynchronous message from the message queue and processes it.

[0003] In the existing MQ processing solution, when the number of batch processing activities is large, the processing complexity and time consumption will increase accordingly. In this case, it is very likely that the data processing script will time out, resulting in the failure of submitting the current data element, thereby blocking the entire message queue, causing subsequent messages to be unable to be processed, and affecting the real-time experience of user operations. For example, Figure 1 As shown, the producer, as the operator at the upstream end, sends the copy activity operation to the message queue, and the consumer, as the operator at the downstream end, executes the copy activity operation through the data processing script. The data processing script uses an asynchronous consumption script, and there is a high possibility of execution timeout, resulting in a poor user experience.

[0004] Therefore, how to solve the timeout defect existing in the existing MQ processing solution has become a technical problem that technical personnel in this field need to solve urgently. Summary of the invention

[0005] The purpose of the present invention is to overcome the timeout defect existing in the above-mentioned prior art, and proposes an asynchronous information processing method. The present invention also discloses an asynchronous information processing device and an asynchronous information processing system.

[0006] In order to achieve the above object, the present invention proposes an asynchronous information processing method, which is applied to a downstream end connected to an upstream end through a message queue to transmit data, wherein a plurality of data processing scripts are arranged inside the downstream end, and an independent auxiliary queue is configured for each of the data processing scripts. The method comprises:

[0007] After receiving all activity operations of the batch activity initiated by the upstream end in the message queue, determining a data processing script matching the batch activity and the number of activity operations of the batch activity;

[0008] When it is identified that the number of the activity operations is less than or equal to the upper limit of the downstream end processing capacity, all the activity operations are processed in sequence by the data processing script;

[0009] When it is identified that the number of active operations is greater than the upper limit of the downstream end processing capacity, all the active operations are cached in the auxiliary queue and then processed in a set execution order.

[0010] As an improvement to the above method, each of the data processing scripts is configured with multiple independent auxiliary queues; and,

[0011] The batch activity includes at least one of batch copying, batch deleting, and batch editing;

[0012] Different data processing scripts are set inside the downstream end for different types of batch activities.

[0013] As an improvement to the above method, when the number of activity operations is identified to be less than or equal to the upper limit of the downstream end processing capacity, all activity operations are processed in sequence by the data processing script, including:

[0014] When it is identified that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity, the message queue is used as the first queue, and the processing of each activity operation is performed according to the order of data elements in the first queue until the batch activity is completed.

[0015] As an improvement to the above method, when it is identified that the number of active operations is greater than the upper limit of the downstream end processing capacity, the step of caching all the active operations in the auxiliary queue and then processing all the active operations in a set execution order includes:

[0016] When it is identified that the number of active operations is greater than the upper limit of the downstream end processing capacity, all active operations are cached in the auxiliary queue;

[0017] After all active operations in the auxiliary queue are cached, reorder the data elements of the auxiliary queue according to a set priority order to obtain a second queue;

[0018] The processing of each of the activity operations is performed in sequence according to the data elements of the second queue until the current batch activity is completed.

[0019] As an improvement of the above method, the data elements include activity content data, data element relationships, attached settings, attachment data, notification data, reminder data, and to-do data; and,

[0020] The step of reordering the data elements of the first queue according to the set priority order comprises:

[0021] Identify data of the activity content itself involved in the activity operation and mark it as first data;

[0022] Identify the data element relationship involved in the activity operation and mark it as second data;

[0023] Identify the auxiliary settings and attachment data involved in the activity operation and mark them as third data;

[0024] Identify notification data, reminder data, and to-do data involved in the activity operation, and mark them as fourth data;

[0025] The first data, the second data, the third data, and the fourth data are sorted in descending order of processing priority.

[0026] As an improvement of the above method, the downstream end and the message queue are integrated in the server, and the upstream end initiates this batch activity to the server through an application APP pre-set at the upstream end; or,

[0027] The downstream end and the message queue are independently set, the number of the downstream ends is multiple, and one end of the message queue is connected to the server, and the other end is connected to the multiple downstream ends. The upstream end initiates this batch activity to the server through the application APP pre-set at the upstream end.

[0028] As an improvement of the above method, the auxiliary queue adopts an ordered queue with one end for input and the other end for output; and the method further includes:

[0029] In response to completion of processing of the active operation, the upstream end is notified.

[0030] As an improvement of the above method, the execution priority of the second queue is higher than the execution priority of the first queue; and the method further includes:

[0031] In response to the data processing script receiving a new first queue after the second queue is prepared, all active operations of the second queue are executed first, and then all active operations of the new first queue are executed.

[0032] In order to achieve the above-mentioned object, the present invention further proposes an asynchronous information processing device, which is applied to a downstream end connected to an upstream end through a message queue to transmit data, wherein a plurality of data processing scripts are arranged inside the downstream end, and an independent auxiliary queue is configured for each of the data processing scripts. The device comprises:

[0033] A preprocessing module is configured to determine the number of activity operations of the current batch activity after receiving all activity operations of the current batch activity of the upstream end in the message queue;

[0034] A first processing module is configured to process all the activity operations by using a data processing script matching the batch activity when recognizing that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity;

[0035] The second processing module is configured to cache all the activity operations to the auxiliary queue and process all the activity operations according to a set execution order when recognizing that the number of activity operations is greater than the upper limit of the downstream end processing capacity.

[0036] In order to achieve the above object, the present invention further proposes an asynchronous information processing system, comprising the above asynchronous information processing device, and also comprising a server end and at least one upstream end; wherein each of the upstream ends comprises:

[0037] The data sending device is configured to generate a data request in response to a batch activity instruction initiated by a user, and send the data request to a downstream end through a server end;

[0038] The data receiving device is configured to receive the processing completion mark information or the processing in progress mark information sent by the downstream end.

[0039] Compared with the prior art, the advantages of the present invention are:

[0040] 1. Provides a protection solution in case of asynchronous message processing timeout. By judging the number of activity operations of this batch activity at the downstream end, it is clear whether this batch activity exceeds the processing capacity of the corresponding data processing script of the downstream segment. If it exceeds the processing capacity of the corresponding data processing script at the downstream end, the asynchronous message processing timeout is optimized through the auxiliary queue.

[0041] 2. Improve the reliability of asynchronous message processing methods to ensure the final consistency of data. You can flexibly choose the processing method according to the number of active operations, choose to process the message queue directly or put it into the auxiliary queue for processing, avoid asynchronous execution timeout, and ensure the final consistency of data.

[0042] 3. Ensure the timeliness of program processing and the user application experience. The auxiliary queue uses an ordered queue to access data, and the processing efficiency is relatively high. In addition, placing large messages in the auxiliary queue effectively reduces the probability of backlog in the original message queue, ensures the timeliness of program processing, ensures the user application experience, and ensures the smooth progress of business operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flowchart of an existing asynchronous information processing method;

[0044] Figure 2 is a flowchart of the method of embodiment 1 of the present invention;

[0045] Figure 3 is a schematic flow chart of the method of Example 1 of the present invention;

[0046] Figure 4 This is a schematic diagram of accessing the auxiliary queue of Embodiment 2 of the present invention;

[0047] Figure 5 This is an application example of the method of embodiment 2 of the present invention;

[0048] Figure 6 It is a schematic diagram of the composition of the system of Example 4 of the present invention. DETAILED DESCRIPTION

[0049] The technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0050] Example 1

[0051] Embodiment 1 of the present invention proposes an asynchronous information processing method, which is applied to a downstream end connected to an upstream end through a message queue to transmit data. A plurality of data processing scripts are arranged inside the downstream end, and an independent auxiliary queue is configured for each data processing script, such as Figure 3 shown.

[0052] Figure 2 : is a flowchart of the method of embodiment 1 of the present invention. The method comprises:

[0053] S110. After receiving all activity operations of this batch activity initiated by the upstream end in the message queue, determine the data processing script matching the batch activity and the number of activity operations of this batch activity;

[0054] S120. When the number of identified activity operations is less than or equal to the upper limit of the downstream end processing capacity, all activity operations are processed in sequence through the data processing script;

[0055] S130. When the number of identified active operations is greater than the upper limit of the downstream end processing capacity, all active operations are cached in the auxiliary queue and then processed in a set execution order.

[0056] For step S110, the batch activities include but are not limited to batch operations, and may also be batch responses, batch notifications, etc., which can be understood by those skilled in the art. The corresponding activity operations may be specific operations (copy, add, delete, edit, etc.), or responses, notifications, etc. For example, batch copy text, batch copy activities, batch add text, batch add activities, batch delete text, batch delete activities, batch edit text, batch edit activities, etc.

[0057] For step S120, the message queue is directly processed by the data processing script, thereby realizing the processing of non-extra-large messages.

[0058] For step S130, the auxiliary queue is used to buffer the message queue before processing, so as to achieve the processing of very large messages. The basic function of the auxiliary queue (also called the guarantee queue) is to improve the reliability of batch operation processing, buffer all active operations in the message queue, and can also be further set to adjust the execution order of data elements according to needs to achieve optimal performance.

[0059] This method can be applied to the scenario where batch activity data is sent from the upstream end to the downstream end.

[0060] Example 1

[0061] The upstream end initiates this batch activity (batch copy, batch add, batch delete, batch edit, batch response, batch notification, etc.), which contains different contents. After the downstream end receives all the activity operations (copy, add, delete, edit, respond, notify, etc.) of this batch activity sent by the upstream end, it determines the data processing script that matches the batch activity and determines the number of activity operations of this batch activity. When the number of activity operations is less than or equal to the upper limit of the downstream end's processing capacity, the downstream end directly processes all activity operations in sequence through the data processing script. When the number of activity operations is greater than the upper limit of the downstream end's processing capacity, the downstream end caches all activity operations to the auxiliary queue and processes all activity operations in the set execution order. It should be noted that the set execution order is not necessarily the order of data elements in the message queue.

[0062] Example 2

[0063] The user creates a template class on the client (upstream end), which has 10 jobs set up in the template class, and then initiates a batch copy request. After receiving the batch copy request, the server transmits all activity operations to the downstream end through the message queue. After the downstream end receives all activity operations of this batch copy (for example, Job 1-Job 10 is copied to each class), it determines the data processing script that matches the batch activity and determines the number of activity operations of this batch activity. When the number of activity operations is less than or equal to the upper limit of the downstream end's processing capacity (for example, it can process the copy of 11 jobs), the downstream end directly processes all activity operations in sequence through the data processing script. When the number of activity operations is greater than the upper limit of the downstream end's processing capacity (for example, it can only process the copy of 8 jobs), the downstream end caches all activity operations to the auxiliary queue, processes all activity operations according to the set execution order, and copies Job 1-Job 10 of the template class to other classes. It should be noted that the set execution order is not necessarily the order of data elements in the message queue.

[0064] Example 2

[0065] Based on the method of Example 1, multiple independent auxiliary queues can be configured for each data processing script. Each auxiliary queue uses an ordered queue with one input end and another output end. For example, Figure 4 In step S130, the data elements in the auxiliary queue are polled and a single-in-single-out queue is used during data processing to ensure the orderliness of the messages.

[0066] Optionally, the auxiliary queue may adopt the operation list (LIST) data format of the remote dictionary service (Redis). The Key in the operation list stores the message body ID (BatchCopyActivities ID), and the Value stores the data element of the message body (activity ID set).

[0067] Optionally, the auxiliary queue can also use KV storage databases such as Memcached, Cassandra, TiDB, etc., which can achieve the same effect as the above-mentioned remote dictionary service.

[0068] Preferably, the processing of the consumption script includes a series of processing procedures such as verifying user validity and preparing data. The steps of this processing can be increased according to actual needs.

[0069] Exemplarily, the upper limit of the downstream end processing capacity can be set to 5w (units include but are not limited to pieces or bits). When the number of activity operations in this batch activity exceeds 5w (also known as extra-large messages), the auxiliary queue is enabled to buffer the data sent by the message queue, and then submit it to the data processing script after the buffering is completed. When the number of activity operations in this batch activity does not exceed 5w, the data processing script is directly selected for processing.

[0070] Preferably, the batch activity includes at least one of batch copy, batch add, batch delete, and batch edit, and a combination of one or more of them may be used. For multiple combinations, the batch activity needs to be disassembled to obtain batch activities of single functions, and then the batch activity is executed according to the priority order of the batch activities.

[0071] Preferably, different data processing scripts are provided inside the downstream end for different types of batch activities.

[0072] Preferably, step S120 further includes: when it is identified that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity, the message queue is used as the first queue, and the processing of each activity operation is performed according to the order of data elements in the first queue until the batch activity is completed.

[0073] Preferably, step S130 further includes the following sub-steps:

[0074] S131. When the number of identified active operations is greater than the upper limit of the downstream end processing capacity, all active operations are cached to the auxiliary queue;

[0075] S132. After all active operations in the auxiliary queue are cached, the data elements of the auxiliary queue are reordered according to the set priority order to obtain a second queue;

[0076] S133. Execute the processing of each activity operation in the order of the data elements in the second queue until the current batch activity is completed.

[0077] By sequentially executing sub-steps S131 to S133 and setting a priority order, it is beneficial to achieve the best timeliness effect of asynchronous information processing.

[0078] Preferably, the data elements include the activity content data, data element relationships, auxiliary settings, attachment data, notification data, reminder data, and to-do data. For example, the activity content data may be activities 1 to 8 of class A, such as Figure 5 shown. Figure 5 This is an application example of the method of embodiment 2 of the present invention. In the course activity list under a class, each class usually contains multiple activities. In order to facilitate the teaching teachers to operate the activity data of different classes, the system supports batch copying of activities (including operations within the same class and across classes), such as cross-class copying, batch copying all activities under class A to class B. The data element relationship can be a teacher-student data relationship. Subsidiary settings and attachment data can be subsidiary setting items, components, etc. of the activity. Subsidiary settings can be, for example, start time, end time, etc. Attachment data such as specific data in the attachment, attachment name, etc.

[0079] Preferably, the step of reordering the data elements of the first queue according to the set priority order in step S132 includes the following sub-steps:

[0080] S132a. Identify the activity content data involved in the activity operation itself, marked as the first data;

[0081] S132b identify the data element relationship involved in the activity operation, marked as the second data;

[0082] S132c identify the activities involved in the operation of the subsidiary settings, attachment data, marked as the third data;

[0083] S132d. Identify notification data, reminder data, to-do data involved in the activity operation, marked as the fourth data;

[0084] S132e. Sort the first data, the second data, the third data, and the fourth data in descending order of processing priority.

[0085] By sequentially executing the above sub-steps S132a to S132e, the reliability of batch operation processing is improved, the final consistency of data is guaranteed, and asynchronous execution timeout is avoided by adding an auxiliary queue.

[0086] Optionally, the downstream end and the message queue are integrated in the server, and the upstream end initiates this batch activity to the server through an application APP pre-set at the upstream end, such as Figure 3 Alternatively, the downstream end and the message queue are independently set, the number of downstream ends is multiple, and one end of the message queue is connected to the server, and the other end is connected to multiple downstream ends. The upstream end initiates this batch activity to the server through the application APP pre-set at the upstream end, such as Figure 5 shown.

[0087] Preferably, the method further comprises: in response to the completion of the processing of the activity operation, notifying the upstream end. After the upstream end receives the notification of the completion of the processing of the activity operation, it is helpful to coordinate and arrange the next batch activity.

[0088] Preferably, the execution priority of the second queue is higher than the execution priority of the first queue.

[0089] Preferably, the method further comprises: in response to the data processing script receiving a new first queue after the second queue is prepared, first executing all active operations of the second queue, and then executing all active operations of the new first queue. This step ensures that the execution priority of the second queue is higher than the execution priority of the first queue.

[0090] Preferably, when the number of active operations in the new first queue is less than or equal to the upper limit of the downstream end processing capacity, each active operation is directly processed in sequence by the data processing script; when the number of active operations in the new first queue is greater than the upper limit of the downstream end processing capacity, all active operations in the new first queue are cached in the new auxiliary queue. Multiple auxiliary queues are processed according to the first-in-first-out principle.

[0091] Example 3

[0092] Embodiment 3 of the present invention provides an asynchronous information processing device, which is applied to a downstream end connected to an upstream end through a message queue to transmit data, wherein a plurality of data processing scripts are arranged inside the downstream end, and an independent auxiliary queue is configured for each data processing script. The device includes a preprocessing module, a first processing module, and a second processing module.

[0093] The preprocessing module is configured to determine the number of activity operations of the current batch activity after receiving all activity operations of the current batch activity of the upstream end in the message queue.

[0094] The first processing module is configured to process all activity operations through a data processing script matching the batch activity when recognizing that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity.

[0095] The second processing module is configured to cache all the activity operations into the auxiliary queue and process all the activity operations according to a set execution order when recognizing that the number of activity operations is greater than the upper limit of the downstream end processing capacity.

[0096] Preferably, a plurality of independent auxiliary queues are configured for each data processing script. The batch activity includes at least one of batch copy, batch delete, and batch edit, and different data processing scripts are configured for different types of batch activities inside the downstream end.

[0097] Preferably, the first processing module performs the following steps: when it is identified that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity, the message queue is used as the first queue, and the processing of each activity operation is performed according to the order of data elements in the first queue until the batch activity is completed.

[0098] Preferably, the second processing module performs the following steps: when it is identified that the number of active operations is greater than the upper limit of the downstream processing capacity, all active operations are cached in the auxiliary queue; after all active operations in the auxiliary queue are cached, the data elements of the auxiliary queue are reordered according to the set priority order to obtain the second queue; and the processing of each active operation is performed according to the order of data elements in the second queue until this batch activity is completed.

[0099] Preferably, the data elements include activity content data itself, data element relationships, auxiliary settings, attachment data, notification data, reminder data, and to-do data.

[0100] Preferably, the second processing module performs the following steps to implement the function of reordering the data elements of the first queue according to the set priority order: identifying the data of the activity content itself involved in the activity operation, marking it as the first data; identifying the data element relationship involved in the activity operation, marking it as the second data; identifying the auxiliary settings and attachment data involved in the activity operation, marking it as the third data; identifying the notification data, reminder data, and to-do data involved in the activity operation, marking it as the fourth data; and sorting the first data, second data, third data, and fourth data in descending order of processing priority.

[0101] Preferably, the downstream end and the message queue are integrated in the server, and the upstream end initiates this batch activity to the server through an application APP pre-set at the upstream end; or, the downstream end and the message queue are independently set, the number of downstream ends is multiple, and one end of the message queue is connected to the server, and the other end is connected to multiple downstream ends, and the upstream end initiates this batch activity to the server through an application APP pre-set at the upstream end.

[0102] Preferably, the auxiliary queue is an ordered queue with one end for input and another end for output. In addition, the method further comprises: in response to the completion of the processing of the active operation, notifying the upstream end.

[0103] Preferably, the execution priority of the second queue is higher than the execution priority of the first queue; and the method further includes: in response to the data processing script receiving a new first queue after the second queue is prepared, all active operations of the second queue are first executed, and then all active operations of the new first queue are executed.

[0104] Example 4

[0105] Embodiment 4 of the present invention provides an asynchronous information processing system, which includes the asynchronous information processing device of embodiment 3, and also includes a server end and at least one upstream end. Each upstream end includes a data sending device and a data receiving device, such as Figure 6 shown.

[0106] The data sending device is configured to generate a data request in response to a batch activity instruction initiated by a user, and send the data request to the downstream end through the server end. Preferably, one batch activity instruction is initiated once to generate one data request.

[0107] The data receiving device is configured to receive processing completion mark information or processing in progress mark information sent by the downstream end.

[0108] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.

Claims

1. An asynchronous information processing method, applied to a downstream end connected to an upstream end through a message queue to transmit data, characterized in that: The downstream end is internally provided with a plurality of data processing scripts, and each of the data processing scripts is configured with an independent auxiliary queue. The method comprises: After receiving all activity operations of the batch activity initiated by the upstream end in the message queue, determining a data processing script matching the batch activity and the number of activity operations of the batch activity; When it is identified that the number of the activity operations is less than or equal to the upper limit of the downstream end processing capacity, all the activity operations are processed in sequence by the data processing script; When it is identified that the number of active operations is greater than the upper limit of the downstream end processing capacity, all the active operations are cached in the auxiliary queue and then processed in a set execution order.

2. The asynchronous information processing method according to claim 1, characterized in that: Each of the data processing scripts is configured with multiple independent auxiliary queues; and, The batch activity includes at least one of batch copying, batch deleting, and batch editing; Different data processing scripts are set inside the downstream end for different types of batch activities.

3. The asynchronous information processing method according to claim 1 or 2, characterized in that: When the number of activity operations is identified to be less than or equal to the upper limit of the downstream end processing capacity, all the activity operations are processed in sequence by the data processing script, including: When it is identified that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity, the message queue is used as the first queue, and the processing of each activity operation is performed according to the order of data elements in the first queue until the batch activity is completed.

4. The asynchronous information processing method according to claim 3, characterized in that: The step of caching all the activity operations in the auxiliary queue and then processing all the activity operations in a set execution order when the number of the activity operations is greater than the upper limit of the downstream end processing capacity includes: When it is identified that the number of active operations is greater than the upper limit of the downstream end processing capacity, all active operations are cached in the auxiliary queue; After all active operations in the auxiliary queue are cached, reorder the data elements of the auxiliary queue according to a set priority order to obtain a second queue; The processing of each of the activity operations is performed in sequence according to the data elements of the second queue until the current batch activity is completed.

5. The asynchronous information processing method according to claim 4, characterized in that: The data elements include the activity content data itself, data element relationships, auxiliary settings, attachment data, notification data, reminder data, and to-do data; and, The step of reordering the data elements of the first queue according to the set priority order comprises: Identify data of the activity content itself involved in the activity operation and mark it as first data; Identify the data element relationship involved in the activity operation and mark it as second data; Identify the auxiliary settings and attachment data involved in the activity operation and mark them as third data; Identify notification data, reminder data, and to-do data involved in the activity operation, and mark them as fourth data; The first data, the second data, the third data, and the fourth data are sorted in descending order of processing priority.

6. The asynchronous information processing method according to any one of claims 1, 2, 4 and 5, characterized in that: The downstream end and the message queue are integrated in the server, and the upstream end initiates this batch activity to the server through an application APP pre-set at the upstream end; or, The downstream end and the message queue are independently set, the number of the downstream ends is multiple, and one end of the message queue is connected to the server, and the other end is connected to the multiple downstream ends. The upstream end initiates this batch activity to the server through the application APP pre-set at the upstream end.

7. The asynchronous information processing method according to any one of claims 1, 2, 4 and 5, characterized in that: The auxiliary queue adopts an ordered queue with input at one end and output at the other end; Furthermore, the method further comprises: In response to completion of processing of the active operation, the upstream end is notified.

8. The asynchronous information processing method according to claim 4, characterized in that: The execution priority of the second queue is higher than the execution priority of the first queue; Furthermore, the method further comprises: In response to the data processing script receiving a new first queue after the second queue is prepared, all active operations of the second queue are executed first, and then all active operations of the new first queue are executed.

9. An asynchronous information processing device, applied to a downstream end connected to an upstream end through a message queue to transmit data, characterized in that: A plurality of data processing scripts are arranged inside the downstream end, and an independent auxiliary queue is configured for each of the data processing scripts. The device comprises: A preprocessing module is configured to determine the number of activity operations of the current batch activity after receiving all activity operations of the current batch activity of the upstream end in the message queue; A first processing module is configured to process all the activity operations by using a data processing script matching the batch activity when recognizing that the number of activity operations is less than or equal to the upper limit of the downstream end processing capacity; The second processing module is configured to cache all the activity operations to the auxiliary queue and process all the activity operations according to a set execution order when recognizing that the number of activity operations is greater than the upper limit of the downstream end processing capacity.

10. An asynchronous information processing system, characterized in that: The asynchronous information processing device according to claim 9 further comprises a server end and at least one upstream end; wherein each of the upstream ends comprises: The data sending device is configured to generate a data request in response to a batch activity instruction initiated by a user, and send the data request to a downstream end through a server end; The data receiving device is configured to receive the processing completion mark information or the processing in progress mark information sent by the downstream end.