CN110569120B - Processing method and device for timing task - Google Patents

Processing method and device for timing task Download PDF

Info

Publication number
CN110569120B
CN110569120B CN201910859343.6A CN201910859343A CN110569120B CN 110569120 B CN110569120 B CN 110569120B CN 201910859343 A CN201910859343 A CN 201910859343A CN 110569120 B CN110569120 B CN 110569120B
Authority
CN
China
Prior art keywords
task
timing
target
inspection
timing 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
CN201910859343.6A
Other languages
Chinese (zh)
Other versions
CN110569120A (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.)
Huayun Data Holding Group Co ltd
Original Assignee
Huayun Data Holding Group Co ltd
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 Huayun Data Holding Group Co ltd filed Critical Huayun Data Holding Group Co ltd
Priority to CN201910859343.6A priority Critical patent/CN110569120B/en
Publication of CN110569120A publication Critical patent/CN110569120A/en
Application granted granted Critical
Publication of CN110569120B publication Critical patent/CN110569120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4825Interrupt from clock, e.g. time of day

Abstract

The embodiment of the application provides a processing method and a processing device for a timing task, wherein when a pre-established timing inspection task is triggered, the processing method obtains the type of the timing task of the timing inspection task; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period; disabling the target timed task. In the embodiment of the application, the target timing task with the failure times exceeding the preset threshold is determined to be executed in the timing task within the preset time period by using the timing inspection task, the target timing task is forbidden in time, error logs are not frequently generated, and resource waste caused by repeated execution due to execution failure is avoided.

Description

Processing method and device for timing task
Technical Field
The present application relates to the field of cloud processing, and in particular, to a method and an apparatus for processing a timing task.
Background
In a Microservice Architecture (Microservice Architecture) or other single Architecture, some business functions are not required to be executed in real time, for example, a cloud host is notified to turn on or off, a cloud host snapshot is created, a cloud hard disk snapshot is created, and the like, and therefore, a timing task is usually set to implement the business functions.
When uncontrollable factors such as network jitter, resource competition and the like occur, the timing task may be executed all the time and fail, and error logs are frequently generated, so that resources are greatly wasted.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for processing a timing task, which are used for timely processing when some problems occur in the timing task, so as to avoid resource waste.
In order to achieve the above object, the following solutions are proposed:
a processing method of a timing task comprises the following steps:
when a pre-established timing inspection task is triggered, acquiring a timing task type of the timing inspection task;
determining a timing task matched with the task type according to the timing task type;
determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period;
disabling the target timed task.
Preferably, the method further comprises the following steps:
and storing the task information and the error information of the target timing task.
Preferably, the method further comprises the following steps:
analyzing the error information to generate a business report;
and sending the service report to a service end.
Preferably, the determining that a number of times of execution failures within a predetermined time period of the timing tasks exceeds a predetermined threshold includes:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
Preferably, the creating process of the pre-created timing inspection task includes:
acquiring a task creating instruction sent by a service party; the task creating instruction at least comprises a timing strategy and a timing task type;
creating a system timer for triggering the timing inspection task according to the timing strategy;
assigning values to relevant parameters in the scheduling template according to the type of the timing task;
and creating a flow example for executing the timing inspection task trigger and an example timer for executing the flow example according to the assigned scheduling template.
Another aspect of the present invention also provides a device for processing a timing task, including:
the scheduling module is used for acquiring the timing task type of the timing inspection task when the pre-established timing inspection task is triggered; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period;
and the timing task management module is used for forbidding the target timing task.
Preferably, the system further comprises a middleware module;
the middleware module is used for receiving MQ messages sent by the scheduling module, storing the MQ messages and sending the MQ messages to the timing task management module, wherein the MQ messages comprise task information and error information of the target timing task.
Preferably, the timed task management module is further configured to:
analyzing the error information to generate a business report;
and sending the service report to a service end.
Preferably, the scheduling module is specifically configured to:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
Preferably, the scheduling module is further configured to create a timing inspection task;
the creating process of the timing inspection task comprises the following steps:
acquiring a timing strategy and a timing task type sent by a service party;
assigning values to relevant parameters in a scheduling template according to the timing strategy and the timing task type;
and creating a flow example for executing the timing inspection task trigger and a timer for triggering the timing inspection task according to the assigned scheduling template.
The embodiment of the application provides a processing method and a processing device for a timing task, wherein when a pre-established timing inspection task is triggered, the processing method obtains the type of the timing task of the timing inspection task; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period; disabling the target timed task. In the embodiment of the application, the target timing task with the failure times exceeding the preset threshold is determined to be executed in the timing task within the preset time period by using the timing inspection task, the target timing task is forbidden in time, error logs are not frequently generated, and resource waste caused by repeated execution due to execution failure is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of a processing method of a timing task according to an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating the process of creating a timing inspection task in the processing method of the timing task disclosed in the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a processing device for timing tasks provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a processing method of a timing task. The method can be applied to the field of cloud computing, and is used for timely processing when timing tasks such as informing a cloud host to power on and off, creating a cloud host snapshot, creating a cloud hard disk snapshot and the like have problems, so that resource consumption of a server and resource waste of the whole network are reduced.
It can be understood that the processing method and the processing apparatus for a timing task disclosed in the embodiments of the present invention may be operated in a cloud server, or other cloud devices, or a device that executes a timing task, and are not limited herein.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flowchart of a processing method of a timing task according to an embodiment of the present application.
The application discloses a processing method of a timing task, which comprises the following steps:
s101, when a pre-established timing inspection task is triggered, acquiring a timing task type of the timing inspection task;
in the embodiment of the application, the timing inspection task is created in advance, and the triggering of the timing inspection task can be triggered according to a system timer set when the timing inspection task is created. Or may be triggered by manual operation by the user.
The timing inspection task comprises a timing task type. The timed task type, for example, creates a cloud host snapshot.
In the embodiment of the application, the timing patrol task can be created by a business party according to requirements. The specific creation process is described in detail later.
S102, determining a timing task matched with the task type according to the timing task type;
in the embodiment of the application, the timing task matched with the type of the timing task is determined. The timing task can be multiple, for example, the host address of each creating the cloud host snapshot is different.
S103, determining a target timing task of which the execution failure frequency exceeds a preset threshold value in a preset time period in the timing tasks;
in the embodiment of the application, the target timing task is determined in the timing tasks. Target timed tasks refer to those timed tasks that fail more than a predetermined threshold in a predetermined period of time.
The predetermined time period may be a period of time that has already occurred, or a period of time from the current time to a future time.
It can be understood that the number of execution failures may be the number of consecutive failures or the number of accumulated failure times, and is set according to actual needs, and is not limited herein.
Specifically, the determining that the number of times of execution failure in the timing task within a predetermined time period exceeds a predetermined threshold includes:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
In the embodiment of the application, after the execution of the timing task is completed, the related information is stored in the storage space. Wherein the storage space may be a storage space of the middleware, such as a database of the MQ middleware or stored in a storage space of a storage system, such as a storage space of an elasticsearch retrieval system.
Therefore, in the embodiment of the application, a corresponding mode can be selected to be executed according to the type of the storage space. For example, the database may be detected by the database, and the retrieval system may call its api to detect.
In the embodiment of the application, the task execution result of each timing task is obtained, and then the process instance with the continuous failure times exceeding the preset threshold value is screened out. For example, if the timing task corresponding to a specific instance of a cloud host snapshot continuously fails more than 3 times within 2 hours, the timing task corresponding to the instance is taken as a target timing task.
And S104, disabling the target timing task.
In the embodiment of the application, after the target timing task is determined, the target timing task is subjected to a downgrading operation, for example, the target timing task is disabled, the execution priority of the target timing task is reduced, and the like. So that the operation of wasting resources, such as redundant error logs and error information, can not be repeatedly executed.
In the embodiment of the application, the target timing task with the failure times exceeding the preset threshold is determined to be executed in the timing task within the preset time period by using the timing inspection task, the target timing task is forbidden in time, error logs are not frequently generated, and resource waste caused by repeated execution due to execution failure is avoided.
On the basis of the above embodiments, the embodiments of the present application further include:
and storing the task information and the error information of the target timing task.
Further comprising:
analyzing the error information to generate a business report;
and sending the service report to a service end.
In the embodiment of the application, task information and error information of the target timing task are also stored.
The task information may be a timing task ID, a name, a type, a timing policy, or the like, and the error information may be common and common error information expressed in the form of an error code, and may include common error information such as container restart due to absence of an object executed by the timing task, storage, cpu, and the like, which are caused by network jitter abnormality, deletion, and the like. Of course, some errors that are unknown are also included, such as a log of stack print errors.
In the embodiment of the invention, the error information is also analyzed, the error information forms a service report, and the service report is sent to the service party. Of course, it is also possible to send error information to the service side. In order to mine more information.
The business report may include:
1. a line graph of the number of degraded timing tasks.
2. And the timing task degradation is compared with the graph, for example, element comparison according to degradation reasons and the like.
3. A task comparison graph of each task type downgrades.
Other illustrations may of course be included.
It can be seen that, in the embodiment of the present application, error information and task information may also be stored, so as to facilitate subsequent analysis and mining.
In the embodiment of the application, the timing patrol task is created in advance according to the requirements of the business party.
In the embodiment of the present invention, referring to fig. 2, fig. 2 is a schematic flowchart of a process of creating a timing inspection task in a processing method of a timing task disclosed in the embodiment of the present invention.
In the embodiment of the present invention, the process of creating the pre-created timing inspection task includes:
s201, acquiring a task creating instruction sent by a service party; the task creating instruction at least comprises a timing strategy and a timing task type;
in the embodiment of the invention, or the creating task instruction sent by the service party is obtained. The create task instruction is used for creating a timing inspection task.
It will be appreciated that the business may send create task instructions through, for example, a graphical interface. For example, a create task instruction of a timing policy and a timing task type is input.
S202, a system timer used for triggering the timing inspection task is established according to the timing strategy;
s203, assigning values to relevant parameters in the scheduling template according to the type of the timing task;
and receiving the task creating command to create a system-level system timer for triggering the timing inspection task.
In the embodiment of the application, a system timer at a system level is created, and the system timer is used for triggering a timing inspection task.
It is understood that when the execution of step S104 is completed, the operation of the system timer is stopped.
In the embodiment of the present application, the timed task type may further include parameters such as a timed task request address, a request type, and an asynchronous request. In the embodiment of the application, the scheduling template is a preset template with a plurality of parameters. The method can include parameters such as a timed task request address, request parameters, an asynchronous request, and a timed expression. The parameters therein may be set depending on the type of the timed task.
The assigned scheduling template can create a specific flow instance and the like for execution when the timing inspection task is executed.
And S204, creating a flow example for executing the timing inspection task trigger and an example timer for executing the flow example according to the assigned scheduling template.
In the embodiment of the application, the flow example executed after the timing patrol task is triggered and the example timer are created according to the assigned scheduling template.
For example, the flow instance is executed based on a template for the schedule. The timer is mainly used for the timing strategy of the task. For example, the cloud host creation timing task may be executed at 0 point at the end of each month by the timing policy.
In the embodiment of the application, the timed inspection task can be established according to the requirement of the business party, and the expandability is strong.
In actual use, taking creating a cloud host snapshot as an example, in the embodiment of the application, a cloud host snapshot timing inspection task may be created first, when a system timer triggers the task, process instances of the task are screened out, statistics is performed according to historical execution conditions of the process instances, and the cloud host snapshot timing task exceeding a predetermined threshold is stopped.
Therefore, in the embodiment of the invention, when some timing tasks have faults, the degradation operation is carried out in time, thereby saving system resources.
It is understood that in extreme cases, such as network anomaly, server crash, etc., which may result in unsuccessful degradation, the embodiment of the present application may be performed through the following steps.
Acquiring an execution record of a timing task and a routing inspection record saved after the timing task is taken as a target to be executed by the timing routing inspection task;
comparing the execution record with the polling record, and determining the timing task which is not successfully degraded.
After the timing task is determined, direct degradation can be performed by adopting a manual degradation mode, and certainly, the timing inspection task can be automatically executed when the next timing inspection task is performed.
The embodiment of the application further discloses a processing device for the timing task.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a processing device for timing tasks provided in an embodiment of the present application.
An embodiment of the present application provides a processing apparatus for a timing task, including:
the scheduling module 1 is used for acquiring the timing task type of the timing inspection task when the pre-established timing inspection task is triggered; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period;
and the timing task management module 2 is used for forbidding the target timing task.
Also includes a middleware module 3;
the middleware module is used for receiving MQ messages sent by the scheduling module, storing the MQ messages and sending the MQ messages to the timing task management module, wherein the MQ messages comprise task information and error information of the target timing task.
In the embodiment of the application, two modules are mainly involved, one is a scheduling module, and the other is a timing task management module. Also included is a middleware module, which may be an MQ middleware, for receiving MQ messages.
The middleware module can reduce the system consumption and the resource consumption of the server.
In the embodiment of the application, the timing inspection task is created in advance, and the triggering of the timing inspection task can be triggered according to a system timer set when the timing inspection task is created. Or may be triggered by manual operation by the user.
The timing inspection task comprises a timing task type. The timed task type, for example, creates a cloud host snapshot.
In the embodiment of the application, the timing task matched with the type of the timing task is determined. The timing task can be multiple, for example, the host address of each creating the cloud host snapshot is different.
In the embodiment of the application, the target timing task is determined in the timing tasks. Target timed tasks refer to those timed tasks that fail more than a predetermined threshold in a predetermined period of time.
The predetermined time period may be a period of time that has already occurred, or a period of time from the current time to a future time.
It can be understood that the number of execution failures may be the number of consecutive failures or the number of accumulated failure times, and is set according to actual needs, and is not limited herein.
Specifically, the determining that the number of times of execution failure in the timing task within a predetermined time period exceeds a predetermined threshold includes:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
In the embodiment of the application, after the execution of the timing task is completed, the related information is stored in the storage space. Wherein the storage space may be a storage space of the middleware, such as a database of the MQ middleware or stored in a storage space of a storage system, such as a storage space of an elasticsearch retrieval system.
Therefore, in the embodiment of the application, a corresponding mode can be selected to be executed according to the type of the storage space. For example, the database may be detected by the database, and the retrieval system may call its api to detect.
In the embodiment of the application, the task execution result of each timing task is obtained, and then the process instance with the continuous failure times exceeding the preset threshold value is screened out. For example, if the timing task corresponding to a specific instance of a cloud host snapshot continuously fails more than 3 times within 2 hours, the timing task corresponding to the instance is taken as a target timing task.
In the embodiment of the application, after the target timing task is determined, the target timing task is subjected to a degradation operation, for example, the target timing task is disabled.
In this embodiment of the present application, the timed task management module is further configured to:
analyzing the error information to generate a business report;
and sending the service report to a service end.
In the embodiment of the application, the scheduling module is further used for creating a timing inspection task;
the creating process of the timing inspection task comprises the following steps:
acquiring a timing strategy and a timing task type sent by a service party;
assigning values to relevant parameters in a scheduling template according to the timing strategy and the timing task type;
and creating a flow example for executing the timing inspection task trigger and a timer for triggering the timing inspection task according to the assigned scheduling template.
The process of creating the timing inspection task may refer to a related process in the foregoing embodiment of the method for processing the timing task, which is not described herein again.
It is understood that in extreme cases, such as network anomaly, server crash, etc., which may result in unsuccessful degradation, the embodiment of the present application may be performed through the following steps.
Acquiring an execution record of a timing task and a routing inspection record saved after the timing task is taken as a target to be executed by the timing routing inspection task;
comparing the execution record with the polling record, and determining the timing task which is not successfully degraded.
After the timing task is determined, direct degradation can be performed by adopting a manual degradation mode, and certainly, the timing inspection task can be automatically executed when the next timing inspection task is performed.
The embodiment of the application provides a processing device of a timing task, which is used for obtaining the type of the timing task of the timing inspection task when the pre-established timing inspection task is triggered; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period; disabling the target timed task. In the embodiment of the application, the target timing task with the failure times exceeding the preset threshold is determined to be executed in the timing task within the preset time period by using the timing inspection task, the target timing task is forbidden in time, error logs are not frequently generated, and resource waste caused by repeated execution due to execution failure is avoided.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A processing method of a timing task is characterized by comprising the following steps:
when a pre-established timing patrol task is triggered, acquiring a timing task type of the timing patrol task, wherein the timing task type comprises: the cloud host is turned on and off, and a cloud host snapshot or a cloud hard disk snapshot is created;
determining a timing task matched with the task type according to the timing task type;
determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period;
disabling the target timed task;
when the network is abnormal or the server crashes, acquiring an execution record of the timing task and an inspection record saved after the timing inspection task finishes target execution;
comparing the execution record with the inspection record, and determining a timing task which is not successfully degraded;
directly degrading the timing task which is not successfully degraded in a manual degradation mode, or automatically executing the timing task which is not successfully degraded in the next timing inspection task;
storing task information and error information of the target timing task, wherein the task information comprises a timing task ID, a timing task name or a timing strategy;
analyzing the error information to generate a business report, wherein the business report comprises: a line graph of the number of degraded timed tasks, a timed task degradation comparison graph and a task comparison graph of degradation of each task type;
and sending the service report to a service end.
2. The processing method according to claim 1, wherein the determining that a target timing task of the timing tasks that has failed to execute within a predetermined time period exceeds a predetermined threshold comprises:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
3. The processing method according to any one of claims 1 to 2, wherein the creation process of the pre-created timing inspection task comprises:
acquiring a task creating instruction sent by a service party; the task creating instruction at least comprises a timing strategy and a timing task type;
creating a system timer for triggering the timing inspection task according to the timing strategy;
assigning values to relevant parameters in the scheduling template according to the type of the timing task;
and creating a flow example for executing the timing inspection task trigger and an example timer for executing the flow example according to the assigned scheduling template.
4. A device for processing timed tasks, comprising:
the scheduling module is used for acquiring the timing task type of the timing inspection task when the pre-established timing inspection task is triggered, wherein the timing task type comprises: the cloud host is turned on and off, and a cloud host snapshot or a cloud hard disk snapshot is created; determining a timing task matched with the task type according to the timing task type; determining a target timing task of the timing tasks, wherein the execution failure times of the target timing task exceed a preset threshold value in a preset time period;
the timing task management module is used for forbidding the target timing task;
the device is also used for acquiring the execution record of the timing task and the routing inspection record saved after the timing task is taken as a target by the timing routing inspection task when the network is abnormal or the server crashes; comparing the execution record with the inspection record, and determining a timing task which is not successfully degraded; directly degrading the timing task which is not successfully degraded in a manual degradation mode, or automatically executing the timing task which is not successfully degraded in the next timing inspection task;
a middleware module for receiving the MQ message transmitted by the scheduling module, storing the MQ message and transmitting the MQ message to the timed task management module, wherein the MQ message includes task information of the target timed task and error information, and the task information includes a timed task ID, a timed task name or a timed policy;
the timed task management module is further configured to: analyzing the error information to generate a business report, wherein the business report comprises: a line graph of the number of degraded timed tasks, a timed task degradation comparison graph and a task comparison graph of degradation of each task type; and sending the service report to a service end.
5. The processing apparatus as claimed in claim 4, wherein the scheduling module is specifically configured to:
inquiring a task execution result of each timing task in a preset time period in a storage space;
screening the process instances of which the number of task execution continuous failures exceeds a preset threshold value in the task execution result;
and taking the timing task corresponding to the flow example as a target timing task.
6. The processing apparatus according to any of claims 4 to 5, wherein the scheduling module is further configured to create a timing patrol task;
the creating process of the timing inspection task comprises the following steps:
acquiring a timing strategy and a timing task type sent by a service party;
assigning values to relevant parameters in a scheduling template according to the timing strategy and the timing task type;
and creating a flow example for executing the timing inspection task trigger and a timer for triggering the timing inspection task according to the assigned scheduling template.
CN201910859343.6A 2019-09-11 2019-09-11 Processing method and device for timing task Active CN110569120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910859343.6A CN110569120B (en) 2019-09-11 2019-09-11 Processing method and device for timing task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910859343.6A CN110569120B (en) 2019-09-11 2019-09-11 Processing method and device for timing task

Publications (2)

Publication Number Publication Date
CN110569120A CN110569120A (en) 2019-12-13
CN110569120B true CN110569120B (en) 2022-03-04

Family

ID=68779280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910859343.6A Active CN110569120B (en) 2019-09-11 2019-09-11 Processing method and device for timing task

Country Status (1)

Country Link
CN (1) CN110569120B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426539A (en) * 2011-11-01 2012-04-25 深圳市航天泰瑞捷电子有限公司 Timer task automatic processing method and system
CN108536532A (en) * 2018-04-23 2018-09-14 中国农业银行股份有限公司 A kind of batch tasks processing method and system
CN109634733A (en) * 2018-12-13 2019-04-16 成都四方伟业软件股份有限公司 Task scheduling and managing method, device and operation management server
CN110018893A (en) * 2019-03-12 2019-07-16 平安普惠企业管理有限公司 A kind of method for scheduling task and relevant device based on data processing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6931638B2 (en) * 2001-03-15 2005-08-16 Sun Microsystems, Inc Method and apparatus to facilitate sharing optimized instruction code in a multitasking virtual machine
CN104536809B (en) * 2014-11-26 2018-01-19 上海瀚之友信息技术服务有限公司 A kind of distributed timing task scheduling system based on client, server system
CN106201672B (en) * 2016-06-22 2020-05-12 武汉斗鱼网络科技有限公司 Timed task setting system and timed task running method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102426539A (en) * 2011-11-01 2012-04-25 深圳市航天泰瑞捷电子有限公司 Timer task automatic processing method and system
CN108536532A (en) * 2018-04-23 2018-09-14 中国农业银行股份有限公司 A kind of batch tasks processing method and system
CN109634733A (en) * 2018-12-13 2019-04-16 成都四方伟业软件股份有限公司 Task scheduling and managing method, device and operation management server
CN110018893A (en) * 2019-03-12 2019-07-16 平安普惠企业管理有限公司 A kind of method for scheduling task and relevant device based on data processing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIMITING BEHAVIOR OF THE TARGET-DEPENDENT STOCHASTIC SEQUENTIAL ASSIGNMENT PROBLEM;Baharian, Golshid;《JOURNAL OF APPLIED PROBABILITY》;20141231;第51卷(第4期);第943-953页 *
基于推测的无响应任务自适应容错调度算法;崔云飞;《计算机科学》;20161216;第43卷(第z2期);第11-15页 *

Also Published As

Publication number Publication date
CN110569120A (en) 2019-12-13

Similar Documents

Publication Publication Date Title
US6694345B1 (en) External job scheduling within a distributed processing system having a local job control system
JP5075736B2 (en) System failure recovery method and system for virtual server
EP3142011B1 (en) Anomaly recovery method for virtual machine in distributed environment
US20120331347A1 (en) Restarting Event And Alert Analysis After A Shutdown In A Distributed Processing System
US9086968B2 (en) Checkpointing for delayed alert creation
CN106789141B (en) Gateway equipment fault processing method and device
JP2017517060A (en) Fault processing method, related apparatus, and computer
CN110895488B (en) Task scheduling method and device
US20070168201A1 (en) Formula for automatic prioritization of the business impact based on a failure on a service in a loosely coupled application
US20200225938A1 (en) Version management system and version management method
CN110618864A (en) Interrupt task recovery method and device
CN112527484A (en) Workflow breakpoint continuous running method and device, computer equipment and readable storage medium
CN111565135A (en) Method for monitoring operation of server, monitoring server and storage medium
CN111327685A (en) Data processing method, device and equipment of distributed storage system and storage medium
US8103905B2 (en) Detecting and recovering from process failures
CN110569120B (en) Processing method and device for timing task
US9575865B2 (en) Information processing system and monitoring method
CN108154343B (en) Emergency processing method and system for enterprise-level information system
CN111181777A (en) Service degradation method, device, computer equipment and storage medium
CN114024819A (en) Event information reporting method and device
CN112148420B (en) Abnormal task processing method based on container technology, server and cloud platform
CN111625420B (en) Distributed training task processing method, device, equipment and storage medium
CN110188008B (en) Job scheduling master-slave switching method and device, computer equipment and storage medium
CN113542001A (en) OSD (on-screen display) fault heartbeat detection method, device, equipment and storage medium
CN110362464B (en) Software analysis method and equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 214100 No. 6, science and education software park, Binhu District, Wuxi City, Jiangsu Province

Applicant after: Huayun data holding group Co.,Ltd.

Address before: 214000 No. 6, zone B, science and education software park, Huize West Road, Binhu District, Wuxi City, Jiangsu Province

Applicant before: WUXI CHINAC DATA TECHNICAL SERVICE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant