CN111858125B - Task processing method, device, electronic equipment and readable storage medium - Google Patents

Task processing method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111858125B
CN111858125B CN202010764751.6A CN202010764751A CN111858125B CN 111858125 B CN111858125 B CN 111858125B CN 202010764751 A CN202010764751 A CN 202010764751A CN 111858125 B CN111858125 B CN 111858125B
Authority
CN
China
Prior art keywords
command information
information
tasks
task
target task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010764751.6A
Other languages
Chinese (zh)
Other versions
CN111858125A (en
Inventor
何莹杰
袁宁
宫晨
夏刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010764751.6A priority Critical patent/CN111858125B/en
Publication of CN111858125A publication Critical patent/CN111858125A/en
Application granted granted Critical
Publication of CN111858125B publication Critical patent/CN111858125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0715Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present disclosure provides a task processing method, including: m target tasks are obtained, each of which contains a plurality of command information. For each target task, a command execution list is established and a plurality of pieces of contained command information are recorded in the command execution list in sequence. Based on the command execution list, M target tasks are executed in parallel, wherein the following operations are executed in the process of executing each target task: reading command information from the command execution list, and taking the read command information as current command information; determining whether to suspend processing of the current command information; if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task; if not, processing the current command information and reading the next command information from the command execution list. The present disclosure provides a task processing device, an electronic apparatus, and a computer-readable storage medium. The task processing method and device can be used in the financial field or other fields.

Description

Task processing method, device, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of computer technology, and more particularly, to a task processing method, a task processing device, an electronic apparatus, and a computer-readable storage medium.
Background
With the rapid development of internet and computer technology, humans have come into the internet big data age comprehensively, wherein the processing problem for large data volume is getting more and more attention. For example, to speed up data processing flow, tasks and demands of batch processing are becoming increasingly visible. Taking the financial industry as an example, along with the acceleration of business iteration, the change of network infrastructure also grows exponentially, and in order to improve efficiency and quality, automation is often adopted, and the change belongs to the category of batch automation task execution.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art:
under the condition that a large number of tasks are executed concurrently, if abnormal faults occur, the implementation of the tasks should be stopped immediately, the expansion of fault surfaces is avoided, and the current mode of manually combing and suspending the tasks cannot meet the requirements of rapidness and accuracy.
Disclosure of Invention
In view of this, the present disclosure provides a task processing method, a task processing device, an electronic apparatus, and a computer-readable storage medium.
One aspect of the present disclosure provides a task processing method, including: obtaining M target tasks, wherein each target task comprises a plurality of command information, and M is an integer greater than or equal to 1; for each target task, establishing a command execution list and sequentially recording a plurality of contained command information in the command execution list; and executing the M target tasks in parallel based on the command execution list, wherein the following operations are executed in the process of executing each target task: reading command information from the command execution list, and taking the read command information as current command information; determining whether to suspend processing the current command information; if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task; if not, processing the current command information and reading the next command information from the command execution list.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: determining whether to resume execution of the target task under the condition that the target task is in a suspended state; if yes, restoring to process the current command information and reading the next command information from the command execution list.
According to an embodiment of the present disclosure, the obtaining M target tasks includes: receiving N initial tasks, wherein the N initial tasks comprise P combined tasks and Q independent tasks, each combined task comprises at least two sub-tasks, N is an integer greater than or equal to 1, P is an integer greater than or equal to 1 and less than or equal to N, and Q is a difference value between N and P; decomposing the P combined tasks to obtain a plurality of subtasks; and taking the plurality of subtasks and the Q independent tasks as the M target tasks, wherein each subtask is taken as one target task, and each independent task is taken as one target task.
The determining whether to suspend processing the current command information includes: determining whether a pause instruction is received; if yes, determining whether the current command information allows suspension, if yes, determining to suspend processing the current command information, and if not, not suspending processing the current command information; if not, the processing of the current command information is not suspended.
According to an embodiment of the disclosure, the creating a command execution list for each target task and recording the plurality of command information in the command execution list includes performing the following operations for each target task: establishing a command execution list, a command result list and a state instruction list; and sequentially recording the plurality of command information contained in the command execution list. The following operations are also performed in the course of executing each target task: obtaining result information about the current command information after processing the current command information; and recording the result information in the command result list.
According to an embodiment of the present disclosure, the method further comprises: receiving state instruction information input by a user; and recording the state instruction information in the state instruction list, wherein the state instruction information comprises a pause instruction and a resume instruction. The determining whether to suspend processing the current command information includes: reading state instruction information from the state instruction list; based on the state instruction information, it is determined whether to suspend processing of the current command information.
According to an embodiment of the present disclosure, recording the state instruction information in the state instruction list includes: recording the state instruction information in a state instruction list of each of the M target tasks under the condition that the state instruction information aims at all target tasks; in the case that the state instruction information is for a partial target task, the state instruction information is recorded in a state instruction list of each target task in the partial target task information.
According to an embodiment of the present disclosure, the determining whether to resume the execution of the target task when the target task is in a suspended state includes: reading the latest state instruction information from the state instruction list every preset time when the target task is in a pause state; and determining whether to resume execution of the target task based on the latest state instruction information.
According to an embodiment of the disclosure, the determining whether to resume the execution of the target task when the target task is in a suspended state further includes: determining whether the time-consuming time length of the target task exceeds a preset time length, wherein the time-consuming time length comprises the sum of the time length consumed by the command information executed by the target task and the time length paused; if yes, terminating the target task.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: determining execution progress information based on the command execution list and the command result list; and outputting the execution progress information to a user.
Another aspect of the present disclosure provides a task processing device, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring M target tasks, each target task comprises a plurality of command information, and M is an integer greater than or equal to 1; the recording module is used for establishing a command execution list aiming at each target task and recording a plurality of contained command information in the command execution list in sequence; and an execution module, configured to execute the M target tasks in parallel based on the command execution list, where the following operations are executed in a process of executing each target task: reading command information from the command execution list, and taking the read command information as current command information; determining whether to suspend processing the current command information; if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task; if not, processing the current command information and reading the next command information from the command execution list.
Another aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described above.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed, are configured to implement a method as described above.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions which when executed are for implementing a method as described above.
According to the embodiment of the disclosure, in the process of executing a plurality of tasks in parallel, command information is read and processed one by one according to the sequence for each task, and whether processing is suspended is judged before each command information is processed.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates an exemplary system architecture and application scenario in which a task processing method may be applied, according to an embodiment of the present disclosure;
FIGS. 2 and 3 schematically illustrate a flow chart of a task processing method according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of performing a target task according to another embodiment of the disclosure;
FIG. 5 schematically illustrates a flow diagram of obtaining a target task according to another embodiment of the disclosure;
FIG. 6 schematically illustrates a block diagram of a task processing device according to an embodiment of the disclosure; and
fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement a task processing method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). It should also be appreciated by those skilled in the art that virtually any disjunctive word and/or phrase presenting two or more alternative items, whether in the description, claims, or drawings, should be understood to contemplate the possibilities of including one of the items, either of the items, or both. For example, the phrase "a or B" should be understood to include the possibility of "a" or "B", or "a and B".
The embodiment of the disclosure provides a task processing method, which comprises the following steps: obtaining M target tasks, wherein each target task comprises a plurality of command information, and M is an integer greater than or equal to 1. For each target task, a command execution list is established and a plurality of pieces of contained command information are recorded in the command execution list in sequence. Based on the command execution list, M target tasks are executed in parallel. Wherein the following operations are performed in the course of executing each target task: reading command information from the command execution list, and taking the read command information as current command information; determining whether to suspend processing of the current command information; if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task; if not, processing the current command information and reading the next command information from the command execution list.
Fig. 1 schematically illustrates an exemplary system architecture and application scenario in which a task processing method may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 illustrates only an example of a system architecture and application scenario in which embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture according to this embodiment may include a database 101, a management platform 102, and a set of task operation objects 103. The Database 101 may include, for example, a DB (Database) Database, and the management platform 102 may include, for example, a server.
The task processing methods provided by embodiments of the present disclosure may be generally performed by the management platform 102. Accordingly, the task processing devices provided by the embodiments of the present disclosure may be generally disposed in the management platform 102.
The task processing method of the embodiment of the disclosure can be used for updating the configuration of a plurality of network devices. Along with the updating iteration of the service, the configuration of the network equipment needs to be updated, in each updating process, the configuration information needed by the updating needs to be sent to each network equipment, and in the application scene, the configuration information can be used as command information of a task. One task may be to send configuration information to one or several network devices, and multiple tasks for sending configuration information to all network devices may form a batch task, and the batch task may be executed concurrently, so that sending efficiency may be improved.
In the above application scenario, the management platform 102 may include, for example, a centralized management platform and a local management platform, and the task operation object set 103 may include, for example, a plurality of task operation objects, which may be, for example, a plurality of network devices (network device 1, network device 2,..and network device N). The local management platform and the plurality of network devices may be deployed in a certain local area (for example, sichuan), the centralized management platform and the database may be deployed in a centralized management area (for example, beijing), and the centralized management platform may be a local management platform that centrally manages a plurality of areas.
The configuration information of each task may be stored in the database 101, for example, the centralized management platform is responsible for extracting the configuration information of each task from the database 101, and the extracted multiple tasks may be directly sent to the local management platform as multiple target tasks, or the tasks may be decomposed to obtain target tasks, and then the target tasks are sent to the local management platform. The centralized management platform may also be responsible for receiving pause instructions and resume instructions entered by the user. After receiving the configuration information of the target tasks, the local management platform may create a command execution list for each target task, record the configuration information of each target task in the corresponding list, and then may execute a plurality of target tasks in parallel. When the centralized management platform receives a pause instruction input by a user, the pause instruction can be sent to the local management platform so that the local management platform pauses to execute the corresponding task. When the centralized management platform receives the recovery instruction input by the user, the recovery instruction can be sent to the local management platform so that the local management platform resumes executing the corresponding task.
It should be understood that the number of databases, management platforms, and task operational objects in FIG. 1 are merely illustrative. There may be any number of databases, management platforms, and task operational objects, as desired for implementation. Moreover, the application scenario described above is only an example, and the task processing method may be applied to a scenario in which a plurality of network devices are updated in configuration, and other batch tasks are concurrently executed.
It should be noted that, the task processing method and the task processing device according to the embodiments of the present disclosure may be used to process tasks in the financial field, and may also be used to process tasks in any field other than the financial field, and the application field of the task processing method and the task processing device according to the embodiments of the present disclosure is not limited.
Fig. 2 and 3 schematically illustrate flowcharts of a task processing method according to an embodiment of the present disclosure.
As shown in fig. 2, the method includes operations S210 to S230.
In operation S210, M target tasks are obtained, each of which contains a plurality of command information, where M is an integer greater than or equal to 1.
For example, in an application scenario in which configuration information is sent to a plurality of network devices in batches, the command information may be assignment of the configuration information, and each target task may be, for example, a task of sending the configuration information to one network device; or each target task may be a task that sends configuration information to several (e.g., 2, 3, etc.) network devices; or a part of the M target tasks may be tasks that send configuration information to one network device, and the rest of the tasks may be tasks that send configuration information to several (e.g., 2, 3, etc.) network devices.
In operation S220, a command execution list is established for each target task and a plurality of command information contained therein is sequentially recorded in the command execution list.
For example, a command execution list is established for each of the M target tasks, and then command information contained in each target task is recorded in the corresponding command execution list in order of execution. The command execution list may be implemented by a dis cache, where the dis cache includes multiple data storage types, including, for example, a Hash map type, a list (list) type, a string (string) type, and the like, and the command execution list may be, for example, a list type data storage object.
In operation S230, M target tasks are executed in parallel based on the command execution list.
For example, multiple parallel threads may be launched, each of which may process one target task, with each target task being executed in parallel based on a corresponding command execution list. In the process of executing each task, each piece of command information in the corresponding command information list is sequentially read and executed, for example, the command information of the target task A1 is recorded in the command execution list L1, and in the process of executing the target task A1, the command information in the command execution list L1 is read and executed one by one. In an application scenario in which configuration information is sent in batches to a plurality of network devices, executing command information may refer to sending the configuration information to the network devices. For each task, after reading a piece of command information and before processing, it is necessary to determine whether or not to suspend processing the piece of command information, and in particular, see fig. 3.
As shown in fig. 3, operations S231 to S234 may be performed in the course of performing each target task:
in operation S231, one piece of command information is read from the command execution list, and the read command information is used as current command information.
For example, taking the target task A1 as an example, the first command information in the command execution list L1 is read, and the first command information is used as the command information currently processed.
In operation S232, it is determined whether to suspend processing of the current command information.
For example, it may be checked whether a pause instruction input by the user regarding the target task A1 is received, and if the pause instruction is received, it may be determined that the current command information needs to be paused, and if the pause instruction is not received, it is unnecessary to pause the current command information.
If yes, the current command information and the subsequent command information are suspended to suspend the execution of the target task in operation S233.
For example, if the current command information needs to be paused, the current command information and all subsequent command information are paused, so that the execution of the target task A1 may be paused, for example, the current and the rest of configuration information are paused and issued to the operation object.
According to an embodiment of the present disclosure, in the case of suspending execution of a target task, a Session (Session) is also maintained between the corresponding thread and the task operation object so that execution can be resumed upon receiving a resume instruction.
If not, the current command information is processed and the next command information is read from the command execution list in operation S234. The return operation S231 takes the next command information as current command information, and performs the corresponding operations in operations S232 to S234 again.
For example, if the current command information does not need to be paused, the current command information is processed, and then the operation S231 is returned to read the second command information in the command execution list L1 as the current command information, and the corresponding operations in operations S232 to S234 are executed again. Operations S232 to S234 may be performed in such a loop until it is necessary to suspend the execution of the target task A1 or the execution of the target task A1 is completed.
According to the embodiment of the disclosure, in the process of executing a plurality of tasks in parallel, command information is read and processed one by one according to the sequence for each task, and whether processing is suspended is judged before each command information is processed.
FIG. 4 schematically illustrates a flow chart of performing a target task according to another embodiment of the present disclosure.
As shown in fig. 4, according to an embodiment of the present disclosure, the following operations S235 and S236 may also be performed in performing each target task:
in operation S235, it is determined whether to resume the execution of the target task in a case where the target task is in a suspended state.
In operation S236, if yes, the current command information is restored to be processed and the next command information is read from the command execution list. The return operation S231 takes the next command information as current command information, and performs the corresponding operations in operations S232 to S234 again.
For example, taking the target task A1 in the suspended state as an example, it may be checked in real time whether a resume instruction about the target task A1 input by the user is received, if the resume instruction is received, the processing of the current command information may be restarted, and then the next command information in the command execution list L1 may be read as the current command information in operation S231 and the corresponding operations in operations S232 to S234 may be executed again. Operations S232 to S234 may be performed in a loop until the execution of the target task A1 needs to be suspended again or the execution of the target task A1 is completed.
According to the embodiment of the disclosure, after the fault is removed and recovered to be normal, the operation and maintenance personnel can recover to execute the corresponding task only by inputting the recovery instruction, so that the problem of slow recovery time caused by manually combing and recovering the task is avoided, the task can be quickly recovered and executed, and the recovery efficiency is improved.
Fig. 5 schematically illustrates a flow chart of obtaining a target task according to another embodiment of the present disclosure.
As shown in fig. 5, obtaining M target tasks in operation S210 may include operations S211 to S213 according to an embodiment of the present disclosure:
in operation S211, N initial tasks are received, where the N initial tasks include P combined tasks and Q independent tasks, each combined task includes at least two sub-tasks, N is an integer greater than or equal to 1, P is an integer greater than or equal to 1 and less than or equal to N, and Q is a difference between N and P.
For example, in an application scenario in which configuration information is sent in batches to a plurality of network devices, a combined task may be a task that sends configuration information to two or more network devices. Each independent task may be a separate task that does not include sub-tasks, e.g., each independent task may refer to a task that sends configuration information to only one network device.
In operation S212, the P combined tasks are decomposed to obtain a plurality of subtasks.
For example, the combined task may be split up by network devices, one subtask may be split up for each network device, each subtask being responsible for sending configuration information to only one network device.
In operation S213, a plurality of subtasks and Q independent tasks are regarded as M target tasks, wherein each subtask may be regarded as one target task and each independent task may be regarded as one target task.
For example, P may be equal to N, i.e., each of the N initial tasks is a combined task, where the N initial tasks may include, for example, initial tasks A, B and C, where initial task a may be decomposed into target tasks A1 and A2, initial task B may be decomposed into target tasks B1, B2, and B3, and initial task C may be decomposed into target tasks C1, C2, and C3. The above-described operations S220 and S230 may then be performed with the target tasks A1, A2, B1, B2, B3, C1, C2, and C3 as 8 target tasks.
For another example, P may be less than N, i.e., only some of the N initial tasks are combined tasks, and the N initial tasks may include, for example, initial tasks A, B and C, where initial tasks a and B are combined tasks and initial task C is an independent task. The initial task a may be decomposed into target tasks A1 and A2, and the initial task B may be decomposed into target tasks B1, B2, and B3. Then, the above-described operations S220 and S230 may be performed with the target tasks A1, A2, B1, B2, B3, and C as 6 target tasks.
According to the embodiment of the disclosure, in the case that the initial task includes a combined task, the combined task may be split to obtain a plurality of target tasks, and then the target tasks may be executed in parallel. The processing efficiency of batch tasks can be further improved.
According to an embodiment of the present disclosure, determining whether to suspend processing of the current command information in operation S232 may include: determining whether a pause instruction is received; if a pause instruction is received, determining whether the current command information allows pause, if the current command information allows pause, determining to pause the current command information, and if the current command information does not allow pause, not pausing the current command information; if the pause instruction is not received, the current command information is not paused.
For example, if a pause instruction is received before processing the current command information, it needs to be determined whether the current command information allows pausing, for example, the command information with "// stop" in the command statement may be pause-allowed, if the command statement may pause, the processing of the current command statement and the following command statement may be paused, if the current command information does not allow pausing, the processing of the current command statement may be performed, and the pausing may be performed before the processing of the next command information that allows pausing.
According to an embodiment of the present disclosure, establishing a command execution list and recording a plurality of command information in the command execution list for each target task in operation S220 includes performing the following operations for each target task: (1) Establishing a command execution list, a command result list and a state instruction list; (2) The plurality of command information included is recorded in order in the command execution list.
For example, when the command execution list is re-established, a command result list and a state instruction list may be simultaneously established, wherein the command execution list may be used to record a plurality of command information, the command result list may be used to record processing result information of each command information, and the state instruction list may be used to record a pause instruction and a resume instruction input by a user. The command execution list and the command result list may each be, for example, a list-type data storage object, and the state instruction list may be, for example, a Hash map-type data storage object.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: (1) After processing the current command information, obtaining result information about the current command information; (2) recording the result information in the command result list.
The result information may be, for example, result information fed back by a task operation object (e.g., a network device) after receiving each command information. The respective result information may be recorded sequentially for each target task using a corresponding command result list.
According to the embodiment of the disclosure, after each command information is processed, corresponding result information can be recorded, based on the scheme, the processing condition of each command information can be known, and the processing progress of the target task can be calculated.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: determining execution progress information based on the command execution list and the command result list; and outputting the execution progress information to the user.
For example, the length SIZE1 of the command execution list may represent the number of all command information of the target task, and the length SIZE2 of the command result list may represent the number of command information of the target task that has been processed, and the execution progress percentage ratio=size 1/SIZE2 of the target task. And then, the execution progress percentage of each target task can be sent to the centralized management platform and displayed to operation and maintenance personnel through display equipment of the centralized management platform to realize visualization. In addition, information of the command execution list and the command result list may be output to the user as well.
According to the embodiment of the disclosure, the execution progress and the execution condition of each target task can be obtained and displayed, and effective data and judgment basis are provided for operation and maintenance personnel to monitor the execution process of each target task.
According to an embodiment of the present disclosure, the task processing method may further include: (1) receiving state instruction information input by a user; (2) And recording state instruction information in a state instruction list, wherein the state instruction information comprises a pause instruction and a resume instruction.
According to an embodiment of the present disclosure, determining whether to suspend processing of the current command information in operation S232 may include: (1) reading state instruction information from a state instruction list; (2) Based on the state instruction information, it is determined whether to suspend processing of the current command information.
For example, for each task, after reading one piece of command information and before processing the piece of command information, the latest state instruction information in the state instruction list is read, if the latest state instruction information is a suspension instruction, the processing of the current command information may be suspended directly, or it may be determined whether the current command information is allowed to be suspended before determining whether to suspend the processing of the current command information.
According to an embodiment of the present disclosure, recording the state instruction information in the state instruction list may include: recording the state instruction information in a state instruction list of each of the M target tasks under the condition that the state instruction information is specific to all the target tasks; or in the case that the state instruction information is for a part of the target tasks, recording the state instruction information in a state instruction list of each target task in the part of the target task information.
For example, if a failure occurs and the related target task cannot be accurately determined, after receiving a pause instruction from the user, the pause instruction may be recorded in a state instruction list corresponding to each of all M target tasks.
For example, if a fault occurs, it is possible to accurately determine a plurality of target tasks related to the fault, and in the process of inputting a pause instruction, the labels of the related target tasks may be input together by the user, which indicates that the execution of the plurality of related target tasks needs to be paused, and then the pause instruction may be recorded in a state instruction list corresponding to the plurality of related target tasks.
According to the embodiment of the disclosure, the range of the suspended target task can be flexibly set according to different fault conditions.
In accordance with an embodiment of the present disclosure, determining whether to resume execution of the target task may include, in a case where the target task is in a suspended state: (1) Reading the latest state instruction information from the state instruction list every preset time when the target task is in a pause state; (2) Based on the latest state instruction information, it is determined whether to resume execution of the target task.
For example, if the latest state instruction information is detected periodically, if the latest state instruction information is a resume instruction, the execution target task may be resumed, that is, resume processing the current command information and reading the next command information from the command execution list as the current command information.
According to an embodiment of the present disclosure, in a case where the target task is in a suspended state, determining whether to resume the execution of the target task may further include: (1) Determining whether the time-consuming time of the target task exceeds a preset time length, wherein the time-consuming time length comprises the sum of the time length consumed by the command information executed by the target task and the time length paused; (2) if yes, terminating the target task; if not, the latest state instruction information can be read from the state instruction list every a preset time period, and whether to resume executing the target task is determined based on the latest state instruction information.
For example, a duration threshold may be preset, if the total consumption time of one or some target tasks exceeds the duration threshold, the one or some target tasks may be terminated, so that the one or some target tasks are no longer resumed, the session connection with the corresponding task operation object is disconnected, and the terminated target tasks may be fed back to the operation staff.
According to the embodiment of the disclosure, in order to avoid that the recovery time of the target task exceeds the change time for allowing the target task to execute, a timeout time is set for each target task, and after the timeout time is reached, the target task is changed from the pause state to the termination state.
In addition, even if the target task is not in a suspended state, if the total consumption time exceeds the time length threshold, the target task may be terminated.
Another aspect of the disclosed embodiments provides a task processing device.
Fig. 6 schematically illustrates a block diagram of a task processing device according to an embodiment of the present disclosure.
As shown in fig. 6, the task processing device 300 may include an acquisition module 310, a recording module 320, and an execution module 330.
The obtaining module 310 is configured to obtain M target tasks, where each target task includes a plurality of command information, and M is an integer greater than or equal to 1.
The recording module 320 is configured to establish a command execution list for each target task and sequentially record a plurality of command information contained in the command execution list.
The execution module 330 is configured to execute M target tasks in parallel based on the command execution list, where the following operations are performed in the process of executing each target task: reading command information from the command execution list, and taking the read command information as current command information; determining whether to suspend processing of the current command information; if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task; if not, processing the current command information and reading the next command information from the command execution list.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: determining whether to resume execution of the target task under the condition that the target task is in a suspended state; if yes, restoring the current command information and reading the next command information from the command execution list as the current command information.
According to an embodiment of the present disclosure, obtaining M target tasks may include: receiving N initial tasks, wherein the N initial tasks comprise P combined tasks and Q independent tasks, each combined task comprises at least two sub-tasks, N is an integer greater than or equal to 1, P is an integer greater than or equal to 1 and less than or equal to N, and Q is a difference value between N and P; decomposing the P combined tasks to obtain a plurality of subtasks; and taking a plurality of subtasks and Q independent tasks as M target tasks, wherein each subtask is taken as one target task, and each independent task is taken as one target task.
According to an embodiment of the present disclosure, determining whether to suspend processing of current command information includes: determining whether a pause instruction is received; if yes, determining whether the current command information allows suspension, if the current command information allows suspension, determining to suspend processing the current command information, and if the current command information does not allow suspension, not suspending processing the current command information; if not, the processing of the current command information is not suspended.
According to an embodiment of the present disclosure, establishing a command execution list and recording a plurality of command information in the command execution list for each target task includes performing the following operations for each target task: establishing a command execution list, a command result list and a state instruction list; and sequentially recording the plurality of command information contained in the command execution list.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: after processing the current command information, obtaining result information about the current command information; and recording the result information in a command result list.
According to an embodiment of the present disclosure, the task processing method may further include a receiving module, where the receiving module is configured to: receiving state instruction information input by a user; recording state instruction information in a state instruction list, wherein the state instruction information comprises a pause instruction and a resume instruction;
according to an embodiment of the present disclosure, determining whether to suspend processing of current command information includes: reading state instruction information from a state instruction list; based on the state instruction information, it is determined whether to suspend processing of the current command information.
According to an embodiment of the present disclosure, recording state instruction information in a state instruction list includes: recording the state instruction information in a state instruction list of each of the M target tasks under the condition that the state instruction information is specific to all the target tasks; in the case where the state instruction information is for a partial target task, the state instruction information is recorded in a state instruction list of each target task in the partial target task information.
According to an embodiment of the present disclosure, determining whether to resume execution of the target task in a case where the target task is in a suspended state includes: reading the latest state instruction information from the state instruction list every preset time when the target task is in a pause state; based on the latest state instruction information, it is determined whether to resume execution of the target task.
According to an embodiment of the present disclosure, in a case where the target task is in a suspended state, determining whether to resume the execution of the target task further includes: determining whether the time-consuming time of the target task exceeds a preset time length, wherein the time-consuming time length comprises the sum of the time length consumed by the command information executed by the target task and the time length paused; if yes, the target task is terminated.
According to an embodiment of the present disclosure, the following operations are also performed in the course of performing each target task: determining execution progress information based on the command execution list and the command result list; and outputting the execution progress information to the user.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
For example, any of the acquisition module 310, the recording module 320, the execution module 330, and the receiving module may be combined in one module/unit/sub-unit or any of them may be split into multiple modules/units/sub-units. Alternatively, at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to embodiments of the present disclosure, at least one of the acquisition module 310, the recording module 320, the execution module 330, and the receiving module may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable way of integrating or packaging the circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the acquisition module 310, the recording module 320, the execution module 330, and the receiving module may be at least partially implemented as a computer program module, which when executed, may perform the corresponding functions.
It should be noted that, in the embodiment of the present disclosure, the task processing device portion corresponds to the task processing method portion in the embodiment of the present disclosure, and the description of the task processing device portion specifically refers to the task processing method portion and is not described herein again.
Another aspect of an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the task processing method as described above.
Fig. 7 schematically illustrates a block diagram of an electronic device adapted to implement the above-described method according to an embodiment of the present disclosure. The electronic device shown in fig. 7 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 7, an electronic device 500 according to an embodiment of the present disclosure includes a processor 501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. The processor 501 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 501 may also include on-board memory for caching purposes. The processor 501 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 are stored. The processor 501, ROM 502, and RAM 503 are connected to each other by a bus 504. The processor 501 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 502 and/or the RAM 503. Note that the program may be stored in one or more memories other than the ROM 502 and the RAM 503. The processor 501 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 500 may also include an input/output (I/O) interface 505, the input/output (I/O) interface 505 also being connected to the bus 504. The electronic device 500 may also include one or more of the following components connected to the I/O interface 505: an input section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The drive 510 is also connected to the I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 501. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, fiber optic cable, radio frequency signals, or the like, or any suitable combination of the foregoing.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 502 and/or RAM 503 and/or one or more memories other than ROM 502 and RAM 503 described above.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (12)

1. A task processing method, comprising:
obtaining M target tasks, wherein each target task comprises a plurality of command information, and M is an integer greater than or equal to 1;
For each target task, establishing a command execution list and sequentially recording the plurality of command information in the command execution list; and
and executing the M target tasks in parallel based on the command execution list, wherein in the process of executing each target task:
reading command information from the command execution list, and taking the read command information as current command information;
determining whether to suspend processing the current command information;
if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task;
if not, processing the current command information and reading the next command information from a command execution list;
wherein the obtaining the M target tasks includes:
receiving N initial tasks, wherein the N initial tasks comprise P combined tasks and Q independent tasks, each combined task comprises at least two sub-tasks, N is an integer greater than or equal to 1, P is an integer greater than or equal to 1 and less than or equal to N, and Q is a difference value between N and P;
decomposing the P combined tasks to obtain a plurality of subtasks;
and taking the plurality of subtasks and the Q independent tasks as the M target tasks, wherein each subtask is taken as one target task, and each independent task is taken as one target task.
2. The method of claim 1, wherein the following operations are further performed in performing each target task:
determining whether to resume execution of the target task under the condition that the target task is in a suspended state;
if yes, restoring to process the current command information and reading the next command information from the command execution list.
3. The method of claim 1, wherein the determining whether to suspend processing the current command information comprises:
determining whether a pause instruction is received;
if yes, determining whether the current command information allows suspension, if yes, determining to suspend processing the current command information, and if not, not suspending processing the current command information;
if not, the processing of the current command information is not suspended.
4. The method according to claim 2, wherein:
the establishing a command execution list for each target task and recording the plurality of command information in the command execution list includes performing the following operations for each target task:
establishing a command execution list, a command result list and a state instruction list; and
Sequentially recording a plurality of command information in the command execution list;
the following operations are also performed in the course of executing each target task:
obtaining result information about the current command information after processing the current command information;
and recording the result information in the command result list.
5. The method of claim 4, wherein,
the method further comprises the steps of:
receiving state instruction information input by a user;
recording the state instruction information in the state instruction list, wherein the state instruction information comprises a pause instruction and a resume instruction;
the determining whether to suspend processing the current command information includes:
reading state instruction information from the state instruction list;
based on the state instruction information, it is determined whether to suspend processing of the current command information.
6. The method of claim 5, wherein recording the state instruction information in the state instruction list comprises:
recording the state instruction information in a state instruction list of each of the M target tasks under the condition that the state instruction information aims at all target tasks;
In the case that the state instruction information is for a partial target task, the state instruction information is recorded in a state instruction list of each target task in the partial target task information.
7. The method of claim 5, wherein the determining whether to resume execution of the target task if the target task is in a suspended state comprises:
reading the latest state instruction information from the state instruction list every preset time when the target task is in a pause state;
and determining whether to resume execution of the target task based on the latest state instruction information.
8. The method of claim 2, wherein the determining whether to resume execution of the target task if the target task is in a suspended state further comprises:
determining whether the time-consuming time length of the target task exceeds a preset time length, wherein the time-consuming time length comprises the sum of the time length consumed by the command information executed by the target task and the time length paused;
if yes, terminating the target task.
9. The method of claim 4, wherein in performing each target task, the following is further performed:
Determining execution progress information based on the command execution list and the command result list;
and outputting the execution progress information to a user.
10. A task processing device comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring M target tasks, each target task comprises a plurality of command information, and M is an integer greater than or equal to 1;
the recording module is used for establishing a command execution list aiming at each target task and recording a plurality of command information in the command execution list in sequence; and
the execution module is used for executing the M target tasks in parallel based on the command execution list, wherein the following operations are executed in the process of executing each target task:
reading command information from the command execution list, and taking the read command information as current command information;
determining whether to suspend processing the current command information;
if yes, suspending processing the current command information and the subsequent command information so as to suspend executing the target task;
if not, processing the current command information and reading the next command information from a command execution list;
wherein the obtaining the M target tasks includes:
Receiving N initial tasks, wherein the N initial tasks comprise P combined tasks and Q independent tasks, each combined task comprises at least two sub-tasks, N is an integer greater than or equal to 1, P is an integer greater than or equal to 1 and less than or equal to N, and Q is a difference value between N and P;
decomposing the P combined tasks to obtain a plurality of subtasks;
and taking the plurality of subtasks and the Q independent tasks as the M target tasks, wherein each subtask is taken as one target task, and each independent task is taken as one target task.
11. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 9.
12. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to implement the method of any of claims 1 to 9.
CN202010764751.6A 2020-07-31 2020-07-31 Task processing method, device, electronic equipment and readable storage medium Active CN111858125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010764751.6A CN111858125B (en) 2020-07-31 2020-07-31 Task processing method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010764751.6A CN111858125B (en) 2020-07-31 2020-07-31 Task processing method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111858125A CN111858125A (en) 2020-10-30
CN111858125B true CN111858125B (en) 2023-08-15

Family

ID=72954349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010764751.6A Active CN111858125B (en) 2020-07-31 2020-07-31 Task processing method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111858125B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114237860A (en) * 2022-02-28 2022-03-25 广东睿江云计算股份有限公司 Automatic task flow scheduling method and system
CN115220400B (en) * 2022-03-04 2023-04-11 弥费科技(上海)股份有限公司 Wafer transfer-based supervisory control method, system, computer equipment and storage medium
CN115297336B (en) * 2022-07-06 2024-03-19 北京达佳互联信息技术有限公司 Task processing method and device, electronic equipment, storage medium and program product
CN116501415B (en) * 2023-06-30 2023-09-22 英诺达(成都)电子科技有限公司 Command execution method and device, electronic equipment and computer readable storage medium
CN117061607B (en) * 2023-10-11 2024-02-06 厦门海辰储能科技股份有限公司 Data communication method and device, energy storage system, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658147A (en) * 1997-10-27 2005-08-24 佳能株式会社 Printing control apparatus, printing control method, printing control system, and storage medium in which printing control program is stored
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120167100A1 (en) * 2010-12-23 2012-06-28 Yan Li Manual suspend and resume for non-volatile memory
US20150160968A1 (en) * 2013-12-11 2015-06-11 Metratech Corp. Freezing a call stack

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658147A (en) * 1997-10-27 2005-08-24 佳能株式会社 Printing control apparatus, printing control method, printing control system, and storage medium in which printing control program is stored
CN103279331A (en) * 2013-05-31 2013-09-04 中国电子科技集团公司第十五研究所 Multi-task concurrent processing method and device for Android system

Also Published As

Publication number Publication date
CN111858125A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN111858125B (en) Task processing method, device, electronic equipment and readable storage medium
US20160357807A1 (en) Horizontal Decision Tree Learning from Very High Rate Data Streams
US10127092B1 (en) Method and apparatus for monitoring a message transmission frequency in a robot operating system
US10169719B2 (en) User configurable message anomaly scoring to identify unusual activity in information technology systems
EP4198771A1 (en) Data processing method and apparatus, computer readable medium, and electronic device
CN109710624B (en) Data processing method, device, medium and electronic equipment
CN110673959A (en) System, method and apparatus for processing tasks
CN114896166A (en) Scene library construction method and device, electronic equipment and storage medium
CN115328741A (en) Exception handling method, device, equipment and storage medium
CN108959102B (en) Method and device for generating test data and testing application to be tested
CN114519006A (en) Test method, device, equipment and storage medium
CN110417597B (en) Method and device for monitoring certificate, electronic equipment and readable storage medium
CN111913938A (en) Data migration method, system, device, electronic equipment and medium
CN111859139A (en) Application program recommendation method and device, computing equipment and medium
CN111382058B (en) Service testing method and device, server and storage medium
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN111274032A (en) Task processing system and method, and storage medium
CN109218338B (en) Information processing system, method and device
CN110968433A (en) Information processing method and system and electronic equipment
CN112346870B (en) Model processing method and system
CN113569256A (en) Vulnerability scanning method and device, vulnerability scanning system, electronic equipment and computer readable medium
CN112181750A (en) Method, device and medium for testing stability of industrial control network equipment
CN111352709A (en) Task scheduling method and device in distributed system
CN116821117B (en) Stream data processing method, system, equipment and storage medium
US10885462B2 (en) Determine an interval duration and a training period length for log anomaly detection

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant