CN104966177A - Timed task management system - Google Patents

Timed task management system Download PDF

Info

Publication number
CN104966177A
CN104966177A CN201510451957.2A CN201510451957A CN104966177A CN 104966177 A CN104966177 A CN 104966177A CN 201510451957 A CN201510451957 A CN 201510451957A CN 104966177 A CN104966177 A CN 104966177A
Authority
CN
China
Prior art keywords
task
timing
server
definition
holidays
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.)
Pending
Application number
CN201510451957.2A
Other languages
Chinese (zh)
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.)
SHANGHAI FENZHONG SOFTWARE TECHNOLOGIES Co Ltd
Original Assignee
SHANGHAI FENZHONG SOFTWARE TECHNOLOGIES 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 SHANGHAI FENZHONG SOFTWARE TECHNOLOGIES Co Ltd filed Critical SHANGHAI FENZHONG SOFTWARE TECHNOLOGIES Co Ltd
Priority to CN201510451957.2A priority Critical patent/CN104966177A/en
Publication of CN104966177A publication Critical patent/CN104966177A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Provided is a timed task management system. The system comprises a timed server, an execution server and the timed server and the execution server are respectively installed on a first server device and a second server device which are separated from each other physically. The system comprises a task scheduler, a work calendar and a management tool which are installed on the first server device. The work calendar identifies working days and holidays. The management tool executes definition of a task and controls on and off of the timed server. The timed server determines a task content and task execution time according to the work calendar and according to the definition of the task by the management tool. The task scheduler keeps a task queue to be executed, starts tasks in the set time according to the task queue, and provides an instant task starting signal for the execution server. The task scheduler receives the task content and task execution time from the timed server, and compares the received task execution time with the task queue to insert the received task content into the queue. The execution server executes the task according to the instant task starting signal.

Description

Timing task management system
Technical field
The present invention relates to data management field, be specifically related to the timed task process needing in commercial management automatically to complete, particularly relate to a kind of timing task management system.
Background technology
Current, there is a large amount of pending commercial management tasks in the daily operation management process of many companies, as money is urged in timing, timing operation form sends, and after checkout, monthly magazine sends, and quantitative check result data sends, the same day pending data prompts etc.Existing clocked flip-flop can complete simple clocked flip task, it is more limited that triggered time arranges type, executable task scope is an already present application program, or fixing Email, or fixing prompting message, as the task scheduling of Microsoft, simply can only do timing task management, be difficult to meet complicated commercial management needs.
Existing timing task management device processing capacity is limited, and majority is Zhi Chijie automatic Processing tasks during the vacation not; Poor with the interactivity of application system, external interface is simple, and majority calls an already present external program; Task management inconvenience, could operate after needing the server at Sign-On services place, can not telemanagement.
Summary of the invention
Because the above-mentioned defect of prior art, technical matters to be solved by this invention is to provide a kind of timing task management system, it can meet three problems that current commercial management needs solve: one is support performance calendar, when running into joint fictitious time or adjust working day, still can automatically process commercial management task; Two is that the form of task definition is not limited to simple program, and the far call (as WebService) increased cross-server is supported; Three is that the self-management of timing task management device only needs authentication to get final product telemanagement.
For achieving the above object, the invention provides a kind of timing task management system, comprising: be arranged on the timing applications on physically separated first server equipment and second server equipment respectively and perform server, the task dispatcher be arranged on first server equipment, the ephemeris and management tool on working day be stored on first server equipment; Wherein, working day, ephemeris was for identifying working day and festivals or holidays; Management tool is for the definition of executing the task and the open and close controlling timing applications; Timing applications is used for according to ephemeris and determine task definition and task execution time according to the definition of management tool to task on working day; Task dispatcher, for safeguarding pending task queue, opens task according to task queue at setting-up time, and provides instant task start signal to execution server; And task dispatcher receives task definition and task execution time from timing applications, the task execution time received and task queue is contrasted to be inserted in the relevant position of queue by the task definition received; Perform server to be used for executing the task according to instant task start signal.
In better embodiment of the present invention, task execution time comprises festivals or holidays.
In better embodiment of the present invention, multiple clocked flip-flop is set, to ensure that concurrency task performs on time in task dispatcher.
In better embodiment of the present invention, adopt authorization key that timing applications is installed.
In better embodiment of the present invention, second server equipment comprises computer cluster, and execution server is dispersed in computer cluster.
In better embodiment of the present invention, the definition of the task that described management tool performs comprises the processing mode of task in festivals or holidays.
In better embodiment of the present invention, task comprises in the processing mode of festivals or holidays: off-day at weekend normally performs, be only adjusted to working day at weekend after normally perform, festivals or holidays normally perform, festivals or holidays start after front predetermined number of days in perform, specific date during festivals or holidays performs, festivals or holidays terminate before predetermined number of days in execution.
In better embodiment of the present invention, the definition of the task that described management tool performs comprises exception handling.
In better embodiment of the present invention; abnormal occur after repeated attempt after the schedule time of interval, maximum repeated attempt is executed the task pre-determined number, whether notifies responsible official after failure of attempting executing the task; select the mode notifying responsible official to be note or mail, and whether do for supplement after abnormal restoring.
In better embodiment of the present invention, task dispatcher also for according to the exception handling in task definition, in the task queue reinsert, or stop this tasks carrying, or initiating task is doed for supplement by the task of execute exception.
Be described further below with reference to the technique effect of accompanying drawing to design of the present invention, concrete structure and generation, to understand object of the present invention, characteristic sum effect fully.
Accompanying drawing explanation
Fig. 1 is the block diagram of timing task management system according to the preferred embodiment of the invention.
Embodiment
The invention provides in commercial management the timed task processing scheme needing automatically to complete, wherein adding the commercial management task to needing process automatically during joint fictitious time especially.
Fig. 1 is the block diagram of timing task management system according to the preferred embodiment of the invention.
As shown in Figure 1, the timing task management system of the preferred embodiment of the present invention comprises: be arranged on timing applications 10 on physically separated first server equipment 100 and second server equipment 200 respectively and perform server 20, the task dispatcher 30 be arranged on first server equipment 100, the ephemeris 50 and management tool 40 on working day be stored on first server equipment 100.
Wherein, management tool 40 can physically be separated with second server equipment 200 with first server equipment 100 as shown in Figure 1, to carry out long-range setting and Long-distance Control; In certain embodiments, management tool 40 also can such as be arranged on first server equipment 100,
Wherein, working day, ephemeris 50 was for identifying working day and festivals or holidays; Management tool 40 is for the definition of executing the task and the open and close controlling timing applications 10; Timing applications 10 is for according to ephemeris 50 and determine task definition and task execution time (when triggering tasks performs, and in a particular embodiment, task execution time comprises festivals or holidays) according to the definition of management tool 40 pairs of tasks on working day; Task dispatcher 30, for safeguarding pending task queue, opens task according to task queue at setting-up time, and provides instant task start signal to execution server 20; And task dispatcher 30 receives task definition and task execution time from timing applications 10, the task execution time received and task queue is contrasted to be inserted in the relevant position of queue by the task definition received; Perform server 20 to execute the task according to instant task start signal.
Preferably, in task dispatcher 30, multiple clocked flip-flop is set, to ensure that concurrency task performs on time.
Preferably, need have authorization key when installing timing applications 10, authorization key can be used for protection task definition table and task queue table is not revealed.
The managerial personnel authorized carry out management work by management tool to task dispatcher 30.The managerial personnel authorized define task by management tool, determine the executive plan of task.The managerial personnel authorized can open definition task manager, make task enter by executive plan the stage of automatically performing.The managerial personnel authorized execute the task by management tool configuration or exploitation, realize the interface with timing applications and task scheduling.
Preferably, perform server 20 and be dispersed in computer cluster, in other words, second server equipment 200 comprises computer cluster.
And such as, task definition sets task names, affiliated type of service, interface parameters during task scheduling, exception handling, executive plan, the processing mode of festivals or holidays.
Such as, the dispatch interface parameter of task definition has: start type (local and remote), runs address, runs additional parameter, account number, password, execution time last time.
Such as; the exception handling of task definition is used for doing where reason when tasks carrying is abnormal; definition data have: interval N second (schedule time) repeated attempt afterwards after abnormal generation; maximum repeated attempt M time (pre-determined number) is executed the task; trial executes the task after failure whether notify responsible official; select the mode notifying responsible official to be note or mail, whether do for supplement after abnormal restoring.
The executive plan of task definition: define task and when perform, major parameter has: perform classification (repeat or perform once), perform the frequency (my god, week, the moon), interval number of days when daily repeating, every day Exactly-once or fixed time intervals performs; By a few execution weekly during Zhou Chongfu, the same day performs once or fixed time intervals repeats; Monthly when perform when monthly repeating in (which sky, which sky reciprocal), or monthly perform in which week (which week or which week reciprocal).
Such as, the definition of the task of described management tool 10 execution comprises the processing mode of task in festivals or holidays.And such as, task comprises in the processing mode of festivals or holidays: off-day at weekend normally performs, be only adjusted to working day at weekend after normally perform, festivals or holidays normally perform, festivals or holidays start after front predetermined number of days in perform, specific date during festivals or holidays performs, festivals or holidays terminate before predetermined number of days in execution.
Timing applications 10 for determining when that triggering tasks performs, the tasks carrying during preferably including festivals or holidays.Can understand thus executive plan and festivals or holidays processing mode; Timing applications reads one time 24 hours (adjustable durations every 5 minutes (adjustable interval time), but be greater than and read interval time) interior pending task, determine the execution time, and judge of that month with or without festivals or holidays, if any false red-letter day, then by festivals or holidays in task, processing mode did the adjustment on the execution time.
As mentioned above, the Main Function of task dispatcher 30 is: safeguard pending task queue, opens task, externally provide instant task start according to task queue to setting-up time.Task dispatcher 30 receives task and execution time from timing applications 10, by contrasting with task queue after reception, new task is inserted in queue.Multiple clocked flip-flop is set in task scheduling, to ensure that concurrency task performs on time.In a preferred embodiment, task dispatcher 30 is also for execute exception process.
In task dispatcher 30, the abnormality processing of task scheduling is according to the exception handling in task definition, in pending task queue task reinserted, or stop this tasks carrying, or initiating task is doed for supplement.
Tasks carrying, refers to concrete executing the task, and can be local application, or the service of outside.Task performer 20 must realize the interface specified: tasks carrying entity self can catch the exception, and returns to task scheduling place by abnormal by task scheduling interface; Need after tasks carrying to call timing applications interface, indicate that this subtask terminates.If tasks carrying has multiple step, occur abnormal when performing certain step, only need when again performing to perform follow-up step, this function needs task self to have writing function (as mail or note successfully generate, occur when calling and sending mail or short message service abnormal, again only need call during retry and send mail service).
Preferably, management tool 40 is for the definition of executing the task and the open and close controlling timing applications 10; And task queue is checked and to be managed with remote mode by management tool 40 with manual maintenance; Such as management tool can be BS structural system.
For preventing distorting arbitrarily task, task definition and task queue are encrypted and are deposited separately, only after normal authorization by management tools manage task that native system provides.
Task queue table exists in internal memory, is also kept on disk simultaneously, and the object of preserving on disk is used for backup task queue at that time when server exception stops, to do for supplement task.
Timing task management the most frequently used in prior art is the Mission Planning Program of Microsoft, and compared with Mission Planning Program, the present invention is not only applicable to local application system, is applicable to remote service yet, and applicability is wider; Owing to calling by cross-server, so achieve distributed in execution, execution efficiency is higher; Managerial personnel do not need the mandate to server, simpler in daily operation maintenance, and operation has more security.
Above-mentioned explanation illustrate and describes the preferred embodiments of the present invention, as previously mentioned, be to be understood that the present invention is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in invention contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the present invention, then all should in the protection domain of claims of the present invention.

Claims (10)

1. a timing task management system, is characterized in that comprising: be arranged on the timing applications on physically separated first server equipment and second server equipment respectively and perform server, the task dispatcher be arranged on first server equipment, the ephemeris and management tool on working day be stored on first server equipment; Wherein, working day, ephemeris was for identifying working day and festivals or holidays; Management tool is for the definition of executing the task and the open and close controlling timing applications; Timing applications is used for according to ephemeris and determine task definition and task execution time according to the definition of management tool to task on working day; Task dispatcher, for safeguarding pending task queue, opens task according to task queue at setting-up time, and provides instant task start signal to execution server; And task dispatcher receives task definition and task execution time from timing applications, the task execution time received and task queue is contrasted to be inserted in the relevant position of queue by the task definition received; Perform server to be used for executing the task according to instant task start signal.
2. timing task management system as claimed in claim 1, it is characterized in that, task execution time comprises festivals or holidays.
3. timing task management system as claimed in claim 1 or 2, is characterized in that, arrange multiple clocked flip-flop in task dispatcher, to ensure that concurrency task performs on time.
4. timing task management system as claimed in claim 1 or 2, is characterized in that, adopts authorization key to install timing applications.
5. timing task management system as claimed in claim 1 or 2, it is characterized in that, second server equipment comprises computer cluster, and execution server is dispersed in computer cluster.
6. timing task management system as claimed in claim 1 or 2, is characterized in that, the definition of the task that described management tool performs comprises the processing mode of task in festivals or holidays.
7. timing task management system as claimed in claim 6, it is characterized in that, task comprises in the processing mode of festivals or holidays: off-day at weekend normally performs, be only adjusted to working day at weekend after normally perform, festivals or holidays normally perform, festivals or holidays start after front predetermined number of days in perform, specific date during festivals or holidays performs, festivals or holidays terminate before predetermined number of days in execution.
8. timing task management system as claimed in claim 1 or 2, is characterized in that, the definition of the task that described management tool performs comprises exception handling.
9. timing task management system as claimed in claim 8; it is characterized in that; repeated attempt after the schedule time of interval after abnormal generation; maximum repeated attempt is executed the task pre-determined number; trial executes the task after failure whether notify responsible official; select the mode notifying responsible official to be note or mail, and whether do for supplement after abnormal restoring.
10. timing task management system as claimed in claim 8, it is characterized in that, task dispatcher also for according to the exception handling in task definition, in the task queue that the task of execute exception is reinserted, or stop this tasks carrying, or initiating task is doed for supplement.
CN201510451957.2A 2015-07-28 2015-07-28 Timed task management system Pending CN104966177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510451957.2A CN104966177A (en) 2015-07-28 2015-07-28 Timed task management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510451957.2A CN104966177A (en) 2015-07-28 2015-07-28 Timed task management system

Publications (1)

Publication Number Publication Date
CN104966177A true CN104966177A (en) 2015-10-07

Family

ID=54220210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510451957.2A Pending CN104966177A (en) 2015-07-28 2015-07-28 Timed task management system

Country Status (1)

Country Link
CN (1) CN104966177A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468500A (en) * 2015-11-16 2016-04-06 中国建设银行股份有限公司 Timing task monitoring method and device
CN107967189A (en) * 2016-10-20 2018-04-27 南京途牛科技有限公司 Abnormal task retries method and device
CN111738813A (en) * 2020-01-20 2020-10-02 山东佳联电子商务有限公司 Network property right system transaction countdown method for point-to-shoot network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894306A (en) * 2009-05-20 2010-11-24 北京闻言科技有限公司 Technology for intelligently setting attendance checking calendar
CN102184483A (en) * 2011-05-16 2011-09-14 浪潮集团山东通用软件有限公司 Flexible and extensible user-defined working calendar based work flow scheduling framework
CN103530759A (en) * 2012-07-03 2014-01-22 上海宝信软件股份有限公司 Timing method capable of customizing holiday service level response time
CN104021444A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Cross-platform operation dispatching system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101894306A (en) * 2009-05-20 2010-11-24 北京闻言科技有限公司 Technology for intelligently setting attendance checking calendar
CN102184483A (en) * 2011-05-16 2011-09-14 浪潮集团山东通用软件有限公司 Flexible and extensible user-defined working calendar based work flow scheduling framework
CN103530759A (en) * 2012-07-03 2014-01-22 上海宝信软件股份有限公司 Timing method capable of customizing holiday service level response time
CN104021444A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Cross-platform operation dispatching system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468500A (en) * 2015-11-16 2016-04-06 中国建设银行股份有限公司 Timing task monitoring method and device
CN107967189A (en) * 2016-10-20 2018-04-27 南京途牛科技有限公司 Abnormal task retries method and device
CN111738813A (en) * 2020-01-20 2020-10-02 山东佳联电子商务有限公司 Network property right system transaction countdown method for point-to-shoot network

Similar Documents

Publication Publication Date Title
US5899979A (en) Method and system for automatically integrating scheduled work items onto an electronic calendar
US10091215B1 (en) Client isolation in a distributed queue
US20190303127A1 (en) Enabling tenant administrators to initiate request driven peak-hour builds to override off-peak patching schedules
US20150286982A1 (en) Dynamically modeling workloads, staffing requirements, and resource requirements of a security operations center
SG189061A1 (en) Virtual server control system and program
KR101815235B1 (en) System, method and computer program for data scrapping
WO2014018451A1 (en) Multi-tenant queue controller
CN109639630B (en) Terminal port management and control system and method
CN104966177A (en) Timed task management system
CN102446259A (en) Component access control method and electronic equipment
CN102663543A (en) Scheduling system used for enterprise data unification platform
US9577972B1 (en) Message inspection in a distributed strict queue
CN105808778A (en) Method and device for extracting, transforming and loading mass data
CN103888619A (en) Message processing method and system thereof
CN110049084B (en) Current limiting method, device and equipment of distributed system
CN105511958A (en) Method and device for task scheduling
US11928461B2 (en) Software utilization optimization in managed networks
US20170116579A1 (en) Techniques for improving the ability of an invitee to fully participate in a meeting via a data processing system
CN103092645A (en) Geographic spatial information application system and implement method thereof based on microkernel technology
CN105446812A (en) Multitask scheduling configuration method
EP4152151A1 (en) Multi-cloud resource scheduler
US20220027201A1 (en) Resource and operation management on a cloud platform
US10225285B2 (en) Policy conflict resolution engine for mobile application management
CN110555009B (en) Processing method and device for Network File System (NFS) service
CN109040491B (en) Hanging-up behavior processing method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007