CN103345664A - Method and system for adaptation between workflow and task scheduling - Google Patents

Method and system for adaptation between workflow and task scheduling Download PDF

Info

Publication number
CN103345664A
CN103345664A CN2013102132797A CN201310213279A CN103345664A CN 103345664 A CN103345664 A CN 103345664A CN 2013102132797 A CN2013102132797 A CN 2013102132797A CN 201310213279 A CN201310213279 A CN 201310213279A CN 103345664 A CN103345664 A CN 103345664A
Authority
CN
China
Prior art keywords
task
workflow
task scheduling
workflow system
deletion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013102132797A
Other languages
Chinese (zh)
Inventor
曹俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2013102132797A priority Critical patent/CN103345664A/en
Publication of CN103345664A publication Critical patent/CN103345664A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and system for adaptation between workflow and task scheduling. The method includes the steps that tasks delivered by a workflow system are obtained; the tasks delivered by the workflow system are passed on to a task scheduling platform; executing states of the tasks passed on to the task scheduling platform are monitored in a periodic mode, and executing results of the tasks are obtained; the executing results of the tasks are returned to the workflow system. The method is used for the system. According to the method and system for the adaptation between the workflow and the task scheduling, due to the facts that the workflow system is represented, executing processes of the tasks of the task scheduling platform are monitored in the periodic mode, and the executing results are returned to the workflow system after task termination, the situation that in the workflow system, services including calculating tasks are defined as threads running for a long time is not needed any more, and consumed thread resources needed by the workflow system are greatly reduced.

Description

Workflow-task scheduling adaptation method and system
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of workflow-task scheduling adaptation method and system.
Background technology
Workflow (Work flow) be to the logic rules that organize together before and after how between each business in workflow and the workflow abstract, summarize, describe.The workflow concept originates from organization of production and Field of Office Automation, it is a concept that proposes at having the fixed routine activity in the routine work, purpose is by job analysis being become definition good flow process or role, carry out these flow processs and it monitored according to certain rule and process, reach increase work efficiency, better control procedure, strengthen service to the client, effective purposes such as management service flow process.Workflow modeling is about to that workflow is represented with appropriate model and to the calculation that plays tricks in fact in computing machine.By workflow modeling, workflow can be managed by Workflow system.
The major function of Workflow system is to remove definition, execution and management work stream by the support of computer technology, in the co-ordination stream implementation between the flow process and the information interaction between the group member.Workflow system is made up of workflow design instrument, Work Process Management instrument usually, and the workflow design instrument designs oneself definition of work flow for the user, the be in charge of the management execution of flow process of Work Process Management instrument.In the Workflow system course of work, workflow example comprises one or more business (Task), a certain work that each business agent need carry out.The interface that Workflow system mainly provides has: dispose flow definition, querying flow definition information, deletion flow definition, start flow instance, querying flow example information, obtain business and business information, finish business, delete flow instance etc.
The task scheduling platform is a group system, comprises multiclass nodes such as management node, computing node, login node.The task scheduling platform provides functions such as cluster resource management, cluster resource monitoring, task scheduling, task run, Mission Monitor by management software.The task scheduling platform is mainly used in fields such as high-performance calculation, grid computing, parallel computation, for calculation task provides the automatic dispatching management, makes considerable task share cluster resource by various policies in resource management and improves whole resource utilization.The task scheduling platform provides automatic dispatching management for calculation task, and a lot of calculation tasks need more resource usually, and the execution time is long, from several minutes to a few hours, even a couple of days.The interface that the task scheduling platform mainly provides has: submission task, query task state, deletion task, increase node, deletion of node, query resource situation etc.
In the office automatic field, the service needed calling task dispatching platform of many Workflow systems is realized large-scale calculation task, as shown in Figure 1, existing Workflow system and task scheduling platform association schemes are interfaces of direct calling task dispatching platform in Workflow system.But, owing to do not return the function of calling the Workflow system interface after the task scheduling platform provides task to finish, therefore in workflow example, as shown in Figure 2, the operational process that needs the calling task dispatching platform to carry out the business of calculation task can only finish for: the submission task-cyclic polling mission bit stream-task of learning-according to the task performance professional information-service ending is set, and each business needs a thread to carry out for a long time.There are the following problems for above-mentioned association schemes:
Because calculation task needs just can finish for a long time usually, each business is a thread that the state operation is arranged for a long time, causes Workflow system need waste a large amount of thread resources, and the flow instance quantity that can support is very limited.
Summary of the invention
The embodiment of the invention provides workflow-task scheduling adaptation method and system, the wasting of resources problem that exists in the task scheduling platform is combined with the Workflow system that solves prior art.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect provides a kind of workflow-task scheduling adaptation method, and described method comprises:
Obtain the task that Workflow system is paid;
The task that described Workflow system is paid is handed to the task scheduling platform;
Periodically monitor the described task executions state of handing to the task scheduling platform, and obtain described task executions result;
Described task executions result is returned described Workflow system.
In first kind of first aspect possible implementation, obtain the task that described Workflow system is paid by the task requests that receives described Workflow system.
In second kind of first aspect possible implementation, obtain the task that described Workflow system is paid by periodically inquiring about described Workflow system.
In the third possible implementation of first aspect, also comprise:
Extract mission bit stream and the corresponding business information of described task, and store described business information and mission bit stream into database.
In the 4th kind of possible implementation of first aspect, periodically monitoring describedly when handing to the task executions state of described task scheduling platform and obtaining execution result, store described executing state and execution result into database.
In the 5th kind of possible implementation of first aspect, also comprise:
Obtain the business deletion information of described Workflow system;
According to the deleted professional corresponding task of described professional deletion information searching, send the request of deletion task to described task scheduling platform.
In the 6th kind of possible implementation of first aspect, obtain the business deletion information of Workflow system by receiving described Workflow system removal request.
In the 7th kind of possible implementation of first aspect, obtain the business deletion information of Workflow system by periodically inquiring about described Workflow system.
In the 8th kind of possible implementation of first aspect, also comprise: after sending the request of deletion task to the task scheduling platform, store the deletion status information of described business and task into database.
Second aspect provides a kind of workflow-task scheduling adaption system, comprising:
The task acquisition module is used for obtaining the task that Workflow system is paid;
Task is delivered module and is used for the task that described Workflow system is paid is handed to the task scheduling platform;
The Mission Monitor module is used for periodically monitoring the described task executions state of handing to the task scheduling platform, and obtains described task executions result;
Callback module is used for described task executions result is returned described Workflow system.
In first kind of second aspect possible implementation, described task acquisition module obtains the task that described Workflow system is paid by the task requests that receives described Workflow system.
In second kind of second aspect possible implementation, described task acquisition module obtains the task that described Workflow system is paid by periodically inquiring about described Workflow system.
In the third possible implementation of second aspect, described task acquisition module also is used for extracting mission bit stream and the corresponding business information of described task, and stores described business information and mission bit stream into database.
In the 4th kind of possible implementation of second aspect, described Mission Monitor module also is used for periodically monitoring describedly when handing to the task executions state of described task scheduling platform and obtaining execution result, stores described executing state and execution result into database.
In the 5th kind of possible implementation of second aspect, also comprise:
The deletion acquisition module is used for obtaining the business deletion information of described Workflow system;
The removal request module is used for sending the request of deletion task to described task scheduling platform according to the deleted professional corresponding task of described professional deletion information searching.
In the 6th kind of possible implementation of second aspect, described deletion acquisition module obtains the business deletion information of Workflow system by receiving described Workflow system removal request.
In the 7th kind of possible implementation of second aspect, described deletion acquisition module obtains the business deletion information of Workflow system by periodically inquiring about described Workflow system.
In the 8th kind of possible implementation of second aspect, described removal request module also is used for after sending the request of deletion task to the task scheduling platform, stores the deletion status information of described business and task into database.
The third aspect provides a kind of workflow task scheduling integrated system, comprises Workflow system and task scheduling platform, and described Workflow system is used for carrying out, management work stream, and generation and operation are professional, and the payment task; Described task scheduling platform is for the treatment of task; Also comprise the described workflow of second aspect-task scheduling adaption system, be used for the task that described Workflow system is paid is handed to described task scheduling platform, monitor described task executions and described task executions result is returned described Workflow system.
In first kind of the third aspect possible implementation, also comprise Workflow system adaptation layer and task scheduling platform adaptation layer, described Workflow system adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and Workflow system, and described task scheduling platform adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and task scheduling platform.
In the embodiment of the invention, workflow-task scheduling adaptation method is provided, task implementation by factorage streaming system periodicity monitor task dispatching platform, and after task finishes, execution result is returned described Workflow system, thereby need be in Workflow system be the service definition that comprises calculation task a long playing thread, significantly reduce the thread resources that Workflow system need consume, make the Workflow system can the very big flow instance of supported amount.And by business information, mission bit stream, execution status of task, execution result are stored in the database; in the business process termination/rejuvenation of Workflow system; all operations and state can normally recover; guarantee reliability and the fault-tolerance of Workflow system; after guaranteeing workflow example and comprising calculation task professional deleted; calculation task corresponding in the task dispatching platform also can be deleted, reduces the use waste to computational resource.And provide many workflows-multi-task scheduling adaption system to support the scheme that multiple Workflow system and multiple-task dispatching platform dock, solve the problem of a plurality of system synergistic workings under the complicated isomerous environment.The present invention organically combines Workflow system and task scheduling platform, the actual demand of customization and execution work flow process in the fields such as solution parallel computation, high-performance calculation, big data processing.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the Workflow system of prior art and task scheduling platform in conjunction with synoptic diagram;
Fig. 2 is the operational process synoptic diagram of the workflow example of prior art;
Fig. 3 is the principle schematic of workflow of the present invention-task scheduling adaptation method;
Fig. 4 is the process flow diagram of the workflow-task scheduling adaptation method of the embodiment of the invention;
Fig. 5 is the task deletion process flow diagram of the embodiment of the invention;
Fig. 6 is the process flow diagram of the task delivery method of Workflow system;
Fig. 7 is the workflow-adaptive process flow diagram of task scheduling adaptation method of the embodiment of the invention 1;
Fig. 8 is the workflow-adaptive process flow diagram of task scheduling adaptation method of the embodiment of the invention 2;
Fig. 9 is the workflow-adaptive process flow diagram of task scheduling adaptation method of the embodiment of the invention 3;
Figure 10 is the workflow-adaptive process flow diagram of task scheduling adaptation method of the embodiment of the invention 4;
Figure 11 is the workflow task scheduling integrated system structural representation of the embodiment of the invention 5.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The principle of workflow of the present invention-task scheduling adaptation method as shown in Figure 3, by between Workflow system and task scheduling platform, introducing workflow-task scheduling adaption system, make the periodically task implementation of monitor task dispatching platform of workflow-task scheduling adaption system factorage streaming system, and after task finishes, execution result is returned described Workflow system, thereby need be in Workflow system be the service definition that comprises calculation task a long playing thread, significantly reduce the thread resources that Workflow system need consume, make the Workflow system can the very big flow instance of supported amount
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for explanation the present invention, but are not used for limiting the scope of the invention.
The embodiment of first aspect provides a kind of workflow-task scheduling adaptation method, as shown in Figure 4, said method comprising the steps of:
S11: obtain the task that Workflow system is paid;
S12: the task that described Workflow system is paid is handed to the task scheduling platform;
S13: periodically monitor the described task executions state of handing to the task scheduling platform, and obtain described task executions result;
S14: described task executions result is returned described Workflow system.
In step S11, when obtaining the task of Workflow system payment, can obtain the task that described Workflow system is paid by the task requests that receives described Workflow system, also can obtain the task that described Workflow system is paid by periodically inquiring about described Workflow system.
If step S11 obtains the task that Workflow system is paid by the task requests that receives Workflow system, so in step S12, after the task that described Workflow system is paid is handed to the task scheduling platform, can return the result that delivers of described task requests correspondence to Workflow system.
In step S11, obtain the task that Workflow system pays after, can extract mission bit stream and the corresponding business information of described task, and store described business information and mission bit stream into database.
In step S13, periodically monitoring describedly when handing to the task executions state of task scheduling platform and obtaining execution result, can store described executing state and execution result into database.
As shown in Figure 5, described method can also may further comprise the steps:
S21: the business deletion information of obtaining described Workflow system;
S22: according to the deleted professional corresponding task of described professional deletion information searching, send the request of deletion task to described task scheduling platform.
In step S21, when obtaining the business deletion information of Workflow system, can obtain the business deletion information of Workflow system by receiving described Workflow system removal request, also can obtain the business deletion information of Workflow system by periodically inquiring about described Workflow system.
If step S21 obtains the business deletion information of Workflow system by receiving the Workflow system removal request, so in step S22, after sending the request of deletion task to the task scheduling platform, can return the deletion result of described removal request correspondence to Workflow system.
In step S22, after sending the request of deletion task to the task scheduling platform, can store the deletion status information of described business and task into database.
As shown in Figure 6, the task delivery method of Dui Ying Workflow system can may further comprise the steps:
S31: start flow instance, produce the operation business;
S32: pay task to workflow-task scheduling adaption system;
S33: continue to finish business after receiving described task executions result.
In step S32, when paying task to workflow-task scheduling adaption system, can come to pay task to workflow-task scheduling adaption system by send task requests to workflow-task scheduling adaption system, also can be by assigning the task to workflow-task scheduling adaption system, wait workflow-task scheduling adaption system is periodically inquired about to obtain to workflow-task scheduling adaption system and is paid task.
If step S32 comes to pay task to workflow-task scheduling adaption system by send task requests to workflow-task scheduling adaption system, so after sending task requests to workflow-task scheduling adaption system, can wait for the result that delivers that reception workflow-task scheduling adaption system returns.
The embodiment of second aspect provides a kind of workflow-task scheduling adaption system, and described system comprises:
The task acquisition module is used for obtaining the task that Workflow system is paid;
Task is delivered module and is used for the task that described Workflow system is paid is handed to the task scheduling platform;
The Mission Monitor module is used for periodically monitoring the described task executions state of handing to the task scheduling platform, and obtains described task executions result;
Callback module is used for described task executions result is returned described Workflow system.
Described task acquisition module is when obtaining the task of Workflow system payment, can obtain the task that described Workflow system is paid by the task requests that receives described Workflow system, also can obtain the task that described Workflow system is paid by periodically inquiring about described Workflow system.
If described task acquisition module obtains the task that Workflow system is paid by the task requests that receives Workflow system, after so described task is delivered task that module pays described Workflow system and handed to the task scheduling platform, can return the result that delivers of described task requests correspondence to Workflow system.
Described task acquisition module can extract mission bit stream and the corresponding business information of described task after the task of obtaining the Workflow system payment, and stores described business information and mission bit stream into database.
Described Mission Monitor module is periodically being monitored describedly when handing to the task executions state of described task scheduling platform and obtaining execution result, can store described executing state and execution result into database.
Described workflow-task scheduling adaption system can also comprise:
The deletion acquisition module is used for obtaining the business deletion information of described Workflow system;
The removal request module is used for sending the request of deletion task to described task scheduling platform according to the deleted professional corresponding task of described professional deletion information searching.
Described deletion acquisition module is when obtaining the business deletion information of Workflow system, can obtain the business deletion information of Workflow system by receiving described Workflow system removal request, also can obtain the business deletion information of Workflow system by periodically inquiring about described Workflow system.
If described deletion acquisition module obtains the business deletion information of Workflow system by receiving the Workflow system removal request, so described removal request module can be returned the deletion result of described removal request correspondence to Workflow system after sending the request of deletion task to the task scheduling platform.
Described removal request module can store the deletion status information of described business and task into database after sending the request of deletion task to the task scheduling platform.
Corresponding Workflow system can comprise:
The service operation module is used for starting flow instance, produces the operation business;
The task delivery module is used for paying task to workflow-task scheduling adaption system;
Business is finished and is continued to finish business after module is used for receiving described task executions result.
When described task delivery module is paid task to workflow-task scheduling adaption system, can come to pay task to making stream-task scheduling adaption system by send task requests to workflow-task scheduling adaption system, also can be by assigning the task to workflow-task scheduling adaption system, wait workflow-task scheduling adaption system is periodically inquired about to obtain to workflow-task scheduling adaption system and is paid task.
If described task delivery module is paid task to making stream-task scheduling adaption system by send task requests to workflow-task scheduling adaption system, so described task delivery module can be waited for the result that delivers that reception workflow-task scheduling adaption system returns after sending task requests to workflow-task scheduling adaption system.
The embodiment of the third aspect provides a kind of workflow task scheduling integrated system, comprises Workflow system and task scheduling platform, and described Workflow system is used for carrying out, management work stream, and generation and operation are professional, and the payment task; Described task scheduling platform is for the treatment of task; Also comprise the described workflow of second aspect-task scheduling adaption system, be used for the task that described Workflow system is paid is handed to described task scheduling platform, monitor described task executions and described task executions result is returned described Workflow system.
Described workflow task scheduling integrated system can also comprise Workflow system adaptation layer and task scheduling platform adaptation layer, described Workflow system adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and Workflow system, and described task scheduling platform adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and task scheduling platform.
Elaborate realization idiographic flow of the present invention below by several embodiment:
Embodiment 1, obtain the adaptive flow process of workflow-task scheduling of task by receiving task requests
As shown in Figure 7, adaptive flow process may further comprise the steps:
At user side, the user fills in parameter, submits to start the flow instance request.
At the Workflow system end, execution in step S31: start flow instance, carry out in the flow instance, it is professional to produce operation, S32: if service needed calling task dispatching platform, generate mission bit stream and corresponding business information and send task requests to workflow-task scheduling adaption system, comprise mission bit stream and corresponding business information in the described task requests.
At workflow-task scheduling adaption system end, execution in step S11: after receiving task requests, extract mission bit stream and corresponding business information, and store described mission bit stream and corresponding business information into database, S12: described task is delivered the task scheduling platform, return the result that delivers of described task requests correspondence to Workflow system.
At the Workflow system end, after Workflow system receives and delivers the result, the operation that Workflow system is suspended operation.
At workflow-task scheduling adaption system end, execution in step S13: periodically monitor and describedly hand to the task executions state of task scheduling platform and obtain execution result, and store described executing state and execution result into database, S14: described task executions result is returned described Workflow system.
At the Workflow system end, execution in step S33: continue to finish business after receiving described task executions result.
Embodiment 2, obtain the adaptive flow process of workflow-task scheduling of task by periodic queries
As shown in Figure 8, adaptive flow process may further comprise the steps:
At user side, the user fills in parameter, submits to start the flow instance request.
At the Workflow system end, execution in step S31: start flow instance, carry out in the flow instance, it is professional to produce operation, S32: if service needed calling task dispatching platform, assign the task to workflow-task scheduling adaption system, wait workflow-task scheduling adaption system is periodically inquired about the task of distributing to oneself of obtaining, the operation that Workflow system is suspended operation.
At workflow-task scheduling adaption system end, execution in step S11: periodically inquire about Workflow system and obtain the task that Workflow system is paid, after obtaining task, extract mission bit stream and corresponding business information, and store described mission bit stream and corresponding business information into database, S12: described task is delivered the task scheduling platform, S13: periodically monitor and describedly hand to the task executions state of task scheduling platform and obtain execution result, and store described executing state and execution result into database, S14: described task executions result is returned described Workflow system.
At the Workflow system end, execution in step S33: continue to finish business after receiving described task executions result.
Embodiment 3, delete the adaptive flow process of workflow-task scheduling of task by receiving removal request
As shown in Figure 9, adaptive flow process is further comprising the steps of:
At user side, the user submits the request of deletion flow instance to.
At the Workflow system end, if the calling service that will delete the task scheduling platform, send removal request to workflow-task scheduling adaption system end.
At workflow-task scheduling adaption system end, execution in step S21: the removal request that receives Workflow system is obtained the business deletion information of Workflow system, S22: according to the deleted professional corresponding task of described professional deletion information searching, send the request of deletion task to the task scheduling platform, store the deletion status information of described business and task into database, return the deletion result of described removal request correspondence to Workflow system.
At the Workflow system end, receive the deletion result of removal request correspondence after, after the business that Workflow Management System deletion flow instance is relevant, relevant business were all deleted, flow instance was also deleted.
Embodiment 4, delete the adaptive flow process of workflow-task scheduling of task by periodic queries
As shown in figure 10, adaptive flow process is further comprising the steps of:
At user side, the user submits the request of deletion flow instance to.
At the Workflow system end, the business that Workflow Management System deletion flow instance is relevant, relevant professional deleted after, flow instance is also deleted.
At workflow-task scheduling adaption system end, execution in step S21: periodically inquire about the business deletion information that Workflow system obtains Workflow system, S22: according to the deleted professional corresponding task of described professional deletion information searching, send the request of deletion task to the task scheduling platform, store the deletion status information of described business and task into database.
Embodiment 5, workflow task scheduling integrated system
As shown in figure 11, described workflow task scheduling integrated system comprises Workflow system, Workflow system adaptation layer, task scheduling platform, task scheduling platform adaptation layer and as the described workflow of second aspect-task scheduling adaption system; Described Workflow system is used for carrying out, management work stream, and generation and operation are professional, and the payment task; Described Workflow system adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and Workflow system; Described task scheduling platform is for the treatment of task; Described task scheduling platform adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and task scheduling platform; Described workflow-task scheduling adaption system is used for the task that described Workflow system is paid is handed to described task scheduling platform, monitors described task executions and described task executions result is returned described Workflow system.
Described Workflow system adaptation layer can be Activiti Workflow system adaptation layer, Jbpm Workflow system adaptation layer or Isar Workflow system adaptation layer etc., is used for supporting respectively Activiti Workflow system, Jbpm Workflow system and Isar Workflow system etc.
Described task scheduling platform adaptation layer can be Torque task scheduling platform adaptation layer, LSF task scheduling platform adaptation layer or SGE task scheduling platform adaptation layer etc., is used for supporting respectively Torque task scheduling platform, LSF task scheduling platform and SGE task scheduling platform etc.Thereby support the environment of isomery, support multiple Workflow system and the collaborative work of multiple-task dispatching platform, satisfy the system requirements under the complex environment, system environmentss such as for example grid computing, cloud computing, internet.
The possible implementation that one of ordinary skill in the art will appreciate that various aspects of the present invention or various aspects can be embodied as system, method or computer program.Therefore, the possible implementation of each aspect of the present invention or various aspects can adopt complete hardware embodiment, complete software embodiment (comprising firmware, resident software etc.), perhaps the form of the embodiment of integration software and hardware aspect all is referred to as " circuit ", " module " or " system " here.In addition, the possible implementation of each aspect of the present invention or various aspects can adopt the form of computer program, and computer program refers to be stored in the computer readable program code in the computer-readable medium.
Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer-readable recording medium is including but not limited to electronics, magnetic, optics, electromagnetism, infrared or semiconductor system, equipment or device, perhaps aforesaid any appropriate combination is as random-access memory (ram), ROM (read-only memory) (ROM), Erasable Programmable Read Only Memory EPROM (EPROM or flash memory), optical fiber, portable ROM (read-only memory) (CD-ROM).
Processor in the computing machine reads the computer readable program code that is stored in the computer-readable medium, makes processor can carry out the function action of stipulating in the combination of in process flow diagram each step or each step; Generation is implemented in the device of the function action of stipulating in the combination of each piece of block diagram or each piece.
Computer readable program code can be fully carried out in user's computer, part is carried out in user's computer, as independent software package, part on the user's computer and part on remote computer, perhaps carry out at remote computer or server fully.Should be noted that also that in some alternate embodiment the function that each piece indicated in each step or the block diagram in process flow diagram may be not according to occurring in sequence of indicating among the figure.For example, depend on related function, in fact two steps or two pieces of illustrating in succession may roughly be carried out simultaneously, and perhaps these pieces sometimes may be carried out with reverse order.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (20)

1. workflow-task scheduling adaptation method is characterized in that, comprising:
Obtain the task that Workflow system is paid;
The task that described Workflow system is paid is handed to the task scheduling platform;
Periodically monitor the described task executions state of handing to the task scheduling platform, and obtain described task executions result;
Described task executions result is returned described Workflow system.
2. workflow as claimed in claim 1-task scheduling adaptation method is characterized in that, obtains the task that described Workflow system is paid by the task requests that receives described Workflow system.
3. workflow as claimed in claim 1-task scheduling adaptation method is characterized in that, obtains the task that described Workflow system is paid by periodically inquiring about described Workflow system.
4. workflow as claimed in claim 1-task scheduling adaptation method is characterized in that, also comprises:
Extract mission bit stream and the corresponding business information of described task, and store described business information and mission bit stream into database.
5. workflow as claimed in claim 1-task scheduling adaptation method, it is characterized in that, periodically monitoring describedly when handing to the task executions state of described task scheduling platform and obtaining execution result, storing described executing state and execution result into database.
6. workflow as claimed in claim 1-task scheduling adaptation method is characterized in that, also comprises:
Obtain the business deletion information of described Workflow system;
According to the deleted professional corresponding task of described professional deletion information searching, send the request of deletion task to described task scheduling platform.
7. workflow as claimed in claim 6-task scheduling adaptation method is characterized in that, obtains the business deletion information of Workflow system by receiving described Workflow system removal request.
8. workflow as claimed in claim 6-task scheduling adaptation method is characterized in that, obtains the business deletion information of Workflow system by periodically inquiring about described Workflow system.
9. workflow as claimed in claim 6-task scheduling adaptation method is characterized in that, also comprises: after sending the request of deletion task to the task scheduling platform, store the deletion status information of described business and task into database.
10. workflow-task scheduling adaption system is characterized in that, comprising:
The task acquisition module is used for obtaining the task that Workflow system is paid;
Task is delivered module and is used for the task that described Workflow system is paid is handed to the task scheduling platform;
The Mission Monitor module is used for periodically monitoring the described task executions state of handing to the task scheduling platform, and obtains described task executions result;
Callback module is used for described task executions result is returned described Workflow system.
11. workflow as claimed in claim 10-task scheduling adaption system is characterized in that, described task acquisition module obtains the task that described Workflow system is paid by the task requests that receives described Workflow system.
12. workflow as claimed in claim 10-task scheduling adaption system is characterized in that, described task acquisition module obtains the task that described Workflow system is paid by periodically inquiring about described Workflow system.
13. workflow as claimed in claim 10-task scheduling adaption system is characterized in that, described task acquisition module also is used for extracting mission bit stream and the corresponding business information of described task, and stores described business information and mission bit stream into database.
14. workflow as claimed in claim 10-task scheduling adaption system, it is characterized in that, described Mission Monitor module also is used for periodically monitoring describedly when handing to the task executions state of described task scheduling platform and obtaining execution result, stores described executing state and execution result into database.
15. workflow as claimed in claim 10-task scheduling adaption system is characterized in that, also comprises:
The deletion acquisition module is used for obtaining the business deletion information of described Workflow system;
The removal request module is used for sending the request of deletion task to described task scheduling platform according to the deleted professional corresponding task of described professional deletion information searching.
16. workflow as claimed in claim 15-task scheduling adaption system is characterized in that, described deletion acquisition module obtains the business deletion information of Workflow system by receiving described Workflow system removal request.
17. workflow as claimed in claim 15-task scheduling adaption system is characterized in that, described deletion acquisition module obtains the business deletion information of Workflow system by periodically inquiring about described Workflow system.
18. want 15 described workflow-task scheduling adaption systems as right, it is characterized in that described removal request module also is used for after sending the request of deletion task to the task scheduling platform, store the deletion status information of described business and task into database.
19. a workflow task scheduling integrated system comprises Workflow system and task scheduling platform, described Workflow system is used for carrying out, management work stream, and generation and operation are professional, and the payment task; Described task scheduling platform is for the treatment of task; It is characterized in that, also comprise as the described workflow of the arbitrary claim of claim 10-18-task scheduling adaption system, be used for the task that described Workflow system is paid is handed to described task scheduling platform, monitor described task executions and described task executions result is returned described Workflow system.
20. workflow task scheduling integrated system as claimed in claim 19, it is characterized in that, also comprise Workflow system adaptation layer and task scheduling platform adaptation layer, described Workflow system adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and Workflow system, and described task scheduling platform adaptation layer is used for the mutual of co-ordination stream-task scheduling adaption system and task scheduling platform.
CN2013102132797A 2013-05-31 2013-05-31 Method and system for adaptation between workflow and task scheduling Pending CN103345664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102132797A CN103345664A (en) 2013-05-31 2013-05-31 Method and system for adaptation between workflow and task scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102132797A CN103345664A (en) 2013-05-31 2013-05-31 Method and system for adaptation between workflow and task scheduling

Publications (1)

Publication Number Publication Date
CN103345664A true CN103345664A (en) 2013-10-09

Family

ID=49280459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102132797A Pending CN103345664A (en) 2013-05-31 2013-05-31 Method and system for adaptation between workflow and task scheduling

Country Status (1)

Country Link
CN (1) CN103345664A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699432A (en) * 2013-12-17 2014-04-02 华中科技大学 Multi-task runtime collaborative scheduling system under heterogeneous environment
CN104035819A (en) * 2014-06-27 2014-09-10 清华大学深圳研究生院 Scientific workflow scheduling method and device
CN104268702A (en) * 2014-09-29 2015-01-07 成都西山居互动娱乐科技有限公司 Active-subscription-based task distributing mechanism in website workflow
CN105183447A (en) * 2015-07-13 2015-12-23 国云科技股份有限公司 Light weight flow engine implementation method
CN105260248A (en) * 2014-07-15 2016-01-20 ***股份有限公司 Task scheduling system with dynamic regulation function and scheduling method
CN105677462A (en) * 2015-12-30 2016-06-15 生迪光电科技股份有限公司 Distributed task system based on internet of things and business processing method
CN106169123A (en) * 2016-07-08 2016-11-30 上海瀚银信息技术有限公司 A kind of operation flow dispatching patcher, method and e-commerce system
CN106293915A (en) * 2016-08-04 2017-01-04 南京唯实科技有限公司 Job engine method based on activiti5
CN107153944A (en) * 2017-02-22 2017-09-12 上海爱韦讯信息技术有限公司 The method and system of task are researched and developed based on Flow driving
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN107392564A (en) * 2017-06-21 2017-11-24 安徽森度科技有限公司 A kind of workflow visual configuration platform based on activiti technologies
CN107832125A (en) * 2017-10-10 2018-03-23 ***股份有限公司 Method for processing business and device under a kind of distributed environment
CN108108895A (en) * 2017-12-19 2018-06-01 上海携程商务有限公司 Method, system, equipment and the storage medium of task status dynamic management and control
CN108510081A (en) * 2018-03-23 2018-09-07 北京京东尚科信息技术有限公司 machine learning method and platform
CN109978482A (en) * 2017-12-27 2019-07-05 华为技术有限公司 Workflow processing method, device, equipment and storage medium
CN110209487A (en) * 2019-06-08 2019-09-06 西安电子科技大学 ISAR resource regulating method based on genetic algorithm
CN110401556A (en) * 2018-12-20 2019-11-01 上海海旭软件有限公司 A kind of method and apparatus of IDC computer room cable visualization Automatic dispatching
CN111429033A (en) * 2020-04-21 2020-07-17 贵州新致普惠信息技术有限公司 Workflow task scheduling system and method and service terminal
CN112488649A (en) * 2020-11-26 2021-03-12 泰康保险集团股份有限公司 Process engine-based process closing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959717A (en) * 2006-10-09 2007-05-09 北京道达天际软件技术有限公司 System and method for preprocessing mass remote sensing data collection driven by order form
CN101694709A (en) * 2009-09-27 2010-04-14 华中科技大学 Service-oriented distributed work flow management system
CN102592198A (en) * 2011-12-30 2012-07-18 福建富士通信息软件有限公司 Workflow engine supporting combined service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1959717A (en) * 2006-10-09 2007-05-09 北京道达天际软件技术有限公司 System and method for preprocessing mass remote sensing data collection driven by order form
CN101694709A (en) * 2009-09-27 2010-04-14 华中科技大学 Service-oriented distributed work flow management system
CN102592198A (en) * 2011-12-30 2012-07-18 福建富士通信息软件有限公司 Workflow engine supporting combined service

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699432A (en) * 2013-12-17 2014-04-02 华中科技大学 Multi-task runtime collaborative scheduling system under heterogeneous environment
CN103699432B (en) * 2013-12-17 2017-04-12 华中科技大学 Multi-task runtime collaborative scheduling system under heterogeneous environment
CN104035819A (en) * 2014-06-27 2014-09-10 清华大学深圳研究生院 Scientific workflow scheduling method and device
CN104035819B (en) * 2014-06-27 2017-02-15 清华大学深圳研究生院 Scientific workflow scheduling method and device
CN105260248A (en) * 2014-07-15 2016-01-20 ***股份有限公司 Task scheduling system with dynamic regulation function and scheduling method
WO2016008376A1 (en) * 2014-07-15 2016-01-21 ***股份有限公司 Task scheduling system capable of being dynamically adjusted and scheduling method therefor
CN105260248B (en) * 2014-07-15 2019-02-19 ***股份有限公司 A kind of task scheduling system and dispatching method being dynamically adapted
CN104268702A (en) * 2014-09-29 2015-01-07 成都西山居互动娱乐科技有限公司 Active-subscription-based task distributing mechanism in website workflow
CN104268702B (en) * 2014-09-29 2018-04-27 成都西山居互动娱乐科技有限公司 A kind of task distribution mechanisms subscribed to based on active in the workflow of website
CN105183447A (en) * 2015-07-13 2015-12-23 国云科技股份有限公司 Light weight flow engine implementation method
CN105677462A (en) * 2015-12-30 2016-06-15 生迪光电科技股份有限公司 Distributed task system based on internet of things and business processing method
CN106169123A (en) * 2016-07-08 2016-11-30 上海瀚银信息技术有限公司 A kind of operation flow dispatching patcher, method and e-commerce system
CN106293915A (en) * 2016-08-04 2017-01-04 南京唯实科技有限公司 Job engine method based on activiti5
CN107153944A (en) * 2017-02-22 2017-09-12 上海爱韦讯信息技术有限公司 The method and system of task are researched and developed based on Flow driving
CN107239324A (en) * 2017-05-22 2017-10-10 阿里巴巴集团控股有限公司 Work flow processing method, apparatus and system
CN107239324B (en) * 2017-05-22 2020-12-11 创新先进技术有限公司 Service flow processing method, device and system
CN107392564A (en) * 2017-06-21 2017-11-24 安徽森度科技有限公司 A kind of workflow visual configuration platform based on activiti technologies
CN107832125A (en) * 2017-10-10 2018-03-23 ***股份有限公司 Method for processing business and device under a kind of distributed environment
CN108108895A (en) * 2017-12-19 2018-06-01 上海携程商务有限公司 Method, system, equipment and the storage medium of task status dynamic management and control
CN108108895B (en) * 2017-12-19 2021-01-26 上海携程商务有限公司 Method, system, equipment and storage medium for dynamically controlling task state
CN109978482A (en) * 2017-12-27 2019-07-05 华为技术有限公司 Workflow processing method, device, equipment and storage medium
CN108510081A (en) * 2018-03-23 2018-09-07 北京京东尚科信息技术有限公司 machine learning method and platform
CN110401556A (en) * 2018-12-20 2019-11-01 上海海旭软件有限公司 A kind of method and apparatus of IDC computer room cable visualization Automatic dispatching
CN110209487A (en) * 2019-06-08 2019-09-06 西安电子科技大学 ISAR resource regulating method based on genetic algorithm
CN110209487B (en) * 2019-06-08 2022-12-06 西安电子科技大学 ISAR resource scheduling method based on genetic algorithm
CN111429033A (en) * 2020-04-21 2020-07-17 贵州新致普惠信息技术有限公司 Workflow task scheduling system and method and service terminal
CN112488649A (en) * 2020-11-26 2021-03-12 泰康保险集团股份有限公司 Process engine-based process closing method and device
CN112488649B (en) * 2020-11-26 2023-05-26 泰康保险集团股份有限公司 Flow closing method and device based on flow engine

