CN106339255B - Dispatching method, system, device and the server of timed task - Google Patents
Dispatching method, system, device and the server of timed task Download PDFInfo
- Publication number
- CN106339255B CN106339255B CN201610721082.8A CN201610721082A CN106339255B CN 106339255 B CN106339255 B CN 106339255B CN 201610721082 A CN201610721082 A CN 201610721082A CN 106339255 B CN106339255 B CN 106339255B
- Authority
- CN
- China
- Prior art keywords
- task
- server
- execute
- timed
- next time
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The disclosure provides dispatching method, system, device and the server of a kind of timed task, the described method includes: the next time of mission bit stream and each timed task that management server obtains multiple timed tasks executes time information, and is sent to each execute server and execute time information the next time;Execute server determines that the current timed task for executing the moment that reaches executes request as first task, and to management server transmission first task when reaching timer period finish time, based on next time execution time information;Management server chooses an execute server as destination server, and the mission bit stream of first task is sent to destination server;Destination server obtains task-performance instructions from the mission bit stream of first task, and executes first task according to the task-performance instructions.The embodiment is not necessarily to traverse all timed tasks when reaching timer period finish time, reduce data processing amount, improve the scheduling execution efficiency of timed task.
Description
Technical field
This disclosure relates to computer communication technology field, in particular to a kind of dispatching method of timed task, system, device
And server.
Background technique
Currently, many smart home devices have the function of timed task, it is fixed that user can be arranged smart home device
When task.These timed tasks are uploaded in corresponding server cluster, are managed by the server cluster and scheduling is held
Row, therefore, is stored with a large amount of timed task data in the server cluster.In the related art, whenever timer period knot
When the beam moment reaches, all timed tasks are needed to be traversed for, so that it is determined that current reach the timed task for executing the moment.But by
It is larger in timed task data volume, therefore, so that the scheduling execution efficiency of timed task is low, or even it is easy to happen failure.
Summary of the invention
In order to solve the above-mentioned technical problem, the disclosure provides dispatching method, system, device and the service of a kind of timed task
Device.
According to the first aspect of the embodiments of the present disclosure, a kind of dispatching method of timed task is provided, server set is applied to
In group's system, the server cluster system includes management server and multiple execute servers, which comprises
The next time of mission bit stream and each timed task that the management server obtains multiple timed tasks holds
Row time information, and sent to each execute server and execute time information the next time;
The execute server reaches after receiving the execution next time time information in timer period finish time
When, the current timed task for executing the moment that reaches is determined as first task, and to institute based on time information is executed the next time
That states management server transmission first task executes request;
The management server according to receive it is multiple it is described execute request, choose an execute server as target
Server, and send to the destination server mission bit stream of the first task;
The destination server obtains task-performance instructions from the mission bit stream of the first task, and according to described
Business, which executes instruction, executes the first task.
According to the second aspect of an embodiment of the present disclosure, a kind of dispatching method of timed task is provided, server set is applied to
Management server in group's system, the server cluster system includes management server and multiple execute servers, described
Method includes:
The next time of the mission bit stream and each timed task that obtain multiple timed tasks executes time information;
It is sent to each execute server and executes time information the next time;
The request that executes of the first task sent by multiple execute servers is received, the first task is currently to arrive
Up to the timed task for executing the moment;
According to receive it is multiple it is described execute request, choose an execute server as destination server;
The mission bit stream of the first task is sent to the destination server.
Optionally, when executing the next time of the mission bit stream for obtaining multiple timed tasks and each timed task
Carve information, comprising:
The mission bit stream and each timing for receiving multiple timed tasks that any number of execute servers are sent are appointed
The next time of business executes time information.
Optionally, the basis receive it is multiple it is described execute request, choose an execute server as target take
Business device, comprising:
The multiple corresponding execute server of request that executes received for the first time in request that executes is chosen for
Destination server.
According to the third aspect of an embodiment of the present disclosure, a kind of dispatching method of timed task is provided, server set is applied to
Execute server in group's system, the server cluster system includes management server and multiple execute servers, described
Method includes:
The next time for receiving each timed task in multiple timed tasks that the management server is sent executes time information;
When reaching timer period finish time, when currently reaching execution based on the next execution time information is determining
The timed task at quarter is as first task;
Request is executed to management server transmission first task;
If the mission bit stream for the first task that the management server is sent is received, from the first task
Mission bit stream in obtain task-performance instructions;
The first task is executed according to the task-performance instructions.
Optionally, described to determine that current arrival executes the timed task conduct at moment based on the execution next time time information
First task, comprising:
It executes in time information and finds out and the matched execution moment at current time from the next time;
It will be determined as first task with timed task corresponding to the matched execution moment at current time.
Optionally, the method also includes:
After executing the first task, judge whether the first task has been completed;
If do not completed, the next time for obtaining the first task executes time information;
To the management server send the first task mission bit stream and the first task next time execute when
Carve information.
According to a fourth aspect of embodiments of the present disclosure, a kind of scheduling system of timed task is provided, the system comprises: pipe
Manage server and multiple execute servers;
The management server is configured as obtaining the mission bit stream of multiple timed tasks and each timed task
Next time execute time information, and to each execute server send it is described next time execute time information;
The execute server is configured as after receiving the execution next time time information, in timer period knot
When the beam moment reaches, determine the current timed task for executing the moment that reaches as first based on time information is executed the next time
Business, and request is executed to management server transmission first task;
The management server, be additionally configured to according to receive it is multiple it is described execute request, choose one and execute clothes
Device be engaged in as destination server, and sends the mission bit stream of the first task to the destination server;
The execute server is additionally configured in times for receiving the first task that the management server is sent
When information of being engaged in, task-performance instructions are obtained from the mission bit stream of the first task, and hold according to the task-performance instructions
The row first task.
According to a fifth aspect of the embodiments of the present disclosure, a kind of dispatching device of timed task is provided, server set is applied to
Management server in group's system, the server cluster system includes management server and multiple execute servers, described
Device includes:
Module is obtained, be configured as obtaining the mission bit stream of multiple timed tasks and is executed the next time of each timed task
Time information;
First sending module is configured as sending the execution next time time information to each execute server;
Receiving module, be configured as receiving the first task sent by multiple execute servers executes request, institute
Stating first task is the current timed task for reaching and executing the moment;
Choose module, be configured as according to receive it is multiple it is described execute request, choose an execute server conduct
Destination server;
Second sending module is configured as sending the mission bit stream of the first task to the destination server.
Optionally, the acquisition module includes:
Receiving submodule is configured as receiving the mission bit stream for multiple timed tasks that any number of execute servers are sent
And the next time of each timed task executes time information.
Optionally, the selection module includes:
It determines submodule, is configured as corresponding to the execution request that will be received for the first time in the multiple execution request
Execute server be chosen for destination server.
According to a sixth aspect of an embodiment of the present disclosure, a kind of dispatching device of timed task is provided, server set is applied to
Execute server in group's system, the server cluster system includes management server and multiple execute servers, described
Device includes:
Receiving module is configured as receiving each timed task in multiple timed tasks that the management server is sent
Next time executes time information;
Determining module is configured as when reaching timer period finish time, executes time information based on the next time
Determine the current timed task for executing the moment that reaches as first task;
First sending module is configured as executing request to management server transmission first task;
First obtains module, is configured as in the task letter for receiving the first task that the management server is sent
When breath, then task-performance instructions are obtained from the mission bit stream of the first task;
Execution module is configured as executing the first task according to the task-performance instructions.
Optionally, the determining module includes:
Submodule is searched, is configured as finding out and current time matched execution from the execution next time time information
Moment;
It determines submodule, is configured as that will be determined as with timed task corresponding to the matched execution moment at current time
One task.
Optionally, described device further include:
Judgment module is configured as after executing the first task, judges whether the first task has been completed;
Second obtains module, is configured as when the first task does not complete, the next time for obtaining the first task holds
Row time information;
Second sending module is configured as sending the mission bit stream of the first task and described to the management server
The next time of first task executes time information.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of server is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The next time of the mission bit stream and each timed task that obtain multiple timed tasks executes time information;
It is sent to each execute server and executes time information the next time;
The request that executes of the first task sent by multiple execute servers is received, the first task is currently to arrive
Up to the timed task for executing the moment;
According to receive it is multiple it is described execute request, choose an execute server as destination server;
The mission bit stream of the first task is sent to the destination server.
According to the eighth aspect of the embodiment of the present disclosure, a kind of server is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The next time for receiving each timed task in multiple timed tasks that the management server is sent executes time information;
When reaching timer period finish time, when currently reaching execution based on the next execution time information is determining
The timed task at quarter is as first task;
Request is executed to management server transmission first task;
If the mission bit stream for the first task that the management server is sent is received, from the first task
Mission bit stream in obtain task-performance instructions;
The first task is executed according to the task-performance instructions.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The dispatching method for the timed task that embodiment of the disclosure provides, obtains multiple timed tasks by management server
When executing time information the next time of mission bit stream and each timed task, and sending next time execution to each execute server
Carve information.Execute server determines that the current timed task for reaching the execution moment is made when reaching timer period finish time
For first task, and send first task to management server executes request.Management server chooses an execute server
As destination server, and the mission bit stream of first task is sent to destination server, by destination server from first task
Task-performance instructions are obtained in mission bit stream, and execute first task according to the task-performance instructions.Without in timer
When the end cycle moment reaches, all timed tasks are traversed, data processing amount is reduced, the scheduling for improving timed task is held
Line efficiency.
The dispatching method for the timed task that embodiment of the disclosure provides, by the mission bit stream for obtaining multiple timed tasks
And the next time of each timed task executes time information, sends to each execute server and executes time information next time, receives
The first task sent by multiple execute servers executes request, chooses an execute server as destination server, and
The mission bit stream of first task is sent to destination server.Without traversing institute when reaching timer period finish time
Some timed tasks, reduce data processing amount, improve the scheduling execution efficiency of timed task.
The dispatching method for the timed task that embodiment of the disclosure provides, by receiving the multiple fixed of management server transmission
When task in each timed task next time execute time information, timer period finish time reach when, determination currently arrive
Up to the timed task for executing the moment as first task, request is executed to management server transmission first task, if received
The mission bit stream of the first task sent to management server then obtains task execution from the mission bit stream of first task and refers to
It enables, and executes first task according to the task-performance instructions.Without traversing institute when reaching timer period finish time
Some timed tasks, reduce data processing amount, improve the scheduling execution efficiency of timed task.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is shown can be using the system architecture of the server cluster of the embodiment of the present disclosure;
Fig. 2 is a kind of disclosure flow chart of the dispatching method of timed task shown according to an exemplary embodiment;
Fig. 3 is the flow chart of the dispatching method of the disclosure another timed task shown according to an exemplary embodiment;
Fig. 4 is the flow chart of the dispatching method of the disclosure another timed task shown according to an exemplary embodiment;
Fig. 5 is a kind of disclosure block diagram of the dispatching device of timed task shown according to an exemplary embodiment;
Fig. 6 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Fig. 8 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Fig. 9 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Figure 10 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Figure 11 is the block diagram of the dispatching device of the disclosure another timed task shown according to an exemplary embodiment;
Figure 12 is that an a kind of disclosure structure of the dispatching device of timed task shown according to an exemplary embodiment is shown
It is intended to.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses.
The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
Fig. 1 is shown can be using the system architecture of the server cluster of the embodiment of the present disclosure.
As shown in Figure 1, server cluster system 100 may include at least one management server 101 and multiple execution
Server 102.Management server 101 can be interacted with execute server 102 by arbitrary communication link, with receive or
Send message etc..It should be understood that the number of management server and execute server in Fig. 1 is only schematical.According to
It realizes and needs, can have any number of management server and execute server.
Based on system architecture shown in fig. 1, in the embodiments of the present disclosure, each available different timing of execute server
The mission bit stream of task.Then, when being executed according to the next time that the mission bit stream of these timed tasks parses each timed task
Carve information.Then, the mission bit stream of these timed tasks and corresponding next time are executed into time information hair by execute server
Give management server.
For example, it is assumed that system includes execute server A, B, C and management server.Execute server A, which obtains a, b two, to be determined
When task mission bit stream;The mission bit stream of execute server B acquisition two timed tasks of c, d;Execute server C obtains e, f
The mission bit stream of two timed tasks.Execute server A, B, C respectively solve the mission bit stream of the timed task got
Analysis executes time information to obtain the next time of the timed task.Then, the next time of a and a is executed the moment by execute server A
It executes time information the next time of information and b and b and is sent to management server, execute server B executes the next time of c and c
It executes time information the next time of time information and d and d and is sent to management server, execute server C is by the next time of e and e
The execution next time time information for executing time information and f and f is sent to management server.
Management server can obtain the mission bit stream and each timed task of multiple timed tasks from execute server
Next time execute time information, then, to each execute server send next time execute time information.For example, it is assumed that management clothes
Business device obtains the mission bit stream of this 6 timed tasks of a, b, c, d, e, f and the next time of each timed task from execute server
Execute time information.Then, the next time of a, b, c, d, e, f this 6 timed tasks is executed into time information and is sent to each hold
Row server.
For each execute server, after the next time for receiving management server transmission executes time information, Mei Dangding
When device end cycle moment when reaching, determine the current timed task for executing the moment that reaches as first task.Specifically, may be used
With according to execute above-mentioned next time time information find out with the matched execution moment at current time, matched will be held with current time
Timed task corresponding to the row moment is determined as first task, and executes request to management server transmission first task.Pipe
The corresponding execute server of the execution request received for the first time in the execution request of first task can be chosen for by reason server
Destination server.And the mission bit stream of the first task is sent to the destination server.Destination server can be believed from the task
Task-performance instructions are obtained in breath, and execute first task according to the task-performance instructions.
For example, each execute server receives under this 6 timed tasks of a, b, c, d, e, f of management server transmission
Secondary execution time information.It is assumed that executing the moment next time of the two timed tasks of a, d is 6 o'clock sharp of evening in such a month, and on such a day.It is fixed
When device period be 1 second, i.e. one second timer period finish time of every mistake reaches primary.Then 6 o'clock sharp at night, timer period
When finish time reaches, the current timed task a and d for reaching and executing the moment is found out, using a and d as first task.Each hold
Row server executes request to management server transmission first task, to request to execute the task of a and d.Assuming that management clothes
Business device receive at first execute server B transmission execute request, then can be using execute server B as destination server, by pipe
Manage the mission bit stream that server sends a and d to execute server B.Execute server B can distinguish from the mission bit stream of a and d
Executing instruction for a and d is obtained, and executes instruction the executing a and d of the task according to this.
After destination server executes first task, then, it can be determined that whether the first task has been completed.If not
It completes, the next time for obtaining the first task executes time information, and the mission bit stream of the first task is sent to management server
And the next time of first task executes time information.
For example, judging whether the task of a and d has been completed after the task that execute server B executes a and d.If a and
The task of d does not complete, then the next time that execute server B can obtain a and d respectively according to the mission bit stream of a and d executes moment letter
Breath, and the mission bit stream of a and d and corresponding next time are executed into time information and are sent to management server.Management server meeting
The next time for executing time information and the timed task received from other execute servers the next time of a and d is executed into moment letter
Breath is sent to each execute server together.
It should be noted that execute server from what management server acquisition needed to be implemented in addition to determining in the task of execution
When task mission bit stream, can also obtain client transmissions come multiple new timed tasks mission bit stream.
The disclosure is described in detail below in conjunction with specific embodiments.
As shown in Fig. 2, a kind of Fig. 2 flow chart of the dispatching method of timed task shown according to an exemplary embodiment,
This method can be applied to the management server in server cluster system, wherein server cluster system includes management service
Device and multiple execute servers, method includes the following steps:
In step 201, the next time of the mission bit stream and each timed task that obtain multiple timed tasks executes the moment
Information.
In the present embodiment, timed task is arbitrarily can periodically executing for task, and the mission bit stream of timed task can be with
Including the information etc. for executing time and execution movement for describing the timed task.For example, it is assumed that timed task a can be
6 thirty of every night opens air-conditioning.Then the mission bit stream of timed task a may include for describing timing task carrying-out time
The information of (6 thirty of every night), and execute for describing timed task the information of movement (open air-conditioning).In general,
The timed task each execution time can be determined according to the information of the execution time of timed task.
In a kind of implementation of the present embodiment, management server directly (e.g., can execute service from other servers
Device etc.) mission bit streams of multiple timed tasks is obtained, then, it is each fixed to be directly calculated according to the mission bit stream of timed task
When task next time execute time information.
In another implementation of the present embodiment, management server can also receive any number of execute server hairs
The mission bit stream of the multiple timed tasks sent and the execution next time time information of each timed task.Specifically, first by
Execute server obtains the mission bit stream of multiple timed tasks, then, by execute server according to the mission bit stream of timed task
The next time that each timed task is calculated executes time information.And by the mission bit stream of above-mentioned timed task and each timing
The next time of task executes time information and is sent to management server.Management server can be from multiple and different execute server point
The next time of the mission bit stream and each timed task that do not obtain multiple timed tasks executes time information.The implementation is not required to
The next time for wanting management server directly to calculate each timed task executes time information, when the next time for calculating timed task is executed
The carving information of the task is shared to multiple execute servers, and this improves the efficiency of timed task scheduling process.
It is appreciated that management server can also obtain by another way multiple timed tasks mission bit stream and
Execute time information the next time of each timed task, the disclosure obtains the concrete mode aspect of above- mentioned information not to management server
It limits.
In step 202, it is sent to each execute server and executes time information above-mentioned next time.
In step 203, receive the first task sent by multiple execute servers executes request, which is
It is current to reach the timed task for executing the moment.
In step 204, according to receive it is multiple execute request, choose an execute server as destination service
Device.
In the present embodiment, management server can successively receive the execution for the first task that each execute server is sent
Request.Then according to receive it is multiple execute request, choose an execute server as destination server.Specifically,
It in one implementation, can be by execution service corresponding to the execution request in this multiple execution request, received for the first time
Device is chosen for destination server.It in another implementation, can also be comprising being somebody's turn to do in the execution request that execute server is sent
The load information of execute server and processing capacity information etc., management server can after receiving multiple execution request,
According to the load information of each execute server and processing capacity information, selection comprehensive condition is optimal (e.g., to load small, processing
Ability is strong etc.) execute server as destination server.It is appreciated that the disclosure is to the concrete mode for choosing destination server
Aspect does not limit.
In step 205, the mission bit stream of above-mentioned first task is sent, to the destination server so that destination server is held
Row first task.
The dispatching method of the timed task provided by the above embodiment of the disclosure, by the obtaining multiple timed tasks of the task
It executes time information the next time of information and each timed task, is sent to each execute server and execute time information next time,
Receive the first task sent by multiple execute servers executes request, chooses an execute server as destination service
Device, and to destination server send first task mission bit stream.Without timer period finish time reach when, time
All timed tasks are gone through, data processing amount is reduced, improve the scheduling execution efficiency of timed task.
As shown in figure 3, Fig. 3 is the process of the dispatching method of another timed task shown according to an exemplary embodiment
Figure, this method can be applied to the execute server in server cluster system, wherein server cluster system includes management clothes
Business device and multiple execute servers, method includes the following steps:
In step 301, the next time for receiving each timed task in multiple timed tasks that management server is sent executes
Time information.
In step 302, when reaching timer period finish time, worked as based on time information determination is executed above-mentioned next time
The preceding timed task for executing the moment that reaches is as first task.
In step 303, request is executed to management server transmission first task.
In the present embodiment, the timer period of each execute server is identical, and timer period finish time is also identical.
Timer period can be any reasonable time span, for example, 0.5 second, 1 second, 2 seconds etc., in general, timer period
Usually 1 second, it will be understood that the disclosure does not limit the specific time span aspect of timer period.
In the present embodiment, each execute server will be all fixed in the current system for receiving management server transmission
When task next time execute time information.Also, when reaching timer period finish time, all timings from current system
Task next time execute time information in find out with the matched execution moment at current time, will determine corresponding to the execution moment
When task as first task.Each execute server can execute request to management server transmission first task.
In step 304, if the mission bit stream of the first task of management server transmission is received, from first task
Mission bit stream in obtain task-performance instructions.
In step 305, first task is executed according to the task-performance instructions.
In some optional embodiments, the above method be can further include: after executing first task, judge
Whether one task has been completed, if do not completed, the next time for obtaining first task executes time information, and sends out to management server
The next time of the mission bit stream and the first task that give the first task executes time information.
In general, the execution number of timed task, which can be limited, (e.g., executes 3 completion timing tasks later
Deng), it is also possible to unlimited (e.g., circulate in some daily fixed time and execute the timed task etc.).If timed task
Execution number be limited, then after last time task execution, illustrate that the timed task has been completed.Work as timed task
After the completion, the timed task can be deleted.
The dispatching method of the timed task provided by the above embodiment of the disclosure, by receiving the more of management server transmission
The next time of each timed task executes time information in a timed task, and when reaching timer period finish time, determination is worked as
The preceding timed task for executing the moment that reaches executes request to management server transmission first task as first task, if
The mission bit stream for receiving the first task of management server transmission, then obtain task execution from the mission bit stream of first task
Instruction, and first task is executed according to the task-performance instructions.Without traversing when reaching timer period finish time
All timed tasks, reduce data processing amount, improve the scheduling execution efficiency of timed task.
As shown in figure 4, Fig. 4 is the process of the dispatching method of another timed task shown according to an exemplary embodiment
Figure, this method can be applied in server cluster system, which includes management server and multiple hold
Row server, method includes the following steps:
In step 401, management server obtains under the mission bit stream and each timed task of multiple timed tasks
Secondary execution time information, and sent to each execute server and execute time information the next time.
In step 402, execute server is after receiving execution next time time information, in timer period finish time
When arrival, the current timed task for executing the moment that reaches is determined as first task, and to pipe based on time information is executed next time
Reason server transmission first task executes request.
In step 403, management server according to receive it is multiple execute request, choose an execute server conduct
Destination server, and to destination server send first task mission bit stream.
In step 404, destination server obtains task-performance instructions from the mission bit stream of first task, and according to this
Task-performance instructions execute first task.
It should be noted that for the step identical with Fig. 2 and Fig. 3 embodiment, in above-mentioned Fig. 4 embodiment no longer into
Row repeats, and related content can be found in Fig. 2 and Fig. 3 embodiment.
The dispatching method of the timed task provided by the above embodiment of the disclosure obtains multiple timings by management server and appoints
It executes time information the next time of the mission bit stream of business and each timed task, and sends and hold the next time to each execute server
Row time information.Execute server determines that the current timing for reaching the execution moment is appointed when reaching timer period finish time
Business is used as first task, and executes request to management server transmission first task.Management server chooses one and executes clothes
Device be engaged in as destination server, and to the mission bit stream of destination server transmission first task, by destination server from first
Task-performance instructions are obtained in the mission bit stream of business, and execute first task according to the task-performance instructions.Without fixed
When the device end cycle moment reach when, traverse all timed tasks, reduce data processing amount, improve the tune of timed task
Spend execution efficiency.
It should be noted that although describing the operation of method of disclosure in the accompanying drawings with particular order, this is not required that
Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase
The result of prestige.On the contrary, the step of describing in flow chart can change and execute sequence.Additionally or alternatively, it is convenient to omit certain
Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
Corresponding with the dispatching method embodiment of aforementioned timed task, the disclosure additionally provides the scheduling system of timed task
The embodiment of system, device and its applied server.
As shown in figure 5, Fig. 5 is a kind of disclosure scheduling system frame of timed task shown according to an exemplary embodiment
Figure, which includes: management server 501 and multiple execute servers 502.
Wherein, management server 501 are configured as obtaining the mission bit stream of multiple timed tasks and each timed task
Next time execute time information, and to each execute server 502 send next time execute time information.
Execute server 502 is configured as after receiving above-mentioned execution next time time information, terminates in timer period
When moment reaches, determine the current timed task for executing the moment that reaches as first based on time information is executed above-mentioned next time
Business, and request is executed to the transmission first task of management server 501.
Management server 501, be additionally configured to according to receive it is multiple execute request, choose an execute server
502 are used as destination server, and the mission bit stream of first task is sent to destination server.
Execute server 502 is additionally configured to the mission bit stream in the first task for receiving the transmission of management server 501
When, task-performance instructions are obtained from the mission bit stream of first task, and execute first task according to task-performance instructions.
As seen from the above-described embodiment, which is not necessarily to traverse and all determine when reaching timer period finish time
When task, reduce data processing amount, improve the scheduling execution efficiency of timed task.
As shown in fig. 6, Fig. 6 is a kind of disclosure dispatching device frame of timed task shown according to an exemplary embodiment
Figure, the device are applied to the management server in server cluster system, the server cluster system include management server with
And multiple execute servers, the device include: to obtain module 601, the first sending module 602, receiving module 603 chooses module
604 and second sending module 605.
Wherein, module 601 is obtained, is configured as obtaining the mission bit stream of multiple timed tasks and each timed task
Next time executes time information.
First sending module 602 is configured as sending above-mentioned execution next time time information to each execute server.
Receiving module 603, be configured as receiving the first task sent by multiple execute servers executes request, this
One task is the current timed task for reaching and executing the moment.
Choose module 604, be configured as according to receive it is multiple execute request, choose an execute server as mesh
Mark server.
Second sending module 605 is configured as sending the mission bit stream of first task to destination server.
As seen from the above-described embodiment, which is not necessarily to traverse and all determine when reaching timer period finish time
When task, reduce data processing amount, improve the scheduling execution efficiency of timed task.
As shown in fig. 7, Fig. 7 is the dispatching device of the disclosure another timed task shown according to an exemplary embodiment
Block diagram, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 6, obtaining module 601 may include: receiving submodule 701.
Wherein, receiving submodule 701 are configured as receiving multiple timed tasks of any number of execute servers transmissions
Execute time information the next time of mission bit stream and each timed task.
As shown in figure 8, Fig. 8 is the dispatching device of the disclosure another timed task shown according to an exemplary embodiment
Block diagram, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 6, choosing module 604 may include: determining submodule 801.
Wherein it is determined that submodule 801, being configured as will be corresponding to multiple execution request for executing and receiving for the first time in request
Execute server be chosen for destination server.
As shown in figure 9, Fig. 9 is the dispatching device of the disclosure another timed task shown according to an exemplary embodiment
Block diagram, the device are applied to the execute server in server cluster system, which includes management server
And multiple execute servers, the device include: receiving module 901, determining module 902, the first sending module 903, first obtains
Modulus block 904 and execution module 905.
Wherein, receiving module 901 are configured as receiving each timing in multiple timed tasks that management server is sent and appoint
The next time of business executes time information.
Determining module 902 is configured as when reaching timer period finish time, executes moment letter based on above-mentioned next time
Breath determines the current timed task for executing the moment that reaches as first task.
First sending module 903 is configured as executing request to management server transmission first task.
First obtains module 904, is configured as when receiving the mission bit stream of first task of management server transmission,
Then task-performance instructions are obtained from the mission bit stream of first task.
Execution module 905 is configured as executing first task according to the task-performance instructions.
As shown in Figure 10, Figure 10 is the scheduling dress of the disclosure another timed task shown according to an exemplary embodiment
Block diagram is set, for the embodiment on the basis of aforementioned embodiment illustrated in fig. 9, determining module 902 may include: to search submodule 1001
And determine submodule 1002.
Wherein, submodule 1001 is searched, is configured as executing to find out in time information from next time matching with current time
The execution moment.
It determines submodule 1002, is configured as to determine with timed task corresponding to the matched execution moment at current time
For first task.
As shown in figure 11, Figure 11 is the scheduling dress of the disclosure another timed task shown according to an exemplary embodiment
Block diagram is set, on the basis of earlier figures 9 show embodiment, which can further include the embodiment: judgment module 906,
Second obtains module 907 and the second sending module 908.
Wherein, judgment module 906 are configured as after executing first task, judge whether the first task has been completed.
Second obtains module 907, when being configured as obtaining execution next time of first task when the first task does not complete
Carve information.
Second sending module 908 is configured as sending the mission bit stream and first task of first task to management server
Next time execute time information.
It should be appreciated that above-mentioned apparatus can be preset in the server, can also be loaded by modes such as downloadings
In server.Corresponding module in above-mentioned apparatus can be cooperated with the module in server to realize the scheduling of timed task
Scheme.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure also provides a kind of server, which includes processor;It can be held for storage processor
The memory of row instruction;Wherein, which is configured as:
The next time of the mission bit stream and each timed task that obtain multiple timed tasks executes time information;
It is sent to each execute server and executes time information the next time;
The request that executes of the first task sent by multiple execute servers is received, the first task is currently to arrive
Up to the timed task for executing the moment;
According to receive it is multiple it is described execute request, choose an execute server as destination server;
The mission bit stream of the first task is sent to the destination server.
Correspondingly, the disclosure also provides a kind of server, which includes processor;It can be held for storage processor
The memory of row instruction;Wherein, which is configured as:
The next time for receiving each timed task in multiple timed tasks that the management server is sent executes time information;
When reaching timer period finish time, when currently reaching execution based on the next execution time information is determining
The timed task at quarter is as first task;
Request is executed to management server transmission first task;
If the mission bit stream for the first task that the management server is sent is received, from the first task
Mission bit stream in obtain task-performance instructions;
The first task is executed according to the task-performance instructions.
Figure 12 is an a kind of structural representation of the dispatching device 9900 of timed task shown according to an exemplary embodiment
Figure.For example, device 9900 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console put down
Panel device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig.1 2, device 9900 may include following one or more components: processing component 9902, memory 9904,
Power supply module 9906, multimedia component 9908, audio component 9910, the interface 9912 of input/output (I/O), sensor module
9914 and communication component 9916.
The integrated operation of the usual control device 9900 of processing component 9902, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing element 9902 may include one or more processors 9920 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 9902 may include one or more moulds
Block, convenient for the interaction between processing component 9902 and other assemblies.For example, processing component 9902 may include multi-media module,
To facilitate the interaction between multimedia component 9908 and processing component 9902.
Memory 9904 is configured as storing various types of data to support the operation in device 9900.These data
Example includes the instruction of any application or method for operating on device 9900, contact data, telephone book data,
Message, picture, video etc..Memory 9904 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 9906 provides electric power for the various assemblies of device 9900.Power supply module 9906 may include power management
System, one or more power supplys and other with for device 9900 generate, manage, and distribute the associated component of electric power.
Multimedia component 9908 includes the screen of one output interface of offer between described device 9900 and user.?
In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 9908 includes a front camera and/or rear camera.When device 9900 is in operation mode, as shot mould
When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 9910 is configured as output and/or input audio signal.For example, audio component 9910 includes a wheat
Gram wind (MIC), when device 9900 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 9904 or via communication
Component 9916 is sent.In some embodiments, audio component 9910 further includes a loudspeaker, is used for output audio signal.
I/O interface 9912 provides interface, above-mentioned peripheral interface module between processing component 9902 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 9914 includes one or more sensors, and the state for providing various aspects for device 9900 is commented
Estimate.For example, sensor module 9914 can detecte the state that opens/closes of device 9900, the relative positioning of component, such as institute
The display and keypad that component is device 9900 are stated, sensor module 9914 can be with detection device 9900 or device 9,900 1
The position change of a component, the existence or non-existence that user contacts with device 9900,9900 orientation of device or acceleration/deceleration and dress
Set 9900 temperature change.Sensor module 9914 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 9914 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.
Communication component 9916 is configured to facilitate the communication of wired or wireless way between device 9900 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 9900,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 9916 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 9916 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 9900 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 9904 of instruction, above-metioned instruction can be executed by the processor 9920 of device 9900 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (16)
1. a kind of dispatching method of timed task is applied in server cluster system, the server cluster system includes pipe
Manage server and multiple execute servers, which is characterized in that the described method includes:
When the next time of mission bit stream and each timed task that the management server obtains multiple timed tasks executes
Information is carved, and is sent to each execute server and executes time information the next time;
The execute server is after receiving the execution next time time information, when reaching timer period finish time,
The current timed task for executing the moment that reaches is determined as first task, and to the pipe based on time information is executed the next time
Reason server transmission first task executes request;
The management server according to receive it is multiple it is described execute request, choose an execute server as destination service
Device, and send to the destination server mission bit stream of the first task;
The destination server obtains task-performance instructions from the mission bit stream of the first task, and holds according to the task
First task described in row instruction execution.
2. a kind of dispatching method of timed task, applied to the management server in server cluster system, the server set
Group's system includes management server and multiple execute servers, which is characterized in that the described method includes:
The next time of the mission bit stream and each timed task that obtain multiple timed tasks executes time information;
It is sent to each execute server and executes time information the next time;
The request that executes of the first task sent by multiple execute servers is received, the first task is that current arrival is held
The timed task at row moment;
According to receive it is multiple it is described execute request, choose an execute server as destination server;
The mission bit stream of the first task is sent to the destination server.
3. according to the method described in claim 2, it is characterized in that, the mission bit stream for obtaining multiple timed tasks and every
The next time of a timed task executes time information, comprising:
Receive the mission bit stream and each timed task of multiple timed tasks that any number of execute servers are sent
Next time executes time information.
4. according to the method described in claim 2, it is characterized in that, the basis receive it is multiple it is described execute request, choosing
Take an execute server as destination server, comprising:
The multiple corresponding execute server of request that executes received for the first time in request that executes is chosen for target
Server.
5. a kind of dispatching method of timed task, applied to the execute server in server cluster system, the server set
Group's system includes management server and multiple execute servers, which is characterized in that the described method includes:
The next time for receiving each timed task in multiple timed tasks that the management server is sent executes time information;
When reaching timer period finish time, determine that current reach executes the moment based on time information is executed the next time
Timed task is as first task;
Request is executed to management server transmission first task;
If receiving the mission bit stream for the first task that the management server is sent, from appointing for the first task
Task-performance instructions are obtained in business information;
The first task is executed according to the task-performance instructions.
6. according to the method described in claim 5, it is characterized in that, described determining current based on time information is executed the next time
The timed task for executing the moment is reached as first task, comprising:
It executes in time information and finds out and the matched execution moment at current time from the next time;
It will be determined as first task with timed task corresponding to the matched execution moment at current time.
7. according to the method described in claim 5, it is characterized in that, the method also includes:
After executing the first task, judge whether the first task has been completed;
If do not completed, the next time for obtaining the first task executes time information;
The mission bit stream of the first task and the execution next time moment letter of the first task are sent to the management server
Breath.
8. a kind of scheduling system of timed task, which is characterized in that the system comprises: management server and multiple execute clothes
Business device;
The management server is configured as obtaining under the mission bit stream of multiple timed tasks and each timed task
Secondary execution time information, and sent to each execute server and execute time information the next time;
The execute server is configured as after receiving the execution next time time information, at the end of timer period
Be carved into up to when, determine that current reach executes the timed task at moment as first task based on time information is executed the next time,
And request is executed to management server transmission first task;
The management server, be additionally configured to according to receive it is multiple it is described execute request, choose an execute server
As destination server, and send to the destination server mission bit stream of the first task;
The execute server is additionally configured in the task letter for receiving the first task that the management server is sent
When breath, task-performance instructions are obtained from the mission bit stream of the first task, and execute institute according to the task-performance instructions
State first task.
9. a kind of dispatching device of timed task, applied to the management server in server cluster system, the server set
Group's system includes management server and multiple execute servers, which is characterized in that described device includes:
Module is obtained, be configured as obtaining the mission bit stream of multiple timed tasks and executes the moment next time of each timed task
Information;
First sending module is configured as sending the execution next time time information to each execute server;
Receiving module, is configured as receiving the request that executes of the first task sent by multiple execute servers, and described the
One task is the current timed task for reaching and executing the moment;
Choose module, be configured as according to receive it is multiple it is described execute request, choose an execute server as target
Server;
Second sending module is configured as sending the mission bit stream of the first task to the destination server.
10. device according to claim 9, which is characterized in that the acquisition module includes:
Receiving submodule, be configured as receiving multiple timed tasks that any number of execute servers are sent mission bit stream and
The next time of each timed task executes time information.
11. device according to claim 9, which is characterized in that the selection module includes:
It determines submodule, is configured as to hold corresponding to the execution request received for the first time in the multiple execution request
Row server is chosen for destination server.
12. a kind of dispatching device of timed task, applied to the execute server in server cluster system, the server set
Group's system includes management server and multiple execute servers, which is characterized in that described device includes:
Receiving module is configured as receiving the next time of each timed task in multiple timed tasks that the management server is sent
Execute time information;
Determining module is configured as when reaching timer period finish time, is executed time information based on the next time and is determined
The current timed task for executing the moment that reaches is as first task;
First sending module is configured as executing request to management server transmission first task;
First obtains module, is configured as in the mission bit stream for receiving the first task that the management server is sent
When, then task-performance instructions are obtained from the mission bit stream of the first task;
Execution module is configured as executing the first task according to the task-performance instructions.
13. device according to claim 12, which is characterized in that the determining module includes:
Submodule is searched, when being configured as finding out execution matched with current time from the execution next time time information
It carves;
It determines submodule, is configured as to be determined as with timed task corresponding to the matched execution moment at current time first
Business.
14. device according to claim 12, which is characterized in that described device further include:
Judgment module is configured as after executing the first task, judges whether the first task has been completed;
Second obtains module, when being configured as obtaining execution next time of the first task when the first task does not complete
Carve information;
Second sending module is configured as sending the mission bit stream and described first of the first task to the management server
The next time of task executes time information.
15. a kind of server characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The next time of the mission bit stream and each timed task that obtain multiple timed tasks executes time information;
It is sent to each execute server and executes time information the next time;
The request that executes of the first task sent by multiple execute servers is received, the first task is that current arrival is held
The timed task at row moment;
According to receive it is multiple it is described execute request, choose an execute server as destination server;
The mission bit stream of the first task is sent to the destination server.
16. a kind of server characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
The next time for receiving each timed task in multiple timed tasks that management server is sent executes time information;
When reaching timer period finish time, determine that current reach executes the moment based on time information is executed the next time
Timed task is as first task;
Request is executed to management server transmission first task;
If receiving the mission bit stream for the first task that the management server is sent, from appointing for the first task
Task-performance instructions are obtained in business information;
The first task is executed according to the task-performance instructions.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610721082.8A CN106339255B (en) | 2016-08-24 | 2016-08-24 | Dispatching method, system, device and the server of timed task |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610721082.8A CN106339255B (en) | 2016-08-24 | 2016-08-24 | Dispatching method, system, device and the server of timed task |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339255A CN106339255A (en) | 2017-01-18 |
CN106339255B true CN106339255B (en) | 2019-10-11 |
Family
ID=57824876
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610721082.8A Active CN106339255B (en) | 2016-08-24 | 2016-08-24 | Dispatching method, system, device and the server of timed task |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339255B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108628668B (en) * | 2017-03-21 | 2021-01-26 | 北京京东尚科信息技术有限公司 | Multi-countdown task scheduling system and method, electronic equipment and storage medium |
CN106951311B (en) * | 2017-03-21 | 2021-04-13 | 联想(北京)有限公司 | Data processing method and server cluster |
CN108600077B (en) * | 2018-03-01 | 2021-01-22 | 聚好看科技股份有限公司 | Timing message processing method and message management server |
CN109032803B (en) * | 2018-08-01 | 2021-02-12 | 创新先进技术有限公司 | Data processing method and device and client |
CN116867087A (en) * | 2018-09-27 | 2023-10-10 | 中兴通讯股份有限公司 | Service transmission method and device |
CN109597681B (en) * | 2018-10-22 | 2024-05-07 | 平安科技(深圳)有限公司 | Cloud control method and device, computer equipment and storage medium |
CN114138433B (en) * | 2021-11-18 | 2024-01-12 | 苏州浪潮智能科技有限公司 | Task timing strategy method, device and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902360A (en) * | 2014-04-02 | 2014-07-02 | 北京中交兴路车联网科技有限公司 | Service scheduling method and timing server |
CN104468174A (en) * | 2013-09-25 | 2015-03-25 | 北京新媒传信科技有限公司 | Method and device for cluster servers to execute task |
CN105100259A (en) * | 2015-08-18 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Distributed timed task execution method and system |
CN105677469A (en) * | 2016-01-06 | 2016-06-15 | 北京京东世纪贸易有限公司 | Timing task executing method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5887143A (en) * | 1995-10-26 | 1999-03-23 | Hitachi, Ltd. | Apparatus and method for synchronizing execution of programs in a distributed real-time computing system |
-
2016
- 2016-08-24 CN CN201610721082.8A patent/CN106339255B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468174A (en) * | 2013-09-25 | 2015-03-25 | 北京新媒传信科技有限公司 | Method and device for cluster servers to execute task |
CN103902360A (en) * | 2014-04-02 | 2014-07-02 | 北京中交兴路车联网科技有限公司 | Service scheduling method and timing server |
CN105100259A (en) * | 2015-08-18 | 2015-11-25 | 北京京东尚科信息技术有限公司 | Distributed timed task execution method and system |
CN105677469A (en) * | 2016-01-06 | 2016-06-15 | 北京京东世纪贸易有限公司 | Timing task executing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106339255A (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106339255B (en) | Dispatching method, system, device and the server of timed task | |
KR101664754B1 (en) | Method, device, program and recording medium for information acquisition | |
CN104503248B (en) | Task setting method and device | |
CN106506448A (en) | Live display packing, device and terminal | |
CN105182784A (en) | Method and device of controlling intelligent devices and terminal | |
CN105487863A (en) | Interface setting method and device based on scene | |
CN105426200A (en) | Communication module firmware and plug-in generation method and apparatus | |
CN104808500A (en) | Task setting method and device | |
CN105517112A (en) | Method and device for displaying WiFi network information | |
CN105487680B (en) | Method, apparatus and terminal for terminal screenshotss | |
CN104991910B (en) | Photograph album creation method and device | |
CN104933170A (en) | Information exhibition method and device | |
CN105117111B (en) | The rendering method and device of virtual reality interactive picture | |
CN106210496A (en) | Method, photo taking and device | |
CN104636164B (en) | Start page generation method and device | |
CN105610700A (en) | Group creating method and apparatus and electronic device | |
CN104111720A (en) | Electronic device control method and device and electronic device | |
CN106034170A (en) | Group generation method and apparatus | |
CN105278836B (en) | The method, apparatus and terminal of switch contents | |
CN106096009A (en) | Method for generating message and device | |
CN105847124B (en) | Method, apparatus, server and terminal for being thumbed up to social network information | |
CN105207813B (en) | Smart machine sort method and device | |
CN105872573A (en) | Video playing method and apparatus | |
CN104881342B (en) | terminal test method and device | |
CN105242837A (en) | Application page acquisition method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |