CN107025131A - A kind of method for scheduling task and device - Google Patents

A kind of method for scheduling task and device Download PDF

Info

Publication number
CN107025131A
CN107025131A CN201610069625.2A CN201610069625A CN107025131A CN 107025131 A CN107025131 A CN 107025131A CN 201610069625 A CN201610069625 A CN 201610069625A CN 107025131 A CN107025131 A CN 107025131A
Authority
CN
China
Prior art keywords
job
terminal
task
oriented terminal
oriented
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610069625.2A
Other languages
Chinese (zh)
Other versions
CN107025131B (en
Inventor
孙子荀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610069625.2A priority Critical patent/CN107025131B/en
Priority to PCT/CN2017/071901 priority patent/WO2017133487A1/en
Publication of CN107025131A publication Critical patent/CN107025131A/en
Application granted granted Critical
Publication of CN107025131B publication Critical patent/CN107025131B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
    • G06F9/4837Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority time dependent

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention discloses a kind of method for scheduling task and device, methods described includes:First job-oriented terminal is according to the quantity of the job-oriented terminal that scheduler task is currently available in the affiliated operation cluster of the first job-oriented terminal, the task schedule information of each being currently needed for processing of the task is obtained, the job-oriented terminal of scheduler task is currently available in operation cluster includes the first job-oriented terminal;First job-oriented terminal obtains the terminal arrangement information of the first job-oriented terminal according to the terminal identification information for the job-oriented terminal that scheduler task is currently available in operation cluster;First job-oriented terminal dispatches task corresponding with the task schedule information of terminal arrangement information matches.Using the embodiment of the present invention, the validity and reliability of task scheduling can be improved.

Description

A kind of method for scheduling task and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for scheduling task and device.
Background technology
Kiosk cluster, i.e., the terminal device of multiple processing tasks.Kiosk cluster can include asking for front end Cluster and the operation cluster of rear end are asked, wherein after the requesting terminal in request cluster receives multiple requests, The task of respective amount can be generated, the task of generation is distributed to and received in operation cluster, operation cluster The job-oriented terminal of task is handled the task.
Traditional method for scheduling task can include HASH distribution methods and message queue decoupling method.Wherein, HASH distribution methods are specifically as follows:Ask the requesting terminal in cluster will not by default HASH functions The different work terminal in operation cluster is distributed to task, due to default HASH functions be it is set in advance, After job-oriented terminal in dilatation or reduction operation cluster, requesting terminal by default HASH functions without Method assigns the task to increased job-oriented terminal or still assigns the task to the operation that has dropped out operation cluster Terminal, causes task can not normal consistency, the reliability of reduction job scheduling.Message queue decoupling method has Body can be:Ask cluster in requesting terminal by Distributed Message Queue component by task scheduling to operation Job-oriented terminal in cluster, but the limited performance of task scheduling handling up and network delay in message queue, Same job-oriented terminal can not dispatch multiple tasks simultaneously, and the validity of task scheduling is relatively low.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is there is provided a kind of method for scheduling task and device, The validity and reliability of task scheduling can be improved.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of method for scheduling task, the side Method includes:
First job-oriented terminal is currently available for scheduler task according in the affiliated operation cluster of first job-oriented terminal Job-oriented terminal quantity, obtain each be currently needed for processing task task schedule information, operation cluster In be currently available for scheduler task job-oriented terminal include first job-oriented terminal;
First job-oriented terminal is according to the job-oriented terminal that scheduler task is currently available in the operation cluster Terminal identification information, obtains the terminal arrangement information of first job-oriented terminal;
First job-oriented terminal dispatches corresponding of the task schedule information with the terminal arrangement information matches Business.
Correspondingly, the embodiment of the present invention additionally provides a kind of task scheduling apparatus, including:
Task schedule information acquiring unit, for according to currently available in the affiliated operation cluster of the first job-oriented terminal In the quantity of the job-oriented terminal of scheduler task, the task schedule information of each being currently needed for processing of the task is obtained, The job-oriented terminal of scheduler task is currently available in operation cluster includes first job-oriented terminal;
Terminal arrangement information acquisition unit, for being currently available for scheduler task according in the operation cluster The terminal identification information of job-oriented terminal, obtains the terminal arrangement information of first job-oriented terminal;
Task scheduling unit, it is corresponding with the task schedule information of the terminal arrangement information matches for dispatching Task.
Implement the embodiment of the present invention, the first job-oriented terminal is according to current in the affiliated operation cluster of the first job-oriented terminal Available for the quantity of the job-oriented terminal of scheduler task, the task scheduling of each being currently needed for processing of the task is obtained Information, according to the terminal identification information for the job-oriented terminal that scheduler task is currently available in operation cluster, is obtained The terminal arrangement information of first job-oriented terminal, is dispatched corresponding with the task schedule information of terminal arrangement information matches Task.Wherein, task corresponding with the task schedule information of terminal arrangement information matches can include it is multiple, Then the first job-oriented terminal can Parallel Scheduling multiple tasks, the validity of raising task scheduling;In addition, working as operation When cluster carries out the renewal such as dilatation or capacity reducing, the first job-oriented terminal can be believed task schedule information and terminal arrangement Breath is updated, increased job-oriented terminal schedulable task, is exited the job-oriented terminal of operation cluster and can not be dispatched Task, can be achieved the normal consistency of task, improve the reliability of task scheduling.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to implementing The accompanying drawing used required in example or description of the prior art is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the method for scheduling task provided in the embodiment of the present invention;
Fig. 2A is a kind of interface schematic diagram of the task scheduling provided in the embodiment of the present invention;
Fig. 2 B are a kind of views of the operation cluster provided in the embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of the method for scheduling task provided in another embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the task scheduling apparatus provided in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of the terminal provided in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that is obtained, belong to the scope of protection of the invention.
Above-mentioned method for scheduling task may operate in tablet personal computer, mobile phone, personal computer (Personal Computer, PC), in the terminal such as notebook computer or Web TV.
Refer to Fig. 1, Fig. 1 is a kind of schematic flow sheet of method for scheduling task in the embodiment of the present invention, such as Method for scheduling task in the embodiment of the present invention shown in figure can include:
S101, the first job-oriented terminal is appointed according to scheduling is currently available in the affiliated operation cluster of the first job-oriented terminal The quantity of the job-oriented terminal of business, obtains the task schedule information of each being currently needed for processing of the task.
First job-oriented terminal can be currently available for scheduler task according in the affiliated operation cluster of the first job-oriented terminal Job-oriented terminal quantity, obtain each be currently needed for processing task task schedule information.Wherein, make Industry cluster can include all or part of operation at least one job-oriented terminal, at least one job-oriented terminal Terminal is the job-oriented terminal for being currently available for scheduler task, and the first job-oriented terminal can be to be currently available for scheduling Any job-oriented terminal in the job-oriented terminal of task.The operation that scheduler task is currently available in operation cluster is whole The quantity at end is more than or equal to 1.Task schedule information is used to identify being currently needed for processing of the task, and task is adjusted It can be numerical value, the natural number such as 0 or 1 to spend information.Optionally, the task scheduling letter of different task Breath be able to can also be differed, same task schedule information can correspond to one or more task with identical.
In an alternative embodiment, the first job-oriented terminal can obtain the arrangement sequence number of each task, obtain operation The quantity of the job-oriented terminal of scheduler task is currently available in cluster, by the arrangement sequence number of each task to operation The quantity that the job-oriented terminal of scheduler task is currently available in cluster carries out modulus, obtains the task of each task Schedule information.
By taking the interface schematic diagram of the task scheduling shown in Fig. 2A as an example, the requesting terminal in the request cluster of front end Receive after request, corresponding task can be generated, and by task storage into presetting database.Each The task status of task can be DOING states or DONE states, and DOING states show the task Do not dispatched by job-oriented terminal, i.e., the task be currently needed for processing, DONE states show the task by Other job-oriented terminals are dispatched.Then job-oriented terminal scheduling is corresponding with the task identification information that terminal identification information is matched Task before, it can be determined that the task of the corresponding task of task identification information matched with terminal identification information Whether state is DOING states, and when the task status of the task is DOING states, job-oriented terminal can To dispatch the task, and then the state of the task can be updated to DONE states by preset data block.Wherein, Presetting database can include Mysql or Redis data blocks etc..Presetting database can be route with maintenance task Table, each task can be write in task routing table according to the sequencing of generation time, and during according to generation Between sequencing to each task distribution arrangement sequence number, each arrangement sequence number can be in increasing trend, for example Appointing in the arrangement serial number 1 of the task in first write-in task routing table, second write-in task routing table Arrangement serial number 2 of business, etc..Optionally, when the generation time that there are multiple tasks is identical, it can obtain The priority for the requesting terminal for generating above-mentioned task is taken, above-mentioned task is ranked up according to priority, for example Maximum arrangement serial number 2 in current task routing table, first task that the first requesting terminal is currently generated and the The generation time for the second task that two requesting terminals are currently generated is identical, and the priority of the first requesting terminal is higher than The priority of second requesting terminal, the then arrangement sequence number distributed first task can be 3, to the second task point The arrangement sequence number matched somebody with somebody can be 4.
Wherein, the first job-oriented terminal can determine that the task status for being currently needed for the task of processing is DOING shapes State, that is, the second task for arranging serial number 2, the 3rd task for arranging serial number 3 and arrangement serial number 4 The 4th task be currently needed for processing task.The operation that scheduler task is currently available in operation cluster is whole The quantity at end is 3, the arrangement serial number 2 of the second task, and the first job-oriented terminal can carry out modulus by 2 pair 3, The task schedule information for obtaining the second task is 2;The arrangement serial number 3 of 3rd task, the first job-oriented terminal can To carry out modulus by 3 pair 3, the task schedule information for obtaining the 3rd task is 0;The arrangement sequence number of 4th task For 4, the first job-oriented terminal can carry out modulus by 4 pair 3, and the task schedule information for obtaining the 4th task is 1.
Optionally, if the quantity that the job-oriented terminal of scheduler task is currently available in operation cluster has been carried out more Newly, then the task schedule information of each task can be also updated.If for example, currently may be used in operation cluster Quantity for the job-oriented terminal of scheduler task is updated to 4, and being currently needed for processing of the task keeps constant, that is, arranges Second task of row serial number 2, the 3rd task for arranging serial number 3 and arrange the 4th of serial number 4 Business, then the first job-oriented terminal can be by 2 pair of 4 progress modulus, and the task schedule information for obtaining the second task is 2; Modulus is carried out by 3 pair 4, the task schedule information for obtaining the 3rd task is 3;Modulus is carried out by 4 pair 4, is obtained Task schedule information to the 4th task is 0.
S102, the first job-oriented terminal is according to end of the job-oriented terminal that scheduler task is currently available in operation cluster Identification information is held, the terminal arrangement information of the first job-oriented terminal is obtained.
First job-oriented terminal can be according to the terminal of the job-oriented terminal that scheduler task is currently available in operation cluster Identification information, obtains the terminal arrangement information of the first job-oriented terminal.Wherein, terminal identification information can be used for Agreement (Internet Protocol, the IP) address that is interconnected between unique mark job-oriented terminal, such as network or International Mobile Equipment Identity mark (International Mobile Equipment Identity, IMEI) etc..Eventually End arrangement information is used to identify the job-oriented terminal for being currently available for scheduler task, and terminal arrangement information can be number Value, the natural number such as 0 or 1.Optionally, the terminal arrangement information of different work terminal is different.
In an alternative embodiment, the first job-oriented terminal can obtain in operation cluster and be currently available for scheduler task Job-oriented terminal terminal identification information, according to terminal identification information to be currently available in operation cluster scheduling The job-oriented terminal of task is ranked up, and obtains being currently available for the job-oriented terminal of scheduler task in operation cluster Arrange sequence number, using the arrangement sequence number of the first job-oriented terminal as the first job-oriented terminal terminal arrangement information.
In the specific implementation, the first job-oriented terminal can be obtained in the IP address and operation cluster of this job-oriented terminal It is other each can be used for scheduler task job-oriented terminal IP address, by the IP address and work of this job-oriented terminal Other each is compared available for the IP address of the job-oriented terminal of scheduler task in industry cluster, according to IP address With certain default order (such as order from big to small) in this job-oriented terminal and operation cluster it is other each Job-oriented terminal available for scheduler task is ranked up, other each in this job-oriented terminal and operation cluster to obtain The arrangement sequence number of the individual job-oriented terminal available for scheduler task, regard the arrangement sequence number of each job-oriented terminal as this The terminal arrangement information of job-oriented terminal.It can be used for the operation of scheduler task whole for example, operation cluster includes three End, the IP address of the first job-oriented terminal is 192.168.10.3, and the IP address of the second job-oriented terminal is 192.168.10.2, the IP address of the 3rd job-oriented terminal is 192.168.22.1, it may be determined that the 3rd job-oriented terminal IP address it is maximum, the IP address of the second job-oriented terminal is minimum, then the job-oriented terminal after sorting is:3rd makees Industry terminal, the first job-oriented terminal and the second job-oriented terminal, the arrangement serial number 0 of the 3rd job-oriented terminal, first The arrangement serial number 1 of job-oriented terminal, the arrangement serial number 2 of the second job-oriented terminal, and then the first work can be determined The terminal arrangement information of industry terminal is 1, and the terminal arrangement information of the second job-oriented terminal is 2, the 3rd job-oriented terminal Terminal arrangement information be 0.
Optionally, if the job-oriented terminal that scheduler task is currently available in operation cluster is updated, Each terminal arrangement information can be also updated.If for example, can be used for the work of scheduler task in operation cluster Industry terminal is updated, that is, is currently available for the job-oriented terminal of scheduler task and is included the first job-oriented terminal, the Three job-oriented terminals and the 4th job-oriented terminal, the IP address of the first job-oriented terminal is 192.168.10.3, and the 3rd makees The IP address of industry terminal is 192.168.22.1, and the IP address of the 4th job-oriented terminal is 192.168.23.1, can be with Determine that the IP address of the 4th job-oriented terminal is maximum, the IP address of the first job-oriented terminal is minimum, then the work after sorting Industry terminal is:4th job-oriented terminal, the 3rd job-oriented terminal and the first job-oriented terminal, the 4th job-oriented terminal Arrangement serial number 0, the arrangement serial number 1 of the 3rd job-oriented terminal, the arrangement serial number 2 of the first job-oriented terminal, The terminal arrangement information that the first job-oriented terminal can be determined is 2, and the terminal arrangement information of the 3rd job-oriented terminal is 1, The terminal arrangement information of 4th job-oriented terminal is 0.
It is pointed out that the determination mode of terminal arrangement information is including but not limited to the above method, such as The job-oriented terminal of scheduler task can be can be used for each in operation cluster according to the order of IP address from small to large It is ranked up, to obtain the terminal arrangement information of each job-oriented terminal, is not limited by the embodiment of the present invention specifically System.
S103, the first job-oriented terminal dispatches task corresponding with the task schedule information of terminal arrangement information matches.
First job-oriented terminal can dispatch task corresponding with the task schedule information of terminal arrangement information matches. In the specific implementation, the first job-oriented terminal can be with least one task of Parallel Scheduling, and at least one to scheduling Task is handled.For example, the task schedule information of the second task is 2, the task schedule information of the 3rd task For 0, the task schedule information of the 4th task is 1, and the terminal arrangement information of the first job-oriented terminal is 1, the The terminal arrangement information of two job-oriented terminals is 2, and the terminal arrangement information of the 3rd job-oriented terminal is 0, then first makees Industry terminal can dispatch the 4th task, and the second job-oriented terminal can dispatch the second task, and the 3rd job-oriented terminal can With the 3rd task of scheduling.
In an alternative embodiment, the first job-oriented terminal detects in operation cluster and is currently available for scheduler task , can be using the job-oriented terminal after renewal as being currently available in operation cluster adjusting when job-oriented terminal is updated The job-oriented terminal of degree task, and then the step of execution S101.For example, the first job-oriented terminal detects operation set Group has carried out dilatation, can be according to the job-oriented terminal that scheduler task is currently available in the operation cluster after dilatation Quantity, obtain each be currently needed for processing task task schedule information, according to the operation set after dilatation The terminal identification information of the job-oriented terminal of scheduler task is currently available in group, the end of the first job-oriented terminal is obtained Arrangement information is held, task corresponding with the task schedule information of the terminal arrangement information matches of local terminal is dispatched.Again Such as, the first job-oriented terminal detects operation cluster and has carried out capacity reducing, can be according in the operation cluster after capacity reducing The quantity of the job-oriented terminal of scheduler task is currently available for, the task of each being currently needed for processing of the task is obtained Schedule information, according to the terminal mark for the job-oriented terminal that scheduler task is currently available in the operation cluster after capacity reducing Know information, obtain the terminal arrangement information of the first job-oriented terminal, scheduling and the terminal arrangement information matches of local terminal The corresponding task of task schedule information.
Further alternative, the first job-oriented terminal can receive the second job-oriented terminal for needing to add operation cluster The terminal identification information for being directed to the job-oriented terminal that scheduler task is currently available in operation cluster sent is obtained please Ask, each terminal identification information is sent to the second job-oriented terminal, so that the second job-oriented terminal is according to terminal mark Know information, the job-oriented terminal that scheduler task is currently available for into operation cluster sends terminal arrangement information updating Request, the second job-oriented terminal receives the end for the job-oriented terminal feedback that scheduler task is currently available in operation cluster End arrangement updates response message, and the task schedule information for receiving the transmission of the second job-oriented terminal updates request, it is determined that The job-oriented terminal renewal that scheduler task is currently available in operation cluster is finished.
In the embodiment of the present invention, the first job-oriented terminal currently may be used according in the affiliated operation cluster of the first job-oriented terminal For the quantity of the job-oriented terminal of scheduler task, the task scheduling letter of each being currently needed for processing of the task is obtained Breath, according to the terminal identification information for the job-oriented terminal that scheduler task is currently available in operation cluster, obtains the The terminal arrangement information of one job-oriented terminal, is dispatched corresponding with the task schedule information of terminal arrangement information matches Task, can improve the validity and reliability of task scheduling.
Refer to Fig. 3, Fig. 3 is a kind of schematic flow sheet of method for scheduling task in another embodiment of the present invention, The method for scheduling task in the embodiment of the present invention can include as shown in the figure:
S301, first job-oriented terminal of second job-oriented terminal into operation cluster sends terminal identification information and obtained Request.
, can be to operation cluster when second job-oriented terminal needs to add the operation cluster belonging to the first job-oriented terminal In the first job-oriented terminal send be directed to operation cluster in be currently available for scheduler task job-oriented terminal terminal Identification information obtains request.Wherein, the first job-oriented terminal can appoint to be currently available for scheduling in operation set group At least one job-oriented terminal in the job-oriented terminal of business, and the first job-oriented terminal and the second job-oriented terminal set up logical Letter connection.When a job-oriented terminal in the first job-oriented terminal breaks down, cause can not be with the second job-oriented terminal During communication, other job-oriented terminals in the first job-oriented terminal can communicate with the second job-oriented terminal, improve data The reliability of processing.Second job-oriented terminal wishes to add in the operation cluster, and the operation cluster is not wrapped currently Include the second job-oriented terminal.
By taking the state diagram of the operation cluster shown in Fig. 2 B as an example, the state of job-oriented terminal can be ONLINE State, JOINING states, WORKING states, OFFLINE states and SILENCE states. Wherein ONLINE states show that the second job-oriented terminal is online, and by the first job-oriented terminal in operation cluster Accreditation, JOINING states show that the second job-oriented terminal prepares to add in operation cluster, WORKING states Show that the second job-oriented terminal can carry out task scheduling, OFFLINE states show the second job-oriented terminal and operation set All job-oriented terminals in group are not all communicated to connect, and SILENCE states show that the second job-oriented terminal is current not Task scheduling can be carried out.Further, operation set is received when the second job-oriented terminal is in ONLINE states The LSR bags that all job-oriented terminals for being currently available for scheduler task are sent in group, the state of the second job-oriented terminal It will be updated to SILENCE states.Second job-oriented terminal keeps will be updated to after SILENCE states 12s WORKING states.Second job-oriented terminal receives any in operation cluster when being in WORKING states The LSR bags that job-oriented terminal is sent, the state of the second job-oriented terminal will be updated to SILENCE states.Second Job-oriented terminal does not receive what all job-oriented terminals in operation cluster were sent when being in WORKING states HELLO bags, the state of the second job-oriented terminal will be updated to OFFLINE states.
Wherein, HELLO bags are for the mutual discovery between each job-oriented terminal in operation cluster.LSR bags are used In inform each job-oriented terminal in operation cluster need update schedule of tasks, that is, redefine each current Need the task schedule information of task to be processed.Any job-oriented terminal is in SILENCE states in operation cluster When receive other job-oriented terminals transmission LSR bags, will trigger the job-oriented terminal reply one LSR bag.
In the specific implementation, when the second job-oriented terminal needs to add in operation cluster, at the beginning of the second job-oriented terminal Beginning state is JOING states, and the second job-oriented terminal can be whole to the first operation that communication connection is set up with local terminal End sends terminal identification information and obtains request.It can be HELLO bags that terminal identification information, which obtains request, for example Second job-oriented terminal can be set up with the first job-oriented terminal and communicate to connect, and the state of the first job-oriented terminal is WORKING states, the second job-oriented terminal can send HELLO bags, the HELLO to the first job-oriented terminal Bag can carry the device-identification information of the second job-oriented terminal, and the first job-oriented terminal is according to the second job-oriented terminal Device-identification information determines the state of the second job-oriented terminal when being JOING states, and the first job-oriented terminal can be to Second job-oriented terminal feeds back each terminal identification information available for the terminal of scheduler task, such as the first operation Current schedule of tasks can be sent to the second job-oriented terminal by terminal, and schedule of tasks can include operation The terminal identification information of the job-oriented terminal of each in cluster.
S302, the second job-oriented terminal, which is received, is currently available for scheduling in the operation cluster that the first job-oriented terminal is sent The terminal identification information of the job-oriented terminal of task.
First job-oriented terminal is received after terminal identification information acquisition request, can respond terminal iidentification letter Breath obtains request, and the job-oriented terminal that scheduler task is currently available in operation cluster is fed back to the second job-oriented terminal Terminal identification information.Asked for example, the first job-oriented terminal can be obtained according to terminal identification information, to the Two job-oriented terminals send schedule of tasks.Each job-oriented terminal in operation cluster by maintenance task dispatch list, When operation cluster updates, each job-oriented terminal needs to update schedule of tasks.Schedule of tasks can be as follows It is shown:
[{NAME:IP a};{status:WORKING};{MOD:0}];
[{NAME:IP b};{status:WORKING};{MOD:1}];
[{NAME:IP c};{status:WORKING};{MOD:2}];
[{NAME:IP d};{status:WORKING};{MOD:3}].
It can be known by schedule of tasks, each can be used for the terminal iidentification letter of the job-oriented terminal of scheduler task Cease for IP address, the job-oriented terminal that IP address is a is in WORKING states, and what is be presently processing appoints The task schedule information of business is 0;IP address is in WORKING states for b job-oriented terminal, currently just It is 1 in the task schedule information of the task of processing;IP address is in WORKING shapes for c job-oriented terminal State, the task schedule information of being presently processing for task is 2;IP address is in for d job-oriented terminal WORKING states, the task schedule information of being presently processing for task is 3.
S303, the second job-oriented terminal is currently available for scheduling into operation cluster and appointed according to terminal identification information The job-oriented terminal of business sends terminal arrangement information updating request.
Second job-oriented terminal can be currently available for scheduling into operation cluster according to each terminal identification information The job-oriented terminal of task sends terminal arrangement information updating request.In the specific implementation, the second job-oriented terminal can be with According to the IP address of each job-oriented terminal, HELLO bags are sent to each job-oriented terminal.
S304, the second job-oriented terminal receives the job-oriented terminal feedback that scheduler task is currently available in operation cluster Terminal arrangement update response message.
The job-oriented terminal that second job-oriented terminal is currently available for scheduler task into operation cluster sends terminal arrangement After information updating request, the terminal arrangement that can receive the transmission of each job-oriented terminal updates response message.Tool During body is realized, after the second job-oriented terminal sends HELLO bags according to terminal identification information to each job-oriented terminal, The HELLO bags of each job-oriented terminal reply can be received, and then the state of the second job-oriented terminal is updated to ONLINE states.Each job-oriented terminal can be updated to schedule of tasks in operation cluster, after renewal Schedule of tasks can be:
[{NAME:IP a};{status:WORKING};{MOD:0}];
[{NAME:IP b};{status:WORKING};{MOD:1}];
[{NAME:IP c};{status:WORKING};{MOD:2}];
[{NAME:IP d};{status:WORKING};{MOD:3}];
[{NAME:IP e};{status:ONLINE};{MOD:N/A}].
Wherein, the job-oriented terminal that IP address is e is the second job-oriented terminal, and the state of the second job-oriented terminal is ONLINE states, N/A shows that the second job-oriented terminal does not carry out task scheduling currently.
S305, the job-oriented terminal transmission that the second job-oriented terminal is currently available for scheduler task into operation cluster is appointed Schedule information of being engaged in updates request.
In the specific implementation, it can be LSR bags that task schedule information, which updates request,.For example, the second job-oriented terminal Receive and be currently available in operation cluster after the HELLO bags of the job-oriented terminal of scheduler task transmission, second makees The state of industry terminal is updated to ONLINE states, and then scheduling times can be currently available for into operation cluster The job-oriented terminal of business sends LSR bags, the operation for being currently available for scheduler task in WORKING states Terminal is received after LSR bags, and state can be updated to SILENCE states.Each job-oriented terminal connects Receive after LSR bags, LSR bags can be replied to the second job-oriented terminal, the second job-oriented terminal is in ONLINE The LSR bags that all job-oriented terminals in operation cluster are sent are received during state, state can be updated to SILENCE states, each job-oriented terminal in SILENCE states can not dispatch new task, then respectively Individual job-oriented terminal can be updated to the task schedule information for being currently needed for processing of the task.
S306, the second job-oriented terminal is according to the number of the job-oriented terminal that scheduler task is currently available in operation cluster Amount, obtains the task schedule information of each being currently needed for processing of the task.
For example, the quantity that the job-oriented terminal of scheduler task is currently available in operation cluster is 5, place is currently needed for The task of reason includes the second task of arrangement serial number 2, the 3rd task for arranging serial number 3 and arrangement sequence Number be 4 the 4th task, the second job-oriented terminal can by 2 pair 5 carry out modulus, obtain the second task appoint Schedule information of being engaged in is 2;Modulus is carried out by 3 pair 5, the task schedule information for obtaining the 3rd task is 3;By 4 Modulus is carried out to 5, the task schedule information for obtaining the 4th task is 4.
S307, the second job-oriented terminal is according to end of the job-oriented terminal that scheduler task is currently available in operation cluster Identification information is held, the terminal arrangement information of the second job-oriented terminal is obtained.
For example, the second job-oriented terminal can obtain other each in the IP address and operation cluster of this job-oriented terminal The IP address of the individual job-oriented terminal available for scheduler task, by the IP address of this job-oriented terminal and operation cluster In other each can be used for the IP address of job-oriented terminal of scheduler task to be compared, according to IP address with default Certain order (such as order from big to small) other each in this job-oriented terminal and operation cluster can be used for The job-oriented terminal of scheduler task is ranked up, and can use with obtaining other each in this job-oriented terminal and operation cluster It is whole using the arrangement sequence number of each job-oriented terminal as the operation in the arrangement sequence number of the job-oriented terminal of scheduler task The terminal arrangement information at end.
In the specific implementation, the second job-oriented terminal obtains the task schedule information for being currently needed for processing of the task, with And be currently available in operation cluster after the terminal identification information of the job-oriented terminal of scheduler task, can be to appointing Business dispatch list is updated.
S308, the scheduling of the second job-oriented terminal and the task scheduling of the terminal arrangement information matches of the second job-oriented terminal The corresponding task of information.
Second job-oriented terminal starts in SILENCE states after the 12s of interval, can be updated to WORKING states, and then dispatch the task scheduling letter with the terminal arrangement information matches of the second job-oriented terminal Cease corresponding task.In the embodiment of the present invention by SILENCE states be updated to WORKING states when Between interval be set as 12s, it can be ensured that the convergence uniformity of the schedule of tasks of different work terminal maintenance, simultaneously Ensure that the time delay of job-oriented terminal processing task in operation cluster is smaller.
In an alternative embodiment, when the job-oriented terminal in operation cluster does not connect within the cycle of 4 HELLO bags When receiving the HELLO bags of other job-oriented terminals transmission, the job-oriented terminal will move out the operation cluster.
In an alternative embodiment, when job-oriented terminal is in SILENCE states, it can suspend and actively make to other Industry terminal sends LSR bags or HELLO bags.It is received when operation end is in SILENCE states LSR bags or HELLO bags that his terminal is sent, can feed back LSR bags to other-end.
In an alternative embodiment, job-oriented terminal does not receive other operations end within the cycle of 2 HELLO bags When holding the HELLO bags sent, actively HELLO bags can be sent to other job-oriented terminals.
In the embodiment of the present invention, first job-oriented terminal of second job-oriented terminal into operation cluster sends terminal mark Know information acquisition request, receive in the operation cluster that the first job-oriented terminal is sent and be currently available for scheduler task The terminal identification information of job-oriented terminal, according to terminal identification information, scheduling is currently available for into operation cluster The job-oriented terminal of task sends terminal arrangement information updating request, receives and scheduling is currently available in operation cluster The terminal arrangement of the job-oriented terminal feedback of task updates response message, and scheduling is currently available for into operation cluster The job-oriented terminal of task sends task schedule information and updates request, according to being currently available for scheduling in operation cluster The quantity of the job-oriented terminal of task, obtains the task schedule information of each being currently needed for processing of the task, can carry The validity and reliability of high task scheduling.
Refer to Fig. 4, Fig. 4 is a kind of structural representation of the task scheduling apparatus provided in the embodiment of the present invention, Task scheduling apparatus in the embodiment of the present invention can include tablet personal computer, mobile phone, personal computer, notes The terminals such as this computer, mobile unit, Web TV, the task scheduling apparatus in the present embodiment is extremely as shown in the figure Task schedule information acquiring unit 401, terminal arrangement information acquisition unit 402 and task can be included less to adjust Unit 403 is spent, wherein:
Task schedule information acquiring unit 401, for currently may be used according in the affiliated operation cluster of the first job-oriented terminal For the quantity of the job-oriented terminal of scheduler task, the task scheduling letter of each being currently needed for processing of the task is obtained The job-oriented terminal of scheduler task is currently available in breath, operation cluster includes the first job-oriented terminal.
Terminal arrangement information acquisition unit 402, for according to the work that scheduler task is currently available in operation cluster The terminal identification information of industry terminal, obtains the terminal arrangement information of the first job-oriented terminal.
Task scheduling unit 403, for dispatching corresponding with the task schedule information of terminal arrangement information matches Business.
In an alternative embodiment, task schedule information acquiring unit 401, specifically for:
Obtain the arrangement sequence number of each task.
Obtain the quantity for the job-oriented terminal that scheduler task is currently available in operation cluster.
By the arrangement sequence number of each task to being currently available for the number of the job-oriented terminal of scheduler task in operation cluster Amount carries out modulus, obtains the task schedule information of each task.
In an alternative embodiment, terminal arrangement information acquisition unit 402, specifically for:
Obtain the terminal identification information for the job-oriented terminal that scheduler task is currently available in operation cluster.
The job-oriented terminal that scheduler task is currently available in operation cluster is ranked up according to terminal identification information, Obtain being currently available for the arrangement sequence number of the job-oriented terminal of scheduler task in operation cluster.
The arrangement sequence number of first job-oriented terminal is defined as to the terminal arrangement information of the first job-oriented terminal.
In an alternative embodiment, the task scheduling apparatus in the embodiment of the present invention can also include:
Job-oriented terminal determining unit 404, the operation of scheduler task is currently available for for detecting in operation cluster When terminal is updated, using the job-oriented terminal after renewal as being currently available for scheduler task in operation cluster Job-oriented terminal, triggering task schedule information acquiring unit 401 is appointed according to scheduling is currently available in operation cluster The quantity of the job-oriented terminal of business, obtains the task schedule information of each being currently needed for processing of the task.
In an alternative embodiment, job-oriented terminal determining unit 404 is detected is currently available for adjusting in operation cluster The job-oriented terminal of degree task is updated, specifically for:
Receiving needs being directed in operation cluster for the second job-oriented terminal for adding operation cluster transmission to be currently available for The terminal identification information of the job-oriented terminal of scheduler task obtains request.
Each terminal identification information is sent to the second job-oriented terminal, so that the second job-oriented terminal is according to terminal mark Know information, the job-oriented terminal that scheduler task is currently available for into operation cluster sends terminal arrangement information updating Request, the second job-oriented terminal receives the end for the job-oriented terminal feedback that scheduler task is currently available in operation cluster End arrangement updates response message.
The task schedule information for receiving the transmission of the second job-oriented terminal updates request.
Determine that the job-oriented terminal for being currently available for scheduler task in operation cluster updates to finish.
In the embodiment of the present invention, task schedule information acquiring unit 401 is according to the affiliated operation of the first job-oriented terminal The quantity of the job-oriented terminal of scheduler task is currently available in cluster, each being currently needed for processing of the task is obtained Task schedule information, terminal arrangement information acquisition unit 402 according to be currently available in operation cluster scheduling The terminal identification information of the job-oriented terminal of task, obtains the terminal arrangement information of the first job-oriented terminal, and task is adjusted Spend unit 403 and dispatch task corresponding with the task schedule information of terminal arrangement information matches, task can be improved The validity and reliability of scheduling.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention, and the present invention is real The terminal for applying example offer can be used for implementing the side that the embodiment of the present invention shown in above-mentioned Fig. 1 or Fig. 3 is realized Method, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not taken off Show, refer to the embodiment of the present invention shown in Fig. 1 or Fig. 3.
As shown in figure 5, the terminal includes:At least one processor 501, such as CPU, at least one is defeated Enter device 503, at least one output device 504, memory 505, at least one communication bus 502.Its In, communication bus 502 is used to realize the connection communication between these components.Wherein, input unit 503 has Body can be network interface, for being communicated with external network.Wherein, output device 504 specifically can be with For network interface, for being communicated with external network.Wherein, memory 505 may include high-speed RAM Memory, it is also possible to also including non-labile memory, for example, at least one magnetic disk storage is specific to use In store tasks, task identification information and terminal identification information.Memory 505 optionally can be comprising extremely Lack a storage device for being located remotely from aforementioned processor 501.Processor 501 can be with reference to shown in Fig. 4 Face value acquisition device.Batch processing code is stored in memory 505, and processor 501 calls memory 505 The program code of middle storage, for performing following operation:
Processor 501 is according to the operation that scheduler task is currently available in the affiliated operation cluster of the first job-oriented terminal The quantity of terminal, obtains current in the task schedule information of each being currently needed for processing of the task, operation cluster Job-oriented terminal available for scheduler task includes the first job-oriented terminal.
Processor 501 is believed according to the terminal iidentification for the job-oriented terminal that scheduler task is currently available in operation cluster Breath, obtains the terminal arrangement information of the first job-oriented terminal.
Input unit 503 dispatches task corresponding with the task schedule information of terminal arrangement information matches.
In an alternative embodiment, processor 501 is according to currently available in the affiliated operation cluster of the first job-oriented terminal In the quantity of the job-oriented terminal of scheduler task, the task schedule information for each task for being currently needed for processing is obtained, Specifically for:
Obtain the arrangement sequence number of each task.
Obtain the quantity for the job-oriented terminal that scheduler task is currently available in operation cluster.
By the arrangement sequence number of each task to being currently available for the number of the job-oriented terminal of scheduler task in operation cluster Amount carries out modulus, obtains the task schedule information of each task.
In an alternative embodiment, processor 501 is according to the operation that scheduler task is currently available in operation cluster The terminal identification information of terminal, obtains the terminal arrangement information of the first job-oriented terminal, specifically for:
Obtain the terminal identification information for the job-oriented terminal that scheduler task is currently available in operation cluster.
The job-oriented terminal that scheduler task is currently available in operation cluster is ranked up according to terminal identification information, Obtain being currently available for the arrangement sequence number of the job-oriented terminal of scheduler task in operation cluster.
Using the arrangement sequence number of the first job-oriented terminal as the first job-oriented terminal terminal arrangement information.
In an alternative embodiment, processor 501 can also carry out following operation:
Detect when the job-oriented terminal of scheduler task is currently available in operation cluster being updated, after renewal Job-oriented terminal be used as the job-oriented terminal that scheduler task is currently available in operation cluster.
The quantity according to the job-oriented terminal that scheduler task is currently available in operation cluster is performed, each is obtained and works as The step of task schedule information of preceding need task to be processed.
In an alternative embodiment, processor 501 detects the work that scheduler task is currently available in operation cluster Industry terminal is updated, specifically for:
Receiving needs being directed in operation cluster for the second job-oriented terminal for adding operation cluster transmission to be currently available for The terminal identification information of the job-oriented terminal of scheduler task obtains request.
Each terminal identification information is sent to the second job-oriented terminal, so that the second job-oriented terminal is according to terminal mark Know information, the job-oriented terminal that scheduler task is currently available for into operation cluster sends terminal arrangement information updating Request, the second job-oriented terminal receives the end for the job-oriented terminal feedback that scheduler task is currently available in operation cluster End arrangement updates response message.
The task schedule information for receiving the transmission of the second job-oriented terminal updates request.
Determine that the job-oriented terminal for being currently available for scheduler task in operation cluster updates to finish.
Specifically, the terminal introduced in the embodiment of the present invention can combine Fig. 1 or Fig. 3 to implement the present invention Part or all of flow in the embodiment of the method for introduction.
One of ordinary skill in the art will appreciate that all or part of flow in above-described embodiment method is realized, It can be by computer program to instruct the hardware of correlation to complete, described program can be stored in computer In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method. Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
Above disclosure is only preferred embodiment of present invention, can not limit the present invention's with this certainly Interest field, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (10)

1. a kind of method for scheduling task, it is characterised in that methods described includes:
First job-oriented terminal is currently available for scheduler task according in the affiliated operation cluster of first job-oriented terminal Job-oriented terminal quantity, obtain each be currently needed for processing task task schedule information, operation cluster In be currently available for scheduler task job-oriented terminal include first job-oriented terminal;
First job-oriented terminal is according to the job-oriented terminal that scheduler task is currently available in the operation cluster Terminal identification information, obtains the terminal arrangement information of first job-oriented terminal;
First job-oriented terminal dispatches corresponding of the task schedule information with the terminal arrangement information matches Business.
2. method according to claim 1, it is characterised in that first job-oriented terminal is according to described The quantity of the job-oriented terminal of scheduler task is currently available in the affiliated operation cluster of one job-oriented terminal, obtains current The task schedule information of each task to be processed is needed, including:
First job-oriented terminal obtains the arrangement sequence number of each task;
The job-oriented terminal of scheduler task is currently available in the first job-oriented terminal acquisition operation cluster Quantity;
First job-oriented terminal is by the arrangement sequence number of each task to currently available in the operation cluster Modulus is carried out in the quantity of the job-oriented terminal of scheduler task, the task schedule information of each task is obtained.
3. method according to claim 1, it is characterised in that first job-oriented terminal is made according to described The terminal identification information of the job-oriented terminal of scheduler task is currently available in industry cluster, first operation is obtained The terminal arrangement information of terminal, including:
The job-oriented terminal of scheduler task is currently available in the first job-oriented terminal acquisition operation cluster Terminal identification information;
First job-oriented terminal is according to the terminal identification information to being currently available for adjusting in the operation cluster The job-oriented terminal of degree task is ranked up, and obtains being currently available for the operation of scheduler task in the operation cluster The arrangement sequence number of terminal;
First job-oriented terminal regard the arrangement sequence number of first job-oriented terminal as first job-oriented terminal Terminal arrangement information.
4. method according to claim 1, it is characterised in that methods described also includes:
Detect when the job-oriented terminal of scheduler task is currently available in the operation cluster being updated, it is described First job-oriented terminal is using the job-oriented terminal after renewal as being currently available for scheduler task in the operation cluster Job-oriented terminal;
First job-oriented terminal performs whole according to the operation that scheduler task is currently available in the operation cluster The quantity at end, the step of obtaining the task schedule information of each being currently needed for processing of the task.
5. method according to claim 4, it is characterised in that first job-oriented terminal detects described The job-oriented terminal that scheduler task is currently available in operation cluster is updated, including:
First job-oriented terminal, which is received, needs being directed to for the second job-oriented terminal for adding operation cluster transmission The terminal identification information that the job-oriented terminal of scheduler task is currently available in the operation cluster obtains request;
Each described terminal identification information is sent to second job-oriented terminal by first job-oriented terminal, with Make second job-oriented terminal according to the terminal identification information, be currently available for adjusting into the operation cluster The job-oriented terminal of degree task sends terminal arrangement information updating request, and second job-oriented terminal receives described make The terminal arrangement that the job-oriented terminal feedback of scheduler task is currently available in industry cluster updates response message;
First job-oriented terminal receives the task schedule information renewal request that second job-oriented terminal is sent;
First job-oriented terminal determines to be currently available for the job-oriented terminal of scheduler task more in the operation cluster Newly finish.
6. a kind of task scheduling apparatus, it is characterised in that including:
Task schedule information acquiring unit, for according to currently available in the affiliated operation cluster of the first job-oriented terminal In the quantity of the job-oriented terminal of scheduler task, the task schedule information of each being currently needed for processing of the task is obtained, The job-oriented terminal of scheduler task is currently available in operation cluster includes first job-oriented terminal;
Terminal arrangement information acquisition unit, for being currently available for scheduler task according in the operation cluster The terminal identification information of job-oriented terminal, obtains the terminal arrangement information of first job-oriented terminal;
Task scheduling unit, it is corresponding with the task schedule information of the terminal arrangement information matches for dispatching Task.
7. device according to claim 6, it is characterised in that the task schedule information acquiring unit, Specifically for:
Obtain the arrangement sequence number of each task;
Obtain the quantity for the job-oriented terminal that scheduler task is currently available in the operation cluster;
By the arrangement sequence number of each task to being currently available for the operation of scheduler task in the operation cluster The quantity of terminal carries out modulus, obtains the task schedule information of each task.
8. device according to claim 6, it is characterised in that the terminal arrangement information acquisition unit, Specifically for:
Obtain the terminal identification information for the job-oriented terminal that scheduler task is currently available in the operation cluster;
According to the terminal identification information to being currently available for the job-oriented terminal of scheduler task in the operation cluster It is ranked up, obtains being currently available for the arrangement sequence number of the job-oriented terminal of scheduler task in the operation cluster;
Using the arrangement sequence number of first job-oriented terminal as first job-oriented terminal terminal arrangement information.
9. device according to claim 6, it is characterised in that described device also includes:
Job-oriented terminal determining unit, the work of scheduler task is currently available for for detecting in the operation cluster When industry terminal is updated, using the job-oriented terminal after renewal as being currently available for scheduling in the operation cluster The job-oriented terminal of task, triggers the task schedule information acquiring unit and currently may be used according in the operation cluster For the quantity of the job-oriented terminal of scheduler task, the task scheduling letter of each being currently needed for processing of the task is obtained Breath.
10. device according to claim 9, it is characterised in that the job-oriented terminal determining unit detection The job-oriented terminal that scheduler task is currently available for into the operation cluster is updated, specifically for:
Receive need to add the second job-oriented terminal of the operation cluster sends be directed in the operation cluster when The terminal identification information of the preceding job-oriented terminal available for scheduler task obtains request;
Each described terminal identification information is sent to second job-oriented terminal, so that second operation is whole End is currently available for the job-oriented terminal of scheduler task into the operation cluster according to the terminal identification information Terminal arrangement information updating request is sent, second job-oriented terminal receives currently available in the operation cluster The terminal arrangement fed back in the job-oriented terminal of scheduler task updates response message;
Receive the task schedule information renewal request that second job-oriented terminal is sent;
Determine that the job-oriented terminal for being currently available for scheduler task in the operation cluster updates to finish.
CN201610069625.2A 2016-02-01 2016-02-01 Task scheduling method and device Active CN107025131B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610069625.2A CN107025131B (en) 2016-02-01 2016-02-01 Task scheduling method and device
PCT/CN2017/071901 WO2017133487A1 (en) 2016-02-01 2017-01-20 Service scheduling method and device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069625.2A CN107025131B (en) 2016-02-01 2016-02-01 Task scheduling method and device

Publications (2)

Publication Number Publication Date
CN107025131A true CN107025131A (en) 2017-08-08
CN107025131B CN107025131B (en) 2020-12-29

Family

ID=59499389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069625.2A Active CN107025131B (en) 2016-02-01 2016-02-01 Task scheduling method and device

Country Status (2)

Country Link
CN (1) CN107025131B (en)
WO (1) WO2017133487A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290215A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method for transmitting signals and device
CN111130007A (en) * 2019-12-11 2020-05-08 深圳供电局有限公司 Sequential power transmission line field operation method and system
CN112396277A (en) * 2019-08-19 2021-02-23 同方威视技术股份有限公司 Graph judging task distribution system and method for distributing graph judging tasks

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109634730B (en) * 2018-11-26 2024-05-31 平安科技(深圳)有限公司 Task scheduling method, device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090288087A1 (en) * 2008-05-16 2009-11-19 Microsoft Corporation Scheduling collections in a scheduler
CN102402606A (en) * 2011-11-28 2012-04-04 中国科学院计算机网络信息中心 High-efficiency text data mining method
CN102722413A (en) * 2012-05-16 2012-10-10 上海兆民云计算科技有限公司 Distributed resource scheduling method for desktop cloud cluster
CN102968491A (en) * 2012-11-27 2013-03-13 深圳市网信联动技术有限公司 Data distributing method and device
CN104317658A (en) * 2014-10-17 2015-01-28 华中科技大学 MapReduce based load self-adaptive task scheduling method
CN104601704A (en) * 2015-01-19 2015-05-06 深圳市普天宜通技术有限公司 Task based group dispatching data processing method and system
CN105224612A (en) * 2015-09-14 2016-01-06 成都信息工程大学 Based on the MapReduce data Localization methodologies of dynamically labeled preferred value

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604261B (en) * 2009-07-08 2013-07-31 深圳先进技术研究院 Task scheduling method for supercomputer
CN103810045B (en) * 2012-11-09 2016-12-21 阿里巴巴集团控股有限公司 Resource allocation methods, explorer, Resource Server and system
US10216542B2 (en) * 2014-03-17 2019-02-26 Huawei Technologies Co., Ltd. Resource comparison based task scheduling method, apparatus, and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090288087A1 (en) * 2008-05-16 2009-11-19 Microsoft Corporation Scheduling collections in a scheduler
CN102402606A (en) * 2011-11-28 2012-04-04 中国科学院计算机网络信息中心 High-efficiency text data mining method
CN102722413A (en) * 2012-05-16 2012-10-10 上海兆民云计算科技有限公司 Distributed resource scheduling method for desktop cloud cluster
CN102968491A (en) * 2012-11-27 2013-03-13 深圳市网信联动技术有限公司 Data distributing method and device
CN104317658A (en) * 2014-10-17 2015-01-28 华中科技大学 MapReduce based load self-adaptive task scheduling method
CN104601704A (en) * 2015-01-19 2015-05-06 深圳市普天宜通技术有限公司 Task based group dispatching data processing method and system
CN105224612A (en) * 2015-09-14 2016-01-06 成都信息工程大学 Based on the MapReduce data Localization methodologies of dynamically labeled preferred value

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨寅: "Web应用服务器集群典型负载分配算法的改进研究", 《网络安全技术与应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290215A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method for transmitting signals and device
CN110290215B (en) * 2019-06-28 2021-09-28 深圳前海微众银行股份有限公司 Signal transmission method and device
CN112396277A (en) * 2019-08-19 2021-02-23 同方威视技术股份有限公司 Graph judging task distribution system and method for distributing graph judging tasks
CN111130007A (en) * 2019-12-11 2020-05-08 深圳供电局有限公司 Sequential power transmission line field operation method and system

Also Published As

Publication number Publication date
WO2017133487A1 (en) 2017-08-10
CN107025131B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN107025131A (en) A kind of method for scheduling task and device
CN105259806B (en) Controller upgrade method and system and master controller and from controller
CN105511954A (en) Method and device for message processing
CN113051019A (en) Flow task execution control method, device and equipment
CN111104210A (en) Task processing method and device and computer system
CN104484167B (en) Task processing method and device
CN102760082B (en) A kind of task management method and mobile terminal
CN110377409A (en) A kind of task processing method, device, equipment and medium
US20110131288A1 (en) Load-Balancing In Replication Engine of Directory Server
CN112817748A (en) Task processing method based on android virtual machine and computer equipment
CN109788325A (en) Video task distribution method and server
CN110912805B (en) Message reading state synchronization method, terminal, server and system
CN114285695B (en) Communication method, device, apparatus, system and storage medium
CN106412088B (en) Data synchronization method and terminal
CN103299298A (en) Service processing method and system
KR100845707B1 (en) Multi-planner operation planning system and method of container terminal
CN105933136A (en) Resource scheduling method and system
CN102347878A (en) Multi-point communication system, method and equipment
CA2439007A1 (en) Method and system for distributed processing management
CN115344370A (en) Task scheduling method, device, equipment and storage medium
CN107968718A (en) A kind of method, apparatus and equipment for confirming standby usage state
CN107707424A (en) The control method and system of load condition
CN104123261B (en) A kind of electronic equipment and information transferring method
JP4232109B2 (en) Real-time processing system, processing apparatus, real-time processing method, and program
CN105578352B (en) A kind of control method that speaker is restarted, device and mobile terminal, speaker and 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
GR01 Patent grant
GR01 Patent grant