CN108108234A - A kind of distributed task management method and system - Google Patents
A kind of distributed task management method and system Download PDFInfo
- Publication number
- CN108108234A CN108108234A CN201711278274.7A CN201711278274A CN108108234A CN 108108234 A CN108108234 A CN 108108234A CN 201711278274 A CN201711278274 A CN 201711278274A CN 108108234 A CN108108234 A CN 108108234A
- Authority
- CN
- China
- Prior art keywords
- instruction
- task
- data packet
- management
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Abstract
The present invention provides a kind of distributed task management method and system, the described method includes:Task operating instruction if determining to send task operating instruction according to the HTTP request of reception, is encapsulated as the data packet of encryption format by S1;The data packet is sent to agent ends by S2 using Socket agreements, so that the agent ends perform task according to the data packet using the timer timing at the agent ends.Master is responsible for task distribution in the present invention, task operating instruction is sent to agent ends, agent is responsible for tasks carrying in end, according to task operating timing is instructed to perform task, distributed scheduling centralized management is carried out to task, realizes the decoupling at agent ends and master ends, reduces and agent ends relies on the scheduling at master ends, Centroid master is avoided because of influence of the Network Abnormal to agent ends execution task between system exception and master and agent ends.
Description
Technical field
The invention belongs to field of computer, more particularly, to a kind of distributed task management method and system.
Background technology
Task scheduling is the important component of operating system, and for real time operating system, task scheduling directly affects it
Real-time performance.
Current most common timing task management mode be the crontab carried using linux system instruct to submit and
Management needs periodically performing for task.Task scheduling under wherein Linux is divided into system task scheduling and scheduling user task.
System task is scheduling to the system periodically work to be performed, such as writes hard disk and daily record cleaning by data cached.User
Task scheduling is periodically being performed for task of user, such as data backup and timing mail reminder.But system is automatically periodically appointed
Business monitoring deficiency, can only investigate implementation status according to daily record, can not perceive exception and exit, and task deployment distribution is too scattered,
Task is independent between different machines between different system user, of high cost for mega project task management.Also it is useful simultaneously
Family selects some task management systems increased income or paid, and such as Jenkins softwares, but development cost and lower deployment cost are high, operation
Complexity, security are low.In addition, since agent ends do not have timing function in Jenkins softwares, master ends need will be same
Assignment instructions multiple timing sends agent ends, may cause task that can not dispatch execution under the machine of delaying or network abnormal situation.
The content of the invention
To overcome, above-mentioned task management is of high cost, task deployment disperses, complicated for operation, security is low and abnormal conditions can institute
There is the problem of task can not dispatch execution or solve the above problems at least partly, the present invention provides a kind of distributed task schedulings
Management method and system.
According to the first aspect of the invention, a kind of distributed task management method is provided, including:
S1 if being determined to send task operating instruction according to the HTTP request of reception, the task operating is instructed and is encapsulated
For the data packet of encryption format;
The data packet is sent to agent ends by S2 using Socket agreements, so that the agent ends are according to the number
According to bag task is performed using the timer timing at the agent ends.
Specifically, the task operating instruction includes user management instruction, machine handing instructs, project management instructs, appoints
One or more in business management instruction or log management instruction;
Correspondingly, include before the step S1:
According to the HTTP request of reception determine whether send user management instruction, machine handing instruction, project management instruction,
Task management instruction or log management instruction.
Specifically, the user management instruction includes user's registration instruction, user logs in instruction and user authority management refers to
One or more in order;
The machine handing instruction includes checking machine list instruction, newly-increased machine instruction, deletes machine instruction, Yi Jigeng
One or more in new and deployment agent ends batch instruction;
The project management instruction includes checking one in bulleted list instruction, new projects instruction and deletion item instruction
Kind is a variety of;
The task management instruction includes checking that assignment instructions, newly-increased assignment instructions, deletion assignment instructions, mission-enabling refer to
It makes, the one or more in task suspension instruction, tasks synchronization instruction and tasks carrying once command;
The log management instruction includes checking log list instruction and deletes the one or more in log instruction.
Specifically, the step S2 is specifically included:
The data packet is sent to agent ends using Socket agreements, for the agent ends to the data packet into
Row parsing, obtains the task operating instruction, and the agent ends are instructed according to the task operating using timer timing
Execution task.
Specifically, the step S2 is specifically included:
Obtain the machine that the project belonging to the corresponding task of the task operating instruction and the project are disposed;
The data packet is sent to the machine using Socket agreements, so that the machine makes according to the data packet
Task is performed with timer timing.
Specifically, further included after the step S2:
The task action result that the agent ends are sent is received, database is carried out more according to the task action result
Newly.
According to the second aspect of the invention, a kind of distributed task management system is provided, including:
Judging unit, for when determining to send task operating instruction according to the HTTP request of reception, the task to be grasped
Make the data packet that instruction is encapsulated as encryption format;
Transmitting element, for the data packet to be sent to agent ends using Socket agreements, for the agent ends
Task is performed using the timer timing at the agent ends according to the data packet.
Specifically, the transmitting element is specifically used for:
Obtain the machine that the project belonging to the corresponding task of the task operating instruction and the project are disposed;
The data packet is sent to the machine using Socket agreements, so that the machine makes according to the data packet
Task is performed with timer timing.
According to the third aspect of the invention we, a kind of distributed task management equipment is provided, including:
At least one processor, at least one processor and bus;Wherein,
The processor and memory complete mutual communication by the bus;
The memory storage has the program instruction that can be performed by the processor, and the processor calls described program to refer to
Order is able to carry out method as described before.
According to the fourth aspect of the invention, a kind of non-transient computer readable storage medium storing program for executing is provided, for storing such as preceding institute
State the computer program of method.
The present invention provides a kind of distributed task management method and system, and master is responsible for task distribution in this method, will
Task operating instruction is sent to agent ends, and agent is responsible at end the scheduling and execution of task, and there are one timings for each agent ends tool
Device, for the task operating received from master instruction to be scheduled and performed, master carries out task distributed distribution
And centralized management, it realizes the decoupling at agent ends and master ends, reduces the timed task between agent ends and master ends
Scheduling rely on, avoid Centroid master because between system exception situation and master and agent ends Network Abnormal cause
Timed task, which performs unsuccessfully to wait, to be influenced.
Description of the drawings
Fig. 1 is distributed task management method overall flow schematic diagram provided in an embodiment of the present invention;
Fig. 2 is distributed task management overall system architecture schematic diagram provided in an embodiment of the present invention;
Fig. 3 is distributed task management equipment overall structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the present invention is described in further detail.Implement below
Example is not limited to the scope of the present invention for illustrating the present invention.
A kind of distributed task management method is provided in one embodiment of the invention, and Fig. 1 carries for the embodiment of the present invention
The distributed task management method overall flow schematic diagram of confession, this method include:S1, if determining to send out according to the HTTP request of reception
Task operating is sent to instruct, then task operating instruction is encapsulated as to the data packet of encryption format;S2, will using Socket agreements
The data packet is sent to agent ends, so that the agent ends use the timer at the agent ends according to the data packet
Timing performs task.
Specifically, webcron is a distributed task management system, by a master end and multiple agent ends
Composition, master and agent are communicated by Socket agreements.Operation workflow triggers the hair of task operating instruction for user
It send.Task operating instruction is sent to agent by master, agent parsing task operating instructions carry out relevant operation, such as perform
Task operating instruction is put into scheduling queue by the task operating instruction.Two services of master and agent are mutually separated by
From being independent of each other, run by interior network communication system.Start master, tasks of the master as whole system first
Control centre manages the corn modules such as user right, project situation, machine resources and task situation.Then machine is added
Device needs deployment agent according to tasks carrying, and a project can be deployed on a machine, can also be deployed in more
On machine, a project includes multiple tasks again.Create the administrative relationships between machine and project, the pass between task and project
Connection relation.
In S1, master services are opened, master monitors local port, and the various HTTP that reception is sent to master please
It asks.Judged whether to send task order according to the HTTP request of reception.Master is in the HTTP request according to reception
When judging to send task order, the task operating is instructed to the data packet that encryption format is encapsulated as according to default form.If
Task order is not sent according to the judgement of the HTTP request of reception, then master is directly handled related according to the HTTP request
Business updates the data storehouse according to the handling result of business.In S2, the data packet is sent to by master using Socket agreements
Corresponding agent ends.The agent ends receive the data packet, and task is performed according to the timing data packet.Tasks carrying with
Task distribution is asynchronous, and master is responsible for the distribution of task, assigns the task to corresponding agent ends and performs.Master will
Same task is only with agent ends are sent to once, and since the agent ends have timer, agent ends can be grasped according to task
It instructs and same or multiple tasks is performed by pre-set clocking discipline timing, the timer can support second grade to adjust
Degree.When there is network problem or Centroid delay machine when, agent can still be held according to the task operating instruction having been received by
Row timed task.
Master is responsible for task distribution in the present embodiment, task operating instruction is sent to agent ends, agent is responsible at end
The timing of task performs, and according to task operating timing is instructed to perform task, and distributed scheduling centralized management is carried out to task, real
The decoupling at existing agent ends and master ends reduces and agent ends relies on the scheduling at master ends, reduces abnormal conditions pair
Agent ends perform the influence of task.
On the basis of above-described embodiment, the instruction of task operating described in the present embodiment includes user management instruction, machine
Manage the one or more in instruction, project management instruction, task management instruction or log management instruction;Correspondingly, the step
Include before rapid S1:Determined whether to send user management instruction, machine handing instruction, project management according to the HTTP request of reception
Management instruction, task management instruction or log management instruction.
Specifically, webcron systems are mainly by user management module, machine manager modules, project management module, task pipe
Manage module and log management module composition.The user management module is the basal core module of webcron systems, supports user
It logs in, user bound information, improves login security.The authority management module is managed the permission of user, Yong Huke
Check oneself responsible task, administrator can be managed the distribution of task, improve the security of system.The project pipe
Reason module is used to create the information of incidence relation and add items between project and machine.The task management module is to task
Be added, change, synchronization, the operations such as activation and operation.The journal module can check tasks carrying situation and tasks carrying
The reason for failure.
Task operating instruction includes user management instruction, machine handing instruction, project management instruction, task management refer to
One or more in order and log management instruction.Wherein, the user management instruction is used to indicate agent ends and user is carried out
Management, the machine handing instruction are used to indicate agent ends and machine are managed, and the project management instruction is used to indicate
Agent ends are managed project, and the task management instruction is used to indicate agent ends and task is managed, the daily record
Management instruction is used to indicate agent ends and daily record is managed.
On the basis of above-described embodiment, the instruction of user management described in the present embodiment includes user's registration instruction, user
Log in the one or more in instruction and user authority management instruction;The machine handing instruction includes checking that machine list refers to
It makes, the one or more in newly-increased machine instruction, deletion machine instruction and update and the batch instruction at deployment agent ends;Institute
Stating project management instruction includes checking bulleted list instruction, new projects instruction and deletes the one or more in item instruction;
The task management instruction includes checking assignment instructions, newly-increased assignment instructions, deletes assignment instructions, mission-enabling instruction, task
One or more in pause instruction, tasks synchronization instruction and tasks carrying once command;The log management instruction includes looking into
It sees log list instruction and deletes the one or more in log instruction.
Specifically, the user's registration instruction is used to indicate agent ends and user's registration is handled, and the user logs in
Instruction, which is used to indicate agent ends user is logged in, to be handled, user authority management instruction be used to indicate agent ends to
Family permission is managed.Described to check that machine list instruction is used to indicate agent ends and checks machine list, the newly-increased machine refers to
Order is used to indicate agent ends and increases machine newly, and the deletion machine instruction is used to indicate agent ends and deletes machine, the update and
The batch instruction at deployment agent ends is used to indicate the batch at the update of agent ends and deployment agent ends.It is described to check bulleted list
Instruction is used to indicate agent ends and checks bulleted list, and the new projects instruction is used to indicate agent ends new projects, described
It deletes item instruction and is used to indicate agent ends deletion project.It is described to check that assignment instructions are used to indicate agent ends and check task,
The newly-increased assignment instructions are used to indicate agent ends and increase task newly, and the deletion assignment instructions, which are used to indicate agent ends and delete, appoints
Business, the mission-enabling instruction are used to indicate agent ends activation task, and it is temporary that the task suspension instruction is used to indicate agent ends
Business ceasing to hold office, the tasks synchronization instruct, when the content of same task changes, to use the task replacement pair after variation
Task before the conversion answered.The tasks carrying once command is used to indicate agent ends and performs task once, described to check daily record
List instruction is used to indicate agent ends and checks log list, and the deletion log instruction is used to indicate agent ends and deletes daily record.
On the basis of above-described embodiment, step S2 described in the present embodiment specifically includes:Using Socket agreements by institute
It states data packet and is sent to agent ends, so that the agent ends parse the data packet, obtain the task operating and refer to
Order, the agent ends instruct according to the task operating and perform task using timer timing.
Specifically, the data packet is sent to agent ends by master using Socket agreements.The agent ends receive
The data packet parses the data packet, obtains the task operating instruction, the agent ends are according to the task
Operational order timing performs task.
On the basis of above-described embodiment, step S2 described in the present embodiment specifically includes:The task operating is obtained to refer to
The machine that the project belonging to corresponding task and the project is made to be disposed;The data packet is sent to using Socket agreements
The machine, so that the machine performs task according to the data packet using timer timing.
Specifically, according to the incidence relation between default task and project, the task operating instruction instruction is obtained
The project belonging to task that agent ends perform.According to the incidence relation between default project and machine, the project institute is obtained
The machine of deployment.The data packet is sent to the machine by master using Socket agreements.The machine receives the number
According to bag, task is performed using timer timing according to the data packet.
On the basis of the various embodiments described above, further included after step S2 described in the present embodiment:Receive the agent ends
The task action result of transmission is updated database according to the task action result.
Specifically, task action result is passed through Socket by agent ends after task has been performed in the form of execution journal
Agreement is sent to master.Master receives the task action result that the agent ends are sent, in database with the task
The relevant data of implementing result are updated.
A kind of distributed task management system is provided in another embodiment of the present invention, and Fig. 2 is the embodiment of the present invention
The distributed task management overall system architecture schematic diagram of offer, the device include judging unit 1 and transmitting element 2, wherein:
The judging unit 1 is used to, when determining to send task operating instruction according to the HTTP request of reception, described to appoint
Business operational order is encapsulated as the data packet of encryption format;The transmitting element 2 is used to use Socket agreements by the data packet
Agent ends are sent to, are appointed so that the agent ends are performed according to the data packet using the timer timing at the agent ends
Business.
Specifically, webcron is a distributed task management system, by a master end and multiple agent ends
Composition, master and agent are communicated by Socket agreements.Operation workflow triggers the hair of task operating instruction for user
It send.Task operating instruction is sent to agent by master, agent parsing task operating instructions carry out relevant operation, such as perform
Task operating instruction is put into scheduling queue by the task operating instruction.Two services of master and agent are mutually separated by
From being independent of each other, run by interior network communication system.Start master, tasks of the master as whole system first
Control centre manages the corn modules such as user right, project situation, machine resources and task situation.Then machine is added
Device needs deployment agent according to tasks carrying, and a project can be deployed on a machine, can also be deployed in more
On machine, a project includes multiple tasks again.Create the administrative relationships between machine and project, the pass between task and project
Connection relation.
Master services are opened, master monitors local port, receives the various HTTP requests for being sent to master.It is described
Judging unit 1 judges whether to send task order according to the HTTP request of reception.The judging unit 1 is according to reception
When the HTTP request judges to send task order, the task operating is instructed and is encapsulated as encryption format according to default form
Data packet.If not sending task order according to the judgement of the HTTP request of reception, the judging unit 1 is directly according to institute
HTTP request processing related service is stated, storehouse is updated the data according to the handling result of business.The transmitting element 2 is assisted using Socket
The data packet is sent to corresponding agent ends by view.The agent ends receive the data packet, are determined according to the data packet
Shi Zhihang tasks.Tasks carrying is asynchronous with task distribution, and master is responsible for the distribution of task, assigns the task to corresponding
Agent ends perform.Master by same task only with being sent to agent ends once, since the agent ends have timer,
Agent ends can be instructed according to task operating is performed same or multiple tasks by pre-set clocking discipline timing, institute
Second grade scheduling can be supported by stating timer.When there is network problem or Centroid delay machine when, agent still can be according to
Received task operational order performs timed task.
Master is responsible for task distribution in the present embodiment, task operating instruction is sent to agent ends, agent is responsible at end
The timing of task performs, and according to task operating timing is instructed to perform task, and distributed scheduling centralized management is carried out to task, real
The decoupling at existing agent ends and master ends reduces and agent ends relies on the scheduling at master ends, reduces abnormal conditions pair
Agent ends perform the influence of task.
On the basis of above-described embodiment, transmitting element is specifically used for described in the present embodiment:Obtain the task operating
The machine that the project belonging to corresponding task and the project is instructed to be disposed;The data packet is sent using Socket agreements
To the machine, so that the machine performs task according to the data packet using timer timing.
Specifically, the transmitting element obtains the task behaviour according to the incidence relation between default task and project
Make the project belonging to the task that instruction instruction agent ends perform.According to the incidence relation between default project and machine, obtain
The machine that the project is disposed.The data packet is sent to the machine by master using Socket agreements.The machine
The data packet is received, task is performed using timer timing according to the data packet.
On the basis of above-described embodiment, the instruction of task operating described in the present embodiment includes user management instruction, machine
Manage the one or more in instruction, project management instruction, task management instruction or log management instruction;Correspondingly, it is described to sentence
Disconnected unit is additionally operable to:Determined whether to send user management instruction, machine handing instruction, project management according to the HTTP request of reception
Instruction, task management instruction or log management instruction.
On the basis of above-described embodiment, the instruction of user management described in the present embodiment includes user's registration instruction, user
Log in the one or more in instruction and user authority management instruction;The machine handing instruction includes checking that machine list refers to
It makes, the one or more in newly-increased machine instruction, deletion machine instruction and update and the batch instruction at deployment agent ends;Institute
Stating project management instruction includes checking bulleted list instruction, new projects instruction and deletes the one or more in item instruction;
The task management instruction includes checking assignment instructions, newly-increased assignment instructions, deletes assignment instructions, mission-enabling instruction, task
One or more in pause instruction, tasks synchronization instruction and tasks carrying once command;The log management instruction includes looking into
It sees log list instruction and deletes the one or more in log instruction.
On the basis of above-described embodiment, transmitting element is specifically used for described in the present embodiment:It will using Socket agreements
The data packet is sent to agent ends, so that the agent ends parse the data packet, obtains the task operating
Instruction, the agent ends instruct according to the task operating and perform task using timer timing.
On the basis of above-described embodiment, updating block is further included in the present embodiment, is sent for receiving the agent ends
Task action result, database is updated according to the task action result
The present embodiment provides a kind of distributed task management equipment, Fig. 3 is distributed task scheduling provided in an embodiment of the present invention
Management equipment overall structure diagram, the equipment include:At least one processor 31, at least one processor 32 and bus 33;
Wherein,
The processor 31 and memory 32 complete mutual communication by the bus 33;
The memory 32 is stored with the program instruction that can be performed by the processor 31, and the processor calls the journey
Sequence instruction is able to carry out the method that above-mentioned each method embodiment is provided, such as including:S1, if true according to the HTTP request of reception
Surely task operating instruction is sent, then task operating instruction is encapsulated as to the data packet of encryption format;S2 is assisted using Socket
The data packet is sent to agent ends by view, so that the agent ends are determined according to the data packet using the agent ends
When device timing perform task.
The present embodiment provides a kind of non-transient computer readable storage medium storing program for executing, the non-transient computer readable storage medium storing program for executing
Computer instruction is stored, the computer instruction makes the computer perform the method that above-mentioned each method embodiment is provided, example
Such as include:If being determined to send task operating instruction according to the HTTP request of reception, task operating instruction is encapsulated as by S1
The data packet of encryption format;The data packet is sent to agent ends, for agent ends root by S2 using Socket agreements
According to the data packet task is performed using the timer timing at the agent ends.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
Distributed task management apparatus embodiments described above are only schematical, wherein described be used as separation unit
The unit that part illustrates may or may not be physically separate, and the component shown as unit can be or also may be used
Not to be physical location, you can be located at a place or can also be distributed in multiple network element.It can be according to reality
Need some or all of module therein is selected to realize the purpose of this embodiment scheme.Those of ordinary skill in the art exist
In the case of not paying performing creative labour, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on
Technical solution is stated substantially in other words to embody the part that the prior art contributes in the form of software product, it should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers
Order, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs each implementation
Method described in some parts of example or embodiment.
Finally, the present processes are only preferable embodiment, are not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modifications, equivalent replacements and improvements are made should be included in the protection of the present invention
Within the scope of.
Claims (10)
- A kind of 1. distributed task management method, which is characterized in that including:S1 if being determined to send task operating instruction according to the HTTP request of reception, task operating instruction is encapsulated as adding The data packet of close form;The data packet is sent to agent ends by S2 using Socket agreements, so that the agent ends are according to the data packet Task is performed using the timer timing at the agent ends.
- 2. according to the method described in claim 1, it is characterized in that, task operating instruction includes user management instruction, machine One or more in device management instruction, project management instruction, task management instruction or log management instruction;Correspondingly, further included before the step S1:Determined whether to send user management instruction, machine handing instruction, project management instruction, task according to the HTTP request of reception Management instruction or log management instruction.
- 3. according to the method described in claim 2, it is characterized in that, user management instruction includes user's registration instruction, uses Family logs in the one or more in instruction and user authority management instruction;Machine handing instruction includes checking machine list instruction, newly-increased machine instruction, delete machine instruction and update and Dispose the one or more in the batch instruction at agent ends;Project management instruction include checking bulleted list instruction, new projects instruction and delete one kind in item instruction or It is a variety of;Task management instruction include checking assignment instructions, newly-increased assignment instructions, delete assignment instructions, mission-enabling instruction, One or more in task suspension instruction, tasks synchronization instruction and tasks carrying once command;The log management instruction includes checking log list instruction and deletes the one or more in log instruction.
- 4. according to the method described in claim 1, it is characterized in that, the step S2 is specifically included:The data packet is sent to agent ends using Socket agreements, so that the agent ends solve the data packet Analysis, obtains the task operating instruction, and the agent ends are instructed according to the task operating and performed using timer timing Task.
- 5. according to the method described in claim 1, it is characterized in that, the step S2 is specifically included:Obtain the machine that the project belonging to the corresponding task of the task operating instruction and the project are disposed;The data packet is sent to the machine using Socket agreements, so that the machine uses institute according to the data packet State timer timing execution task.
- 6. according to any methods of claim 1-5, which is characterized in that further included after the step S2:The task action result that the agent ends are sent is received, database is updated according to the task action result.
- 7. a kind of distributed task management system, which is characterized in that including:Judging unit, for when determining to send task operating instruction according to the HTTP request of reception, the task operating to be referred to Order is encapsulated as the data packet of encryption format;Transmitting element, for the data packet to be sent to agent ends using Socket agreements, for the agent ends according to The data packet performs task using the timer timing at the agent ends.
- 8. device according to claim 7, which is characterized in that the transmitting element is specifically used for:Obtain the machine that the project belonging to the corresponding task of the task operating instruction and the project are disposed;The data packet is sent to the machine using Socket agreements, so that the machine uses institute according to the data packet State timer timing execution task.
- 9. a kind of distributed task management equipment, which is characterized in that including:At least one processor, at least one processor and bus;Wherein,The processor and memory complete mutual communication by the bus;The memory storage has the program instruction that can be performed by the processor, and the processor calls described program instruction energy Enough methods performed as described in claim 1 to 6 is any.
- 10. a kind of non-transient computer readable storage medium storing program for executing, which is characterized in that the non-transient computer readable storage medium storing program for executing is deposited Computer instruction is stored up, the computer instruction makes the computer perform the method as described in claim 1 to 6 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711278274.7A CN108108234A (en) | 2017-12-06 | 2017-12-06 | A kind of distributed task management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711278274.7A CN108108234A (en) | 2017-12-06 | 2017-12-06 | A kind of distributed task management method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108108234A true CN108108234A (en) | 2018-06-01 |
Family
ID=62209118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711278274.7A Pending CN108108234A (en) | 2017-12-06 | 2017-12-06 | A kind of distributed task management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108234A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582840A (en) * | 2018-10-17 | 2019-04-05 | 广州宏数科技有限公司 | Method, equipment, medium and system based on long-distance network real-time data collection |
CN110597603A (en) * | 2019-06-03 | 2019-12-20 | 上海云盾信息技术有限公司 | Scheduling method and system of distributed scheduling tasks |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197700A (en) * | 2006-12-05 | 2008-06-11 | 阿里巴巴公司 | Method and system for providing log service |
CN201984530U (en) * | 2010-05-18 | 2011-09-21 | 宁波高新区宇善科技有限公司 | Automatic networking verification system for blank client identities |
CN102938783A (en) * | 2012-10-30 | 2013-02-20 | 中兴通讯股份有限公司 | Socket processing method and device and Web server |
CN104461752A (en) * | 2014-11-21 | 2015-03-25 | 浙江宇视科技有限公司 | Two-level fault-tolerant multimedia distributed task processing method |
CN105468378A (en) * | 2015-12-11 | 2016-04-06 | 上海爱数信息技术股份有限公司 | Software continuous integration configuration management method and system |
CN106126332A (en) * | 2016-06-27 | 2016-11-16 | 北京京东尚科信息技术有限公司 | Distributed timing task scheduling system and method |
CN106372859A (en) * | 2016-09-20 | 2017-02-01 | 中国银联股份有限公司 | Timing task control analysis method and system, and master control server |
CN106802832A (en) * | 2017-01-06 | 2017-06-06 | 网易(杭州)网络有限公司 | Jenkins node states management method and device |
CN107273194A (en) * | 2017-05-23 | 2017-10-20 | 北京小度信息科技有限公司 | Task executing method and terminal device |
-
2017
- 2017-12-06 CN CN201711278274.7A patent/CN108108234A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197700A (en) * | 2006-12-05 | 2008-06-11 | 阿里巴巴公司 | Method and system for providing log service |
CN201984530U (en) * | 2010-05-18 | 2011-09-21 | 宁波高新区宇善科技有限公司 | Automatic networking verification system for blank client identities |
CN102938783A (en) * | 2012-10-30 | 2013-02-20 | 中兴通讯股份有限公司 | Socket processing method and device and Web server |
CN104461752A (en) * | 2014-11-21 | 2015-03-25 | 浙江宇视科技有限公司 | Two-level fault-tolerant multimedia distributed task processing method |
CN105468378A (en) * | 2015-12-11 | 2016-04-06 | 上海爱数信息技术股份有限公司 | Software continuous integration configuration management method and system |
CN106126332A (en) * | 2016-06-27 | 2016-11-16 | 北京京东尚科信息技术有限公司 | Distributed timing task scheduling system and method |
CN106372859A (en) * | 2016-09-20 | 2017-02-01 | 中国银联股份有限公司 | Timing task control analysis method and system, and master control server |
CN106802832A (en) * | 2017-01-06 | 2017-06-06 | 网易(杭州)网络有限公司 | Jenkins node states management method and device |
CN107273194A (en) * | 2017-05-23 | 2017-10-20 | 北京小度信息科技有限公司 | Task executing method and terminal device |
Non-Patent Citations (3)
Title |
---|
_简_述_: "计划任务WebCron之CronAdmin搭建(2)", 《HTTPS://WWW.JIANSHU.COM/P/519E33175924》 * |
_简_述_: "计划任务WebCron之架构介绍(1)", 《HTTPS://WWW.JIANSHU.COM/P/F353D85B3DDC》 * |
ORDER_C: "gocron - 定时任务web管理系统", 《HTTP://WWW.SUONIAO.COM/ARTICLE/45290》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582840A (en) * | 2018-10-17 | 2019-04-05 | 广州宏数科技有限公司 | Method, equipment, medium and system based on long-distance network real-time data collection |
CN110597603A (en) * | 2019-06-03 | 2019-12-20 | 上海云盾信息技术有限公司 | Scheduling method and system of distributed scheduling tasks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844198B (en) | Distributed dispatching automation test platform and method | |
CN105357296B (en) | Elastic caching system under a kind of Docker cloud platforms | |
CN101118521B (en) | System and method for spanning multiple logical sectorization to distributing virtual input-output operation | |
CN108600029A (en) | A kind of configuration file update method, device, terminal device and storage medium | |
US20160301591A1 (en) | Detecting events in cloud computing environments and performing actions upon occurrence of the events | |
US9571414B2 (en) | Multi-tiered processing using a distributed strict queue | |
CN107229520A (en) | Data center operating system | |
US20150319050A1 (en) | Method and apparatus for a fully automated engine that ensures performance, service availability, system availability, health monitoring with intelligent dynamic resource scheduling and live migration capabilities | |
US20150381511A1 (en) | Client selection in a distributed strict queue | |
US20150381549A1 (en) | Message batching in a distributed strict queue | |
CN107508722A (en) | A kind of business monitoring method and device | |
CN111338773A (en) | Distributed timed task scheduling method, scheduling system and server cluster | |
US10791144B1 (en) | Container life cycle management with honeypot service | |
US9323591B2 (en) | Listening for externally initiated requests | |
CN110086652A (en) | A kind of management system and its method for service network element in 5G core net | |
CN109656690A (en) | Scheduling system, method and storage medium | |
US8832215B2 (en) | Load-balancing in replication engine of directory server | |
CN105553732B (en) | A kind of distributed network analogy method and system | |
CN110177146A (en) | A kind of non-obstruction Restful communication means, device and equipment based on asynchronous event driven | |
CN109302324A (en) | A kind of private clound monitoring and early warning method and system | |
CN108108234A (en) | A kind of distributed task management method and system | |
CN107666401A (en) | A kind of configuration information obtaining method and terminal | |
EP4024761A1 (en) | Communication method and apparatus for multiple management domains | |
CN105827744A (en) | Data processing method of cloud storage platform | |
CN103514044B (en) | Resource optimization method, device and system of dynamic behavior analysis system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180601 |
|
RJ01 | Rejection of invention patent application after publication |