CN106325988A - Task scheduling method and device - Google Patents
Task scheduling method and device Download PDFInfo
- Publication number
- CN106325988A CN106325988A CN201610633756.9A CN201610633756A CN106325988A CN 106325988 A CN106325988 A CN 106325988A CN 201610633756 A CN201610633756 A CN 201610633756A CN 106325988 A CN106325988 A CN 106325988A
- Authority
- CN
- China
- Prior art keywords
- task
- server
- user terminal
- list
- state
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Abstract
The embodiment of the invention provides a task scheduling method and a device. The method comprises the steps: a server acquires a task generated according to data sent by a first user terminal, and adds the task in a task list; the server receives audit information sent by a second user terminal, and the audit information comprises a unique identification number for identifying the task; the server revises a task state of the task corresponding to the unique identification number into an audited state; the server takes out the task with the audited state as the task state from the task list at intervals of first preset time, reads an IP (Internet Protocol) address of a target server contained in the task, and sends the task to the target server, so that the target server carries out the task. According to the method, the server resources can be well utilized, a cross auditing mechanism is provided, the safety of a system is ensured, and the efficiency of workers is improved at the same time.
Description
Technical field
The present invention relates to data processing field, in particular to a kind of method for scheduling task and device.
Background technology
For the process task of big data quantity, the initial stage uses the mode of Shell script, first writes Shell script, then
Perform Shell script on the server, go to perform the process task of big data quantity according to shell script, but this mode can only
Meet the process task of the conventional big data quantity of part.And for the process task of provisional big data quantity, not service
The employee of device authority, can only be performed by department managers's login service device, and this mode efficiency is slower.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of method for scheduling task and device, above-mentioned to solve
Problem.
First aspect, the embodiment of the present invention provides a kind of method for scheduling task, and described method includes: server obtains basis
The task that the data that first user terminal sends are generated, adds task list to by described task, and described task includes task
The IP address of content and destination server, the task status of described task is unexamined nuclear state;Described server receives second
The msu message that user terminal sends, described msu message includes the unique identifying number for identifying task;Described server
The task status of task corresponding for described unique identifying number is revised as auditing state;Described server is when first presets
Between from described task list take out task status be the task of having audited state, read the described target that described task includes
The IP address of server, is sent to described destination server by described task, so that described destination server goes to perform described appointing
Business.
Second aspect, the embodiment of the present invention provides a kind of task scheduling apparatus, and described device includes: the first processing module,
Obtain, for server, the task that the data according to the transmission of first user terminal are generated, described task is added to task row
Table, described task includes the IP address of task definition and destination server, and the task status of described task is unexamined nuclear state;
Receiver module, for described server receive second user terminal send msu message, described msu message include for
The unique identifying number of mark task;More new module, for described server by the task of task corresponding for described unique identifying number
Status modifier is for auditing state;Sending module, for described server every the first Preset Time from described task list
Taking out task status is the task of having audited state, reads the IP address of the described destination server that described task includes, will
Described task is sent to described destination server, so that described destination server goes to perform described task.
Compared with prior art, a kind of method for scheduling task of embodiment of the present invention offer and device, by task
The IP of destination server is set so that what task can be concurrent is performed, and server resource also is able to preferably be utilized,
Preventing portion divides that machine pressure is excessive causes tasks carrying slow, and provides cross-audit mechanism, and any task is examined by other people
Core passes through, and can be allocated execution, so can guarantee that the safety of system, simultaneously because be no longer necessary to department manager to log in clothes
Business device goes to perform, and improves the efficiency of staff.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by embodiment required use attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, and it is right to be therefore not construed as
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to this
A little accompanying drawings obtain other relevant accompanying drawings.
Fig. 1 is a kind of server schematic diagram mutual with user terminal that the embodiment of the present invention provides.
Fig. 2 is the block diagram of the server that the embodiment of the present invention provides.
Fig. 3 is the flow chart of a kind of method for scheduling task that first embodiment of the invention provides.
Fig. 4 is the partial process view of a kind of method for scheduling task that first embodiment of the invention provides.
Fig. 5 is the flow chart of a kind of method for scheduling task that second embodiment of the invention provides.
Fig. 6 is the high-level schematic functional block diagram of a kind of task scheduling apparatus that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Generally exist
Can arrange and design with various different configurations with the assembly of the embodiment of the present invention that illustrates described in accompanying drawing herein.Cause
This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention provided in the accompanying drawings below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing
Individual accompanying drawing is defined, then need not it be defined further and explains in accompanying drawing subsequently.Meanwhile, the present invention's
In description, term " first ", " second " etc. be only used for distinguish describe, and it is not intended that instruction or hint relative importance or time
Between successively.
As it is shown in figure 1, be the schematic diagram that interacts with user terminal 100 of server 200 that provides of the embodiment of the present invention.
Described server 200 is communicatively coupled with multiple user terminals 100 by network 300, to carry out data communication or mutual.Institute
Stating server 200 can be network service end, database service end etc..Described user terminal 100 can be PC
(personal computer, PC), panel computer, smart mobile phone, personal digital assistant (personal digital
Assistant, PDA) etc..
In the embodiment of the present invention, described server 200 is provided with service end, described user terminal is provided with client
End, this client of this client can be third-party application software, and such as browser or application program of mobile phone, user can pass through
This client logs in different account numbers, it is thus achieved that different services.
As in figure 2 it is shown, be the block diagram of described server 200.Described server 200 includes task scheduling apparatus
210, memorizer 220, storage control 230, processor 240.
Described memorizer 220, storage control 230, each element of processor 240 the most electrically connect
Connect, to realize the transmission of data or mutual.Such as, these elements can pass through one or more communication bus or signal each other
Line realizes being electrically connected with.Described task scheduling apparatus 210 includes that at least one can be with software or the form of firmware (firmware)
Be stored in described memorizer or be solidificated in the operating system (operating system, OS) of described service end 200 is soft
Part functional module.Described processor 240 is for performing the executable module of storage, the most described task scheduling in memorizer 220
Software function module that device 210 includes or computer program.
Wherein, memorizer 220 may be, but not limited to, random access memory (Random Access Memory,
RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-
Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory,
EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory,
EEPROM) etc..Wherein, memorizer 220 is used for storing program, and described processor 240, after receiving execution instruction, performs described
Program, the method performed by the service end flowing through Cheng Dingyi that aforementioned embodiment of the present invention any embodiment discloses can apply to
In processor, or realized by processor.
Processor 240 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor can be
General processor, including central processing unit (Central Processing Unit is called for short CPU), network processing unit (Network
Processor, is called for short NP) etc.;Can also is that digital signal processor (DSP), special IC (ASIC), ready-made able to programme
Gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware components.Permissible
Realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be micro-place
Reason device or this processor can also be the processors etc. of any routine.
Being appreciated that the structure shown in Fig. 2 is only signal, server 200 may also include more more than shown in Fig. 2 or more
Few assembly, or there is the configuration different from shown in Fig. 2.Each assembly shown in Fig. 2 can use hardware, software or its group
Close and realize.
Fig. 3 shows the flow chart of a kind of method for scheduling task that first embodiment of the invention provides, and refers to Fig. 3, this
What embodiment described is the handling process of service end, and described method includes:
Step S301, server obtains the task that the data according to the transmission of first user terminal are generated, by described task
Adding task list to, described task includes the IP address of task definition and destination server, the task status of described task
For unexamined nuclear state.
Wherein, the data that described first user terminal sends, can be newly-built in first user terminal tasks, also
Can be that first user terminal only sends for some parameters at server generation required by task, the embodiment of the present invention not office
It is limited to any mode.
Wherein, server obtains the task that the data according to the transmission of first user terminal are generated, and described task is added
Embodiment to task list can have multiple, and one of which embodiment is described below, but it is understood that, not
It is confined to this embodiment.
Referring to Fig. 4, step S301 may include that
Step S311, described server obtain the temporary duty that generated of data sent according to first user terminal or
Timed task.
Timed task refers to determine and to start the task of performing sometime.Temporary duty refers at paroxysmal
Business, it is to be understood that temporary duty has higher priority compared to timed task.
Wherein, except including the IP of destination server in the temporary duty of generation, it is also possible to include code branch, the side of execution
The parameters such as method, the parameter needed for execution method, and the data time of input data.According to these parameters, destination server can
To call input data and the execution method of correspondence from data base, carry out the process of big data quantity.
In the timed task generated in addition to can including the parameter in temporary duty, it is also possible to include the execution time.
Step S312, when the task that described server obtains is temporary duty, is added to task by described temporary duty
List.
Step S313, when the task that described server obtains is timed task, is added to timing by described timed task
Task list;Described server receives the msu message that described second user terminal sends, and includes use in described msu message
Unique identifying number in mark task;The task status of timed task corresponding for described unique identifying number is revised by described server
For auditing state;It is the most careful that described server takes out task status every the second Preset Time from described timed task list
The timed task of nuclear state is added to task list.
It is understood that owing to temporary duty has higher priority, task row therefore can be added to immediately
In table, and after timed task needs to be reviewed, then it is added in task list.Wherein, described second Preset Time can be arranged
Being one second, it is that the timed task having audited state adds that server takes out task status for each one second from described timed task list
Add task list.
Refer to Fig. 3, after execution of step S301, continue executing with step S302.
Step S302, described server receives the msu message that the second user terminal sends, and described msu message includes
For identifying the unique identifying number of task.
Before step S302, described method can also include:
Described server receives the logging request that the second user terminal sends, and described logging request includes account;Institute
State server according to described account, find the authority that described account information is corresponding, by task row corresponding for described authority
Table is sent to described second terminal, so that described second terminal carries out task examination & verification according to described task list.
For ensureing the safety of system, the task of generation will not be performed immediately, but needs other staff to audit
Rear just can perform, such staff both can have been allowed mutually to understand the thing done each other, also can guarantee that the safety of system,
It is possible to prevent because some maloperations cause the task of mistake to be performed by examination & verification.
Further, different accounts can arrange different authorities, and the people of different rights can audit different task lists, when
So, it is also possible to the authority that different account setup are identical, so that the task list between staff is the most transparent, to facilitate work
Supervision.
Step S303, the task status of task corresponding for described unique identifying number is revised as auditing shape by described server
State.
Step S304, it is the most careful that described server takes out task status every the first Preset Time from described task list
The task of nuclear state, reads the IP address of the described destination server that described task includes, described task is sent to described
Destination server, so that described destination server goes to perform described task.
Wherein, described first Preset Time is more than described second Preset Time, so that described server every time can be from institute
State taking-up task in task list.
The method for scheduling task that the embodiment of the present invention provides, by arranging the IP of destination server in task so that appoints
Business can be concurrent be performed, and server resource also is able to preferably be utilized, and preventing portion divides that machine pressure is excessive to be caused
Tasks carrying is slow, and provides cross-audit mechanism, and any task is passed through by other people examination & verification, can be allocated execution,
So can guarantee that the safety of system, go to perform simultaneously because be no longer necessary to department manager's login service device, improve work people
The efficiency of member.
Fig. 5 shows the flow chart of a kind of method for scheduling task that second embodiment of the invention provides, and refers to Fig. 5, this
What embodiment described is the handling process of service end, and described method includes:
Step S401, server obtains the task that the data according to the transmission of first user terminal are generated, by described task
Adding task list to, described task includes the IP address of task definition and destination server, the task status of described task
For unexamined nuclear state.
Step S402, described server receives the msu message that the second user terminal sends, and described msu message includes
For identifying the unique identifying number of task.
Step S403, the task status of task corresponding for described unique identifying number is revised as auditing shape by described server
State.
Step S404, it is the most careful that described server takes out task status every the first Preset Time from described task list
The task of nuclear state, reads the IP address of the described destination server that described task includes, described task is sent to described
Destination server, so that described destination server goes to perform described task.
It is understood that step S401 is to the reality of step S404 with step S301 in a upper embodiment to step S304
Execute mode consistent, the most just repeat no more.
Step S405, described server obtains the request of subscription, and the described request of subscribing to includes the unique mark for identifying task
Knowledge number;The information of task corresponding for described unique identifying number is returned to described subscription by described server asks corresponding user eventually
End, described information includes the abnormal information of described task and/or output information and/or debriefing.
For having been added to the task in task list, described server can be according to the unique mark for identifying task
Number searching the information of task, if described subscription request includes subscribing to people's information, described server can also be subscribed to according to searching
The mode of people searches the information of task.
The information of task can be returned to described subscription with the form of mail by described server asks corresponding user eventually
End, naturally it is also possible to return in other forms.
Preferably, when server obtains the task that the data according to the transmission of first user terminal are generated, can obtain simultaneously
Take subscription request, say, that first user terminal can also initiate the request of subscribing to sending data when simultaneously, with convenient
The task of oneself is understood and monitors by user.
Step S406, described server obtains task daily record and checks that request, described task daily record check that request includes using
The account at family;Described server, according to described account, finds the authority that described account information is corresponding, by described power
In the task list that limit is corresponding, the task log information of task is sent to the user terminal that described task daily record checks that request is corresponding.
The manager of department can be arranged higher-rights, the manager of department can look into by sending daily record to server
See request, check the task log information of task in the task list of each personnel in department, the more conducively management of department.
Step S407, described server obtains tasks carrying situation and checks that request is checked in request, described tasks carrying situation
Include timing statistics section;Described server according in described timing statistics section, the execution state of task in described task list,
Obtaining statistical result, described execution state includes normal condition and abnormality;Described statistical result is changed by described server
Statistical result for diagrammatic form;The statistical result of described diagrammatic form is sent to described tasks carrying situation by described server
Check the user terminal that request is corresponding.
Statistical result is converted to diagrammatic form and returns by server so that when user is checked by user terminal, it is possible to
More convenient and get more information about the situation at corresponding time period execution status of task.
The method for scheduling task that the embodiment of the present invention provides, except solving a upper soluble problem of embodiment, enters
One step, server offer subscription service, tasks carrying situation check that service is checked in service and task daily record, the beneficially later stage
Mistake and optimization.
Refer to Fig. 6, be the functional module signal of the task scheduling apparatus 210 shown in Fig. 2 that the embodiment of the present invention provides
Figure.Described task scheduling apparatus 210 runs on described server 200.Described task scheduling apparatus 210 includes the first processing module
211, receiver module 212, more new module 213, sending module 214.
Described first processing module 211, obtains what the data according to the transmission of first user terminal were generated for server
Task, adds task list to by described task, and described task includes the IP address of task definition and destination server, described
The task status of task is unexamined nuclear state.
Preferably, the first processing module 211, the number sent according to first user terminal is obtained specifically for described server
According to the temporary duty generated or timed task;When the task that described server obtains is temporary duty, by described temporarily
Task is added to task list;When the task that described server obtains is timed task, it is fixed to be added to by described timed task
Time task list;Described server receives the msu message that described second user terminal sends, and includes in described msu message
For identifying the unique identifying number of task;The task status of timed task corresponding for described unique identifying number is repaiied by described server
Change auditing state into;It is that described server takes out task status every the second Preset Time from described timed task list
The timed task of examination & verification state is added to task list.
Described receiver module 212, receives the msu message that the second user terminal sends, described examination & verification for described server
Information includes the unique identifying number for identifying task;
Described more new module 213, repaiies the task status of task corresponding for described unique identifying number for described server
Change auditing state into;
Described sending module 214, for described server every the first Preset Time take out from described task list appoint
Business state is the task of having audited state, reads the IP address of the described destination server that described task includes, by described
Business is sent to described destination server, so that described destination server goes to perform described task.
Preferably, described device also includes the second processing module 215, and described second processing module 215, for described service
Device receives the logging request that the second user terminal sends, and described logging request includes account;Described server is according to described
Account, finds the authority that described account information is corresponding, and task list corresponding for described authority is sent to described second
Terminal, so that described second terminal carries out task examination & verification according to described task list.
Described device can also include the 3rd processing module 216, and described 3rd processing module 216, for described server
Obtaining the request of subscription, the described request of subscribing to includes the unique identifying number for identifying task;Described server is by described unique mark
The information knowing number corresponding task returns to the described user terminal subscribing to request correspondence, and described information includes the different of described task
Often information and/or output information and/or debriefing.
The most each module can be by software code realization, and now, above-mentioned each module can be stored in intermediate server 200
Memorizer 220 in.The most each module is equally realized by hardware such as IC chip.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each embodiment weight
Point explanation is all the difference with other embodiments, and between each embodiment, identical similar part sees mutually.
The task scheduling apparatus that the embodiment of the present invention is provided, it realizes principle and the technique effect of generation and preceding method
Embodiment is identical, for briefly describing, and the not mentioned part of device embodiment part, refer in preceding method embodiment corresponding interior
Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through
Other mode realizes.Device embodiment described above is only schematically, such as, and the flow chart in accompanying drawing and block diagram
Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this, each square frame in flow chart or block diagram can represent a module, program segment or the one of code
Part, a part for described module, program segment or code comprises holding of one or more logic function for realizing regulation
Row instruction.It should also be noted that at some as in the implementation replaced, the function marked in square frame can also be to be different from
The order marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially perform substantially in parallel, and they are the most also
Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of the square frame in individual square frame and block diagram and/or flow chart, can be with function or the special base of action performing regulation
System in hardware realizes, or can realize with the combination of specialized hardware with computer instruction.
It addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation
Point, it is also possible to it is modules individualism, it is also possible to two or more modules are integrated to form an independent part.
If described function is using the form realization of software function module and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, service end, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as memorizer (RAM, Random Access Memory), magnetic disc or CD.Need
Being noted that in this article, the relational terms of such as first and second or the like is used merely to an entity or operation
Separate with another entity or operating space, and exist any this between not necessarily requiring or imply these entities or operating
Actual relation or order.And, term " includes ", " comprising " or its any other variant are intended to nonexcludability
Comprise, so that include that the process of a series of key element, method, article or equipment not only include those key elements, but also wrap
Include other key elements being not expressly set out, or also include want intrinsic for this process, method, article or equipment
Element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that including described wanting
Process, method, article or the equipment of element there is also other identical element.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.It should also be noted that similar label and letter exist
Figure below represents similar terms, therefore, the most a certain Xiang Yi accompanying drawing is defined, is then not required in accompanying drawing subsequently
It is defined further and explains.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.
Claims (10)
1. a method for scheduling task, it is characterised in that described method includes:
Server obtains the task that the data according to the transmission of first user terminal are generated, and described task is added to task row
Table, described task includes the IP address of task definition and destination server, and the task status of described task is unexamined nuclear state;
Described server receives the msu message that the second user terminal sends, and described msu message includes for identifying task
Unique identifying number;
The task status of task corresponding for described unique identifying number is revised as auditing state by described server;
It is the task of having audited state that described server takes out task status every the first Preset Time from described task list,
Read the IP address of the described destination server that described task includes, described task is sent to described destination server, with
Described destination server is made to go to perform described task.
Method the most according to claim 1, it is characterised in that described server obtains according to the transmission of first user terminal
The task that data are generated, adds described task to task list, including:
Described server obtains temporary duty or the timed task that the data according to the transmission of first user terminal are generated;
When the task that described server obtains is temporary duty, described temporary duty is added to task list;
When the task that described server obtains is timed task, described timed task is added to timed task list;Described
Server receives the msu message that described second user terminal sends, and includes for identifying task only in described msu message
One identification number;The task status of timed task corresponding for described unique identifying number is revised as auditing state by described server;
It is to have audited the timing of state that described server takes out task status every the second Preset Time from described timed task list
Task is added to task list.
Method the most according to claim 1, it is characterised in that receive examining of the second user terminal transmission at described server
Nuclear information, before including the unique identifying number for identifying task in described msu message, described method includes:
Described server receives the logging request that the second user terminal sends, and described logging request includes account;
Described server, according to described account, finds the authority that described account information is corresponding, by corresponding for described authority
Task list is sent to described second terminal, so that described second terminal carries out task examination & verification according to described task list.
Method the most according to claim 1, it is characterised in that described method also includes:
Described server obtains the request of subscription, and the described request of subscribing to includes the unique identifying number for identifying task;
The information of task corresponding for described unique identifying number is returned to described subscription by described server asks corresponding user eventually
End, described information includes the abnormal information of described task and/or output information and/or debriefing.
Method the most according to claim 1, it is characterised in that described method also includes:
Described server obtains task daily record and checks that request, described task daily record check that request includes the account of user;
Described server, according to described account, finds the authority that described account information is corresponding, by corresponding for described authority
In task list, the task log information of task is sent to the user terminal that described task daily record checks that request is corresponding.
Method the most according to claim 1, it is characterised in that described method also includes:
Described server obtains tasks carrying situation and checks that request, described tasks carrying situation check that request includes timing statistics
Section;
Described server according in described timing statistics section, the execution state of task in described task list, it is thus achieved that statistical result,
Described execution state includes normal condition and abnormality;
Described statistical result is converted to the statistical result of diagrammatic form by described server;
The statistical result of described diagrammatic form is sent to the use that described tasks carrying situation checks that request is corresponding by described server
Family terminal.
7. a task scheduling apparatus, it is characterised in that described device includes:
First processing module, obtains, for server, the task that the data according to the transmission of first user terminal are generated, by described
Task adds task list to, and described task includes the IP address of task definition and destination server, the task of described task
State is unexamined nuclear state;
Receiver module, receives, for described server, the msu message that the second user terminal sends, and described msu message includes
For identifying the unique identifying number of task;
More new module, is revised as auditing shape for described server by the task status of task corresponding for described unique identifying number
State;
Sending module, it is the most careful for taking out task status for described server from described task list every the first Preset Time
The task of nuclear state, reads the IP address of the described destination server that described task includes, described task is sent to described
Destination server, so that described destination server goes to perform described task.
Device the most according to claim 7, it is characterised in that the first processing module, obtains specifically for described server
The temporary duty that generated of data sent according to first user terminal or timed task;When the task that described server obtains
During for temporary duty, described temporary duty is added to task list;When the task that described server obtains is timed task,
Described timed task is added to timed task list;Described server receives the examination & verification letter that described second user terminal sends
Breath, includes the unique identifying number for identifying task in described msu message;Described server is by described unique identifying number pair
The task status of the timed task answered is revised as auditing state;Described server is appointed from described timing every the second Preset Time
Taking out task status in business list is that the timed task having audited state is added to task list.
Device the most according to claim 7, it is characterised in that described device also includes the second processing module,
Described second processing module, receives, for described server, the logging request that the second user terminal sends, and described login please
Ask and include account;Described server, according to described account, finds the authority that described account information is corresponding, by described
Task list corresponding to authority is sent to described second terminal, so that described second terminal carries out task according to described task list
Examination & verification.
Device the most according to claim 7, it is characterised in that described device also includes the 3rd processing module,
Described 3rd processing module, obtains, for described server, the request of subscription, and described subscription request includes for identifying task
Unique identifying number;The information of task corresponding for described unique identifying number is returned to described subscription and asks correspondence by described server
User terminal, described information includes the abnormal information of described task and/or output information and/or debriefing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610633756.9A CN106325988B (en) | 2016-08-03 | 2016-08-03 | Method for scheduling task and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610633756.9A CN106325988B (en) | 2016-08-03 | 2016-08-03 | Method for scheduling task and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106325988A true CN106325988A (en) | 2017-01-11 |
CN106325988B CN106325988B (en) | 2019-06-18 |
Family
ID=57739486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610633756.9A Active CN106325988B (en) | 2016-08-03 | 2016-08-03 | Method for scheduling task and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106325988B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203871A (en) * | 2017-05-25 | 2017-09-26 | 上海海洋大学 | The oceanographic equipment verification system optimized based on Activiti and task scheduling |
CN107944985A (en) * | 2017-12-27 | 2018-04-20 | 掌合天下(北京)信息技术有限公司 | Order retransmission method, device, server and readable storage medium storing program for executing |
CN108874513A (en) * | 2017-05-11 | 2018-11-23 | 北京京东尚科信息技术有限公司 | Handle method, system, electronic equipment and the computer-readable medium of timed task |
CN108965362A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of data processing method, server and storage medium |
CN111651429A (en) * | 2020-05-26 | 2020-09-11 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method and device and distributed platform |
CN111932266A (en) * | 2020-07-24 | 2020-11-13 | 深圳市富途网络科技有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN111931955A (en) * | 2020-07-22 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Information processing method and device and electronic equipment |
CN112288383A (en) * | 2020-09-15 | 2021-01-29 | 郑州富联智能工坊有限公司 | Information processing method and device |
CN113537949A (en) * | 2021-08-16 | 2021-10-22 | 中国南方电网有限责任公司 | Operation control method and device and computer equipment |
CN115946126A (en) * | 2023-02-22 | 2023-04-11 | 深圳市欧拉智造科技有限公司 | Task execution control method and robot |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101408852B (en) * | 2008-11-26 | 2011-09-28 | 阿里巴巴集团控股有限公司 | Method, apparatus and system for scheduling task |
US20130212591A1 (en) * | 2006-03-15 | 2013-08-15 | Mihai-Daniel Fecioru | Task scheduling method and apparatus |
CN103544101A (en) * | 2012-07-16 | 2014-01-29 | 深圳市世纪光速信息技术有限公司 | Wireless platform development automatic test system and method |
CN103577402A (en) * | 2012-07-18 | 2014-02-12 | 上海斐讯数据通信技术有限公司 | Task adding, modifying and management method and task management system |
CN105279020A (en) * | 2014-07-03 | 2016-01-27 | 北京联嘉众赢网络技术有限公司 | Task scheduling method and system |
-
2016
- 2016-08-03 CN CN201610633756.9A patent/CN106325988B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130212591A1 (en) * | 2006-03-15 | 2013-08-15 | Mihai-Daniel Fecioru | Task scheduling method and apparatus |
CN101408852B (en) * | 2008-11-26 | 2011-09-28 | 阿里巴巴集团控股有限公司 | Method, apparatus and system for scheduling task |
CN103544101A (en) * | 2012-07-16 | 2014-01-29 | 深圳市世纪光速信息技术有限公司 | Wireless platform development automatic test system and method |
CN103577402A (en) * | 2012-07-18 | 2014-02-12 | 上海斐讯数据通信技术有限公司 | Task adding, modifying and management method and task management system |
CN105279020A (en) * | 2014-07-03 | 2016-01-27 | 北京联嘉众赢网络技术有限公司 | Task scheduling method and system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874513A (en) * | 2017-05-11 | 2018-11-23 | 北京京东尚科信息技术有限公司 | Handle method, system, electronic equipment and the computer-readable medium of timed task |
CN108965362B (en) * | 2017-05-19 | 2023-03-24 | 腾讯科技(深圳)有限公司 | Data processing method, server and storage medium |
CN108965362A (en) * | 2017-05-19 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of data processing method, server and storage medium |
CN107203871A (en) * | 2017-05-25 | 2017-09-26 | 上海海洋大学 | The oceanographic equipment verification system optimized based on Activiti and task scheduling |
CN107944985A (en) * | 2017-12-27 | 2018-04-20 | 掌合天下(北京)信息技术有限公司 | Order retransmission method, device, server and readable storage medium storing program for executing |
CN111651429A (en) * | 2020-05-26 | 2020-09-11 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method and device and distributed platform |
CN111651429B (en) * | 2020-05-26 | 2023-10-24 | 中国平安财产保险股份有限公司 | Big data scheduling parameter management method, device and distributed platform |
CN111931955A (en) * | 2020-07-22 | 2020-11-13 | 北京字节跳动网络技术有限公司 | Information processing method and device and electronic equipment |
WO2022017293A1 (en) * | 2020-07-24 | 2022-01-27 | 深圳市富途网络科技有限公司 | Information processing method and apparatus, and electronic device and storage medium |
CN111932266A (en) * | 2020-07-24 | 2020-11-13 | 深圳市富途网络科技有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN111932266B (en) * | 2020-07-24 | 2023-11-17 | 深圳市富途网络科技有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN112288383A (en) * | 2020-09-15 | 2021-01-29 | 郑州富联智能工坊有限公司 | Information processing method and device |
CN113537949A (en) * | 2021-08-16 | 2021-10-22 | 中国南方电网有限责任公司 | Operation control method and device and computer equipment |
CN115946126A (en) * | 2023-02-22 | 2023-04-11 | 深圳市欧拉智造科技有限公司 | Task execution control method and robot |
Also Published As
Publication number | Publication date |
---|---|
CN106325988B (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106325988A (en) | Task scheduling method and device | |
CN106371918B (en) | Task cluster schedule management method and device | |
CN108063772B (en) | Data security access method and system based on service side | |
US10289409B2 (en) | Systems, methods, and apparatus for migrating code to a target environment | |
CN110428127B (en) | Automatic analysis method, user equipment, storage medium and device | |
CN107958456A (en) | Dispensing detection method, device and electronic equipment | |
CN110278201B (en) | Security policy evaluation method and device, computer readable medium and electronic device | |
CN105975396A (en) | Generating method and system for automated testing case | |
US20140023185A1 (en) | Characterizing Time-Bounded Incident Management Systems | |
CN106276457A (en) | The method of elevator data management | |
US11106525B2 (en) | Systems and methods for classifying and predicting the cause of information technology incidents using machine learning | |
CN114817050A (en) | Task execution method and device, electronic equipment and computer readable storage medium | |
CN113836237A (en) | Method and device for auditing data operation of database | |
US20220038351A1 (en) | Identification of incident required resolution time | |
CN109542764A (en) | Webpage automated testing method, device, computer equipment and storage medium | |
CN110908858B (en) | Log sample sampling method based on double-funnel structure and related device | |
CN107229569A (en) | Method and system are performed towards the automatic test centralized dispatching for performing technology more | |
CN110609761B (en) | Method and device for determining fault source, storage medium and electronic equipment | |
CN114157464B (en) | Network test monitoring method and monitoring system | |
CN115496470A (en) | Full-link configuration data processing method and device and electronic equipment | |
CN113901476A (en) | Vulnerability verification method, system, equipment and medium based on virtualization environment | |
CN109086196B (en) | Computer lab equipment test case management system | |
CN106372859A (en) | Timing task control analysis method and system, and master control server | |
CN112579453A (en) | Task testing method, device, equipment and storage medium | |
CN112865987A (en) | Information resource prepositive access system and method based on big data background |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |