CN105653362A - Method and equipment for managing timed tasks - Google Patents

Method and equipment for managing timed tasks Download PDF

Info

Publication number
CN105653362A
CN105653362A CN201510977640.2A CN201510977640A CN105653362A CN 105653362 A CN105653362 A CN 105653362A CN 201510977640 A CN201510977640 A CN 201510977640A CN 105653362 A CN105653362 A CN 105653362A
Authority
CN
China
Prior art keywords
timing task
machine
task
timing
multiple machine
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
CN201510977640.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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510977640.2A priority Critical patent/CN105653362A/en
Publication of CN105653362A publication Critical patent/CN105653362A/en
Pending legal-status Critical Current

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
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and equipment for managing timed tasks. The method comprises the following steps: sending a calling instruction to one or a plurality of machines in a plurality of machines so as to instruct one or a plurality of machines in the plurality of machines to call the respective timed tasks to be executed; and monitoring the execution conditions of the timed tasks on the plurality of machine. According to the method and equipment for managing time tasks, the timed tasks on a plurality of machines can be uniformly called and monitored, and the management of the timed tasks on the plurality of machines can be realized at the same time, so that the execution conditions of the timed tasks on the plurality of machines can be conveniently grasped.

Description

For managing method and the equipment of timing task
Technical field
The present invention relates to field of computer technology, it is specifically related to a kind of for managing the timing method of task and equipment.
Background technology
In many business systems, currently all need application timing task function, namely the tune performing to configure this task on the machine of a certain task is being needed to play (namely triggering) rule in advance, such as it has adjusted the time etc., has then adjusted this task for performing by this machine according to rule timing the tune configured. In current business system, crontab service is usually adopted to adjust the timing mission script on backstage. Each timing task may process multiple affairs. In timing tasks carrying process, the situation occurring process ossified sometimes. In this case, some affairs may process successfully, and some affairs may process failure. If it is intended to the issued transaction situation on understanding machine, it is necessary to initiatively the timing task on machine is checked. If there is multiple machine and deploying timing task on each machine respectively, owing to each machine performs separately the timing task of oneself, therefore it is difficult to grasp the timing tasks carrying situation (or saying issued transaction situation) on each machine comprehensively. Generally speaking, machine quantity is more big, the timing task on machine carries out management more difficult.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of method and the equipment for the managing timing task that solve the problem at least in part.
According to an aspect of the present invention, it provides a kind of method for managing timing task. The method comprises: sends to the one or more machine in multiple machine and has adjusted instruction, to indicate the one or more machines in multiple machine to adjust the timing task on respective machine for performing; And the practice condition of the timing task monitored on multiple machine.
According to another aspect of the present invention, it provides a kind of equipment for managing timing task. This equipment comprises sending spparatus and monitoring device. Sending spparatus is used for sending to the one or more machine in multiple machine having adjusted instruction, to indicate the one or more machines in multiple machine to adjust the timing task on respective machine for performing. The practice condition of timing task of monitoring device for monitoring on multiple machine.
According to provided by the invention for managing the timing method of task and equipment, by the unified timing task adjusted and monitored on multiple machine, the management to the timing task on multiple machine can be realized, such that it is able to conveniently grasp the practice condition of the timing task on multiple machine simultaneously.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to the technique means of the present invention can be better understood, and can be implemented according to the content of specification sheets, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become clear for those of ordinary skill in the art and understand. Accompanying drawing is only for illustrating the object of preferred implementation, and does not think limitation of the present invention. And in whole accompanying drawing, represent identical parts with identical reference symbol. In the accompanying drawings:
Fig. 1 illustrates according to an embodiment of the invention for managing the schematic flow sheet of the method for timing task;
Fig. 2 illustrates in accordance with another embodiment of the present invention for managing the schematic flow sheet of the method for timing task;
Fig. 3 illustrates the schematic diagram of the configuration information represented according to an embodiment of the invention with list form;
Fig. 4 illustrates in accordance with another embodiment of the present invention for managing the schematic flow sheet of the method for timing task; And
Fig. 5 illustrates according to an embodiment of the invention for managing the schematic block diagram of the equipment of timing task.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings more in detail. Although show exemplary embodiment of the present disclosure in accompanying drawing, it should be understood, however, that the embodiment that can realize the disclosure in a variety of manners and should do not set forth here limits. On the contrary, it is provided that these embodiments are to can more thoroughly understand the disclosure, and can pass on complete for the scope of the present disclosure to the technician of this area.
According to an aspect of the present invention, it is provided that a kind of method for managing timing task. This method being used for managing timing task can be realized by the equipment for managing timing task provided by the invention. Fig. 1 illustrates according to an embodiment of the invention for managing the schematic flow sheet of the method 100 of timing task.
As shown in Figure 1, method 100 comprises the following steps.
In step S110, send to the one or more machine in multiple machine and adjusted instruction, to indicate the one or more machines in multiple machine to adjust the timing task on respective machine for performing.
Can be the server of any appropriate for managing the equipment of timing task, its can with multiple machine communication. Each machine deploy has respective timing task. Adjusted separately the timing task of oneself different from each machine, in an embodiment of the present invention, the timing task of all machines is all unified have been adjusted by for managing the equipment of timing task. That is, the script of each timing task is stored on corresponding machine, but adjusting of they controls by for managing the equipment of timing task. It should be appreciated that the closedown of the timing task that can also control on each machine for managing the equipment of timing task.
Adjust the function of the timing task on multiple machine can realize by a total timing task. This total timing task deployment is at the equipment for managing timing task, and it is also that timing performs. Such as, this total timing task can perform once every one minute, sends every time and adjusted instruction when performing. It should be appreciated that the tune of the timing task on different machines plays time possibility difference, therefore when total timing task performs every time, the timing task that it has been adjusted also may be different.
In step S120, monitor the practice condition of the timing task on multiple machine.
Owing to unifying, by for managing the equipment of timing task, the timing task adjusted on multiple machine, therefore understand timing task performed on each machine for managing the equipment of timing task, and the practice condition of the timing task on each machine can be monitored. Therefore, when the execution of timing task occurs abnormal, can knowing the generation of this exception in time for managing the equipment of timing task, this is unlike the prior art. In the prior art, when there is multiple machine, if the execution of the timing task on machine occurs abnormal, it is difficult to know in time. Only when the timing task checked separately on machine, just may find the generation of this exception.
The practice condition of its timing task of any machine can be initiatively inquired, it is also possible to timing receives the information of the practice condition about timing task initiatively sended over by machine for managing the equipment of timing task. Like this, it is possible to realize the monitor in real time of the timing task on multiple machine, and without the need to checking separately the timing task of each machine, such that it is able to the time of the task of saving management and cost, it is to increase the task efficiency of management.
According to provided by the invention for managing the timing method of task and equipment, by the unified timing task adjusted and monitored on multiple machine, the management to the timing task on multiple machine can be realized, such that it is able to conveniently grasp the practice condition of the timing task on multiple machine simultaneously.
Fig. 2 illustrates in accordance with another embodiment of the present invention for managing the schematic flow sheet of the method 200 of timing task. The step S220 and S230 of the method 200 for managing timing task shown in Fig. 2 is corresponding with the step S110 and S120 of the method 100 for managing timing task shown in Fig. 1 respectively. The above-mentioned steps that those skilled in the art are appreciated that in Fig. 2 according to Fig. 1 and description above, for simplicity, does not repeat them here. According to the present embodiment, before step S220, method 200 may further include step S210.
In step S210, the configuration information relevant to the timing task on multiple machine is stored in a database. The task names configuring the timing task of each in the timing task on the multiple machine of information, the identifier adjusted the time and performed the machine of this timing task.
Can selection of land, database can be stored in external service device, that is, database can be for manage timing task equipment outside external data base. Can selection of land, database can also be stored in for manage timing task equipment in local data base. In advance the configuration information relevant to timing task can be stored in a database. Configuration information can indicate when each timing task should have been adjusted and should perform on which machine. Like this, timing task can have been adjusted for performing on the machine of correspondence according to the instruction of configuration information for managing the equipment of timing task on time.
It should be appreciated that the time of having adjusted of timing task can be concrete moment, such as execution every day 5, execution the last day etc. of every month. The tune time of rising of timing task can also be performed once every one minute, performed one inferior every ten days.
By setting up the configuration information relevant to the timing task on multiple machine, it is possible to conveniently adjusted each timing task for performing.
Can selection of land, step S210 may further include: with list form by configuration information store in a database.
Fig. 3 illustrates the schematic diagram of the configuration information represented according to an embodiment of the invention with list form. As shown in Figure 3, configuration information represents with list form. Entry in list is the corresponding various information relevant to timing task respectively.
Conveniently the configuration information of each timing task can be searched with list form store configuration information. Owing to configuration information can indicate having adjusted the time and having performed the machine of timing task of different timing task, therefore can conveniently carry out having adjusted and having monitored to timing task with list form store configuration information.
Can selection of land, it is one or more that configuration information may further include down in lising: script name, script parameter, the script attribute information, recently execution time of each the timing task in the timing task on multiple machine, affairs successfully counts, affairs unsuccessfully count, affairs exception number.
With continued reference to Fig. 3, configuration information can comprise the timing script name (i.e. information in " mission script " entry) of task, script parameter (i.e. information in " script passes and joins " entry), script attribute information (i.e. information in " script information " entry), nearest execution time (i.e. information in " operation starting time " entry) etc.
Affairs successfully count, affairs unsuccessfully count and the abnormal number of affairs can be recorded in " performing statistics " entry in list as shown in Figure 3. Each timing task may process multiple affairs. Affairs can not be split. Such as, for a purchase order, the process that arrearage state processing is payment state can be called affairs. Comprise a series of indivisible operation in these affairs, such as revise order table state, subtract money to user account, add money etc. to merchant account. After this sequence of maneuvers completes, it is that these affairs of payment state complete by arrearage state processing. Each affairs may process successfully, it is also possible to processes unsuccessfully. Sometimes due to the reason such as process is ossified, affairs also there will be exception. For each timing task, its relevant information can comprise that affairs successfully counts, affairs unsuccessfully count, affairs exception number.
It should be appreciated that the representation of configuration information described of Fig. 3 and content thereof are only examples. Configuration information can adopt any other suitable form to represent, it is also possible to comprises the content that any other is suitable.
Fig. 4 illustrates in accordance with another embodiment of the present invention for managing the schematic flow sheet of the method 400 of timing task. Step S410, S440 with S450 of the method 400 for managing timing task shown in Fig. 4 is corresponding with step S210, S220 and S230 of the method 200 for managing timing task shown in Fig. 2 respectively. The above-mentioned steps that those skilled in the art are appreciated that in Fig. 4 according to Fig. 2 and description above, for simplicity, does not repeat them here. According to the present embodiment, before step S440, method 400 may further include following step.
In step S420, configuration information is read in timing from database.
As described above, database can be the local data base being stored in the equipment for managing timing task, it is also possible to be the external data base being stored in external service device. No matter it is which kind of database, all it can be conducted interviews for managing the equipment of timing task. As described above, there is total timing task for managing its upper side administration of timing task. This timing task can regularly perform, and within such as every minute, performs once. Like this, this total timing task can access a database every one minute, the configuration information in reading database. Then according to the timing task having adjusted the information such as time to adjust current time to perform recorded in configuration information.
In step S430, generate based on configuration information and adjusted instruction. Before having adjusted timing task, first can adjust instruction based on the generation of configuration information for managing the equipment of timing task. Such as, if the timing task X on machine A should have been adjusted at current time, then can generate instruction and adjust the tune of timing task X to play instruction. Subsequently, it is possible to this tune is played instruction and is sent to machine A. Machine A, when receiving this tune and play instruction, has adjusted timing task X to start to perform according to having adjusted instruction.
Regularly read the configuration information pre-set and generate the mode having adjusted instruction based on configuration information and can adjust timing task simply and effectively.
Can selection of land, step S120 (S230, S450) can comprise: in the timing task on multiple machine each timing task, receive about this timing task report information; And the practice condition of this timing task is determined based on report information. Above-mentioned report information comprise this timing task affairs successfully count, affairs unsuccessfully count, the abnormal number of affairs and the tasks carrying state that indicates this timing task whether to perform.
As described above, each timing task may process multiple affairs. The affairs amount of each timing handled by task may be bigger, and such as each timing task processes hundreds and thousands of affairs. Each affairs may process successfully, it is also possible to processes unsuccessfully. In timing tasks carrying process, it is possible to collect a secondary data at set intervals, such as, collect about the data during this period of time having the success of how many issued transaction, how many issued transaction failure. Certainly, sometimes due to the reason such as process is ossified, affairs there will be exception. Like this, for any one machine, affairs can added up at set intervals once in this period successfully count, affairs unsuccessfully count for it, the abnormal number of affairs, and subsequently by these data reports to the equipment being used for managing timing task, this report operation can be called " getting ready ". Of course, it is understood that for any machine, it exception may occur, the tune that cannot respond the equipment for managing timing task is caused to play instruction. That is, timing task may perform not according to expectation. In this case, timing task can not performed this report on incident to the equipment being used for managing timing task by machine. Tasks carrying state comprises timing task and is in executing state or is in these two kinds of situations of non-executing state.
By receiving the report information about timing task, it is possible to know the practice condition of timing task in time. This kind of monitor mode is easy to realize, and is a kind of simple method efficiently.
Can selection of land, determine that the practice condition of this timing task may further include based on report information: for each the timing task in the timing task on multiple machine, if the affairs of this timing task unsuccessfully count and exceed predetermined threshold or this timing task exceedes the scheduled time and do not perform, then determine that this timing task is in unusual condition.
For example, it is assumed that a certain timing task processes 1000 affairs, then can specifying that its affairs mortality should not be greater than 5%, namely unsuccessfully count should more than 50 for affairs. If finding that the affairs of this timing task unsuccessfully count more than 50 according to the report information that machine feeds back, then think that it is in unusual condition. In addition, it is also possible to specify this timing task should receive in 5 after having adjusted instruction second perform. If the report information fed back according to machine find this timing task receive adjusted instruction after exceed 5 seconds and perform not yet, then can also think that it is in unusual condition.
Can selection of land, method 100 (200,400) may further include: in the timing task on multiple machine each timing task, if this timing task is in unusual condition, then give a warning.
When finding that any timing task is in unusual condition, can give a warning in time for managing the equipment of timing task, to notify this unusual condition of managerial personnel. Warning can adopt any suitable form, such as, give a warning, eject alert box on supervising, light signal lamp etc., and this is not limited by the present invention. Due to the present invention, timing task is carried out unified monitoring and management, therefore can know the practice condition of each timing task. For performing abnormal timing task, it is possible to give a warning as required. Like this, it is possible to make managerial personnel know the generation of this exception in time, such that it is able to actively make a response, to reduce the abnormal loss brought of timing tasks carrying.
According to a further aspect of the invention, it is provided that a kind of equipment for managing timing task. Fig. 5 illustrates according to an embodiment of the invention for managing the schematic block diagram of the equipment 500 of timing task. This equipment 500 comprises sending spparatus 510 and monitoring device 520.
Sending spparatus 510 has adjusted instruction for sending to the one or more machine in multiple machine, to indicate the one or more machines in multiple machine to adjust the timing task on respective machine for performing.
The practice condition of timing task of monitoring device 520 for monitoring on multiple machine.
Any one in sending spparatus 510 and monitoring device 520 can adopt any suitable hardware, software and/or firmware to realize. Sending spparatus 510 and monitoring device 520 can integrate or adopt separately device separately to realize, and this is not limited by the present invention.
Can selection of land, equipment 500 may further include storing device (not shown), for by the configuration information relevant to the timing task on multiple machine store in a database. The task names configuring the timing task of each in the timing task on the multiple machine of information, the identifier adjusted the time and performed the machine of this timing task.
Can selection of land, storing device may further include memory module, for list form by configuration information store in a database.
Can selection of land, it is one or more that configuration information may further include down in lising: script name, script parameter, the script attribute information, recently execution time of each the timing task in the timing task on multiple machine, affairs successfully counts, affairs unsuccessfully count, affairs exception number.
Can selection of land, database can be stored in external service device.
Can selection of land, equipment 500 may further include and reads device and generating apparatus (not shown). Read device to be used for regularly from database, reading configuration information. Generating apparatus, has adjusted instruction for generating based on configuration information.
Can selection of land, monitoring device 520 can comprise receiver module and condition determining module. Receiver module is for for each the timing task in the timing task on multiple machine, receiving the report information about this timing task. Condition determining module for for each in the timing task on multiple machine, determining the practice condition of this timing task based on report information. Report information comprise this timing task affairs successfully count, affairs unsuccessfully count, the abnormal number of affairs and the tasks carrying state that indicates this timing task whether to perform.
Can selection of land, condition determining module may further include situation determining unit, for for each the timing task in the timing task on described multiple machine, if the affairs of this timing task unsuccessfully count and exceed predetermined threshold or this timing task exceedes the scheduled time and do not perform, then determine that this timing task is in unusual condition.
Can selection of land, equipment 500 may further include warning device (not shown), for in the timing task on multiple machine each timing task, if this timing task is in unusual condition, then give a warning.
It is hereinbefore described the enforcement mode for managing regularly each step of the method for task and advantage etc., those skilled in the art's composition graphs 1 to 4 and above about the description of method for managing timing task, it is appreciated that the concrete structure for managing the regularly equipment of task, operation scheme and advantage thereof etc., this is not repeated herein.
Intrinsic not relevant to any certain computer, virtual system or other equipment with display at this algorithm provided. Various general-purpose system can also with use based on together with this teaching. According to description above, it is to construct the structure required by this type systematic is apparent. In addition, the present invention is not also for any certain programmed language. It should be appreciated that various programming language can be utilized to realize the content of the present invention described here, and the description done by language-specific above is the preferred forms in order to disclose the present invention.
In specification sheets mentioned herein, describe a large amount of detail. However, it is understood that embodiments of the invention can be put into practice when not having these details. In some instances, it is not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify the disclosure and help to understand in each inventive aspect, above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes. But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim. More properly saying, as reflected in claim book below, inventive aspect is all features less than disclosed single embodiment above. Therefore, the claim book following embodiment is thus incorporated to this embodiment clearly, and wherein each claim itself is as the independent embodiment of the present invention.
Those skilled in the art it can be appreciated that the module in the equipment in embodiment can be carried out adaptively change and they are arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule block or subelement or subgroup part can be put them in addition. Except at least some in such feature and/or process or unit mutually repels, it is possible to adopt any combination all processes or the unit of all features disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment to be combined. Unless expressly stated otherwise, each feature disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) can by providing alternative features that is identical, equivalent or similar object to replace.
In addition, the technician of this area can understand, although embodiments more described herein comprise in other embodiment some included feature instead of further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and forms different embodiments. Such as, in the following claims, the one of any of claimed embodiment can use with arbitrary array mode.
Each parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more treater, or realizes with their combination. It will be understood by one skilled in the art that and microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all functions for the some or all parts in the equipment managing timing task according to embodiments of the present invention. Such as, the present invention can also be embodied as part or all the equipment for performing method as described herein or device program (computer program and computer program). The program of such the present invention of realization can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
Should it is to be noted that above-described embodiment the present invention will be described instead of limits the invention, and those skilled in the art can design alternative embodiment when not departing from the scope of claims. In the claims, it should not any reference symbol construction between bracket is become limitations on claims. Word " comprises " element or step not getting rid of and exist and do not arrange in the claims. Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element. The present invention can by means of including the hardware of some different elements and realize by means of the computer suitably programmed. In the unit claim listing some devices, some in these devices can be carry out particular embodiment by same hardware branch. Word first, second and third-class use do not represent any order. Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of method for managing timing task, comprising:
Send to the one or more machine in multiple machine and adjusted instruction, to indicate the one or more machines in described multiple machine to adjust the timing task on respective machine for performing; And
Monitor the practice condition of the timing task on described multiple machine.
A2, method as described in A1, described send to the one or more machine in multiple machine adjusted instruction before, described method comprises further:
The configuration information relevant to the timing task on described multiple machine is stored in a database,
Wherein, the task names of the timing of each in the timing task on multiple machine described in described configuration information task, the identifier having adjusted the time and performed the machine of this timing task.
A3, method as described in A2, the described configuration information relevant to the timing task on described multiple machine storage comprises in a database further:
With list form, described configuration information is stored in the database.
A4, method as described in A2 or A3, described configuration information list under comprising further in one or more: script name, script parameter, the script attribute information, recently execution time of each the timing task in the timing task on described multiple machine, affairs successfully counts, affairs unsuccessfully count, affairs exception number.
Method as described in A5, item as arbitrary in A2 to A4, described database purchase is in outside server.
Method as described in A6, item as arbitrary in A2 to A5, before described one or more machine in multiple machine sends and adjusted instruction, described method comprises further:
Described configuration information is read in timing from described database; And
Generate described tune based on described configuration information and play instruction.
Method as described in A7, item as arbitrary in A1 to A6, the practice condition of the timing task on the described multiple machine of described monitoring comprises:
For each the timing task in the timing task on described multiple machine,
Receive the report information about this timing task; And
The practice condition of this timing task is determined based on described report information;
Wherein, described report information comprise this timing task affairs successfully count, affairs unsuccessfully count, the abnormal number of affairs and the tasks carrying state that indicates this timing task whether to perform.
A8, method as described in A7, described determine that the practice condition of this timing task comprises further based on described report information:
For each the timing task in the timing task on described multiple machine, if the affairs of this timing task unsuccessfully count and exceed predetermined threshold or this timing task exceedes the scheduled time and do not perform, then determine that this timing task is in unusual condition.
Method as described in A9, item as arbitrary in A1 to A8, described method comprises further:
For each the timing task in the timing task on described multiple machine, if this timing task is in unusual condition, then give a warning.
The embodiment of the invention also discloses B10, a kind of equipment for managing timing task, comprising:
Sending spparatus, has adjusted instruction for sending to the one or more machine in multiple machine, to indicate the one or more machines in described multiple machine to adjust the timing task on respective machine for performing; And
Monitoring device, for the practice condition of timing task monitored on described multiple machine.
B11, equipment as described in B10, described equipment comprises further:
Storing device, for the configuration information relevant to the timing task on described multiple machine is stored in a database,
Wherein, the task names of the timing of each in the timing task on multiple machine described in described configuration information task, the identifier having adjusted the time and performed the machine of this timing task.
B12, equipment as described in B11, described storing device comprises further:
Memory module, for storing described configuration information in the database with list form.
B13, equipment as described in B11 or B12, described configuration information list under comprising further in one or more: script name, script parameter, the script attribute information, recently execution time of each the timing task in the timing task on described multiple machine, affairs successfully counts, affairs unsuccessfully count, affairs exception number.
Equipment as described in B14, item as arbitrary in B11 to B13, described database purchase is in outside server.
Equipment as described in B15, item as arbitrary in B11 to B14, described equipment comprises further:
Read device, from described database, read described configuration information for timing; And
Generating apparatus, plays instruction for generating described tune based on described configuration information.
Equipment as described in B16, item as arbitrary in B10 to B15, described monitoring device comprises:
Receiver module, for for each the timing task in the timing task on described multiple machine, receiving the report information about this timing task; And
Condition determining module, for for each in the timing task on described multiple machine, determining the practice condition of this timing task based on described report information;
Wherein, described report information comprise this timing task affairs successfully count, affairs unsuccessfully count, the abnormal number of affairs and the tasks carrying state that indicates this timing task whether to perform.
B17, equipment as described in B16, described condition determining module comprises further:
Situation determining unit, for for each the timing task in the timing task on described multiple machine, if the affairs of this timing task unsuccessfully count and exceed predetermined threshold or this timing task exceedes the scheduled time and do not perform, then determine that this timing task is in unusual condition.
Equipment as described in B18, item as arbitrary in B10 to B17, described equipment comprises further:
Warning device, for for each the timing task in the timing task on described multiple machine, if this timing task is in unusual condition, then giving a warning.

Claims (10)

1., for managing a method for timing task, comprising:
Send to the one or more machine in multiple machine and adjusted instruction, to indicate the one or more machines in described multiple machine to adjust the timing task on respective machine for performing; And
Monitor the practice condition of the timing task on described multiple machine.
2. the method for claim 1, it is characterised in that, before described one or more machine in multiple machine sends and adjusted instruction, described method comprises further:
The configuration information relevant to the timing task on described multiple machine is stored in a database,
Wherein, the task names of the timing of each in the timing task on multiple machine described in described configuration information task, the identifier having adjusted the time and performed the machine of this timing task.
3. method as claimed in claim 2, it is characterised in that, the described configuration information relevant to the timing task on described multiple machine storage comprises in a database further:
With list form, described configuration information is stored in the database.
4. method as claimed in claim 2 or claim 3, it is characterized in that, described configuration information list under comprising further in one or more: each timing script name of task, script parameter, script attribute information, recently execution time in the timing task on described multiple machine, affairs successfully counts, affairs unsuccessfully count, affairs exception number.
5. method as described in item as arbitrary in claim 2 to 4, it is characterised in that, described database purchase is in outside server.
6. method as described in item as arbitrary in claim 2 to 5, it is characterised in that, described send to the one or more machine in multiple machine adjusted instruction before, described method comprises further:
Described configuration information is read in timing from described database; And
Generate described tune based on described configuration information and play instruction.
7. method as described in item as arbitrary in claim 1 to 6, it is characterised in that, the practice condition of the timing task on the described multiple machine of described monitoring comprises:
For each the timing task in the timing task on described multiple machine,
Receive the report information about this timing task; And
The practice condition of this timing task is determined based on described report information;
Wherein, described report information comprise this timing task affairs successfully count, affairs unsuccessfully count, the abnormal number of affairs and the tasks carrying state that indicates this timing task whether to perform.
8. method as claimed in claim 7, it is characterised in that, described determine that the practice condition of this timing task comprises further based on described report information:
For each the timing task in the timing task on described multiple machine, if the affairs of this timing task unsuccessfully count and exceed predetermined threshold or this timing task exceedes the scheduled time and do not perform, then determine that this timing task is in unusual condition.
9. method as described in item as arbitrary in claim 1 to 8, it is characterised in that, described method comprises further:
For each the timing task in the timing task on described multiple machine, if this timing task is in unusual condition, then give a warning.
10., for managing an equipment for timing task, comprising:
Sending spparatus, has adjusted instruction for sending to the one or more machine in multiple machine, to indicate the one or more machines in described multiple machine to adjust the timing task on respective machine for performing; And
Monitoring device, for the practice condition of timing task monitored on described multiple machine.
CN201510977640.2A 2015-12-23 2015-12-23 Method and equipment for managing timed tasks Pending CN105653362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510977640.2A CN105653362A (en) 2015-12-23 2015-12-23 Method and equipment for managing timed tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510977640.2A CN105653362A (en) 2015-12-23 2015-12-23 Method and equipment for managing timed tasks

Publications (1)

Publication Number Publication Date
CN105653362A true CN105653362A (en) 2016-06-08

Family

ID=56477606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510977640.2A Pending CN105653362A (en) 2015-12-23 2015-12-23 Method and equipment for managing timed tasks

Country Status (1)

Country Link
CN (1) CN105653362A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406993A (en) * 2016-09-06 2017-02-15 努比亚技术有限公司 Timed task management method and system
CN106844592A (en) * 2017-01-12 2017-06-13 无线生活(杭州)信息科技有限公司 A kind of databases comparison method and device
CN107870571A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Control the method, apparatus and smart machine of smart machine
CN108958899A (en) * 2018-08-14 2018-12-07 安徽云才信息技术有限公司 A kind of implementation method of micro services framework distributed transaction
CN109542598A (en) * 2018-11-08 2019-03-29 泰康保险集团股份有限公司 Timing task management method and device
CN112597131A (en) * 2020-12-25 2021-04-02 广州趣丸网络科技有限公司 Distributed script control method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694626A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Script execution system and method
CN102262562A (en) * 2011-07-18 2011-11-30 李建成 Task processing method and system
CN103353851A (en) * 2013-07-01 2013-10-16 华为技术有限公司 Method and equipment for managing tasks
US20140351820A1 (en) * 2013-05-23 2014-11-27 Electronics And Telecommunications Research Institute Apparatus and method for managing stream processing tasks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694626A (en) * 2009-09-30 2010-04-14 曙光信息产业(北京)有限公司 Script execution system and method
CN102262562A (en) * 2011-07-18 2011-11-30 李建成 Task processing method and system
US20140351820A1 (en) * 2013-05-23 2014-11-27 Electronics And Telecommunications Research Institute Apparatus and method for managing stream processing tasks
CN103353851A (en) * 2013-07-01 2013-10-16 华为技术有限公司 Method and equipment for managing tasks

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106406993A (en) * 2016-09-06 2017-02-15 努比亚技术有限公司 Timed task management method and system
CN106406993B (en) * 2016-09-06 2019-11-15 努比亚技术有限公司 A kind of timing task management method and system
CN107870571A (en) * 2016-09-26 2018-04-03 北京京东尚科信息技术有限公司 Control the method, apparatus and smart machine of smart machine
CN106844592A (en) * 2017-01-12 2017-06-13 无线生活(杭州)信息科技有限公司 A kind of databases comparison method and device
CN108958899A (en) * 2018-08-14 2018-12-07 安徽云才信息技术有限公司 A kind of implementation method of micro services framework distributed transaction
CN109542598A (en) * 2018-11-08 2019-03-29 泰康保险集团股份有限公司 Timing task management method and device
CN112597131A (en) * 2020-12-25 2021-04-02 广州趣丸网络科技有限公司 Distributed script control method and related device

Similar Documents

Publication Publication Date Title
CN105653362A (en) Method and equipment for managing timed tasks
CN105095056B (en) A kind of method of data warehouse data monitoring
US9049105B1 (en) Systems and methods for tracking and managing event records associated with network incidents
CN109284217A (en) Application exception processing method, device, electronic equipment and storage medium
CN106406993A (en) Timed task management method and system
US7689688B2 (en) Multiple-application transaction monitoring facility for debugging and performance tuning
CN109947746A (en) A kind of quality of data management-control method and system based on ETL process
US20080046880A1 (en) Method for managing internal software of terminal through device management server
CN108055343A (en) For the method for data synchronization and device of computer room
US8738966B2 (en) Change management system and method
CN108491254A (en) A kind of dispatching method and device of data warehouse
CN111190798A (en) Service data monitoring and warning device and method
CN105515872A (en) Method, apparatus and system for updating configuration information
CN103401698A (en) Monitoring system used for alarming server status in server cluster operation
CN104407945A (en) Data backup method, data backup device and data backup system
CN107819825A (en) A kind of service scheduling method, device and electronic equipment
CN104866556A (en) Database fault handling method and apparatus, and database system
CN112486518B (en) Consensus algorithm assembling method and device
CN104615486B (en) For searching for the multi-task scheduling of Extension Software Platform and executing methods, devices and systems
CN111181784A (en) Network port state management method, state machine engine device, equipment and medium
CN114968272A (en) Algorithm operation method, device, equipment and storage medium
CN113721950A (en) Resource loss prevention and control processing method and device
CN102930690B (en) Alarm processor and alarm processing method
WO2010000323A1 (en) Management of performance data
EP2711836A1 (en) Data distribution 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608

RJ01 Rejection of invention patent application after publication