CN104484167B - Task processing method and device - Google Patents
Task processing method and device Download PDFInfo
- Publication number
- CN104484167B CN104484167B CN201410737476.3A CN201410737476A CN104484167B CN 104484167 B CN104484167 B CN 104484167B CN 201410737476 A CN201410737476 A CN 201410737476A CN 104484167 B CN104484167 B CN 104484167B
- Authority
- CN
- China
- Prior art keywords
- task
- server
- process instruction
- repaired
- pass example
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 215
- 230000008569 process Effects 0.000 claims abstract description 146
- 230000008439 repair process Effects 0.000 claims abstract description 53
- 238000012545 processing Methods 0.000 claims description 65
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Hardware Redundancy (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of task processing method and device, belong to field of computer technology.Methods described includes:Obtain the first pass example performed not successfully in preset time period before restarting;All first tasks handled not successfully in first pass example are repaired, and repair the priority dependence in first pass example between each first task;Determine to have repaired in first pass example according to the priority dependence after repairing between each first task and need first task to be processed, and according to having repaired and needed first task to be processed to generate first task process instruction;First task process instruction is sent to second server, first task process instruction is received by second server, and task is handled according to the first task process instruction received.The present invention restarts the preceding first pass example performed not successfully by repairing, so as to handle the task in first pass example again after restart.Therefore, handle that the availability of task is higher, and stability is preferable.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of task processing method and device.
Background technology
With the fast development of present computer technology, increasing service provider handles different business by server
In task.Wherein, the method that server is handled task has influence on related system availability.Therefore, how to task
It is to improve the key of system availability to carry out processing.
A kind of task processing method is provided in correlation technique, in the method, the predetermined flow for needing to perform is real
Example, the flow instance performed as needed is determined to be currently needed for the task of processing, and task is handled.Wherein, in execution
Stating in the server of process may for some reason hinder and restart, and server is in flow instance or handling process example is performed
It is able to may also fail during task.When flow instance performs failure, then flow instance is re-executed at once.When in flow instance
During task processing failure, then task is handled again at once.
During the present invention is realized, inventor has found that the above method at least has problems with:
Restarted because server may hinder for some reason, if it is corresponding handling not successfully for task before restarting to be present
Flow instance, then server after restarting, be not carried out before successful flow instance or it is untreated successfully task it is equal
It can lose.Therefore, availability when task is handled is relatively low, less stable.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of task processing method and device.It is described
Technical scheme is as follows:
First aspect, there is provided a kind of task processing method, methods described include:
The first pass example performed not successfully in preset time period before restarting is obtained, the first pass example is
Flow instance corresponding to handling not successfully for task is included before restarting in preset time period, is wrapped in the first pass example
Include at least one first task handled not successfully;
All first tasks handled not successfully in the first pass example are repaired, and it is real to repair the first pass
Priority dependence in example between each first task;
Determine to have repaired in the first pass example according to the priority dependence after repairing between each first task
And first task to be processed is needed, and according to having repaired and needed first task to be processed to generate first task process instruction, institute
State to comprise at least in first task process instruction and repaired and needed first task to be processed;
The first task process instruction is sent to second server, first task is received by the second server
Reason instruction, and task is handled according to the first task process instruction received.
With reference in a first aspect, in the first possible implementation of first aspect, each first task of basis
Between repair after priority dependence determine to have repaired in the first pass example and need first task to be processed, bag
Include:
Without preamble in the first task for determining to have repaired according to the priority dependence after repairing between each first task
The first task of task, and using the first task of unmatched sequence task as having repaired and needed first task to be processed.
It is described to repair the first pass with reference in a first aspect, in second of possible implementation of first aspect
All first tasks in example, and repair the priority dependence in the first pass example between each first task it
Before, in addition to:
The status information of all first tasks before record restarting in the first pass example, and record and open again
The relevant information of priority dependence before dynamic in the first pass example between each first task;
All first tasks repaired in the first pass example, and repair each in the first pass example
Priority dependence between first task, including:
The status information of all first tasks in the first pass example is repaired in the first pass example
All first tasks, and according to the priority dependence between each first task in the first pass example correlation believe
Breath repairs the priority dependence between each first task in the first pass example.
With reference in a first aspect, in the third possible implementation of first aspect, methods described also includes:
Current task flow is obtained, and second procedure example, the second procedure example are generated according to current task flow
Include at least one second task, priority dependence be present between each second task;
Determined to need to be processed in the second procedure example according to the priority dependence between each second task
Two tasks, and the second task for handling as needed generates the second task process instruction, in the second task process instruction extremely
It is few to include needing the second task to be processed;
The second task process instruction is sent to second server, the second task is received by the second server
Reason instruction, and task is handled according to the second task process instruction received.
Second aspect, there is provided a kind of task processing method, methods described include:
The first task process instruction that first server is sent is received, is comprised at least in the first task process instruction
Repair and need first task to be processed, it is described to have repaired and needed first task to be processed to obtain weight for the first server
Task in the first pass example performed not successfully in preset time period before new startup;
Task is handled according to the first task process instruction received.
With reference to second aspect, in the first possible implementation of second aspect, methods described also includes:
The second task process instruction that first server is sent is received, being comprised at least in the second task process instruction needs
Second task to be processed, what need second task to be processed generated for the first server according to current task flow
Task in second procedure example;
Task is handled according to the second task process instruction received.
The third aspect, there is provided a kind of Task Processing Unit, described device include:
First acquisition module, the first pass example performed not successfully in preset time period before being restarted for acquisition,
The first pass example includes flow instance, institute corresponding to handling not successfully for task for preset time period before restarting is interior
Stating first pass example includes at least one first task handled not successfully;
Repair module, for repairing all first tasks handled not successfully in the first pass example, and repair
Priority dependence in the first pass example between each first task;
First determining module, for determining described first according to the priority dependence after being repaired between each first task
Repaired in flow instance and needed first task to be processed;
First generation module, repaired for basis and needed first task generation first task process instruction to be processed,
Comprised at least in the first task process instruction and repaired and needed first task to be processed;
First sending module, for the first task process instruction to be sent to second server, taken by described second
Business device receives first task process instruction, and handles task according to the first task process instruction received.
With reference to the third aspect, in the first possible implementation of the third aspect, first determining module, it is used for
The of unmatched sequence task in the first task repaired is determined according to the priority dependence after being repaired between each first task
One task, and using the first task of unmatched sequence task as having repaired and needed first task to be processed.
With reference to the third aspect, in second of possible implementation of the third aspect, described device also includes:
Logging modle, the state letter of all first tasks before being restarted for record in the first pass example
Breath, and record the related letter of the priority dependence before restarting in the first pass example between each first task
Breath;
The repair module, the status information for all first tasks in the first pass example repair institute
All first tasks in first pass example are stated, and according to the priority between each first task in the first pass example
The relevant information of dependence repairs the priority dependence between each first task in the first pass example.
With reference to the third aspect, in the third possible implementation of the third aspect, described device also includes:
Second acquisition module, second procedure example is generated for obtaining current task flow, and according to current task flow,
The second procedure example includes at least one second task, priority dependence be present between each second task;
Second determining module, for determining that the second procedure is real according to the priority dependence between each second task
The second task to be processed is needed in example;
Second generation module, the second task process instruction is generated for the second task for handling as needed, described second
Being comprised at least in task process instruction needs the second task to be processed;
Second sending module, for the second task process instruction to be sent to second server, taken by described second
Business device receives the second task process instruction, and handles task according to the second task process instruction received.
Fourth aspect, there is provided a kind of Task Processing Unit, described device include:
First receiving module, for receiving the first task process instruction of first server transmission, at the first task
Comprised at least in reason instruction and has repaired and needed first task to be processed, described to have repaired and needed first task to be processed be institute
State the task in the first pass example performed not successfully in preset time period before first server acquisition restarts;
First processing module, for handling task according to the first task process instruction received.
With reference to fourth aspect, in the first possible implementation of fourth aspect, described device also includes:
Second receiving module, for receiving the second task process instruction of first server transmission, at second task
Comprise at least the second task to be processed of needing in reason instruction, it is described need to the second task to be processed for the first server according to
Task in the second procedure example of current task flow generation;
Second processing module, for handling task according to the second task process instruction received.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
It is all failed in the first pass example performed not successfully in preset time period before being restarted by reparation
Priority dependence between the first task of processing and each first task, need are determined according to the priority dependence after reparation
First task to be processed, first task process instruction is generated, first task process instruction is sent to second server, by the
Two servers handle task according to first task process instruction.Due to can repair restarting before perform not successfully it is first-class
Journey example, so as to which the task in first pass example can be handled again after restarting.Therefore, handle the availability of task compared with
Height, stability are preferable.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of implementation environment schematic diagram for task processing method that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart for task processing method that another embodiment of the present invention provides;
Fig. 3 is a kind of flow chart for task processing method that another embodiment of the present invention provides;
Fig. 4 is a kind of flow chart for task processing method that another embodiment of the present invention provides;
Fig. 5 is a kind of structural representation for Task Processing Unit that another embodiment of the present invention provides;
Fig. 6 is a kind of structural representation for Task Processing Unit that another embodiment of the present invention provides;
Fig. 7 is a kind of structural representation for Task Processing Unit that another embodiment of the present invention provides;
Fig. 8 is a kind of structural representation for server that another embodiment of the present invention provides;
Fig. 9 is a kind of structural representation for Task Processing Unit that another embodiment of the present invention provides;
Figure 10 is a kind of structural representation for Task Processing Unit that another embodiment of the present invention provides;
Figure 11 is a kind of structural representation for server that another embodiment of the present invention provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is refer to, it illustrates the signal of the implementation environment involved by task processing method provided in an embodiment of the present invention
Figure.As shown in figure 1, the implementation environment includes first server 101 and second server 102.Pass through the implementation ring shown in Fig. 1
Border, first server 101 can be communicated with second server 102 by wireless network or cable network.
For convenience of description, the first server 101 shown in Fig. 1 is only represented in multiple servers with second server 102
One.Below by be realized by information exchange between first server 101 and second server 102 to task
Exemplified by reason, task processing method provided in an embodiment of the present invention to be illustrated.
With reference to the implementation environment shown in above-mentioned Fig. 1, another embodiment of the present invention provides a kind of task processing method, referring to
Fig. 2, method flow provided in an embodiment of the present invention include:
201:The first pass example performed not successfully in preset time period before restarting is obtained, first pass example is
Comprising flow instance corresponding to handling not successfully for task in preset time period before restarting, first pass example include to
A few first task handled not successfully;
202:All first tasks handled not successfully in first pass example are repaired, and are repaired in first pass example
Priority dependence between each first task;
As a kind of alternative embodiment, all first tasks in first pass example are repaired, and repair first pass reality
Before priority dependence in example between each first task, in addition to:
The status information of all first tasks before record restarting in first pass example, and before recording restarting
The relevant information of priority dependence in first pass example between each first task;
All first tasks in first pass example are repaired, and are repaired in first pass example between each first task
Priority dependence, including:
The status informations of all first tasks in first pass example repairs all the in first pass example
One task, and it is first-class according to the reparation of the relevant information of the priority dependence between each first task in first pass example
Priority dependence in journey example between each first task.
203:Determine to have repaired in first pass example according to the priority dependence after repairing between each first task
And first task to be processed is needed, and according to having repaired and needed first task to be processed to generate first task process instruction, the
Comprised at least in one task process instruction and repaired and needed first task to be processed;
As a kind of alternative embodiment, determined according to the priority dependence after reparation between each first task first-class
Repaired in journey example and needed first task to be processed, including:
Without preamble in the first task for determining to have repaired according to the priority dependence after repairing between each first task
The first task of task, and using the first task of unmatched sequence task as having repaired and needed first task to be processed.
204:First task process instruction is sent to second server, receiving first task processing by second server refers to
Order, and task is handled according to the first task process instruction received.
As a kind of alternative embodiment, this method also includes:
Current task flow is obtained, and second procedure example is generated according to current task flow, is wrapped in second procedure example
At least one second task is included, priority dependence be present between each second task;
Determined to need second to be processed in second procedure example according to the priority dependence between each second task
Business, and the second task handled as needed generates the second task process instruction, being comprised at least in the second task process instruction needs
Second task to be processed;
Second task process instruction is sent to second server, the second task process instruction is received by second server,
And task is handled according to the second task process instruction received.
Method provided in an embodiment of the present invention, first performed not successfully in preset time period before being restarted by reparation
The priority dependence between all first tasks handled not successfully and each first task in flow instance, according to reparation
Priority dependence afterwards determines to need first task to be processed, generates first task process instruction, first task processing is referred to
Order is sent to second server, and task is handled according to first task process instruction by second server.Due to that can repair again
The first pass example performed not successfully before startup, so as to which appointing in first pass example can be handled again after restarting
Business.Therefore, handle that the availability of task is higher, and stability is preferable.
With reference to the implementation environment shown in above-mentioned Fig. 1, another embodiment of the present invention provides a kind of task processing method, referring to
Fig. 3, method flow provided in an embodiment of the present invention include:
301:The first task process instruction that first server is sent is received, is comprised at least in first task process instruction
Repair and need first task to be processed, before having repaired and having needed first task to be processed to obtain restarting for first server
Task in the first pass example performed not successfully in preset time period;
302:Task is handled according to the first task process instruction received.
As a kind of alternative embodiment, this method also includes:
The second task process instruction that first server is sent is received, being comprised at least in the second task process instruction needs to locate
Second task of reason is, it is necessary to which the second task of processing is the second procedure example that first server generates according to current task flow
In task;
Task is handled according to the second task process instruction received.
Method provided in an embodiment of the present invention, the first task process instruction sent by receiving first server, first
Comprised at least in task process instruction and repaired and needed first task to be processed, repaired and need first task to be processed is
Task in the first pass example performed not successfully in preset time period before first server acquisition restarting, according to reception
The first task process instruction processing task arrived.Due to first server can repair restarting before perform not successfully first
Flow instance, so that the task during second server can handle first pass example again after first server restarting.
Therefore, handle that the availability of task is higher, and stability is preferable.
With reference to Fig. 1 and above-mentioned implementation environment content, the embodiments of the invention provide a kind of method for processing business, this method
It is related to first server and second server.Content in the embodiment with reference to corresponding to above-mentioned Fig. 2 and Fig. 3, is carried to the present embodiment
The method of confession is illustrated.Referring to Fig. 4, the method flow that the present embodiment provides includes:
401:The first pass example performed not successfully in preset time period before first server acquisition restarting, first
Flow instance is real comprising flow instance corresponding to handling not successfully for task, first pass in preset time period before restarting
Example includes at least one first task handled not successfully;
Because first server is in the task of processing, need to be handled according to flow of task.For example, using flow of task as appoint
Exemplified by flow 1 of being engaged in, the order of tasks carrying is to first carry out task A in flow of task 1, then performs task B, finally performs task C.
If it is determined that flow of task, and the execution time of flow of task is determined, then it can determine that a flow instance.If for example, task
Flow is flow of task 1, and flow of task 1 is needed in 3 points of execution this afternoon.Now, flow of task 1 is just determined
Flow instance, and a need task to be processed is comprised at least in the flow instance.
Further, since during above-mentioned flow instance is performed, flow instance may perform failure.Accordingly, flow
Task in journey example also can processing failure.Or some tasks can processing failure in flow instance.Therefore, flow is being performed
There may be the flow instance for performing failure during example.
Based on the above, obtain on first server and performed not successfully in preset time period before restarting
First pass example mode, the present embodiment is not especially limited to this, includes but is not limited to:It is pre- before restarting in advance
If the first pass example performed not successfully in the period is stored;Obtain the first pass example of storage.Wherein, when presetting
Between section can be configured according to demand, the present embodiment is not especially limited to this.In addition, first pass example is restarting
Comprising flow instance corresponding to handling not successfully for task in preceding preset time period, for the ease of narration, by the in the present embodiment
The task for the failed processing that one flow instance includes is referred to as first task.For example, preset time period could be arranged to one
Month, then first server can prestore the first pass example for restarting and being performed not successfully in the previous moon, and again
The first pass example prestored is obtained after startup.
Wherein, the first pass example performed not successfully in preset time period before restarting can be stored in database
In, the database can be stored in other servers in addition to first server and second server, and the present embodiment is to this
It is not especially limited.During specific acquisition first pass example, it can be obtained from database, the present embodiment is not also limited specifically this
It is fixed.In addition, the first task handled not successfully can be included in first pass example, the elder generation between first task can also be included
Dependence afterwards, the present embodiment are not especially limited to this.
402:First server repairs all first tasks handled not successfully in first pass example, and repairs first
Priority dependence in flow instance between each first task;
In above-mentioned steps 401, due to being stored with the flow instance performed not successfully, and failed execution in database
Flow instance in include the first task handled not successfully, and in these tasks have inserted before first server is restarted
Deposit and wait to be treated.Therefore, the first task that need to be handled these not successfully is reformed into before first server restarts
State, that is, need to repair the first task handled not successfully.
The present embodiment to first server repair first pass example in it is all handle not successfully it is first pragmatic
The mode of example specifically limits, and includes but is not limited to:Obtain task instances pair corresponding to the first task in first pass example
As task instances object corresponding to first task is inserted in internal memory again.Wherein, task instances object can include first
The execution code of business, the other relevant informations for performing time and first task of first task, the present embodiment is not to task instances
The content of object makees specific limit.
For example, exemplified by including first task A in first pass example.First pass example is taken out from database
Afterwards, task instances object corresponding to first task A in first pass example can be obtained, and task corresponding to first task A is real
Example object is inserted in internal memory again.Wherein, can holding comprising first task A in task instances object corresponding to first task A
Line code, the relevant informations such as first task A execution time can also be included.
Further, since in first pass example in addition to the first task including handling not successfully, in addition to each
Priority dependence between one task, i.e., which task preceding sequence task and the rear sequence task of each first task are respectively.Cause
This, in addition to each first task is repaired in first pass example, it is also necessary to in first pass example each first
Priority dependence between task is repaired.
For the ease of being repaired to the priority dependence between each first task in first pass example, database
In can record priority dependence of the first server before restarting in first pass example between each first task
Relevant information, the present embodiment is not especially limited to this.Wherein, the correlation of the priority dependence between each first task
The preceding sequence task of each first task can be included in information or the task identification of rear sequence task, the present embodiment are not also made to have to this
Body limits.
It is based on the above, the present embodiment does not repair each first task in first pass example to first server
Between the mode of priority dependence specifically limit, include but is not limited to:By each first task in first pass example
Between the relevant information of priority dependence insert in internal memory, wherein, each first task have corresponding to successively rely on and close
System.
For example, with task A, task B and task C, and the order of tasks carrying is to first carry out task A, then task B is performed,
Finally exemplified by execution task C.Now, the relevant information of the priority dependence between task can be with as shown in the table:
Table 1
Task | Preceding sequence task | Sequence task afterwards |
A | It is empty | B |
B | A | C |
C | B | It is empty |
…… | …… | …… |
Wherein, the task identification of task A preceding sequence task is sky, and the task identification of task A rear sequence task is B, task B
The task identification of preceding sequence task be A, the task identification of task B rear sequence task is C, the task mark of task C preceding sequence task
Know for B, the task identification of task A rear sequence task is sky.Upper table 1 is storable in database before first server is restarted,
When needing to repair in first pass example the priority dependence between each first task, first can be obtained from database
The relevant information of priority dependence between task is to be repaired.
For example, can determine that task A preceding sequence task is sky according to table 1, follow-up work is task B.Therefore, when A pairs of task
After the execution code answered inserts internal memory again, it may be determined that the task identification of task A preceding sequence task is sky in internal memory, task A's
The task identification of sequence task is B afterwards.
403:First server determines first pass reality according to the priority dependence after being repaired between each first task
Repaired in example and needed first task to be processed, and according to having repaired and needed at first task generation first task to be processed
Reason instructs, and is comprised at least in first task process instruction and has repaired and needed first task to be processed;
First pass reality is determined according to the priority dependence after being repaired between each first task on first server
Repaired in example and needed the mode of first task to be processed, the present embodiment is not especially limited to this, is included but is not limited to:Root
The first of unmatched sequence task in the first task repaired according to the priority dependence determination after being repaired between each first task
Task, and using the first task of unmatched sequence task as having repaired and needed first task to be processed.
For example, exemplified by the priority dependence after being repaired between task is the content in table 1 above, appoint corresponding to table 1
Business execution sequence is to first carry out task A, then performs task B, finally performs task C.Content in table 1 can determine that no preamble
The first task of task is task A, can be using task A as having repaired and needed first task to be processed.
It should be noted that first repaired is determined according to the priority dependence after being repaired between each first task
The number of the first task of unmatched sequence task might have multiple in task, now, it is determined that multiple first tasks be to have repaiied
Again and need to first task to be processed.
By above-mentioned repair process, state that the flow instance in first server can be allowed to return to before restarting makes
Execution task is not influenceed by restarting, so as to the high availability of assurance dispatching system.In addition, it is determined that first pass is real
, can be according to having repaired and needed first task to be processed to generate first task after having been repaired in example and having needed first task to be processed
Process instruction.Wherein, comprised at least in first task process instruction and repaired and needed first task to be processed, the present embodiment pair
This is not especially limited.
Further, since before the first task to having repaired is handled, it may be necessary to meet certain environment condition,
The first task repaired can be handled.Therefore, it is determined that repaired in first pass example and need to be processed first
After task, whether detectable current environment meets to have repaired and needs the service condition of first task to be processed, the present embodiment pair
This is not especially limited.For example, whether the server of detectable processing task currently can handle state of task etc..It is if current
Environment satisfaction has been repaired and has needed the service condition of first task to be processed, then can generate corresponding first task process instruction.
404:First server sends first task process instruction to second server;
The mode that the present embodiment does not send first task process instruction to second server to first server is made specifically
Limit, include but is not limited to:By being asked with HTTP (HyperText Transfer Protocol, HTTP)
Mode to second server send first task instruction.
405:Second server receives first task process instruction, and is handled according to the first task process instruction received
Task;
The mode that the present embodiment does not receive first task process instruction to second server specifically limits, including but unlimited
Received in the mode that first task process instruction is sent according to first server, as by receiving first server transmission
HTTP request receives first task process instruction.Second server, can be according to connecing after first task process instruction is received
The first task process instruction processing task received.
Above-mentioned steps 401 to 405 are to be realized by interacting between first server and second server to having repaired
The procedure that first task is handled.Alternatively, in a practical situation, except carrying out handling it to having repaired for task
Outside, may also need to handle current task.For this kind of situation, the present embodiment additionally provides a kind of to be entered to current task
The method of row processing, detailed process refer to subsequent step.
406:First server obtains current task flow, and generates second procedure example according to current task flow, the
Two flow instances include at least one second task, priority dependence be present between each second task;
The mode that the present embodiment does not obtain current task flow to first server specifically limits, and includes but is not limited to:
Receive flow instruction corresponding to current task flow;Instructed according to flow and obtain current task flow.
Wherein, flow of task can be designed by related personnel and is stored in addition to first server and second server
Other servers in, be stored with flow of task server can to first server send current task flow corresponding to flow
Instruction, and flow instruction is received by first server, the present embodiment is not especially limited to this.Alternatively, it is stored with task flow
The server of journey can also pre-set management backstage, and related personnel can monitor first server to task by management backstage
The dispatch situation of flow, the present embodiment are not especially limited to this.
In addition, it can be seen from the content in above-mentioned steps 401, it is determined that flow of task, and it is determined that flow of task is held
After the row time, you can determine a flow instance.Therefore, first server is after current task flow is obtained, it is determined that as predecessor
The execution time for flow of being engaged in, you can second procedure example corresponding to generation.For example, if current task flow is flow of task 1, and
The execution time of flow of task 1 is 2 pm, then can generate corresponding second procedure example 1.
Wherein, second procedure example includes at least one second task, and the present embodiment is not in second procedure example
Task number makees specific limit.Priority dependence be present between each second task, successively the content of dependence specifically may be used
With reference to above-mentioned steps 402, here is omitted.
407:First server determines need in second procedure example according to the priority dependence between each second task
Second task to be processed, and the second task handled as needed generates the second task process instruction, the processing of the second task refers to
Being comprised at least in order needs the second task to be processed;
The present embodiment does not determine second procedure to first server according to the priority dependence between each second task
Need the mode of the second task to be processed specifically to limit in example, include but is not limited to:According between each second task
Priority dependence determines the second task of unmatched sequence task in the second task, and using the second task of unmatched sequence task as need
Second task to be processed.
After it is determined that needing the second task to be processed in second procedure example, the second task that can be handled as needed generates
Second task process instruction.Wherein, being comprised at least in the second task process instruction needs the second task to be processed, the present embodiment pair
This is not especially limited.
408:First server sends the second task process instruction to second server;
The present embodiment, which does not send the second task process instruction to the mode of second server to first server, to be made specifically
Limit, detailed process refers to the content in above-mentioned steps 404, and here is omitted.
409:Second server receives the second task process instruction, and is handled according to the second task process instruction received
Task.
The mode that the present embodiment does not receive the second task process instruction to second server specifically limits, and detailed process can
With reference to the content in above-mentioned steps 405, here is omitted.
It should be noted that in above-mentioned steps 405 and in this step, second server can be adopted in the task of processing
, can also be by the way of asynchronous process with the mode of synchronization process, the present embodiment is not especially limited to this.Wherein, it is synchronous
Processing refers to that second server receives the task process instruction that first server is sent, and is handled and appointed according to task process instruction
Business, first server waits until second server after task corresponding to the task process instruction has been handled, then to second server
Send next task process instruction.And asynchronous process refers to that first server is responsible for sending task processing to second server
Instruction, but regardless of the situation of second server task processing, second server is responsible for handling task according to task process instruction.
When second server is when task is handled by the way of asynchronous process, due to without considering that first server is transmitted across
The quantity for the task process instruction come, the control of first server is not need to rely on during operation.Therefore, first server can be with
Restarted at any time, if that is, first server the situations such as the machine of delaying occurs and needs to restart, also do not interfere with the second clothes
Business device performs task, so as to ensure that the high availability of task scheduling system.
In addition, in above-mentioned steps 405 and in this step, second server, can be by the task after task has been handled
Disposition be written in the database for store tasks disposition, the present embodiment is not especially limited to this.Due to
A second server complete task per treatment, the relevant information of the priority dependence between task in flow instance may
It can change.Therefore, in above-mentioned steps 403 and step 407, first server in flow instance it is determined that need to be processed
During task, the task disposition in readable data storehouse, according to the elder generation between the task disposition modification task read
The relevant information of dependence afterwards, so as to be determined again according to the relevant information of the priority dependence between amended task
Next need task to be processed, the present embodiment are not especially limited to this.
For example, using the order of tasks carrying to first carry out task A, then task B is performed, exemplified by finally performing task C.This
When, the relevant information of the priority dependence between task can be as shown in Table 1 above.After task A is handled successfully, the second clothes
The relevant information of priority dependence between the task disposition modification task for the task A that business device meeting basis is read, is repaiied
Content after changing can be as shown in Table 2 below:
Table 2
Task | Preceding sequence task | Sequence task afterwards |
B | It is empty | C |
C | B | It is empty |
…… | …… | …… |
Now, when first server determines to be currently needed for again the task of processing, it may be determined that task B is appointing for unmatched sequence task
Business, and using task B as being currently needed for processing of the task.
Alternatively, the execution journal of task can be also stored in local, this reality by second server after task has been handled
Example is applied to be not especially limited this.Wherein, the execution journal of task can include but is not limited to the initial time of task processing, appoint
Business processing it is time-consuming etc., the present embodiment is also not especially limited to this.
It should be noted that above-mentioned steps 401 to 405 are the procedure of processing task, step 406 to 409 is
Handle the procedure of current task.Be embodied the present embodiment provide method when, can first carry out above-mentioned steps 401 to
Content in 405, then perform the content in step 406 to 409.Or content in step 406 to 409 can also be first carried out,
The content in step 401 to 405 is performed again, and the present embodiment is not especially limited to this.
Method provided in an embodiment of the present invention, it is failed in preset time period before being restarted by first server reparation
Priority between all first tasks handled not successfully and each first task in the first pass example of execution, which relies on, closes
System, determined to need first task to be processed according to the priority dependence after reparation, first task process instruction is generated, by first
Task process instruction is sent to second server, and task is handled according to first task process instruction by second server.Due to energy
It is enough to repair the first pass example performed not successfully before restarting, so as to which first pass reality can be handled again after restarting
Task in example.Therefore, handle that the availability of task is higher, and stability is preferable.
Another embodiment of the present invention provides a kind of Task Processing Unit, and the device is used to perform in above-mentioned each embodiment
Function in the method that any embodiment provides performed by first server.Referring to Fig. 5, the Task Processing Unit includes:
First acquisition module 501, the first pass performed not successfully in preset time period before being restarted for acquisition are real
Example, first pass example are to include flow instance corresponding to handling not successfully for task in preset time period before restarting, the
One flow instance includes at least one first task handled not successfully;
Repair module 502, for repairing all first tasks handled not successfully in first pass example, and repair the
Priority dependence in one flow instance between each first task;
First determining module 503, for determining first according to the priority dependence after being repaired between each first task
Repaired in flow instance and needed first task to be processed;
First generation module 504, repaired for basis and needed first task generation first task processing to be processed to refer to
Make, comprised at least in first task process instruction and repaired and needed first task to be processed;
First sending module 505, for first task process instruction to be sent to second server, connect by second server
First task process instruction is received, and task is handled according to the first task process instruction received.
As a kind of alternative embodiment, the first determining module 503, for according to the elder generation after reparation between each first task
Dependence determines the first task of unmatched sequence task in the first task repaired afterwards, and by the first task of unmatched sequence task
As having repaired and needed first task to be processed.
As a kind of alternative embodiment, referring to Fig. 6, the device also includes:
Logging modle 506, the status information of all first tasks before being restarted for record in first pass example,
And record the relevant information of the priority dependence before restarting in first pass example between each first task;
The repair module 502, the status information for all first tasks in first pass example repair first
All first tasks in flow instance, and according to the priority dependence between each first task in first pass example
Relevant information repairs the priority dependence between each first task in first pass example.
As a kind of alternative embodiment, referring to Fig. 7, the device also includes:
Second acquisition module 507, second procedure reality is generated for obtaining current task flow, and according to current task flow
Example, second procedure example include at least one second task, priority dependence be present between each second task;
Second determining module 508, for determining second procedure reality according to the priority dependence between each second task
The second task to be processed is needed in example;
Second generation module 509, the second task process instruction is generated for the second task for handling as needed, second
Being comprised at least in process instruction of being engaged in needs the second task to be processed;
Second sending module 510, for the second task process instruction to be sent to second server, connect by second server
The second task process instruction is received, and task is handled according to the second task process instruction received.
Device provided in an embodiment of the present invention, first performed not successfully in preset time period before being restarted by reparation
The priority dependence between all first tasks handled not successfully and each first task in flow instance, according to reparation
Priority dependence afterwards determines to need first task to be processed, generates first task process instruction, first task processing is referred to
Order is sent to second server, and task is handled according to first task process instruction by second server.Due to that can repair again
The first pass example performed not successfully before startup, so as to which appointing in first pass example can be handled again after restarting
Business.Therefore, handle that the availability of task is higher, and stability is preferable.
Fig. 8 is a kind of block diagram of server 1900 according to an exemplary embodiment.For example, server 1900 can be with
It is provided as a server.Reference picture 8, server 1900 include processing component 1922, and it further comprises one or more places
Manage device, and as the memory resource representated by memory 1932, for store can by the instruction of the execution of processing component 1922,
Such as application program.The application program stored in memory 1932 can include it is one or more each correspond to one
The module of group instruction.In addition, processing component 1922 is configured as execute instruction, to perform Information Statistics in above-mentioned each embodiment
Method performed by equipment.
Server 1900 can also include the power management that a power supply module 1926 is configured as execute server 1900,
One wired or wireless network interface 1950 is configured as server 1900 being connected to network, and an input and output (I/O)
Interface 1958.Server 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server provided in an embodiment of the present invention, by repair restart before perform not successfully in preset time period the
The priority dependence between all first tasks handled not successfully and each first task in one flow instance, according to repairing
Priority dependence after multiple determines to need first task to be processed, generates first task process instruction, first task is handled
Instruction is sent to second server, and task is handled according to first task process instruction by second server.Due to weight can be repaired
The first pass example performed not successfully before new startup, so as to which appointing in first pass example can be handled again after restarting
Business.Therefore, handle that the availability of task is higher, and stability is preferable.
Another embodiment of the present invention provides a kind of Task Processing Unit, and the device is used to perform in above-mentioned each embodiment
Function in the method for any embodiment performed by second server.Referring to Fig. 9, the Task Processing Unit includes:
First receiving module 601, for receiving the first task process instruction of first server transmission, first task processing
Comprised at least in instruction and repaired and needed first task to be processed, it is first service to have repaired and needed first task to be processed
Task in the first pass example performed not successfully in preset time period before device acquisition restarting;
First processing module 602, for handling task according to the first task process instruction received.
As a kind of alternative embodiment, referring to Figure 10, the device also includes:
Second receiving module 603, for receiving the second task process instruction of first server transmission, the processing of the second task
Being comprised at least in instruction needs the second task to be processed, it is necessary to which the second task of processing is first server according to current task stream
Task in Cheng Shengcheng second procedure example;
Second processing module 604, for handling task according to the second task process instruction received.
Device provided in an embodiment of the present invention, the first task process instruction sent by receiving first server, first
Comprised at least in task process instruction and repaired and needed first task to be processed, repaired and need first task to be processed is
Task in the first pass example performed not successfully in preset time period before first server acquisition restarting, according to reception
The first task process instruction processing task arrived.Due to first server can repair restarting before perform not successfully first
Flow instance, so that the task during second server can handle first pass example again after first server restarting.
Therefore, handle that the availability of task is higher, and stability is preferable.
Figure 11 is a kind of block diagram of server 2000 according to an exemplary embodiment.For example, server 2000 can
To be provided as a server.Reference picture 11, server 2000 include processing component 2022, and it further comprises one or more
Processor, and as the memory resource representated by memory 2032, can be by the finger of the execution of processing component 2022 for storing
Order, such as application program.The application program stored in memory 2032 can include each one or more correspondence
In the module of one group of instruction.In addition, processing component 2022 is configured as execute instruction, to perform information in above-mentioned each embodiment
Count the method performed by equipment.
Server 2000 can also include the power management that a power supply module 2026 is configured as execute server 2000,
One wired or wireless network interface 2050 is configured as server 2000 being connected to network, and an input and output (I/O)
Interface 2058.Server 2000 can be operated based on the operating system for being stored in memory 2032, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Server provided in an embodiment of the present invention, the first task process instruction sent by receiving first server, the
Comprised at least in one task process instruction and repaired and needed first task to be processed, repaired and needed first task to be processed
The task in the first pass example performed not successfully in preset time period before restarting is obtained for first server, according to connecing
The first task process instruction processing task received.Because first server can repair perform not successfully before restarting the
One flow instance, so as to which second server can handle appointing in first pass example again after first server restarting
Business.Therefore, handle that the availability of task is higher, and stability is preferable.
It should be noted that:The Task Processing Unit that above-described embodiment provides is in the task of processing, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above
Energy.In addition, the Task Processing Unit that above-described embodiment provides belongs to same design with task processing method embodiment, it is specific real
Existing process refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (12)
1. a kind of task processing method, it is characterised in that methods described includes:
The first pass example performed not successfully in preset time period before restarting is obtained, the first pass example is again
Comprising flow instance corresponding to handling not successfully for task in preset time period before startup, the first pass example include to
A few first task handled not successfully;
All first tasks handled not successfully in the first pass example are repaired, and are repaired in the first pass example
Priority dependence between each first task;
Determine to have repaired in the first pass example and need according to the priority dependence after repairing between each first task
First task to be processed, and according to having repaired and needed first task to be processed to generate first task process instruction, described the
Comprised at least in one task process instruction and repaired and needed first task to be processed;
The first task process instruction is sent to second server, receiving first task processing by the second server refers to
Order, and task is handled according to the first task process instruction received;
Wherein, all first tasks handled not successfully repaired in the first pass example, and repair described first
Priority dependence in flow instance between each first task, including:
By the relevant information of the priority dependence corresponding to first task between task instances object and first task again
Insert in internal memory, first task is reformed into the state before first server is restarted.
2. according to the method for claim 1, it is characterised in that the priority after being repaired between each first task of basis
Dependence determines to have repaired in the first pass example and needs first task to be processed, including:
Unmatched sequence task in the first task repaired according to the priority dependence determination after being repaired between each first task
First task, and using the first task of unmatched sequence task as having repaired and needed first task to be processed.
3. according to the method for claim 1, it is characterised in that all first in the reparation first pass example
Task, and before repairing the priority dependence in the first pass example between each first task, in addition to:
The status information of all first tasks before record restarting in the first pass example, and before recording restarting
The relevant information of priority dependence in the first pass example between each first task;
All first tasks repaired in the first pass example, and repair each first in the first pass example
Priority dependence between task, including:
The status information of all first tasks in the first pass example repairs the institute in the first pass example
There is first task, and repaiied according to the relevant information of the priority dependence between each first task in the first pass example
Priority dependence in the multiple first pass example between each first task.
4. according to the method for claim 1, it is characterised in that methods described also includes:
Current task flow is obtained, and second procedure example is generated according to current task flow, is wrapped in the second procedure example
At least one second task is included, priority dependence be present between each second task;
Determined to need second to be processed in the second procedure example according to the priority dependence between each second task
Business, and the second task handled as needed generates the second task process instruction, is at least wrapped in the second task process instruction
Including needs the second task to be processed;
The second task process instruction is sent to second server, receiving the processing of the second task by the second server refers to
Order, and task is handled according to the second task process instruction received.
5. a kind of task processing method, it is characterised in that methods described includes:
The first task process instruction that first server is sent is received, comprises at least and has repaired in the first task process instruction
And first task to be processed is needed, it is described to have repaired and needed first task to be processed to be opened again for first server acquisition
The first pass example performed not successfully in preset time period before dynamic, repair all failed places in the first pass example
The first task of reason, and after repairing the priority dependence in the first pass example between each first task, according to
What the priority dependence after being repaired between each first task determined from the first pass example, wherein, described first
Server repairs all first tasks handled not successfully in the first pass example, and repairs the first pass example
In priority dependence between each first task, including:By task instances object corresponding to first task and first
The relevant information of priority dependence between business is inserted in internal memory again, first task is reformed into first service and is thought highly of
State before opening;
Task is handled according to the first task process instruction received.
6. according to the method for claim 5, it is characterised in that methods described also includes:
The second task process instruction that first server is sent is received, being comprised at least in the second task process instruction needs to locate
Second task of reason, need second task to be processed are second that the first server generates according to current task flow
Task in flow instance;
Task is handled according to the second task process instruction received.
7. a kind of Task Processing Unit, it is characterised in that described device includes:
First acquisition module, the first pass example performed not successfully in preset time period before being restarted for acquisition are described
First pass example for before restarting in preset time period comprising flow instance corresponding to handling not successfully for task, described the
One flow instance includes at least one first task handled not successfully;
Repair module, for repairing all first tasks handled not successfully in the first pass example, and described in reparation
Priority dependence in first pass example between each first task;
First determining module, for determining the first pass according to the priority dependence after being repaired between each first task
Repaired in example and needed first task to be processed;
First generation module, repaired for basis and needed first task generation first task process instruction to be processed, it is described
Comprised at least in first task process instruction and repaired and needed first task to be processed;
First sending module, for the first task process instruction to be sent to second server, by the second server
First task process instruction is received, and task is handled according to the first task process instruction received;
Wherein, the repair module repairs all first tasks handled not successfully in the first pass example, and repairs
Priority dependence in the first pass example between each first task, including:
By the relevant information of the priority dependence corresponding to first task between task instances object and first task again
Insert in internal memory, first task is reformed into the state before first server is restarted.
8. device according to claim 7, it is characterised in that first determining module, for according to each first
The first task of unmatched sequence task in the first task that priority dependence determination after being repaired between business has been repaired, and will be unmatched
The first task of sequence task, which is used as, has repaired and has needed first task to be processed.
9. device according to claim 7, it is characterised in that described device also includes:
Logging modle, the status information of all first tasks before being restarted for record in the first pass example, and
The relevant information of priority dependence before record restarting in the first pass example between each first task;
The repair module, the status information for all first tasks in the first pass example repair described the
All first tasks in one flow instance, and relied on according to the priority between each first task in the first pass example
The relevant information of relation repairs the priority dependence between each first task in the first pass example.
10. device according to claim 7, it is characterised in that described device also includes:
Second acquisition module, second procedure example is generated for obtaining current task flow, and according to current task flow, it is described
Second procedure example includes at least one second task, priority dependence be present between each second task;
Second determining module, for being determined according to the priority dependence between each second task in the second procedure example
Need the second task to be processed;
Second generation module, the second task for handling as needed generate the second task process instruction, second task
Being comprised at least in process instruction needs the second task to be processed;
Second sending module, for the second task process instruction to be sent to second server, by the second server
The second task process instruction is received, and task is handled according to the second task process instruction received.
11. a kind of Task Processing Unit, it is characterised in that described device includes:
First receiving module, for receiving the first task process instruction of first server transmission, the first task processing refers to
Comprised at least in order and repaired and needed first task to be processed, it is described to have repaired and needed first task to be processed as described the
The first pass example performed not successfully in preset time period before the acquisition restarting of one server, it is real to repair the first pass
All first tasks handled not successfully in example, and repair the priority in the first pass example between each first task
After dependence, determined according to the priority dependence after being repaired between each first task from the first pass example
, wherein, the first server repairs all first tasks handled not successfully in the first pass example, and repairs
Priority dependence in the first pass example between each first task, including:Task corresponding to first task is real
The relevant information of priority dependence between example object and first task is inserted in internal memory again, makes first task again extensive
State before restarting again to first server;
First processing module, for handling task according to the first task process instruction received.
12. device according to claim 11, it is characterised in that described device also includes:
Second receiving module, for receiving the second task process instruction of first server transmission, the second task processing refers to
The second task to be processed that needs is comprised at least in order, need second task to be processed is the first server according to current
Task in the second procedure example of flow of task generation;
Second processing module, for handling task according to the second task process instruction received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410737476.3A CN104484167B (en) | 2014-12-05 | 2014-12-05 | Task processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410737476.3A CN104484167B (en) | 2014-12-05 | 2014-12-05 | Task processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104484167A CN104484167A (en) | 2015-04-01 |
CN104484167B true CN104484167B (en) | 2018-03-09 |
Family
ID=52758711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410737476.3A Active CN104484167B (en) | 2014-12-05 | 2014-12-05 | Task processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104484167B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648839B (en) * | 2015-10-30 | 2020-06-05 | 北京国双科技有限公司 | Data processing method and device |
CN106850409B (en) * | 2017-01-24 | 2019-12-10 | 腾讯科技(深圳)有限公司 | Method, equipment and system for processing message chain breaking task |
JP6994358B2 (en) * | 2017-11-07 | 2022-01-14 | シャープ株式会社 | Reboot control system |
CN110489213B (en) | 2018-05-15 | 2022-04-05 | 华为技术有限公司 | Task processing method and processing device and computer system |
CN109542591A (en) * | 2018-10-17 | 2019-03-29 | 深圳壹账通智能科技有限公司 | Task compensation deals method, apparatus, computer equipment and storage medium |
CN109587278A (en) * | 2019-01-16 | 2019-04-05 | 平安普惠企业管理有限公司 | Data transmission method and relevant apparatus |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533417A (en) * | 2009-04-28 | 2009-09-16 | 阿里巴巴集团控股有限公司 | A method and system for realizing ETL scheduling |
CN101567013A (en) * | 2009-06-02 | 2009-10-28 | 阿里巴巴集团控股有限公司 | Method and apparatus for implementing ETL scheduling |
CN101853182A (en) * | 2010-05-05 | 2010-10-06 | 中兴通讯股份有限公司 | Task execution method and device based on database |
CN102231124A (en) * | 2011-07-18 | 2011-11-02 | 深圳市科陆电子科技股份有限公司 | Method for guarding tasks of embedded system |
CN102360324A (en) * | 2011-10-28 | 2012-02-22 | 华为技术有限公司 | Failure recovery method and equipment for failure recovery |
CN102387208A (en) * | 2011-10-21 | 2012-03-21 | 百度在线网络技术(北京)有限公司 | Distribution type task scheduling method and system |
CN102436404A (en) * | 2011-08-24 | 2012-05-02 | 苏州阔地网络科技有限公司 | Daemon implementing method |
CN102508716A (en) * | 2011-09-29 | 2012-06-20 | 用友软件股份有限公司 | Task control device and task control method |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
CN102810073A (en) * | 2012-06-13 | 2012-12-05 | 天津大学 | Background real-time monitoring processing method for data |
CN103034554A (en) * | 2012-12-30 | 2013-04-10 | 焦点科技股份有限公司 | ETL (Extraction-Transformation-Loading) dispatching system and method for error-correction restarting and automatic-judgment starting |
CN103491134A (en) * | 2013-08-30 | 2014-01-01 | 华为技术有限公司 | Container monitoring method and device and agency service system |
CN103823719A (en) * | 2014-02-26 | 2014-05-28 | 杭州群核信息技术有限公司 | Distributed cloud computing system and distributed cloud computing method for executable program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6361362A (en) * | 1986-09-01 | 1988-03-17 | Hitachi Ltd | Program dividing and processing system |
-
2014
- 2014-12-05 CN CN201410737476.3A patent/CN104484167B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101533417A (en) * | 2009-04-28 | 2009-09-16 | 阿里巴巴集团控股有限公司 | A method and system for realizing ETL scheduling |
CN101567013A (en) * | 2009-06-02 | 2009-10-28 | 阿里巴巴集团控股有限公司 | Method and apparatus for implementing ETL scheduling |
CN101853182A (en) * | 2010-05-05 | 2010-10-06 | 中兴通讯股份有限公司 | Task execution method and device based on database |
CN102231124A (en) * | 2011-07-18 | 2011-11-02 | 深圳市科陆电子科技股份有限公司 | Method for guarding tasks of embedded system |
CN102436404A (en) * | 2011-08-24 | 2012-05-02 | 苏州阔地网络科技有限公司 | Daemon implementing method |
CN102508716A (en) * | 2011-09-29 | 2012-06-20 | 用友软件股份有限公司 | Task control device and task control method |
CN102387208A (en) * | 2011-10-21 | 2012-03-21 | 百度在线网络技术(北京)有限公司 | Distribution type task scheduling method and system |
CN102360324A (en) * | 2011-10-28 | 2012-02-22 | 华为技术有限公司 | Failure recovery method and equipment for failure recovery |
CN102521712A (en) * | 2011-12-27 | 2012-06-27 | 东软集团股份有限公司 | Process instance data processing method and device |
CN102810073A (en) * | 2012-06-13 | 2012-12-05 | 天津大学 | Background real-time monitoring processing method for data |
CN103034554A (en) * | 2012-12-30 | 2013-04-10 | 焦点科技股份有限公司 | ETL (Extraction-Transformation-Loading) dispatching system and method for error-correction restarting and automatic-judgment starting |
CN103491134A (en) * | 2013-08-30 | 2014-01-01 | 华为技术有限公司 | Container monitoring method and device and agency service system |
CN103823719A (en) * | 2014-02-26 | 2014-05-28 | 杭州群核信息技术有限公司 | Distributed cloud computing system and distributed cloud computing method for executable program |
Also Published As
Publication number | Publication date |
---|---|
CN104484167A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104484167B (en) | Task processing method and device | |
CN109255713B (en) | Method for acquiring accounting right in block chain network within certain time period | |
US8301935B2 (en) | Distributed batch runner | |
CN103139157B (en) | A kind of based on the network communication method of socket, Apparatus and system | |
CN107105009A (en) | Job scheduling method and device based on Kubernetes system docking workflow engines | |
CN103605529B (en) | The treating method and apparatus of application program | |
CN107528912A (en) | A kind of automatic method, system and relevant apparatus for realizing distributing real time system | |
CN107360233A (en) | Method, apparatus, equipment and the readable storage medium storing program for executing that file uploads | |
CN108563455A (en) | Middleware portion arranging method, system and equipment in a kind of K-UX operating systems | |
US20130117755A1 (en) | Apparatuses, systems, and methods for distributed workload serialization | |
CN106790563A (en) | Distributed memory system and method | |
CN104410511B (en) | A kind of server management method and system | |
CN105930226A (en) | Data processing method and apparatus | |
CN109800081A (en) | A kind of management method and relevant device of big data task | |
CN104731660B (en) | data distributing method, device and system | |
CN104407808B (en) | The method and apparatus for writing data | |
CN117850968A (en) | Method, device and system for realizing virtual machine migration by designating NUMA node | |
EP2690560B1 (en) | Method of benchmarking the behaviour of a replacement information system with the old system | |
CN107844566A (en) | A kind of dump control methods and its system | |
CN106648871A (en) | Resource management method and system | |
CN114221971B (en) | Data synchronization method, device, server, storage medium and product | |
CN102868594B (en) | Method and device for message processing | |
CN106557530A (en) | Operation system, data recovery method and device | |
CN104754029A (en) | Method, device and system for determining primary management server | |
CN107729435A (en) | Method, apparatus, equipment and the storage medium that distributed file system task is assigned |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28 Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |