CN106406993A - Timed task management method and system - Google Patents

Timed task management method and system Download PDF

Info

Publication number
CN106406993A
CN106406993A CN201610805794.8A CN201610805794A CN106406993A CN 106406993 A CN106406993 A CN 106406993A CN 201610805794 A CN201610805794 A CN 201610805794A CN 106406993 A CN106406993 A CN 106406993A
Authority
CN
China
Prior art keywords
task
timed
timed task
timing
execution
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.)
Granted
Application number
CN201610805794.8A
Other languages
Chinese (zh)
Other versions
CN106406993B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610805794.8A priority Critical patent/CN106406993B/en
Publication of CN106406993A publication Critical patent/CN106406993A/en
Application granted granted Critical
Publication of CN106406993B publication Critical patent/CN106406993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a timed task management method and system. The method comprises the process of managing timed tasks, wherein uniform management is carried out on the timed tasks of various application systems; polling the timed tasks, wherein all timed tasks are polled according to a preset time cycle, thereby obtaining the timed tasks satisfying conditions, and the timed tasks satisfying the conditions are sent to the corresponding application systems; and performing the timed tasks, wherein the application systems receive the timed tasks and generate independent working processes for performance of the timed tasks. According to the method and the system, the technical problem that the management of the timed tasks is complicated due to the fact that the number of the timed tasks is relatively high is solved.

Description

A kind of timing task management method and system
【Technical field】
The present invention relates to a kind of field of computer technology, more precisely a kind of timing task management method and system.
【Background technology】
With the development of the Internet, each web site application nearly all can encounter the need of increasing timed task scheduling Ask.Timed task scheduling refer to automatically execute background task by system in default timing, all at the appointed time once Property or the background task of periodically execution be referred to as backstage timed task.One timed task function items is referred to as timed task ?.The demand of such as some electric business, needs morning that the price of commodity is changed, at this moment we are accomplished by first configuring and own daytime Need the commodity price of modification, morning goes to execute the script of modification price again.
With the development of the Internet, each system can run into the operation demand more come the more, and thing followed timing is appointed Business also gets more and more.With the increase of timed task, operation maintenance personnel participative management difficulty increases therewith;Each timed task executes Whether successful, can only be judged by the program in task, increase development amount and cannot know that timed task executes in time Result.
【Content of the invention】
For drawbacks described above, the invention provides a kind of timing task management method.Including:
Management timed task, is managed collectively to the timed task of each application system;
Poll timed task, according to the presetting all tasks of time periodic polling, obtains the timed task meeting condition, Then the timed task meeting condition is sent corresponding application system;
Execution timed task, each application system receives timed task, and generates autonomous working process execution timed task.
A kind of timing task management method is provided, described management timed task can to the task names of timed task, The class of timed task execution, function, parameter, in the timed task triggered time, timed task running environment is configured;Set up Afterwards, store data in data base.
A kind of timing task management method is provided, meets condition by the canonical coupling acquisition of SQL is all Timed task.
There is provided a kind of timing task management method, the step that the timed task meeting condition is sent to each application system is entered One step includes:
Record application account, device address and the device power-up time of described tasks carrying simultaneously.
A kind of timing task management method is provided, further includes to judge step to task completion status:
If timed task runs succeeded, the executive process number of the notice corresponding timed task of timing task management system update, End time and success status;
If timed task executes failure, notify end time, the mistake of the corresponding timed task of timing task management system update Lose state and failure cause.
Additionally, for achieving the above object, the present invention also provides a kind of timing task management system, including:
Timing task management unit, for being managed collectively to the timed task of each application system;
Timed task poll units, for according to the presetting all tasks of time periodic polling, obtaining and meeting condition Then the timed task meeting condition is sent corresponding application system by timed task;
Timed task performance element, receives timed task for each application system, and it is fixed to generate the execution of autonomous working process When task.
There is provided a kind of timing task management system, described timing task management unit can be to the task name of timed task Claim, the class of timed task execution, function, parameter, in the timed task triggered time, timed task running environment is configured;Setting After complete, store data in data base.
There is provided a kind of timing task management system, described poll timed task unit is just passing through SQL Then coupling obtains all qualified timed tasks.
There is provided a kind of timing task management system, described timed task poll units are by all timed tasks meeting condition It is sent to each application system, and record application account, device address and the available machine time of described timed task execution simultaneously.
There is provided a kind of timing task management system, described timed task performance element further includes that task completion status are sentenced Disconnected module:
If timed task is successfully completed, task completion status judge module notifies timing task management system update corresponding Task process number, end time and success status;
If timed task executes failure, task completion status judge module notifies timing task management system update corresponding End time, status of fail and failure cause.
The present invention against existing technologies, solve the problems, such as timed task numerous be complex management, and can obtain in time Whether run succeeded to timed task.
Technique effect below with reference to design, concrete structure and generation to the present invention for the accompanying drawing is described further, with It is fully understood from the purpose of the present invention, feature and effect.
【Brief description】
Fig. 1 is timing task management method flow diagram of the present invention;
Fig. 2 is timed task execution flow chart of the present invention;
Fig. 3 is the cellular construction schematic diagram of timing task management system of the present invention;
Fig. 4 is the operation interface schematic diagram of timing task management system of the present invention.
【Specific embodiment】
It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is timing task management method flow diagram of the present invention.
400:The timed task of each application system is managed collectively;
Management staff selects the task of which application system first on timing task management backstage.Task includes task name Claim, the setting (unit, cluster correspond to number of passes) that the class of tasks carrying, function, parameter, triggered time, environment run, set up Afterwards, data is saved in data base.
The specific embodiment of two tasks is given below:
(1) such as evening will make the timed task of a modification mobile phone price.
Task names:Modification XX mobile phone price.
Select the system of execution task:XX mobile phone official website.
Class:Mobile (class name corresponds to certain module).
Method:ModifyPrice (method name a, method can realize corresponding function).
Parameter:MobileId=123 (mobileId is parameter name, the ID of 123 finger XX mobile phones).
Triggered time:(mapping relations are that year-moon-week-day-hours-minutes parameter is corresponding just to 16-03-0-29-00-00 It is No. 29 morning triggerings of in March, 2016).
Running environment is arranged:Unit enters number of passes:1, cluster is arranged:0 (expression only needs to the execution of process can Unnecessary process execution).
(2) status data obtaining 10 orders from XX logistics as per minute in us
Task names:Obtain XX logistics order status.
Select the system of execution task:CSM warehousing system.
Class:Order (class name corresponds to certain module).
Method:SyncOrder (method name a, method can realize corresponding function).
Parameter:Limit=10, (limit is parameter name, and 10 represent 10 orders of acquisition every time here).
Triggered time:(mapping relations are that year-moon-week-day-hours-minutes parameter is corresponding just to 00-00-0-00-**-** It is annual monthly daily triggering per minute per hour).
Running environment is arranged:Unit enters number of passes:2, cluster is arranged:3 (represent that the process that a unit can run is 2, collection Group has 3 can run).
Timing task management background program mainly carries out increasing to task, deletes, changes, looking into, and data storage is in data base here.Pipe After code entry is passed through on reason person backstage, just task can be added, delete, change and search, and store data in In data base.
Alternatively, with tabular form, mission bit stream is stored in data base, the entry in table is corresponding respectively to be appointed with timing The related various information of business.The configuration information to each timed task can be facilitated to look into tabular form storage configuration information Look for.Because the tune that configuration information can indicate different timing task plays time and the machine of execution timed task, therefore with list Form storage configuration information can facilitate and timed task is carried out having adjusted and having monitored.
Alternatively, configuration information may further include down one or more in lising:Timing on multiple machines is appointed Each of the business script name of timed task, script argument, script attribute information, nearest execution time, affairs successfully count, Affairs unsuccessfully count, affairs exception number.
Alternatively, data base can be stored in external server that is to say, that data base can be fixed for managing When task equipment outside external data base.Alternatively, data base can also be stored in for managing setting of timed task Local data base in standby.In advance the configuration information related to timed task can be stored in data base.Configuration information can To indicate when each timed task should have been adjusted and should execute on which machine.So, for managing timed task Equipment can have been adjusted according to the instruction of configuration information on time timed task on corresponding machine execute.
When needing a newly-increased task, management staff increases a timed task newly in task management module, Select application system, fill in corresponding task names, execution time (being consistent with crontab function), the class that need to execute, letter The setting (unit, cluster correspond to number of passes) that number, parameter and environment run.Owned by configurable mode high-efficiency management Timed task, without operation maintenance personnel participate in, reduce personnel put into.
This configurable mode management staff can have no fixed model or flow process set according to practical situation flexible configuration Put, very convenient.
500:According to the presetting all tasks of time periodic polling, obtain the timed task meeting condition, then will expire The timed task of sufficient condition sends corresponding application system;
One polling tasks is arranged by crontab, all tasks of automatic regular polling per minute, when obtaining out all of meeting Between task out.Here the canonical coupling that we pass through in SQL (sql) grammer can find out all meeting The task of time, it is to avoid each timed task goes to determine whether to meet the task of time one by one.According to meet the time appoint The setting (unit, cluster correspond to number of passes) that in business, environment runs, is controlled to task process number, such as:Task process number surpasses Cross the value setting, then this task directly abandons, and does not notify application server;Task be set to can only unit operation when, work as cluster Application server be carrying out in this task equipment, application server is not notified with regard to direct discarding.So, task poll journey After matching the task of service time, the process of application server serves the effect of monitoring to sequence, it is to avoid task duplication is held Row leads to the pressure of application server to rise.
It is understood that the tune time of rising of automatic regular polling task can be the specific moment, for example daily 3 points start Execution, the sky second from the bottom of every month start execution etc..The tune time of rising of automatic regular polling task can also be held every one minute Row once, one inferior every execution in ten days.
When, after the judgement of time and the management and control of process, all of task is connect by poller module by task notifications Mouthful, notify to record application server address (ID), the machine address of this tasks carrying in each application system simultaneously (ID), the time started.
In timing task management system task polling routine by task per minute come polling data storehouse in data, Mate all timed tasks meeting the current triggered time, further according to meet setting that in the task of time, environment runs (unit, Cluster corresponding enter number of passes), task process number is limited, thus obtain the task of time and environmental operating conditions here I Be set to effective task.
The canonical coupling that we pass through in SQL (sql) grammer in obtaining the method meeting the time is come real Existing, the storage format arranging the triggered time in each timed task to be deposited with the condition meeting SQL (sql) Storage, it is to avoid each timed task goes to determine whether effective task one by one.By Database lock mechanism come limiting process number Value less than setting.By this module, we have reached the screening of effective task, effectively limit iterative task process Produce and reduce server because entering that number of passes is excessive and server stress that lead to is excessive or even the danger of machine of delaying.
Alternatively, when polling tasks are set, multiple clocked flip programs can be set, to ensure that concurrency task holds on time OK.Need to there is authorization key in operation, authorization key can be used for protecting task definition not compromised.The management personnel authorizing can be led to Cross management tool and work is managed to task.The management personnel authorizing define task by management tool, determine holding of task Row plan.The management personnel authorizing can open and define task manager so that task enters the automatic execution stage by implement plan. The management personnel authorizing can be configured by management tool or develop execution task.
600:Each application system receives timed task, and generates autonomous working process execution timed task.
Each application system has listened to task and has come in, that is, generate progress of work execution task, be independent of each other between task.Logical The corresponding class of task of crossing, function and parameter are run corresponding script and are directly triggered task.
For preventing arbitrarily distorting to task, task definition is individually deposited with task queue encryption, only in normal authorization The management tool management role being provided by the system afterwards.
Task queue table exists in internal memory, is also saved on disk simultaneously, and the purpose preserving on disk is different for server Backup task queue at that time when often terminating, to do for supplement task.
In prior art, the most frequently used timing task management is the Mission Planning Program of Microsoft, with Mission Planning Program phase The present invention is applicable not only to locally applied system to ratio, is also applied for remote service, and the suitability is wider;Can call cross-server, Realize distributed in execution, execution efficiency is higher;Management personnel do not need the mandate to server, simpler in daily operation maintenance Single, operation has more safety.
Task execution module in each application system:This module is equivalent to the process manager module of application system timed task, Monitor the effective task passing over from poller module, generate progress of work execution task after receiving task, between task mutually Do not affect.Corresponding script is run by the corresponding class of task, function and parameter and directly triggers task.Here each application system is all Comprise respective code implementation, that is, pass through the configuration processor that the class in task, function and parameter just can trigger task 601.
Tasks carrying, refers to specifically execute task, can be local application, or the service of outside.Tasks carrying Device must realize the interface specifying:Tasks carrying entity itself can catch the exception, and is returned abnormal by task scheduling interface At task scheduling;Need after tasks carrying to call timing applications interface, indicate that this subtask terminates.If tasks carrying has Multiple steps, execute and occur during certain step extremely, only needing to execute follow-up step when executing again, this function needs task certainly Body has writing function and (as mail or note are successfully generated, occurs when calling and sending mail or short message service abnormal, weigh again Transmission mail service only need to be called) during examination.
Fig. 2 is timed task execution flow chart of the present invention, and the further timed task completion statuses of tasks carrying program 601 are sentenced Disconnected:
6011:Timed task runs succeeded, and notifies the executive process of the corresponding timed task of timing task management system update Number, end time and success status;
6012:Timed task executes failure, notify the corresponding timed task of timing task management system update end time, Status of fail and failure cause.
Timing task management system background is notified to update the process number of corresponding task after timed task runs succeeded PID, end time and success status etc., if executing unsuccessfully, notifying to update corresponding end time, status of fail and failing former Because etc. information.Facilitate management personnel's quick location tasks state, in the case of investigation problem, can precise positioning holding to task Row application, execution machine, execution time, executive process, failure information etc..
Task loading procedure is alternatively included, in data base described in task loading procedure periodic scan in the present embodiment Automatic regular polling task list, the timed task that will execute was loaded in server, and creates timed task in the described cycle.
Fig. 3 is the cellular construction schematic diagram of timing task management system of the present invention, and task management system S700 includes:
S400:Timing task management unit, for being managed collectively to the timed task of each application system;
S500:Timed task poll units, for according to the presetting all tasks of time periodic polling, obtaining and meeting bar Then the timed task meeting condition is sent corresponding application system by the timed task of part;
Wherein role management unit, task poll units are placed on independent timing task management system.
Preferably, when polling tasks are set, multiple clocked flip modules can be set, in order to ensure concurrency task on time Execution.Need to there is authorization key in operation, authorization key can be used for protecting task definition not compromised.The management personnel authorizing can Work is managed to task by management tool.The management personnel authorizing define task by management tool, determine task Implement plan.The management personnel authorizing can open and define task manager so that task is entered by implement plan automatically executes rank Section.The management personnel authorizing can be configured by management tool or develop execution task.
S600:Each application system receives timed task, and generates autonomous working process execution timed task.Tasks carrying list Unit is placed in each application system.
Timing task management system of the present invention, multiple stage application server accesses timing task management system, task management system The machine ID of the corresponding server of pre-configured all application server ID of uniting and task notifications interface.
Fig. 4 is the operation interface schematic diagram of timing task management system of the present invention, and user (management staff) logs in backstage Setting task definition, task is stored in data base after being provided with, after task polling routine obtains effective task, notify each application Server, each application server passes through tasks carrying program performing task, and returns task status information to background server, and By tasks carrying situation data storage storehouse.
In timing task management system of the present invention, the task of role management unit include task names, the class of tasks carrying, Function, parameter, triggered time, the setting of running environment, after setting up, data is saved in data base.
The specific embodiment of two tasks being given is presented herein below
(1) such as evening will make the timed task of a modification mobile phone price.
Task names:Modification XX mobile phone price.
Select the system of execution task:XX mobile phone official website.
Class:Mobile (class name corresponds to certain module).
Method:ModifyPrice (method name a, method can realize corresponding function).
Parameter:MobileId=123 (mobileId is parameter name, the ID of 123 finger XX mobile phones).
Triggered time:(mapping relations are that year-moon-week-day-hours-minutes parameter is corresponding just to 16-03-0-29-00-00 It is No. 29 morning triggerings of in March, 2016).
Running environment is arranged:Unit enters number of passes:1, cluster is arranged:0 (expression only needs to the execution of process can Unnecessary process execution).
(2) status data obtaining 10 orders from suitable rich logistics as per minute in us.
Task names:Obtain XX logistics order status.
Select the system of execution task:CSM warehousing system.
Class:Order (class name corresponds to certain module).
Method:SyncOrder (method name a, method can realize corresponding function).
Parameter:Limit=10, (limit is parameter name, and 10 represent 10 orders of acquisition every time here).
Triggered time:(mapping relations are that year-moon-week-day-hours-minutes parameter is corresponding just to 00-00-0-00-**-** It is annual monthly daily triggering per minute per hour).
Running environment is arranged:Unit enters number of passes:2, cluster is arranged:3 (represent that the process that a unit can run is 2, collection Group has 3 can run).
Alternatively, data base can be stored in external server that is to say, that data base can be fixed for managing When task equipment outside external data base.Alternatively, data base can also be stored in for managing setting of timed task Local data base in standby.In advance the configuration information related to timed task can be stored in data base.Configuration information can To indicate when each timed task should have been adjusted and should execute on which machine.So, for managing timed task Equipment can have been adjusted according to the instruction of configuration information on time timed task on corresponding machine execute.
The system can also include subscriber interface module, and it is configured to present backstage timed task using user interface Running status and interact with user.As an example, subscriber interface module can for example be combined with operating system life Become graphic user interface (GUI), in order to the information of the backstage timed task running at present or its subset to be assumed on system.For example, Can on GUI task identification (ID), task status and correlation information.
Subscriber interface module allows user to check and management backstage timed task by way of interaction.As an example, use Family can select specific backstage timed task.As response, system can assume the operation ginseng related to this task to user Number, daily record, subtask, resource service condition or other are any for information about.By the operation of subscriber interface module, overcome existing There is the defect that cannot check in technology with management backstage timed task in directly perceived, exercisable mode.
In some embodiments, system can also include backup module, and it is configured in response to backstage timed task And/or at least one of described system itself occurs abnormal and executes backup.Specifically, backup module can be in Mission Monitor When module monitors are to any given backstage timed task generation exception, the data relevant with this task and information are backed up. Alternatively or additionally, when the operation of equipment itself there occurs abnormal, backup module can own to equipment in current process Backstage timed task is backed up.Here, the exception of system itself can carry out self-inspection by equipment, also can be by independent of system Equipment or process are detected.
In addition, according to the embodiment of the present invention, backup operation can be by data and information back-up to backstage timed task It is also possible to destage backups in different system or equipments in the identical calculations system being located.Additionally, the enforcement according to the present invention Mode, when one occurs abnormal backstage timed task after process is resumed, can delete relevant with this task standby Part is to save storage resource.
In timing task management system of the present invention, described task poll units include time-obtaining module, by structure The canonical coupling changing query language grammer obtains all tasks of meeting the time.
In timing task management system of the present invention, all tasks are led to by described task executing units by task notifications interface Know in each application system, and,
When recording the application ID (application account) of described tasks carrying, machine ID (machine physical address) and start simultaneously Between.
In timing task management system of the present invention, described task executing units further include:
Mission Success completes, and notifies timing task management system background to update corresponding task process PID, end time And success status.
Tasks carrying failure, notifies timing task management system background to update corresponding end time, status of fail and mistake Lose reason.
Task load-on module is alternatively included, in data base described in task load-on module periodic scan in the present embodiment Automatic regular polling task list, the timed task that will execute was loaded in server, and creates timed task in the described cycle.
The present invention against existing technologies, solve the problems, such as timed task numerous be complex management, and can obtain in time Whether run succeeded to timed task.
It should be noted that herein, term " inclusion ", "comprising" or its any other variant are intended to non-row The comprising of his property, so that including a series of process of key elements, method, article or device not only include those key elements, and And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or device institute Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Go out partly can embodying in the form of software product of contribution, this computer software product is stored in a storage medium In (as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) method described in execution each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the present invention the scope of the claims, every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of timing task management method is it is characterised in that include:
Management timed task, is managed collectively to the timed task of each application system;
Poll timed task, according to the presetting all tasks of time periodic polling, obtains the timed task meeting condition, then The timed task meeting condition is sent corresponding application system;
Execution timed task, each application system receives timed task, and generates autonomous working process execution timed task.
2. timing task management method according to claim 1 it is characterised in that:Described management timed task can be right The task names of timed task, the class of timed task execution, function, parameter, in the timed task triggered time, timed task runs ring Border is configured;After setting up, store data in data base.
3. timing task management method according to claim 1 is it is characterised in that by the canonical of SQL Coupling obtains all timed tasks meeting condition.
4. timing task management method according to claim 1 is it is characterised in that send the timed task meeting condition Further include to the step of each application system:
Record application account, device address and the device power-up time of described timed task execution simultaneously.
5. timing task management method according to claim 1 is it is characterised in that further include to task completion status Judge step:
If timed task runs succeeded, notify the executive process number of the corresponding timed task of timing task management system update, terminate Time and success status;
If timed task executes failure, notify end time, the failure shape of the corresponding timed task of timing task management system update State and failure cause.
6. a kind of timing task management system is it is characterised in that include:
Timing task management unit, for being managed collectively to the timed task of each application system;
Timed task poll units, for according to the presetting all tasks of time periodic polling, obtaining the timing meeting condition Then the timed task meeting condition is sent corresponding application system by task;
Timed task performance element, receives timed task for each application system, and generates the execution timing times of autonomous working process Business.
7. timing task management system according to claim 6 is it is characterised in that described timing task management unit can With the task names to timed task, the class of timed task execution, function, parameter, in the timed task triggered time, timed task is transported Row environment is configured;After setting up, store data in data base.
8. timing task management system according to claim 6 is it is characterised in that described timed task poll units are led to The canonical coupling crossing SQL obtains all qualified timed tasks.
9. timing task management system according to claim 6 is it is characterised in that described timed task poll units are by institute Have the timed task meeting condition to be sent to each application system, and record simultaneously described timed task execution application account, Device address and available machine time.
10. timing task management system according to claim 6 is it is characterised in that described timed task performance element enters One step includes task completion status judge module:
If Mission Success completes, task completion status judge module notifies the corresponding task process of timing task management system update Number, end time and success status;
If tasks carrying failure, at the end of task completion status judge module notifies timing task management system update corresponding Between, status of fail and failure cause.
CN201610805794.8A 2016-09-06 2016-09-06 A kind of timing task management method and system Active CN106406993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610805794.8A CN106406993B (en) 2016-09-06 2016-09-06 A kind of timing task management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610805794.8A CN106406993B (en) 2016-09-06 2016-09-06 A kind of timing task management method and system

Publications (2)

Publication Number Publication Date
CN106406993A true CN106406993A (en) 2017-02-15
CN106406993B CN106406993B (en) 2019-11-15

Family

ID=57998656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610805794.8A Active CN106406993B (en) 2016-09-06 2016-09-06 A kind of timing task management method and system

Country Status (1)

Country Link
CN (1) CN106406993B (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951311A (en) * 2017-03-21 2017-07-14 联想(北京)有限公司 A kind of data processing method and server cluster
CN107092523A (en) * 2017-04-14 2017-08-25 浙江数链科技有限公司 The dispatching method and system of timed task
CN107368360A (en) * 2017-06-05 2017-11-21 努比亚技术有限公司 A kind of timed task performs method and timed task server
CN107748695A (en) * 2017-10-24 2018-03-02 平安科技(深圳)有限公司 Timed task processing method, device, storage medium and computer equipment
CN107844339A (en) * 2017-11-15 2018-03-27 湖北盛天网络技术股份有限公司 Method for scheduling task and plug-in unit and server
CN108062245A (en) * 2017-12-14 2018-05-22 上海钢联电子商务股份有限公司 A kind of application timed task system for unified management and method
CN108509264A (en) * 2018-03-30 2018-09-07 浙江口碑网络技术有限公司 Overtime task dispatches system and method
CN108595305A (en) * 2018-04-24 2018-09-28 平安科技(深圳)有限公司 Book monitoring method, device, computer equipment and storage medium
CN108762911A (en) * 2018-06-13 2018-11-06 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN108829503A (en) * 2018-06-27 2018-11-16 泰康保险集团股份有限公司 Method for scheduling task, device, system, medium and electronic equipment
CN109218507A (en) * 2017-07-03 2019-01-15 阿里巴巴集团控股有限公司 The methods, devices and systems of task execution
CN109542598A (en) * 2018-11-08 2019-03-29 泰康保险集团股份有限公司 Timing task management method and device
CN109558221A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 A kind of task processing method and device
CN109584060A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Processing method, device and the computer equipment and storage medium of timing transaction task
CN109634726A (en) * 2018-10-25 2019-04-16 平安科技(深圳)有限公司 Processing method, device, equipment and the storage medium of timed task
CN109726012A (en) * 2018-12-27 2019-05-07 湖南亚信软件有限公司 A kind of method for scheduling task, device and dispatch server
CN109918187A (en) * 2019-03-12 2019-06-21 北京同城必应科技有限公司 Method for scheduling task, device, equipment and storage medium
CN110019059A (en) * 2017-12-04 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of Timing Synchronization
CN110109738A (en) * 2019-04-24 2019-08-09 上海易点时空网络有限公司 The execution method and device of timed task
CN110780988A (en) * 2018-07-31 2020-02-11 重庆小雨点小额贷款有限公司 Task triggering method and device and computer readable storage medium
CN111190708A (en) * 2019-11-19 2020-05-22 厦门二五八网络科技集团股份有限公司 Method and device for automatically scheduling tasks
CN111198753A (en) * 2018-11-16 2020-05-26 北京京东尚科信息技术有限公司 Task scheduling method and device
CN111367629A (en) * 2020-03-30 2020-07-03 绿盟科技集团股份有限公司 Delayed task processing method and device
CN113553120A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Task execution method and device, storage medium and electronic equipment
US11537417B2 (en) * 2019-10-08 2022-12-27 At&T Intellectual Property I, L.P. Task delegation and cooperation for automated assistants

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140528A (en) * 2007-08-31 2008-03-12 中兴通讯股份有限公司 Method, device and system for realizing timing tasks load equilibria in cluster
CN103246551A (en) * 2012-02-07 2013-08-14 北京糯米网科技发展有限公司 Device and method for management of background timed task
CN104156265A (en) * 2014-08-08 2014-11-19 乐得科技有限公司 Timed task processing method and processing device
CN105100259A (en) * 2015-08-18 2015-11-25 北京京东尚科信息技术有限公司 Distributed timed task execution method and system
CN105468500A (en) * 2015-11-16 2016-04-06 中国建设银行股份有限公司 Timing task monitoring method and device
CN105653362A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Method and equipment for managing timed tasks
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140528A (en) * 2007-08-31 2008-03-12 中兴通讯股份有限公司 Method, device and system for realizing timing tasks load equilibria in cluster
CN103246551A (en) * 2012-02-07 2013-08-14 北京糯米网科技发展有限公司 Device and method for management of background timed task
CN104156265A (en) * 2014-08-08 2014-11-19 乐得科技有限公司 Timed task processing method and processing device
CN105100259A (en) * 2015-08-18 2015-11-25 北京京东尚科信息技术有限公司 Distributed timed task execution method and system
CN105468500A (en) * 2015-11-16 2016-04-06 中国建设银行股份有限公司 Timing task monitoring method and device
CN105653362A (en) * 2015-12-23 2016-06-08 北京奇虎科技有限公司 Method and equipment for managing timed tasks
CN105677469A (en) * 2016-01-06 2016-06-15 北京京东世纪贸易有限公司 Timing task executing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张海威等: "《数据库系统原理与实践》", 31 January 2011 *
罗启汉等: ""针对RESTful API的SQL注入漏洞检测工具的设计与实现"", 《中国科学院研究生院学报》 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951311A (en) * 2017-03-21 2017-07-14 联想(北京)有限公司 A kind of data processing method and server cluster
CN106951311B (en) * 2017-03-21 2021-04-13 联想(北京)有限公司 Data processing method and server cluster
CN107092523A (en) * 2017-04-14 2017-08-25 浙江数链科技有限公司 The dispatching method and system of timed task
CN107368360A (en) * 2017-06-05 2017-11-21 努比亚技术有限公司 A kind of timed task performs method and timed task server
CN107368360B (en) * 2017-06-05 2021-01-26 和宇健康科技股份有限公司 Timed task execution method and timed task server
CN109218507A (en) * 2017-07-03 2019-01-15 阿里巴巴集团控股有限公司 The methods, devices and systems of task execution
CN109558221A (en) * 2017-09-27 2019-04-02 北京国双科技有限公司 A kind of task processing method and device
CN109558221B (en) * 2017-09-27 2022-10-04 北京国双科技有限公司 Task processing method and device
CN107748695A (en) * 2017-10-24 2018-03-02 平安科技(深圳)有限公司 Timed task processing method, device, storage medium and computer equipment
CN107748695B (en) * 2017-10-24 2020-11-24 平安科技(深圳)有限公司 Timed task processing method and device, storage medium and computer equipment
CN107844339B (en) * 2017-11-15 2021-07-30 湖北盛天网络技术股份有限公司 Task scheduling method, plug-in and server
CN107844339A (en) * 2017-11-15 2018-03-27 湖北盛天网络技术股份有限公司 Method for scheduling task and plug-in unit and server
CN110019059A (en) * 2017-12-04 2019-07-16 北京京东尚科信息技术有限公司 A kind of method and apparatus of Timing Synchronization
CN108062245A (en) * 2017-12-14 2018-05-22 上海钢联电子商务股份有限公司 A kind of application timed task system for unified management and method
CN108509264A (en) * 2018-03-30 2018-09-07 浙江口碑网络技术有限公司 Overtime task dispatches system and method
CN108595305A (en) * 2018-04-24 2018-09-28 平安科技(深圳)有限公司 Book monitoring method, device, computer equipment and storage medium
CN108762911A (en) * 2018-06-13 2018-11-06 平安科技(深圳)有限公司 Timing task management method, apparatus, computer equipment and storage medium
CN108829503A (en) * 2018-06-27 2018-11-16 泰康保险集团股份有限公司 Method for scheduling task, device, system, medium and electronic equipment
CN110780988A (en) * 2018-07-31 2020-02-11 重庆小雨点小额贷款有限公司 Task triggering method and device and computer readable storage medium
CN109584060A (en) * 2018-10-15 2019-04-05 平安科技(深圳)有限公司 Processing method, device and the computer equipment and storage medium of timing transaction task
CN109634726A (en) * 2018-10-25 2019-04-16 平安科技(深圳)有限公司 Processing method, device, equipment and the storage medium of timed task
CN109542598A (en) * 2018-11-08 2019-03-29 泰康保险集团股份有限公司 Timing task management method and device
CN111198753A (en) * 2018-11-16 2020-05-26 北京京东尚科信息技术有限公司 Task scheduling method and device
CN109726012A (en) * 2018-12-27 2019-05-07 湖南亚信软件有限公司 A kind of method for scheduling task, device and dispatch server
CN109726012B (en) * 2018-12-27 2023-05-09 湖南亚信软件有限公司 Task scheduling method and device and scheduling server
CN109918187A (en) * 2019-03-12 2019-06-21 北京同城必应科技有限公司 Method for scheduling task, device, equipment and storage medium
CN110109738A (en) * 2019-04-24 2019-08-09 上海易点时空网络有限公司 The execution method and device of timed task
US11537417B2 (en) * 2019-10-08 2022-12-27 At&T Intellectual Property I, L.P. Task delegation and cooperation for automated assistants
US20230140281A1 (en) * 2019-10-08 2023-05-04 At&T Intellectual Property I, L.P. Task delegation and cooperation for automated assistants
CN111190708A (en) * 2019-11-19 2020-05-22 厦门二五八网络科技集团股份有限公司 Method and device for automatically scheduling tasks
CN111367629A (en) * 2020-03-30 2020-07-03 绿盟科技集团股份有限公司 Delayed task processing method and device
CN113553120A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Task execution method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN106406993B (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN106406993A (en) Timed task management method and system
CN107678907B (en) Database service logic monitoring method, system and storage medium
CN107122262B (en) Database intelligent backup system based on agent
US8775591B2 (en) Real-time information technology environments
US9898352B2 (en) Interface call system and method
US20080281660A1 (en) System, Method and Apparatus for Outsourcing Management of One or More Technology Infrastructures
US20080281607A1 (en) System, Method and Apparatus for Managing a Technology Infrastructure
CN111274052A (en) Data distribution method, server, and computer-readable storage medium
CN107918556A (en) A kind of timed task performs method and apparatus in the parallel of multiple servers
US11329869B2 (en) Self-monitoring
CN111026602A (en) Health inspection scheduling management method and device of cloud platform and electronic equipment
CN107660289A (en) Automatic network controls
CN105760240A (en) Distributed task processing method and device
CN109634730A (en) Method for scheduling task, device, computer equipment and storage medium
CN102663543A (en) Scheduling system used for enterprise data unification platform
CN102857371A (en) Dynamic allocation management method for cluster system
CN110611707A (en) Task scheduling method and device
JP2004038516A (en) Work processing system, operation management method and program for performing operation management
CN105096014A (en) Method and system for recording work operation condition remotely
CN111507608A (en) Work order early warning method and device and storage medium
CN107844339B (en) Task scheduling method, plug-in and server
CN112667383A (en) Task execution and scheduling method, system, device, computing equipment and medium
CN111930354A (en) Framework component for software development and construction method thereof
CN114356654A (en) Backup system, backup method, backup device, computer device, and storage medium
CN108154343B (en) Emergency processing method and system for enterprise-level information system

Legal Events

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