CN105608531A - Task dispatching method and device - Google Patents

Task dispatching method and device Download PDF

Info

Publication number
CN105608531A
CN105608531A CN201510959310.0A CN201510959310A CN105608531A CN 105608531 A CN105608531 A CN 105608531A CN 201510959310 A CN201510959310 A CN 201510959310A CN 105608531 A CN105608531 A CN 105608531A
Authority
CN
China
Prior art keywords
task
terminal
work order
work
effective
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510959310.0A
Other languages
Chinese (zh)
Inventor
王院生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Beijing Qianxin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Beijing Qianxin Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510959310.0A priority Critical patent/CN105608531A/en
Publication of CN105608531A publication Critical patent/CN105608531A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a task dispatching method and device, and relates to the technical field of telecommunication, so as to guarantee the successful execution of a task. The method comprises the steps: connecting a preset number of terminals, wherein the terminals are used for executing tasks; receiving and storing work orders which comprise to-be-executed tasks, wherein the executed tasks are distinguished through work order numbers; enabling the tasks in the work orders to be distributed to the terminals for execution, and enabling the work order numbers corresponding to the tasks to be marked as in-execution; marking the work order numbers corresponding to the tasks as successful execution if the successful task execution information returned by the terminals is received; and cancelling the work order numbers corresponding to the tasks if the successful task execution information returned by the terminals is not received. The method is mainly used in a task dispatching process.

Description

A kind of method of task scheduling and device
Technical field
The present invention relates to technical field of telecommunications, relate in particular to a kind of method and device of task scheduling.
Background technology
Scheduling, refers to according to the main body of carrying out or consuming, and limited resource is carried out to reasonable distribution. AppointBusiness scheduling is the reasonable distribution to executing the task.
In the process of production and operation, can form a lot of tasks, can divide for these tasksThe different terminal of dispensing is carried out. All tasks, are assigned to each terminal by control centre.
In the prior art, after control centre assigns the task to terminal, think that this terminal can holdThis task of row. And in fact, due to the duty of terminal, the executable task type of terminal and tuneThe reasons such as the task type of degree central dispense does not mate, cause and execute the task unsuccessfully. Control centreThink that task can carry out, can not ensure that like this Mission Success of control centre is carried out.
Summary of the invention
The invention provides a kind of method and device of task scheduling, can solve and ensure that Mission Success holdsThe problem of row.
In order to solve the problems of the technologies described above, on the one hand, the invention provides a kind of method of task scheduling,The method comprises:
The terminal that connects preset quantity, described terminal is used for executing the task;
Receive and store work order, described work order comprises the task that needs are carried out, the task of described executionRecruitment odd numbers is distinguished;
Task in work order is assigned to terminal and carries out, and by work order labelled notation corresponding described task beCarry out;
If receive the successful execution mission bit stream that terminal is returned, by work odd numbers corresponding described taskMark successful execution;
If do not receive the successful execution mission bit stream that terminal is returned, cancel work corresponding to described taskThe mark of odd numbers.
On the other hand, the invention provides a kind of device of task scheduling, this device comprises:
Linkage unit, for connecting the terminal of preset quantity, described terminal is used for executing the task;
Receiving element, for receiving and store work order, described work order comprises the task that needs are carried out,The task recruitment odd numbers of described execution is distinguished;
Allocation units, for being assigned to described connection by the task of the work order of described receiving element receptionUnit connect terminal carry out, and by work order labelled notation corresponding described task for carrying out;
Indexing unit, if the successful execution mission bit stream returning for receiving terminal, by describedThe work order labelled notation successful execution of being engaged in corresponding;
Cancel unit, if the successful execution mission bit stream returning for not receiving terminal is cancelled instituteThe mark of work odd numbers corresponding to the task of stating.
The method of task scheduling provided by the invention and device, by connecting the terminal of predetermined number, willTask in the work order receiving is assigned in the terminal of connection, by the task correspondence being assigned in terminalWork order labelled notation for carrying out, if the successful execution mission bit stream that receiving terminal returns will be appointedThe corresponding work order labelled notation of being engaged in is successful execution, if do not receive the successful execution task letter that terminal is returnedCease, cancel the mark of work odd numbers corresponding to task. Compared with prior art, the present invention can pass throughMark work odd numbers, whether the task in work order distinguished has distributed or successful execution whether, and distribution does not haveThe work odd numbers of mark, to ensure the task energy successful execution in work order.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, of the present invention in order to better understandTechnological means, and can being implemented according to the content of description, and for allow of the present invention above-mentioned andOther objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Brief description of the drawings
By reading below detailed description of the preferred embodiment, various other advantage and benefit forIt is cheer and bright that those of ordinary skill in the art will become. Accompanying drawing is only for illustrating the order of preferred embodiment, and do not think limitation of the present invention. And in whole accompanying drawing, with identical reference symbolNumber represent identical parts. In the accompanying drawings:
Fig. 1 shows the method flow diagram of a kind of task scheduling that the embodiment of the present invention provides;
Fig. 2 shows the method flow diagram of the another kind of task scheduling that the embodiment of the present invention provides;
Fig. 3 shows the installation composition block diagram of a kind of task scheduling that the embodiment of the present invention provides;
Fig. 4 shows the installation composition block diagram of the another kind of task scheduling that the embodiment of the present invention provides.
Detailed description of the invention
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although aobvious in accompanying drawingShow exemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure with various formsAnd the embodiment that should do not set forth here limits. On the contrary, providing these embodiment is for can be moreThoroughly understand the disclosure, and can be by the technology that conveys to this area complete the scope of the present disclosurePersonnel.
The embodiment of the present invention provides a kind of method of task scheduling, and as described in Figure 1, the method comprises:
101, connect the terminal of preset quantity.
Terminal is used for executing the task. Terminal, can refer to the direct executor of task, can be also taskIndirect executor. In the present embodiment, the direct executor who is whether task to terminal does not limit.
If the indirect executor that terminal is task, terminal continues task to issue, until find taskDirectly executor. The whole system of executing the task thus has just formed a distributed system. DistributingIn formula system, the direct execution end packet of task can be connected in the indirect execution terminal of task.Packet mode, can be divided into one group by the terminal of carrying out same class task, can will carry out with a series ofThe terminal of task is divided into one group. In the present embodiment, packet mode is not limited.
According to the difference of task amount, the difference of system scale, the quantity of terminal is not identical yet. TerminalPreset quantity, is according to task amount, and the information such as system scale are determined. In the present embodiment, in advanceThe size of putting quantity does not limit.
102, receive and store work order.
Work order comprises the task that needs are carried out, and the task recruitment odd numbers of execution is distinguished. Reception generatesTask, task provides with the form of work order. In the present embodiment, to the quantity of the task in work order notLimit. Work order comprises the task of execution, distinguishes the work odd numbers of task, and the type of task is carried outThe task relevant informations such as the resource of required by task. For ensureing tasks carrying, record the task phase in work orderPass information. The work order that storing received arrives, namely temporarily preserves work order, and in work order, task is unsuccessfulIn implementation, preserve work order.
The work odd numbers of differentiation task, can be the serial number that receives work order, can be random generationRandom number can be also, according to certain rule, work odd numbers is set. In the present embodiment, to work odd numbersSet-up mode does not limit.
Receiving of task, is all stored in work order.
103, the task in work order is assigned to terminal and carries out, and by work order labelled notation corresponding task beCarry out.
The mode that task is distributed, can be according to the quantity mean allocation of the quantity of task in work order and terminal,The speed that can carry out according to execute the task required time and terminal is distributed according to work duration, also canWith according to the surplus resources of required terminal resource and terminal of executing the task according to how many points of surplus resourcesJoin. In this enforcement, the mode that task is distributed does not limit.
In the time of allocating task, the task in work order all can be given to terminal, also can be at terminal skyThe task in work order is distributed to terminal by idle.
Task is assigned to after terminal, by work order labelled notation corresponding task for carrying out, to distinguishTask to be allocated and distributed. In the mark of carrying out, can comprise the terminal of carrying out this taskInformation.
If 104 receive the successful execution mission bit stream that terminal is returned, by work odd numbers corresponding taskMark successful execution.
After terminal successful execution task, send successful execution mission bit stream. Receive the one-tenth that terminal is returnedThe merit information of executing the task, the label information of work odd numbers corresponding to amendment task, is revised as mark successfullyCarry out.
For the task of successful execution, can delete this task, can turn and store other positions into,Also can still be placed in work order. In the present embodiment, to the processing side of the task of successful executionFormula does not limit.
If 105 do not receive the successful execution mission bit stream that terminal is returned, cancel work corresponding to taskThe mark of odd numbers.
Terminal is unsuccessful execute the task after, send the unsuccessful information of executing the task. Receiving terminal returnsThe unsuccessful information of executing the task, the label information of work odd numbers corresponding to amendment task, cancels mark. GetDisappear after odd numbers mark, this task is the same with task to be allocated, waits for and redistributes execution terminal. ThisSample is redistributed the task of carrying out the unsuccessful execution of terminal, ensures the task energy successful execution of producing.
The method of the task scheduling that the embodiment of the present invention provides, by connecting the terminal of predetermined number, willTask in the work order receiving is assigned in the terminal of connection, by the task correspondence being assigned in terminalWork order labelled notation for carrying out, if the successful execution mission bit stream that receiving terminal returns will be appointedThe corresponding work order labelled notation of being engaged in is successful execution, if do not receive the successful execution task letter that terminal is returnedCease, cancel the mark of work odd numbers corresponding to task. Compared with prior art, embodiment of the present invention energyEnough by mark work odd numbers, whether the task in work order distinguished has distributed or successful execution whether, pointJoin and do not have markd work odd numbers, to ensure the task energy successful execution in work order.
Further, as refinement and the expansion of method shown in Fig. 1, the embodiment of the present invention also providesThe method of another kind of task scheduling, as shown in Figure 2, the method comprises:
201, connect the terminal of preset quantity.
Terminal is used for executing the task. The terminal of preset quantity, represents parallel can simultaneously executing the taskTerminal quantity.
202, receive and store work order.
Work order comprises the task that needs are carried out, and the task recruitment odd numbers of execution is distinguished. Work order, alsoBe tasks carrying list, comprise the task of all generations.
203, judge whether terminal is effective terminal.
Terminal is executed the task, and in order to ensure that terminal can execute the task, need to judge the validity of terminal.Judge that whether terminal is effective, need to judge that whether the duty of terminal is normal; If the work shape of terminalState is normal, judges whether task type that terminal can be processed comprises the task type of distribution; If eventuallyThe task type that end can be processed comprises the task type of distribution, determines that terminal is effective terminal.
If terminal is machine, in the engineering of machine run, may break down so, time-out is heldRow task. Terminal exists suspends the two states of executing the task and can execute the task, and carrying out of terminal appointedBusiness state is normal duty. Whether be the judgement of normal condition for terminal, can regularly connectSingle uploaded state message of knocking off judges that whether terminal is normal, also can be to end in the time of the task of needs executionEnd sends apply for information, and the message of returning according to terminal judges that whether terminal is normal. In the present embodiment,To judging that whether terminal is that the message obtain manner of normal condition does not limit.
In the time that the duty of terminal is normal, also need to judge that can terminal carry out this task. Exemplary,Circuit board manufacturing process in, a task is wherein printed circuit board, the terminal of selection isCorrosion wiring board terminal, corrodes wiring board terminal so, can not this task of successful execution. So needJudge whether the treatable task type of terminal comprises the task type that will distribute.
Through twice judgement, judge for some tasks, whether terminal is the effective of this taskTerminal. All tasks, before being assigned to terminal, all need to judge which terminal is effective terminal.
204, the task in work order is assigned to terminal and carries out, and by work order labelled notation corresponding task beCarry out.
Task in work order is assigned to terminal, is can carry out for guarantee task, so in work orderTask be not assigned randomly to terminal, need to judge whether terminal is effective terminal; If effectivelyTerminal, obtains the Mission Capability information of described effective terminal, described Mission Capability informationComprise the task quantity carried out, etc. the pending information such as task quantity, the time of required wait;According to preset task allocation rule, according to the Mission Capability information of obtaining, by task to be allocatedAssigning to effective terminal carries out.
For the Mission Capability information of effective terminal, can receive disappearing that the timing of effective terminal reportsBreath, also can send apply for information to terminal, receives the message that work order is returned. In the present embodiment,The obtain manner of the Mission Capability information to effective terminal does not limit.
According to preset task allocation rule, in preset allocation rule, relate to Mission Capability information,And mission bit stream to be allocated. Preset task allocation rule obtains object, can be the time of executing the taskPending stand-by period of optimal quality, the task dispatching the shortest, task completes is the shortest etc. In this enforcementIn example, the object of preset task allocation rule is not limited. By preset the task case in work orderTask allocation rule, be assigned in effective terminal and carry out.
By work order the labelled notation corresponding task of having distributed for carrying out. The execution here, tableShow that task has been assigned to terminal, instead of the executing state of task in work order is to carry out.
In the process of distributing in task, the task in work order is not repeatedly assigned to different terminals and holdsOK. That is to say, a task can only be assigned to a terminal, same task can not be assigned toMultiple terminals.
Task in work order, first generates, rear execution, and in work order, the generation of task is asynchronous with carrying out.
If 205 receive the successful execution mission bit stream that terminal is returned, by work odd numbers corresponding taskMark successful execution.
If 206 do not receive the successful execution mission bit stream that terminal is returned, cancel work corresponding to taskThe mark of odd numbers.
For the embodiment of the present invention, concrete application scenarios can be as follows, but be not limited to this, bagDraw together: receive the task of data in statistics table, the data representation Internet user in tables of dataThe network speed situation of one month, has 5 Internet users' tables of data. Existing 3 terminals can be processed thisIndividual task, and 3 terminals are effective terminal.
By the mission number of 5 tables of data of statistics, the work odd numbers of statistics table 1 is 001, statistical numberBe 002 according to the work odd numbers of table 2, the work odd numbers of statistics table 3 is 003, the work of statistics table 4Odd numbers is 004, and the work odd numbers of statistics table 5 is 005. Suppose that each terminal is current and do not workTask, according to preset task allocation rule, by statistics table 1, tables of data 2 and tables of data 3Task, distributes to terminal 1, terminal 2 and terminal 3, by work odd numbers 001 corresponding statistics table,002,003 be labeled as and carry out. Tables of data 1 adds up complete with tables of data 2, returns to successful executionMission bit stream, is labeled as work odd numbers corresponding with tables of data 2 statistics table 1 001,002 successfullyCarry out. The unsuccessful statistics of tables of data 3, returns to the unsuccessful information of executing the task, and cancels statistics table 3The mark of corresponding work odd numbers 003. By task statistics table 3 to be allocated, statistics table 4 andStatistics table 5, distributes to terminal 1, terminal 2 and terminal 3, by work order corresponding statistics tableNumber 003,004,005 is labeled as and carries out. Tables of data 3, tables of data 4 have been added up with tables of data 5Finish, return to the information of successfully executing the task, by tables of data 3, tables of data 4 work order corresponding with tables of data 5Number 003,004,005 is labeled as successful execution.
Further, as the realization of method shown in Fig. 1 and Fig. 2, the embodiment of the present invention provides onePlant the device of task scheduling. This device embodiment is corresponding with preceding method embodiment, for ease of reading,This device embodiment no longer repeats one by one to the detail content in preceding method embodiment, but shouldClearly, this device embodiment can corresponding realize the full content in preceding method embodiment. As Fig. 3Shown in, this device comprises: linkage unit 31, receiving element 32, allocation units 33, indexing unit34 and cancel unit 35. Wherein,
Linkage unit 31, for connecting the terminal of preset quantity, terminal is used for executing the task;
Receiving element 32, for receiving and store work order, work order comprises the task that needs are carried out, and holdsThe task recruitment odd numbers of row is distinguished;
Allocation units 33, are assigned to linkage unit for the task of work order that receiving element 32 is received31 connect terminals carry out, and by work order labelled notation corresponding task for carrying out;
Indexing unit 34, if the successful execution mission bit stream returning for receiving terminal, by taskCorresponding work order labelled notation successful execution;
Cancel unit 35, if the successful execution mission bit stream returning for not receiving terminal is cancelledThe mark of work odd numbers corresponding to task.
Further, allocation units 33, for not repeatedly being assigned to different by the task of work orderTerminal is carried out.
Further, as shown in Figure 4, allocation units 33, comprising:
Judge module 331, for judging whether terminal is effective terminal;
Acquisition module 332, if be judged as effective terminal for judge module 331, obtains effective terminalMission Capability information, Mission Capability information comprises task quantity, the wait carried outThe information such as task quantity, the time of required wait of carrying out;
Distribution module 333, for according to preset task allocation rule, obtains according to acquisition module 332Mission Capability information, task to be allocated is assigned to effective terminal that judge module 331 judges and holdsOK.
Further, as shown in Figure 4, judge module 331, comprising:
Judge submodule 3311, whether normal for judging the duty of terminal;
Judge submodule 3311, if for judging that submodule judges that the duty of terminal is normal, sentencesWhether the task type that disconnected terminal can be processed comprises the task type of distribution;
Determine submodule 3312, if for judging that submodule 3311 judges the task class that terminal can be processedType comprises the task type of distribution, determines that terminal is effective terminal.
Further, in the work order that receiving element 32 receives, the generation of task is asynchronous with carrying out.
The device of the task scheduling that the embodiment of the present invention provides, by connecting the terminal of predetermined number, willTask in the work order receiving is assigned in the terminal of connection, by the task correspondence being assigned in terminalWork order labelled notation for carrying out, if the successful execution mission bit stream that receiving terminal returns will be appointedThe corresponding work order labelled notation of being engaged in is successful execution, if do not receive the successful execution task letter that terminal is returnedCease, cancel the mark of work odd numbers corresponding to task. Compared with prior art, embodiment of the present invention energyEnough by mark work odd numbers, whether the task in work order distinguished has distributed or successful execution whether, pointJoin and do not have markd work odd numbers, to ensure the task energy successful execution in work order.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, do not haveThere is the part of detailed description, can be referring to the associated description of other embodiment.
Be understandable that the correlated characteristic reference mutually in said method and device. In addition," first ", " second " etc. in above-described embodiment are for distinguishing each embodiment, and do not represent each enforcementThe quality of example.
Those skilled in the art can be well understood to, for convenience and simplicity of description, above-mentionedThe system of describing, device and the specific works process of unit, can be with reference in preceding method embodimentCorresponding process, does not repeat them here.
The algorithm providing at this and show not with any certain computer, virtual system or miscellaneous equipmentIntrinsic relevant. Various general-purpose systems also can with based on using together with this teaching. According to aboveDescribe, it is apparent constructing the desired structure of this type systematic. In addition, the present invention also not forAny certain programmed language. It should be understood that and can utilize various programming languages to realize described hereThe content of invention, and the description of above language-specific being done is of the present invention best real in order to discloseExecute mode.
In the description that provided herein, a large amount of details are described. But, can understand,Embodiments of the invention can be put into practice in the situation that there is no these details. In some instances,Be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand one in each inventive aspectIndividual or multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present inventionSometimes be grouped together into single embodiment, figure or in its description. But, should be byThe method of the disclosure is construed to the following intention of reflection: the present invention for required protection requires ratio eachThe more feature of feature of clearly recording in claim. Or rather, as right is below wantedAsk that book reflects like that, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following detailed description of the invention are incorporated to this detailed description of the invention thus clearly,Wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodimentAdaptively change and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, andIn addition can put them into multiple submodules or subelement or sub-component. Except such feature and/orAt least some in process or unit are, outside mutually repelling, can adopt any combination to illustrate thisDisclosed all features and so open in book (comprising claim, summary and the accompanying drawing followed)Any method or all processes or the unit of equipment combine. Unless clearly statement in addition, thisIn description (comprising claim, summary and the accompanying drawing followed), disclosed each feature can be by carryingFor identical, be equal to or the alternative features of similar object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein compriseIncluded some feature instead of further feature in other embodiment, but the feature of different embodimentCombination mean within scope of the present invention and form different embodiment. For example, underIn claims of face, the one of any of embodiment required for protection can be to combine arbitrarilyMode is used.
All parts embodiment of the present invention can realize with hardware, or with at one or more placeThe software module of moving on reason device realizes, or realizes with their combination. Those skilled in the artShould be appreciated that and can use in practice microprocessor or digital signal processor (DSP) to realizeAccording to some in the denomination of invention of the embodiment of the present invention (as determined the device of website internal chaining grade)Or all some or all functions of parts. The present invention can also be embodied as for carrying out institute hereDescribe method part or all equipment or device program (for example, computer program andComputer program). Realizing program of the present invention and can be stored in computer-readable medium like thisGo up, or can there is the form of one or more signal. Such signal can be from internet netThe upper download of standing obtains, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described instead of the present invention is limitSystem, and those skilled in the art can design in the case of not departing from the scope of claimsAlternative embodiment. In the claims, any reference symbol between bracket should be configured toLimitations on claims. Word " comprises " not to be got rid of existence and is not listed as element or step in the claimsSuddenly. Being positioned at word " " before element or " one " does not get rid of and has multiple such elements. The present inventionCan be by means of including the hardware of some different elements and coming real by means of the computer of suitably programmingExisting. In the unit claim of having enumerated some devices, several in these devices can be logicalCross same hardware branch and carry out imbody. The use of word first, second and C grade does not representAny order. Can be title by these word explanations.

Claims (10)

1. a method for task scheduling, is characterized in that, described method comprises:
The terminal that connects preset quantity, described terminal is used for executing the task;
Receive and store work order, described work order comprises the task that needs are carried out, the task of described executionRecruitment odd numbers is distinguished;
Task in work order is assigned to terminal and carries out, and by work order labelled notation corresponding described task beCarry out;
If receive the successful execution mission bit stream that terminal is returned, by work odd numbers corresponding described taskMark successful execution;
If do not receive the successful execution mission bit stream that terminal is returned, cancel work corresponding to described taskThe mark of odd numbers.
2. method according to claim 1, is characterized in that, described task in work order is dividedBe fitted on terminal and carry out, comprising:
Task in described work order is not repeatedly assigned to different terminals to be carried out.
3. method according to claim 1, is characterized in that, described task in work order is dividedBe fitted on terminal and carry out, comprising:
Judge whether terminal is effective terminal;
If effectively terminal, obtains the Mission Capability information of described effective terminal, described taskExecutive capability information comprise the task quantity carried out, etc. pending task quantity, required waitThe information such as time;
According to described preset task allocation rule, according to described Mission Capability information, described in inciting somebody to actionTask to be allocated is assigned to described effective terminal and is carried out.
4. method according to claim 3, is characterized in that, describedly judges that whether terminal is for havingEffect terminal, comprising:
Whether the duty that judges described terminal is normal;
If the duty of described terminal is normal, judge that the task type that described terminal can be processed isThe no task type that comprises distribution;
If the task type that described terminal can be processed comprises the task type of distribution, determine described endEnd is effective terminal.
5. method according to claim 1, is characterized in that, the generation of task in described work orderWith execution be asynchronous.
6. a device for task scheduling, is characterized in that, described device comprises:
Linkage unit, for connecting the terminal of preset quantity, described terminal is used for executing the task;
Receiving element, for receiving and store work order, described work order comprises the task that needs are carried out,The task recruitment odd numbers of described execution is distinguished;
Allocation units, for being assigned to described connection by the task of the work order of described receiving element receptionUnit connect terminal carry out, and by work order labelled notation corresponding described task for carrying out;
Indexing unit, if the successful execution mission bit stream returning for receiving terminal, by describedThe work order labelled notation successful execution of being engaged in corresponding;
Cancel unit, if the successful execution mission bit stream returning for not receiving terminal is cancelled instituteThe mark of work odd numbers corresponding to the task of stating.
7. device according to claim 6, is characterized in that, described allocation units, for inciting somebody to actionTask in described work order is not repeatedly assigned to different terminals and carries out.
8. device according to claim 6, is characterized in that, described allocation units, comprising:
Judge module, for judging whether terminal is effective terminal;
Acquisition module, if be judged as effective terminal for described judge module, obtains described effective endThe Mission Capability information of end, described Mission Capability information comprise the task quantity carried out,Etc. the pending information such as task quantity, the time of required wait;
Distribution module, for according to described preset task allocation rule, obtains according to described acquisition moduleThe Mission Capability information of getting, assigns to the effective of described judge module judgement by described task to be allocatedTerminal is carried out.
9. device according to claim 8, is characterized in that, described judge module, comprising:
Judge submodule, whether normal for judging the duty of described terminal;
Described judgement submodule, if the duty that judges terminal for described judgement submodule is normal,Judge whether task type that described terminal can be processed comprises the task type of distribution;
Determine submodule, if judge for described judgement submodule the task type bag that terminal can be processedDraw together the task type of distribution, determine that described terminal is effective terminal.
10. device according to claim 6, is characterized in that, described receiving element receivesIn work order, the generation of task is asynchronous with carrying out.
CN201510959310.0A 2015-12-18 2015-12-18 Task dispatching method and device Pending CN105608531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959310.0A CN105608531A (en) 2015-12-18 2015-12-18 Task dispatching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959310.0A CN105608531A (en) 2015-12-18 2015-12-18 Task dispatching method and device

Publications (1)

Publication Number Publication Date
CN105608531A true CN105608531A (en) 2016-05-25

Family

ID=55988455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959310.0A Pending CN105608531A (en) 2015-12-18 2015-12-18 Task dispatching method and device

Country Status (1)

Country Link
CN (1) CN105608531A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832901A (en) * 2017-07-28 2018-03-23 平安科技(深圳)有限公司 Method for allocating tasks, device, terminal device and storage medium
CN108197908A (en) * 2018-02-23 2018-06-22 广州启盟信息科技有限公司 A kind of building operation management method, apparatus and system based on cloud platform
CN108228320A (en) * 2016-12-14 2018-06-29 平安科技(深圳)有限公司 The method and apparatus of task distribution
CN108428047A (en) * 2018-02-23 2018-08-21 广州启盟信息科技有限公司 A kind of building work smart allocation method, apparatus and system
WO2019075842A1 (en) * 2017-10-20 2019-04-25 平安科技(深圳)有限公司 Task allocation method and apparatus, storage medium and computer device
CN110647020A (en) * 2018-06-26 2020-01-03 佳能株式会社 Image forming apparatus and monochrome image forming apparatus
CN110930003A (en) * 2019-11-13 2020-03-27 泰康保险集团股份有限公司 Work order processing method and device
CN112231039A (en) * 2020-10-23 2021-01-15 岭东核电有限公司 Work order information statistical method and device, computer equipment and storage medium
CN113780987A (en) * 2021-08-31 2021-12-10 山石网科通信技术股份有限公司 Service opening method and device, storage medium and processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294533A (en) * 2012-10-30 2013-09-11 北京安天电子设备有限公司 Task flow control method and task flow control system
CN104239148A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Distributed task scheduling method and device
CN104657212A (en) * 2015-02-13 2015-05-27 北京亚信数据有限公司 Task scheduling method and system
CN104702664A (en) * 2014-12-29 2015-06-10 惠州Tcl移动通信有限公司 Method and system for controlling task server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103294533A (en) * 2012-10-30 2013-09-11 北京安天电子设备有限公司 Task flow control method and task flow control system
CN104239148A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Distributed task scheduling method and device
CN104702664A (en) * 2014-12-29 2015-06-10 惠州Tcl移动通信有限公司 Method and system for controlling task server
CN104657212A (en) * 2015-02-13 2015-05-27 北京亚信数据有限公司 Task scheduling method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228320A (en) * 2016-12-14 2018-06-29 平安科技(深圳)有限公司 The method and apparatus of task distribution
CN107832901A (en) * 2017-07-28 2018-03-23 平安科技(深圳)有限公司 Method for allocating tasks, device, terminal device and storage medium
WO2019075842A1 (en) * 2017-10-20 2019-04-25 平安科技(深圳)有限公司 Task allocation method and apparatus, storage medium and computer device
CN108197908A (en) * 2018-02-23 2018-06-22 广州启盟信息科技有限公司 A kind of building operation management method, apparatus and system based on cloud platform
CN108428047A (en) * 2018-02-23 2018-08-21 广州启盟信息科技有限公司 A kind of building work smart allocation method, apparatus and system
CN110647020A (en) * 2018-06-26 2020-01-03 佳能株式会社 Image forming apparatus and monochrome image forming apparatus
CN110930003A (en) * 2019-11-13 2020-03-27 泰康保险集团股份有限公司 Work order processing method and device
CN112231039A (en) * 2020-10-23 2021-01-15 岭东核电有限公司 Work order information statistical method and device, computer equipment and storage medium
CN112231039B (en) * 2020-10-23 2023-09-19 岭东核电有限公司 Work order information statistical method, device, computer equipment and storage medium
CN113780987A (en) * 2021-08-31 2021-12-10 山石网科通信技术股份有限公司 Service opening method and device, storage medium and processor

Similar Documents

Publication Publication Date Title
CN105608531A (en) Task dispatching method and device
CN107302488B (en) Virtual article distribution method, system and server
CN110162388A (en) A kind of method for scheduling task, system and terminal device
CN102354165B (en) Method for updating data online and device therefor
CN104572974A (en) Service request processing method and device
CN104539713A (en) Service request processing method and device
CN102469126B (en) Application scheduling system, method thereof and related device
CN105677462A (en) Distributed task system based on internet of things and business processing method
CN110058940B (en) Data processing method and device in multi-thread environment
CN105138693A (en) Method and device for having access to databases
US10942777B2 (en) Sorting apparatus
CN111324435A (en) Distributed task scheduling and registering method, device and distributed task scheduling system
CN104750690A (en) Query processing method, device and system
CN105005816A (en) Order processing method and order processing device
CN109242161B (en) Big data-based distribution route generation method and terminal equipment
CN104410675A (en) Data transmission method, data system and related devices
US10572400B2 (en) Shared processing of a packet flow by multiple cores
CN105099774A (en) Router software upgrading method and system
CN109299148A (en) Data query method and server
CN101986282A (en) Topological adaptation method and device
CN109586970A (en) Resource allocation methods, apparatus and system
US10296612B2 (en) Sorting system
CN117113900A (en) TDM-based segmentation processing method and device
CN107527228B (en) Method and device for sending electronic ticket
CN106294731A (en) Enter management method and the device of database data

Legal Events

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

Application publication date: 20160525