Task monitoring method, system and apparatus, and nonvolatile readable storage medium

By setting statistical variables for each thread and dynamically adjusting the total number of threads, the problem of low task monitoring efficiency of the storage controller in abnormal scenarios is solved, efficient task monitoring and exception handling are achieved, and the stability and efficiency of data access services are ensured.

WO2024187906A1PCT designated stage expired Publication Date: 2024-09-19LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/141944
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-15
Filing Date
2023-12-26
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When the storage controller provides data access services to the server and encounters abnormal scenarios (such as disk damage or system power outage), existing technology is difficult to efficiently monitor and process active tasks, resulting in delayed task response and low efficiency.

Method used

By setting a one-to-one corresponding statistical variable for each thread, the value of the statistical variable is equal to the number of unprocessed active tasks on the thread, and the total number of threads is dynamically adjusted to monitor the task processing status, avoid concurrent preemption, and improve task monitoring efficiency.

Benefits of technology

It achieves efficient monitoring and exception handling of active tasks, ensuring the stability and efficiency of data access services. It is suitable for multi-threaded parallel processing scenarios and has strong versatility and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023141944_19092024_PF_FP_ABST
    Figure CN2023141944_19092024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of computer application technology. Disclosed are a task monitoring method, system and apparatus, and a nonvolatile readable storage medium. The method comprises: determining the total number of threads enabled during a current data access service stage; setting statistical variables for all the threads in a one-to-one correspondence mode, the numerical value of each statistical variable being equal to the number of active tasks that are not completely processed on the thread, so that whether received active tasks of the threads are completely processed can be determined on the basis of the statistical variables, wherein, as each thread corresponds to one statistical variable, concurrent preemption can be avoided, thus improving statistical efficiency; when the active tasks on a thread are completely processed, subtracting one from the total number of the threads enabled during the current data access service stage; and finally, when the total number of the enabled threads is zero, determining that all the active tasks received during the current data access service stage are completely processed. The present application achieves high universality and expansibility.
Need to check novelty before this filing date? Find Prior Art

Description

Task monitoring method, system, device and non-volatile readable storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 15, 2023, with application number 2023102472576, and application name “A task monitoring method, system, device and computer-readable storage medium”, all contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of computer application technology, and in particular to a task monitoring method, system, device, and non-volatile readable storage medium. Background Art

[0004] The storage controller is primarily configured to manage the hard disks and the data stored on them. The server can access the data stored on the storage through the storage controller. When the storage controller provides data access services to the server, it goes through multiple stages, including storage volumes, storage pools, RAID (Redundant Array of Independent Disks), and storage disks. Each stage of the data access service may encounter various abnormal scenarios, such as disk damage and system power outages. When handling these abnormal scenarios, it is necessary to first suspend responses to new tasks and then complete the processing of the received services. During this period, it is necessary to monitor the number of existing active tasks in order to promptly handle subsequent abnormal scenarios. However, since multi-threaded processing is currently commonly used, that is, active tasks are distributed and processed in parallel on different threads, monitoring the number of active tasks is difficult and inefficient.

[0005] Summary of the Invention

[0006] The purpose of this application is to provide a task monitoring method, system, device and non-volatile readable storage medium, which can improve the efficiency of task monitoring and have strong versatility and scalability.

[0007] To solve the above technical problems, this application provides a task monitoring method, including:

[0008] Determine the total number of threads enabled in the current data access service phase;

[0009] For each thread, determining whether the active tasks received on the thread have been processed based on a statistical variable corresponding to the thread, wherein the threads correspond to the statistical variables one-to-one and the value of the statistical variable is equal to the number of active tasks that have not been processed on the thread;

[0010] When it is determined that the active task on the thread has been processed, the total number of enabled threads is reduced by one;

[0011] When the total number of enabled threads reaches zero, it is determined that all active tasks received in the current data access service phase are processed completely.

[0012] Optionally, the initial value of the statistical variable is 1. Determining whether the active tasks received on the thread have been processed is performed based on the statistical variable corresponding to the thread, including:

[0013] Subtract one from the statistical variable;

[0014] When the statistical variable is zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have been completed;

[0015] When the statistical variable is not zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have not been completely processed.

[0016] Optionally, after determining that the received active tasks on the thread corresponding to the statistical variable are not completely processed when the statistical variable is not zero, the method further includes:

[0017] Each time the thread completes a received active task, the statistical variable is reduced by one, and the step of reducing the statistical variable by one is entered.

[0018] Optionally, after determining that the active tasks received on the thread corresponding to the statistical variable are completed when the statistical variable is zero, the method further includes:

[0019] Reassign the statistical variables to their initial values.

[0020] Optionally, after the thread decrements the statistics variable by one each time it completes a received active task, it also includes:

[0021] The statistical variable after decrementing by one is output to a display device so that the user can analyze the processing status of each current thread on the active task.

[0022] Optionally, determining, for each thread, based on a statistical variable corresponding to the thread, whether the received active tasks on the thread have been processed includes:

[0023] It is determined whether the received active tasks on each thread have been processed completely based on the statistical variables corresponding to each thread in a preset processing order.

[0024] Optionally, determining, for each thread, based on a statistical variable corresponding to the thread, whether the received active tasks on the thread have been processed includes:

[0025] Whether the received active tasks on each thread have been processed is determined based on the statistical variables corresponding to each thread in the time sequence in which the statistical variables change.

[0026] Optionally, decrement the total number of enabled threads by one when determining that the active tasks on the thread have been processed, including:

[0027] Lock protection is set for the total number of enabled threads, so that when active tasks on multiple threads are processed, the total number of enabled threads in the current data access service phase is reduced by one in sequence.

[0028] Optionally, before determining the total number of threads enabled in the current data access service phase, also include:

[0029] Determining whether a silent processing signal is received;

[0030] When a quiesce processing signal is received, a step of determining the total number of threads enabled in the current data access service phase is entered.

[0031] Optionally, after receiving the silence processing signal, the method further includes:

[0032] Send a rejection signal to both the upstream data access service and the downstream data access service of the current data access service stage so that each thread stops accepting new active tasks.

[0033] Optionally, after determining that the active tasks on the thread are completed and reducing the total number of enabled threads by one, the method further includes:

[0034] The total number of threads after being decremented by one is sent to a display device so that the user can analyze the processing status of active tasks in the current data access service phase.

[0035] Optionally, after determining that all received active tasks in the current data access service phase have been processed, the process further includes:

[0036] When an abnormal service processing signal is received, the received abnormal service is processed.

[0037] Optionally, after processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes:

[0038] After determining that the abnormal business has been processed, a recovery signal is sent to the upstream data access service and the downstream data access service in the current data access service phase, so that each thread can resume receiving new active tasks.

[0039] Optionally, after processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes:

[0040] For each thread, whether the abnormal business received by the thread has been processed is determined based on the abnormal business statistical variable corresponding to the thread, wherein the abnormal business statistical variable corresponds to the thread one by one and the value of the abnormal business statistical variable is equal to the number of unprocessed abnormal businesses on the thread.

[0041] Optionally, the initial value of the abnormal service statistics variable is 1. Determining whether the abnormal service received by the thread has been processed based on the abnormal service statistics variable corresponding to the thread includes:

[0042] Subtract one from the abnormal business statistics variable;

[0043] When the abnormal service statistical variable is zero, it is determined that the abnormal service received on the thread corresponding to the abnormal service statistical variable has been processed.

[0044] Optionally, after decrementing the abnormal business statistics variable by one, the following is further included:

[0045] When the abnormal service statistics variable is not zero, the abnormal service statistics variable is reduced by one each time the thread completes a received abnormal service statistics variable, and the process proceeds to the step of reducing the abnormal service statistics variable by one.

[0046] Optionally, after determining that the abnormal service received on the thread corresponding to the abnormal service statistical variable is completed when the abnormal service statistical variable is zero, the method further includes:

[0047] Reassign the abnormal business statistics variable to the initial value.

[0048] To solve the above technical problems, this application also provides a task monitoring system, including:

[0049] an enabled thread total number determining unit, configured to determine the total number of threads enabled in the current data access service phase;

[0050] a thread monitoring unit configured to determine, for each thread, whether received active tasks on the thread have been processed based on a statistical variable corresponding to the thread, wherein the threads correspond one-to-one to the statistical variables and the value of the statistical variable is equal to the number of unprocessed active tasks on the thread;

[0051] an enabled thread total number adjustment unit, configured to reduce the total number of enabled threads by one when it is determined that the active tasks on the threads are completed;

[0052] The task monitoring end unit is configured to determine that all active tasks received in the current data access service phase have been processed when the total number of enabled threads is zero.

[0053] Optionally, the initial value of the statistical variable is 1. The thread monitoring unit includes:

[0054] A first adjustment unit is configured to reduce the statistical variable by one;

[0055] A first completion determination unit is configured to determine that the received active tasks on the thread corresponding to the statistical variable are completed when the statistical variable is zero;

[0056] The first unfinished determination unit is configured to determine, when the statistical variable is not zero, that the active tasks received on the thread corresponding to the statistical variable are not completely processed.

[0057] Optionally, also include:

[0058] The second adjustment unit is configured to, when the statistical variable is not zero, determine that the received active tasks on the thread corresponding to the statistical variable have not been processed, decrement the statistical variable by one each time the thread completes a received active task, and trigger the first adjustment unit.

[0059] Optionally, also include:

[0060] The assignment unit is configured to reassign the statistical variable to an initial value after determining that the active tasks received on the thread corresponding to the statistical variable are completed when the statistical variable is zero.

[0061] Optionally, the thread monitoring unit is configured to determine whether the received active tasks on each thread have been processed based on the statistical variables corresponding to each thread in a preset processing order.

[0062] Optionally, the thread monitoring unit is configured to determine whether the received active tasks on each thread have been processed based on the statistical variables corresponding to each thread in sequence according to the time sequence of changes of each statistical variable.

[0063] Optionally, the total number of enabled threads adjustment unit is configured to set lock protection for the total number of enabled threads, so that the total number of enabled threads in the current data access service phase is reduced by one in sequence when active tasks on multiple threads are processed.

[0064] Optionally, also include:

[0065] The silent processing judgment unit is configured to judge whether a silent processing signal is received before determining the total number of threads enabled in the current data access service phase. If a silent processing signal is received before determining the total number of threads enabled in the current data access service phase, the enabled thread total number determination unit is triggered.

[0066] Optionally, also include:

[0067] The service rejection unit is configured to send a rejection signal to both the upstream data access service and the downstream data access service in the current data access service phase after receiving the silent processing signal, so that each thread stops receiving new active tasks.

[0068] Optionally, also include:

[0069] The first prompt unit is configured to reduce the total number of enabled threads by one when determining that the active tasks on the thread are processed, and then send the total number of threads after reduction by one to the display device so that the user can analyze the active task processing status of the current data access service stage.

[0070] As an optional embodiment, the method further includes:

[0071] The abnormal service processing unit is configured to process the received abnormal service upon receiving the abnormal service processing signal after determining that all received active tasks in the current data access service phase have been processed.

[0072] As an optional embodiment, the method further includes:

[0073] The business recovery unit is configured to process the received abnormal business upon receiving the abnormal business processing signal and after determining that the abnormal business processing is completed, send a recovery signal to the upstream data access service and the downstream data access service of the current data access service stage so that each thread can restart to receive new active tasks.

[0074] As an optional embodiment, the method further includes:

[0075] The abnormal business processing monitoring unit is configured to process the received abnormal business after receiving the abnormal business processing signal, and then determine whether the abnormal business received by the thread has been processed for each thread based on the abnormal business statistical variable corresponding to the thread, wherein the abnormal business statistical variable corresponds to the thread one by one and the value of the abnormal business statistical variable is equal to the number of unprocessed abnormal businesses on the thread.

[0076] Optionally, the initial value of the abnormal service statistics variable is 1. Determining whether the abnormal service received by the thread has been processed based on the abnormal service statistics variable corresponding to the thread includes:

[0077] Subtract one from the abnormal business statistics variable;

[0078] When the abnormal service statistical variable is zero, it is determined that the abnormal service received on the thread corresponding to the abnormal service statistical variable has been processed.

[0079] Optionally, after decrementing the abnormal business statistics variable by one, the following is further included:

[0080] When the abnormal service statistics variable is not zero, the abnormal service statistics variable is reduced by one each time the thread completes a received abnormal service statistics variable, and the process proceeds to the step of reducing the abnormal service statistics variable by one.

[0081] Optionally, after determining that the abnormal service received on the thread corresponding to the abnormal service statistical variable is completed when the abnormal service statistical variable is zero, the method further includes:

[0082] Reassign the abnormal business statistics variable to the initial value.

[0083] To solve the above technical problems, the present application also provides a task monitoring device, comprising:

[0084] a memory arranged to store a computer program;

[0085] The processor is configured to implement the steps of the task monitoring method described above when executing a computer program.

[0086] In order to solve the above technical problems, the present application also provides a non-volatile readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above task monitoring method are implemented.

[0087] In summary, the present application provides a task monitoring method, system, device, and non-volatile readable storage medium, including determining the total number of threads enabled in the current data access service phase, and setting a statistical variable for each thread in a one-to-one correspondence, wherein the value of the statistical variable is equal to the number of unprocessed active tasks on the thread. Therefore, it is possible to determine whether the active tasks received by the thread have been processed based on the statistical variable, and each thread corresponds to a statistical variable, which can avoid concurrent preemption and improve statistical efficiency. When the active tasks on the thread are processed, the total number of enabled threads is reduced by one. Finally, when the total number of enabled threads is zero, it is determined that all active tasks received in the current data access service phase have been processed. The method has strong versatility and scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0088] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the prior art and the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0089] FIG1 is a first flow chart of a task monitoring method provided by the present application;

[0090] FIG2 is a second flow chart of a task monitoring method provided by the present application;

[0091] FIG3 is a third flow chart of a task monitoring method provided by this application;

[0092] FIG4 is a schematic diagram of the structure of a task monitoring system provided by the present application;

[0093] FIG5 is a schematic diagram of the structure of a task monitoring device provided by the present application;

[0094] FIG6 is a schematic structural diagram of a non-volatile readable storage medium provided in this application. DETAILED DESCRIPTION

[0095] The core of this application is to provide a task monitoring method, system, device and non-volatile readable storage medium, which can improve the efficiency of task monitoring and have strong versatility and scalability.

[0096] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0097] The storage controller is primarily configured to manage the storage-side hard disks and the data stored on them. The server-side can access the data stored on the storage-side through the storage controller. When the storage controller provides data access services to the server-side, it goes through multiple different stages, such as storage volumes, storage pools, raid, and storage disks. Each stage of the data access service may encounter various abnormal scenarios, such as disk damage and system power outages. When handling these abnormal scenarios, it is necessary to first pause the response to new tasks and then complete the processing of the received business. During this period, it is necessary to monitor the number of existing active tasks so that subsequent abnormal scenario processing operations can be carried out in a timely manner. However, since multi-threaded processing is currently commonly used, that is, active tasks are distributed and processed in parallel on different threads, monitoring the number of active tasks is relatively difficult and inefficient.

[0098] Taking into account that the received active tasks are distributed on different threads and processed in parallel, a variable is usually set in advance in the prior art. The value of the variable is the total number of active tasks received in the current data access service stage, and the value of the variable can increase or decrease according to whether the active tasks have been processed. Therefore, it is possible to judge whether all the active tasks received in the current data access service stage have been processed based on the actual value of the variable. However, the above method has the defect of concurrent preemption, and it is necessary to set lock protection for the variable, which is not conducive to improving the efficiency of task monitoring.

[0099] Please refer to FIG1 , which is a first flow chart of a task monitoring method provided by the present application. The task monitoring method includes:

[0100] S1: Determine the total number of threads enabled in the current data access service phase;

[0101] S2: For each thread, determining whether the active tasks received on the thread have been processed based on a statistical variable corresponding to the thread, wherein the threads correspond to the statistical variables one-to-one and the value of the statistical variable is equal to the number of active tasks that have not been processed on the thread;

[0102] S3: When it is determined that the active tasks on the thread are completed, the total number of enabled threads is reduced by one;

[0103] S4: When the total number of enabled threads is zero, it is determined that all received active tasks in the current data access service phase are processed completely.

[0104] In order to solve the problem of low efficiency of task monitoring in the prior art, in this application, statistical variables are set one by one for each thread enabled in the current data access service stage. Therefore, even if multiple threads are enabled at the same time to process the received active tasks when providing data access services, there will be no problem of concurrent preemption of statistical variables. For example, when the number of current active tasks of multiple threads changes, there is no need to queue up to modify the statistical variables, thereby improving the efficiency of monitoring the number of active tasks. Optionally, when the data access service encounters an abnormal scenario and silent processing is required, the task monitoring method in this application can be applied to increase the speed of processing abnormal business, thereby faster resuming the processing of normal active tasks, ensuring that the storage controller can work normally, and providing protection for data access services between the server and the storage end.

[0105] Moreover, the numerical value of the statistical variable in the present application is equal to the number of unprocessed active tasks on the corresponding thread. For example, when the thread receives a new active task, the value of the statistical variable will increase by one, and when the thread completes processing an active task, the value of the statistical variable will decrease by one. Therefore, the processing status of the active tasks received by the thread can be directly determined based on the value of the statistical variable.

[0106] When starting task monitoring, the present application also determines the total number of threads enabled in the current data access service phase. Therefore, after determining the processing status of each thread for the received active tasks based on the statistical variables corresponding to each thread, the total number of threads enabled in the current data access service phase can be dynamically modified accordingly. Optionally, when it is determined based on the statistical variables corresponding to the thread that the thread has completed processing the received active tasks, the total number of threads enabled in the current data access service phase is reduced by one. When it is determined based on the statistical variables corresponding to the thread that the thread has not yet completed processing the received active tasks, the total number of threads enabled in the current data access service phase is not changed. Finally, by judging the total number of threads enabled in the current data access service phase, it is determined whether all active tasks received in the current data access service phase have been processed. When the total number of enabled threads is not zero, it is determined that there are still unprocessed active tasks in the current data access service phase, and the control of each thread to process the active tasks continues.

[0107] In actual applications, when the storage controller provides data access services to the storage end and the server end, it will go through multiple data access service stages (such as storage volumes, storage pools, raid, and storage disks, etc.) and will inevitably encounter various abnormal scenarios (such as back-end bad disks, system power outages, and abnormal separation of control nodes from the cluster, etc.). When handling these abnormal scenarios, it is necessary to first suspend the response to new tasks, that is, perform silent processing, and then initiate the abnormal scenario processing process after processing the received active tasks, that is, process the abnormal business. It can be seen that in this process, it is necessary to monitor the processing of the active tasks that have been received in the current data access service stage and the processing of the abnormal business. The task monitoring method provided in this application can be applied to the above scenarios and has strong versatility and scalability.

[0108] In summary, the present application provides a task monitoring method, including determining the total number of threads enabled in the current data access service phase, and setting a statistical variable for each thread in a one-to-one correspondence, wherein the value of the statistical variable is equal to the number of unprocessed active tasks on the thread. Therefore, it is possible to determine whether the active tasks received by the thread have been processed based on the statistical variable, and each thread corresponds to a statistical variable, which can avoid concurrent preemption and improve statistical efficiency. When the active tasks on the thread are processed, the total number of enabled threads is reduced by one. Finally, when the total number of enabled threads is zero, it is determined that all active tasks received in the current data access service phase have been processed. The method has strong versatility and scalability.

[0109] Based on the above embodiment:

[0110] As an optional embodiment, the initial value of the statistical variable is 1, and determining whether the received active tasks on the thread are completely processed based on the statistical variable corresponding to the thread includes:

[0111] Subtract one from the statistical variable;

[0112] When the statistical variable is zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have been completed;

[0113] When the statistical variable is not zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have not been completely processed.

[0114] Normally, when a new active task arrives, the statistical variable corresponding to the thread where the active task is located is increased by one. When the active task is processed, the statistical variable is reduced by one. Since each thread is set with a one-to-one corresponding statistical variable, there is no need to consider the problem of concurrent preemption, and there is no need to lock the statistical variable, which improves the efficiency of monitoring the number of active tasks on each thread.

[0115] In particular, in this embodiment, the initial value of the statistical variable is set to 1. There are two reasons for this setting: first, if the processor executing the current data access service phase has not entered the silent processing phase, the value of the statistical variable corresponding to the thread cannot be less than 1 (when the silent processing process is not started, the thread receives a new task and the statistical variable is increased by one, and when a task is processed, it is decreased by one. The addition and subtraction operations correspond one to one. Only when the silent process is started will the statistical variable be less than 1 because no new tasks are received). Therefore, it is possible to determine whether the silent process is started by judging whether the statistical variable is 0. If the silent process is started, subsequent corresponding operations need to be performed; second, general counting variables are all unsigned types. Since the subtraction operation requires two processes, it is impossible to judge by positive and negative values, which increases the difficulty of task monitoring. Taking the above two reasons into consideration, this embodiment sets the initial value of the statistical variable to 1. It can determine whether the subsequent steps of the silent processing process need to be performed based on the value of the statistical variable, and can improve the efficiency of task monitoring.

[0116] Since the initial value of the statistical variable is set to 1, when judging whether the active tasks on the thread have been processed based on the statistical variable, the current statistical variable is first decremented by one. If the value of the statistical variable after decrement is zero, it proves that the active tasks on the thread corresponding to the statistical variable have been processed. After determining that the active tasks on the thread have been processed, the total number of enabled threads is decremented by one; if the value of the statistical variable after decrement is not zero, it proves that there are still unprocessed active tasks on the thread corresponding to the statistical variable, then continue to wait until the thread processes the active tasks.

[0117] As an optional embodiment, after determining that the received active tasks on the thread corresponding to the statistical variable have not been processed when the statistical variable is not zero, the method further includes:

[0118] Each time the thread completes a received active task, the statistical variable is reduced by one, and the step of reducing the statistical variable by one is entered.

[0119] When it is determined based on the statistical variable that the thread corresponding to the statistical variable has not completed processing the received active task, the value of the statistical variable is continued to be updated according to the thread's processing of the active task. Optionally, the statistical variable is synchronously decremented by one each time the thread completes a received active task, and the step of decrementing the statistical variable by one is entered again, so as to determine whether the thread has completed processing the received active task by judging whether the current value of the statistical variable is zero.

[0120] As an optional embodiment, after determining that the active tasks received on the thread corresponding to the statistical variable are completed when the statistical variable is zero, the method further includes:

[0121] Reassign the statistical variables to their initial values.

[0122] When the statistical variable is zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have been processed. In order to ensure that the task monitoring of each thread can be carried out normally next time, the statistical variable is reassigned to the initial value in this embodiment. Optionally, the statistical variable can be reassigned to 1. On the one hand, it is convenient to determine whether the processor starts the silent process in the current data access service interpretation based on the value of the statistical variable. On the other hand, assigning the statistical variable to 1 can simplify the calculation process and improve the efficiency of monitoring each active task.

[0123] As an optional embodiment, after the statistical variable is decremented each time a thread completes a received active task, the decremented statistical variable may be output to a display device so that the user can analyze the processing status of each thread on the active task.

[0124] As an optional embodiment, determining for each thread whether the received active tasks on the thread have been processed based on the statistical variables corresponding to the thread includes:

[0125] It is determined whether the received active tasks on each thread have been processed completely based on the statistical variables corresponding to each thread in a preset processing order.

[0126] Considering that active tasks are often processed in parallel using multiple threads, to ensure the accuracy and reliability of task monitoring, it is necessary to determine whether each thread has completed processing the received active tasks according to certain rules. In this embodiment, the method of determining whether the received active tasks on each thread have been processed is used in sequence based on the statistical variables corresponding to each thread according to a preset processing order. The preset processing order is set before task monitoring is performed in the current data access service phase. This application does not specifically limit the setting rules of the preset processing order, and it can be set according to actual circumstances.

[0127] For example, first determine whether the statistical variable corresponding to the first thread in the preset processing order is zero. If the statistical variable corresponding to the first thread in the preset processing order is not zero, the thread continues to process the active task, and then determines whether the statistical variable corresponding to the second thread in the preset processing order is zero. This process is repeated until the last thread in the preset processing order is determined and then starts again from the first thread.

[0128] In summary, in this embodiment, whether each thread has completed processing the received active task is judged in sequence according to the preset processing order, which can ensure the reliability and stability of task monitoring.

[0129] As an optional embodiment, determining for each thread whether the received active tasks on the thread have been processed based on the statistical variables corresponding to the thread includes:

[0130] Whether the received active tasks on each thread have been processed is determined based on the statistical variables corresponding to each thread in the time sequence in which the statistical variables change.

[0131] Considering that active tasks are often processed in parallel using multiple threads, to ensure accurate and reliable task monitoring, it is necessary to determine whether each thread has completed processing received active tasks according to certain rules. The statistical variables corresponding to each thread change dynamically. This embodiment determines whether the thread corresponding to the statistical variable has completed processing all received active tasks based on the order in which the statistical variables change. This makes monitoring of the processing of active tasks by each thread more flexible while also ensuring accurate and reliable task monitoring.

[0132] As an optional embodiment, when it is determined that the active tasks on the thread are completed, the total number of enabled threads is reduced by one, including:

[0133] Lock protection is set for the total number of enabled threads, so that when active tasks on multiple threads are processed, the total number of enabled threads in the current data access service phase is reduced by one in sequence.

[0134] Taking into account that multi-threaded parallel processing is mostly used when processing active tasks, it is possible that the statistical variables corresponding to multiple threads are zero at the same time, and the total number of threads enabled in the current data access service stage is modified at the same time. For this reason, the total number of threads enabled in the current data access service stage in this application is additionally locked and protected. That is, when the statistical variables corresponding to multiple threads are zero at the same time and the total number of enabled threads needs to be modified at the same time, the total number of enabled threads needs to be subtracted by one in a certain order, so as to avoid problems such as errors in the total number of enabled threads due to concurrent preemption, and ensure the accuracy and reliability of task monitoring.

[0135] Please refer to Figure 2, which is a second flow chart of a task monitoring method provided by this application. In Figure 2, active_count represents the total number of enabled threads. The initial value of active_count is num_thread, which is the total number of threads enabled in the current data access service phase at the start of the task monitoring method. Active_process is a statistical variable corresponding to each thread. First, at the start of the task monitoring method, active_count is initially set to num_thread. Then, based on the active_process corresponding to each thread, it is determined whether the thread has completed processing the active task. Active_count is then locked and protected. A determination is made as to whether active_count is 0. Task monitoring is terminated if active_count is 0.

[0136] Please refer to Figure 3, which is the third flow chart of a task monitoring method provided by the present application. Figure 3 takes the stage of the raid module performing data access service as an example. When the raid module receives a new active task, the active_process is increased by one. When the raid module completes processing an active task, the active_process is reduced by one. Then, it is determined whether the active_process is 0. When the active_process is 0, it is determined that the thread has completed processing the active task, and the active_count is locked for protection. It is determined whether the active_count is 0. When the active_count is 0, it is determined that the task monitoring is ended.

[0137] As an optional embodiment, before determining the total number of threads enabled in the current data access service phase, the method further includes:

[0138] Determining whether a silent processing signal is received;

[0139] When a quiesce processing signal is received, a step of determining the total number of threads enabled in the current data access service phase is entered.

[0140] In actual applications, if a storage controller encounters an abnormal scenario during various data access service phases, silent processing is typically required. During silent processing, all active tasks received in the current data access service phase must be processed before the abnormal business can be processed. Using the task monitoring method of the present application to monitor active business during silent processing can improve the efficiency of task monitoring. If the storage controller does not encounter an abnormal scenario, silent processing is not required. Each thread can normally receive and process new active tasks, and there is no need to monitor the number of active businesses. Therefore, in this embodiment, the step of determining the total number of threads enabled in the current data access service phase is only performed when a silent processing signal is received.

[0141] As an optional embodiment, after receiving the silence processing signal, the method further includes:

[0142] Send a rejection signal to both the upstream data access service and the downstream data access service of the current data access service stage so that each thread stops accepting new active tasks.

[0143] Considering that when the storage controller encounters an abnormal scenario when performing data access services, it is necessary to control each thread to complete the processing of the received active tasks before processing the abnormal business. On the one hand, in order to speed up the processing of abnormal business, on the other hand, in order to ensure that the active tasks sent by the upstream data access service of the current data access service can be processed normally, in this embodiment, after receiving the silent processing signal, a rejection signal is sent to both the upstream data access service and the downstream data access service in the current data access service stage. The upstream data access service can send the active tasks to other processors that have not encountered the abnormal scenario, thereby ensuring the normal function of the system. Optionally, in this embodiment, if a silent processing signal is received, it proves that an abnormal scenario has been encountered. Therefore, a rejection signal is sent to both the upstream data access service and the downstream data access service in the current data access service stage. The upstream data access service is the service that sends information to the current data access service stage, and the downstream data access service is the service that receives information sent by the current data access service. This ensures that no new active tasks will be received, so that the abnormal business can be processed after the received active tasks are quickly processed, thereby ensuring the normal working process of the storage controller.

[0144] In addition, after the total number of enabled threads is reduced by one when it is determined that the active tasks on the threads are processed, the total number of threads after reduction by one can be sent to the display device so that the user can analyze the active task processing status of the current data access service stage.

[0145] As an optional embodiment, after determining that all received active tasks in the current data access service phase have been processed, the method further includes:

[0146] When an abnormal service processing signal is received, the received abnormal service is processed.

[0147] In this embodiment, task monitoring ends when the total number of threads currently enabled by the data access service reaches zero. Receiving an abnormal service processing signal confirms that an abnormal scenario has indeed occurred and that a silent processing process has been initiated. Since each thread has completed processing the received active tasks, abnormal service processing to resolve the abnormal scenario can begin. Abnormal scenarios include backend disk failure, system power outages, and abnormal cluster separation of control nodes. Different abnormal scenarios correspond to different abnormal services, and this application does not specifically limit this.

[0148] As an optional embodiment, after processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes:

[0149] After determining that the abnormal business has been processed, a recovery signal is sent to the upstream data access service and the downstream data access service in the current data access service phase, so that each thread can resume receiving new active tasks.

[0150] In this embodiment, the silent processing process after encountering an abnormal scenario is improved. After the abnormal business processing is completed, a recovery signal is sent to the upstream data access service and the downstream data access service in the current data access service stage. After receiving the recovery signal, the upstream data access service and the downstream data access service can normally transmit messages and send active tasks to the current data access service, that is, resume normal operation, ensure the normal operation of the storage controller, and further ensure that the server and storage ends can complete data access services through the storage controller.

[0151] As an optional embodiment, after processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes:

[0152] For each thread, whether the abnormal business received by the thread has been processed is determined based on the abnormal business statistical variable corresponding to the thread, wherein the abnormal business statistical variable corresponds to the thread one by one and the value of the abnormal business statistical variable is equal to the number of unprocessed abnormal businesses on the thread.

[0153] When processing abnormal business, it is also necessary to dynamically monitor the number of abnormal business, so as to resume the processing of normal active business after the abnormal business is processed. Therefore, in this embodiment, an abnormal business statistical variable is also set for each thread that receives abnormal business. Based on the abnormal business statistical variable corresponding to the thread, it is determined whether the abnormal business received by the thread has been processed, thereby also speeding up the monitoring efficiency of abnormal business. In addition, this embodiment does not specifically limit the initial value of the abnormal business statistical variable, and it can be set according to actual conditions. For example, the initial value of the abnormal business statistical variable is also set to 1. The process of using the abnormal business statistical variable to determine whether the thread has completed the abnormal business processing is consistent with the process of monitoring active tasks using statistical variables described above, and this application will not elaborate on it here.

[0154] Please refer to FIG4 , which is a schematic diagram of the structure of a task monitoring system provided by the present application. The task monitoring system includes:

[0155] The total number of enabled threads determining unit 11 is configured to determine the total number of threads enabled in the current data access service phase;

[0156] The thread monitoring unit 12 is configured to determine, for each thread, whether received active tasks on the thread have been processed based on a statistical variable corresponding to the thread, wherein the threads correspond to the statistical variables one-to-one and the value of the statistical variable is equal to the number of unprocessed active tasks on the thread;

[0157] The total number of enabled threads adjusting unit 13 is configured to reduce the total number of enabled threads by one when it is determined that the active tasks on the threads have been processed;

[0158] The task monitoring and ending unit 14 is configured to determine that all active tasks received in the current data access service phase have been processed when the total number of enabled threads is zero.

[0159] The present application provides a task monitoring system capable of determining the total number of threads enabled in the current data access service phase. A statistical variable is assigned to each thread, the value of which is equal to the number of unprocessed active tasks on the thread. Therefore, the system can determine whether the active tasks received by the thread have been processed based on the statistical variable. Furthermore, each thread has a corresponding statistical variable, which can avoid concurrent preemption and improve statistical efficiency. When the active tasks on a thread are processed, the total number of enabled threads is reduced by one. Ultimately, when the total number of enabled threads reaches zero, it is determined that all active tasks received in the current data access service phase have been processed. The system has strong versatility and scalability.

[0160] For a detailed introduction to the task monitoring system provided in this application, please refer to the above-mentioned embodiment of the task monitoring method, and this application does not make any special limitations on this.

[0161] Based on the above embodiment:

[0162] As an optional embodiment, the initial value of the statistical variable is 1, and the thread monitoring unit 12 includes:

[0163] A first adjustment unit is configured to reduce the statistical variable by one;

[0164] A first completion determination unit is configured to determine that the received active tasks on the thread corresponding to the statistical variable are completed when the statistical variable is zero;

[0165] The first unfinished determination unit is configured to determine, when the statistical variable is not zero, that the active tasks received on the thread corresponding to the statistical variable are not completely processed.

[0166] As an optional embodiment, the method further includes:

[0167] The second adjustment unit is configured to, when the statistical variable is not zero, determine that the received active tasks on the thread corresponding to the statistical variable have not been processed, decrement the statistical variable by one each time the thread completes a received active task, and trigger the first adjustment unit.

[0168] As an optional embodiment, the method further includes:

[0169] The assignment unit is configured to reassign the statistical variable to an initial value after determining that the active tasks received on the thread corresponding to the statistical variable are completed when the statistical variable is zero.

[0170] As an optional embodiment, the thread monitoring unit 12 is configured to determine whether the received active tasks on each thread have been processed based on the statistical variables corresponding to each thread in a preset processing order.

[0171] As an optional embodiment, the thread monitoring unit 12 is configured to determine whether the received active tasks on each thread have been processed based on the statistical variables corresponding to each thread in the time sequence in which the statistical variables change.

[0172] As an optional embodiment, the total number of enabled threads adjustment unit 13 is configured to set lock protection for the total number of enabled threads, so that the total number of threads enabled in the current data access service phase is reduced by one in sequence when the active tasks on multiple threads are processed.

[0173] As an optional embodiment, the method further includes:

[0174] The silent processing judgment unit is configured to judge whether a silent processing signal is received before determining the total number of threads enabled in the current data access service phase. If a silent processing signal is received before determining the total number of threads enabled in the current data access service phase, the total number of enabled threads determination unit 11 is triggered.

[0175] As an optional embodiment, the method further includes:

[0176] The service rejection unit is configured to send a rejection signal to both the upstream data access service and the downstream data access service in the current data access service phase after receiving the silent processing signal, so that each thread stops receiving new active tasks.

[0177] As an optional embodiment, the method further includes:

[0178] The first prompt unit is configured to reduce the total number of enabled threads by one when determining that the active tasks on the thread are processed, and then send the total number of threads after reduction by one to the display device so that the user can analyze the active task processing status of the current data access service stage.

[0179] As an optional embodiment, the method further includes:

[0180] The abnormal service processing unit is configured to process the received abnormal service upon receiving the abnormal service processing signal after determining that all received active tasks in the current data access service phase have been processed.

[0181] As an optional embodiment, the method further includes:

[0182] The business recovery unit is configured to process the received abnormal business upon receiving the abnormal business processing signal and after determining that the abnormal business processing is completed, send a recovery signal to the upstream data access service and the downstream data access service of the current data access service stage so that each thread can restart to receive new active tasks.

[0183] As an optional embodiment, the method further includes:

[0184] The abnormal business processing monitoring unit is configured to process the received abnormal business after receiving the abnormal business processing signal, and then determine whether the abnormal business received by the thread has been processed for each thread based on the abnormal business statistical variable corresponding to the thread, wherein the abnormal business statistical variable corresponds to the thread one by one and the value of the abnormal business statistical variable is equal to the number of unprocessed abnormal businesses on the thread.

[0185] As an optional embodiment, the initial value of the abnormal service statistical variable is 1, and determining whether the abnormal service received by the thread has been processed based on the abnormal service statistical variable corresponding to the thread includes:

[0186] Subtract one from the abnormal business statistics variable;

[0187] When the abnormal service statistical variable is zero, it is determined that the abnormal service received on the thread corresponding to the abnormal service statistical variable has been processed.

[0188] As an optional embodiment, after decrementing the abnormal traffic statistical variable by one, the method further includes:

[0189] When the abnormal service statistics variable is not zero, the abnormal service statistics variable is reduced by one each time the thread completes a received abnormal service statistics variable, and the process proceeds to the step of reducing the abnormal service statistics variable by one.

[0190] As an optional embodiment, after determining that the abnormal service received on the thread corresponding to the abnormal service statistical variable is completed when the abnormal service statistical variable is zero, the method further includes:

[0191] Reassign the abnormal business statistics variable to the initial value.

[0192] Please refer to FIG5 , which is a schematic diagram of the structure of a task monitoring device provided by the present application. The device includes:

[0193] A memory 21 is configured to store computer programs;

[0194] The processor 22 is configured to implement the steps of the above-mentioned task monitoring method when executing the computer program.

[0195] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 can be implemented in at least one hardware form of a DSP (Digital Signal Processor), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor configured to process data in an awake state, also known as a central processing unit; the coprocessor is a low-power processor configured to process data in a standby state. In some embodiments, the processor 22 may integrate a GPU (graphics processing unit), which is configured to be responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an AI (Artificial Intelligence) processor, which is configured to process computing operations related to machine learning.

[0196] The memory 21 may include one or more non-volatile readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least configured to store the following computer program, wherein, after the computer program is loaded and executed by the processor 22, it can implement the relevant steps of the task monitoring method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 21 may also include an operating system and data, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system may include Windows, Unix, Linux, etc. The data may include but is not limited to the data of the task monitoring method, etc.

[0197] For a detailed introduction to a task monitoring device provided by this application, please refer to the above-mentioned embodiment of the task monitoring method, and this application will not elaborate on it here.

[0198] Please refer to Figure 6, which is a structural diagram of a non-volatile readable storage medium provided by the present application. The non-volatile readable storage medium 31 stores a computer program, and when the computer program is executed by the processor, the steps of the above-mentioned task monitoring method are implemented.

[0199] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile readable storage medium 31. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium and executes all or part of the steps of the various embodiments of the present application. Optionally, the non-volatile readable storage medium 31 may include but is not limited to any type of disk, including a floppy disk, an optical disk, and a mobile hard disk, or any type of medium or device suitable for storing instructions, data, etc., and the present application does not make any special restrictions here.

[0200] For an introduction to a non-volatile readable storage medium 31 provided in this application, please refer to the embodiment of the above-mentioned task monitoring method, and this application will not go into details here.

[0201] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0202] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

[0203] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A task monitoring method, characterized in that: include: Determine the total number of threads enabled in the current data access service phase; For each thread, determining whether the active tasks received on the thread have been processed based on the statistical variables corresponding to the thread, wherein the threads correspond to the statistical variables one by one and the value of the statistical variables is equal to the number of active tasks that have not been processed on the thread; When it is determined that the active tasks on the thread have been processed, the total number of enabled threads is reduced by one; When the total number of enabled threads is zero, it is determined that all active tasks received in the current data access service phase are processed completely.

2. The task monitoring method according to claim 1, characterized in that: The initial value of the statistical variable is 1. Based on the statistical variable corresponding to the thread, it is determined whether the received active tasks on the thread have been processed, including: Decrease the statistical variable by one; When the statistical variable is zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have been processed; When the statistical variable is not zero, it is determined that the active tasks received on the thread corresponding to the statistical variable have not been completely processed.

3. The task monitoring method as claimed in claim 2, characterized in that: After determining that the received active tasks on the thread corresponding to the statistical variable have not been processed when the statistical variable is not zero, the method further includes: Each time the thread completes a received active task, the statistical variable is reduced by one, and the step of reducing the statistical variable by one is entered.

4. The task monitoring method as claimed in claim 2, characterized in that: After determining that the active tasks received on the thread corresponding to the statistical variable are processed when the statistical variable is zero, the method further includes: Reassign statistical variables to initial values.

5. The task monitoring method as claimed in claim 3, characterized in that: After the thread decrements the statistics variable each time it completes a received active task, it also includes: The statistical variable after decrementing by one is output to the display device so that the user can analyze the processing status of each current thread on the active task.

6. The task monitoring method according to claim 1, characterized in that: For each thread, determining whether the active tasks received on the thread have been processed based on the statistical variables corresponding to the thread includes: It is determined whether the received active tasks on each thread have been processed completely based on the statistical variables corresponding to each thread in a preset processing order.

7. The task monitoring method according to claim 1, characterized in that: For each thread, determining whether the active tasks received on the thread have been processed based on the statistical variables corresponding to the thread includes: According to the time sequence of changes of the statistical variables, it is determined based on the statistical variables corresponding to the threads whether the received active tasks on the threads are completely processed.

8. The task monitoring method according to claim 1, characterized in that: The total number of enabled threads is reduced by one when it is determined that the active tasks on the thread have been processed, including: A lock protection is set for the total number of enabled threads, so that when active tasks on multiple threads are processed completely, the total number of enabled threads in the current data access service phase is reduced by one in sequence.

9. The task monitoring method according to claim 1, characterized in that: Before determining the total number of threads enabled in the current data access service phase, also include: Determine whether a silent processing signal is received; When a quiesce processing signal is received, a step of determining the total number of threads enabled in the current data access service phase is entered.

10. The task monitoring method according to claim 9, characterized in that: After receiving the silent processing signal, it also includes: Send a rejection signal to both the upstream data access service and the downstream data access service of the current data access service stage so that each thread stops accepting new active tasks.

11. The task monitoring method according to claim 1, characterized in that: After the total number of enabled threads is reduced by one when it is determined that the active tasks on the thread have been processed, it also includes: The total number of threads after being reduced by one is sent to a display device so that the user can analyze the processing status of active tasks in the current data access service phase.

12. The task monitoring method according to any one of claims 1 to 11, characterized in that: After determining that all the activity tasks received in the current data access service phase have been processed, it also includes: When an abnormal service processing signal is received, the received abnormal service is processed.

13. The task monitoring method according to claim 12, characterized in that: After processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes: After determining that the abnormal business has been processed, a recovery signal is sent to the upstream data access service and the downstream data access service in the current data access service phase, so that each thread can restart receiving new active tasks.

14. The task monitoring method according to claim 13, characterized in that: After processing the received abnormal service upon receiving the abnormal service processing signal, the method further includes: For each thread, whether the abnormal business received by the thread has been processed is determined based on the abnormal business statistical variable corresponding to the thread, wherein the abnormal business statistical variable corresponds to the thread one by one and the value of the abnormal business statistical variable is equal to the thread. The number of abnormal businesses that have not been processed.

15. The task monitoring method according to claim 14, characterized in that: The initial value of the abnormal service statistics variable is 1. Based on the abnormal service statistics variable corresponding to the thread, it is determined whether the abnormal service received by the thread has been processed, including: Subtract one from the abnormal business statistics variable; When the abnormal service statistical variable is zero, it is determined that the abnormal service received on the thread corresponding to the abnormal service statistical variable has been processed.

16. The task monitoring method according to claim 15, characterized in that: After the abnormal business statistics variable is reduced by one, it also includes: When the abnormal service statistics variable is not zero, the abnormal service statistics variable is reduced by one each time the thread completes a received abnormal service statistics variable, and the process proceeds to the step of reducing the abnormal service statistics variable by one.

17. The task monitoring method according to claim 15, characterized in that: After determining that the abnormal service received on the thread corresponding to the abnormal service statistical variable is completed when the abnormal service statistical variable is zero, the method further includes: Reassign the abnormal business statistics variable to the initial value.

18. A task monitoring system, characterized in that: include: An enabled thread total number determination unit is configured to determine the total number of threads enabled in the current data access service phase; A thread monitoring unit is configured to determine, for each thread, whether the received active tasks on the thread have been processed based on a statistical variable corresponding to the thread, wherein the thread corresponds to the statistical variable one-to-one and the value of the statistical variable is equal to the number of active tasks that have not been processed on the thread; An enabled thread total number adjustment unit is configured to reduce the total number of enabled threads by one when it is determined that the active tasks on the threads have been processed; The task monitoring end unit is configured to determine that all active tasks received in the current data access service phase have been processed when the total number of enabled threads is zero.

19. A task monitoring device, characterized in that: include: a memory arranged to store a computer program; A processor is configured to implement the steps of the task monitoring method according to any one of claims 1 to 17 when executing a computer program.

20. A non-volatile readable storage medium, characterized in that: A computer program is stored on the non-volatile readable storage medium, and when the computer program is executed by a processor, the steps of the task monitoring method according to any one of claims 1 to 17 are implemented.

Citation Information

Patent Citations

  • Method for acquiring task progress, terminal device and storage medium

    CN109032775A

  • Method and device for closing multi-thread application program

    CN110109739A

  • Activity counting variable maintenance methodand device, equipment and readable medium

    CN114003203A

  • Task monitoring method, system and device and computer readable storage medium

    CN115934480A