Similar Documents

Publication Publication Date Title
CN103345664A (en) Method and system for adaptation between workflow and task scheduling
CN104618693B (en) A kind of monitor video based on cloud computing handles task management method and system online
US9389994B2 (en) Optimization of map-reduce shuffle performance through shuffler I/O pipeline actions and planning
CA3000422C (en) Workflow service using state transfer
WO2019068002A1 (en) Rule-based autonomous database cloud service framework
CN108694075B (en) Method and device for processing report data, electronic equipment and readable storage medium
CN108733464B (en) Method and device for determining scheduling scheme of computing task
US8539192B2 (en) Execution of dataflow jobs
CN110569090A (en) data processing method and device, electronic equipment and storage medium
CN103237037A (en) Media format conversion method and system based on cloud computing architecture
CN104102949A (en) Distributed workflow device and method for processing workflow by distributed workflow device
CN110096521A (en) Log information processing method and device
US20190171493A1 (en) Managing metadata for a distributed processing system with manager agents and worker agents
US20150100961A1 (en) Operating Programs on a Computer Cluster
CN101424941B (en) Control implementing method and system
CN104102533A (en) Bandwidth aware based Hadoop scheduling method and system
WO2023274278A1 (en) Resource scheduling method and device and computing node
JP5997269B2 (en) Method and system for processing data to modify a database
Bessai et al. Bi-criteria strategies for business processes scheduling in cloud environments with fairness metrics
CN114201294A (en) Task processing method, device and system, electronic equipment and storage medium
CN111917814A (en) Data publishing method, data subscribing method, data publishing device, data subscribing system and readable storage medium
CN108696559B (en) Stream processing method and device
CN109684051A (en) A kind of method and system of the hybrid asynchronous submission of big data task
CN111343152B (en) Data processing method and device, electronic equipment and storage medium
CN112099933A (en) Task operation and query method and device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20131009