Movatterモバイル変換


[0]ホーム

URL:


CN110443587A - A kind of workflow schedule method - Google Patents

A kind of workflow schedule method
Download PDF

Info

Publication number
CN110443587A
CN110443587ACN201910739614.4ACN201910739614ACN110443587ACN 110443587 ACN110443587 ACN 110443587ACN 201910739614 ACN201910739614 ACN 201910739614ACN 110443587 ACN110443587 ACN 110443587A
Authority
CN
China
Prior art keywords
grade
production procedure
production
procedure
workflow
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
CN201910739614.4A
Other languages
Chinese (zh)
Inventor
张小蒙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co LtdfiledCriticalBEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201910739614.4ApriorityCriticalpatent/CN110443587A/en
Publication of CN110443587ApublicationCriticalpatent/CN110443587A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Workflow schedule method provided in an embodiment of the present invention, it is related to field of computer technology, pass through the control to process dependence, to guarantee the integrality of the timing of the concurrent production process of automated data and processing data under complex scene, it is able to solve the scheduling problem in some complex scenes with relation of interdependence workflow, the automated production process suitable for every field.

Description

A kind of workflow schedule method
Technical field
The present invention relates to field of computer technology, and in particular to a kind of workflow schedule method.
Background technique
Workflow refers to the process of the automation in a part or whole part of business procedure under computer application environment.It is to workBusiness rule is abstracted, is broadly described between work stream and its each operating procedure.Mainly for realizing some business objective, meter is utilizedCalculation machine transmits document, information by certain pre-defined rule between multiple participants automatically or executes particular task process.
The stream concept that works originates from organization of production and Field of Office Automation, is to be directed in routine work to have fixed routineActivity and the concept proposed, it is therefore an objective to by by job analysis at good task or role is defined, according to certain ruleThese tasks are then executed with process and it is monitored, and are reached and are improved working efficiency, better control process, enhancing to visitorThe purpose of service at family, effective management business process.
Either support the workflow of which kind of standard, it will be associated with the business procedure in specific field.Only with industryAssociated flowchart process of being engaged in could embody the value of workflow itself.Work, In are done with no paper at all for example, being able to achieve by workflowThe manufacturing field application such as automated production process is realized by workflow.And workflow itself can solve one group and specifically patrolThe movable scheduling process for the relationship of collecting, but this workflow can not solve the work in some complex scenes with relation of interdependenceMake the scheduling problem flowed.
Summary of the invention
To solve the deficiencies in the prior art, the embodiment of the invention provides a kind of workflow schedule methods, this method comprises:
S1, the procedure information according to workflow inquire the completion status of 0 grade of production procedure in 0 grade of process, wherein describedProcedure information includes the movable ID, example ID and the work for relying on 0 grade of production procedure, 1 grade of production procedure of 0 grade of process, 0 grade of production procedureDynamic ID, example ID;
S2, according to the completion status, judge whether 0 grade of production procedure is completed;
If 0 grade of production procedure is completed, corresponding feedback record is generated;
S3, according to the feedback record, obtain the production result of 0 grade of production procedure;
S4, when the production result is successfully, according to 0 grade of flow instance ID and activity ID, judge to rely on described 01 grade of production procedure of grade process production procedure whether there is;
S5, if it exists is then that each 1 grade of production procedure creates a thread, generates multiple 1 grade of production threads;
S6, the multiple 1 grade of production thread is delivered separately to simultaneously for the production result of 0 grade of production procedure as parameterMultiple 1 grade of production threads are submitted to thread pool management to execute;
S7, when 1 grade of production procedure carries out, according to the completion feelings for 0 grade of production procedure that 1 grade of production procedure relies onCondition judges whether to establish dependence.
Preferably, judge whether 0 grade of production procedure is completed to include:
If 0 grade of production procedure does not complete, 0 grade of production procedure is waited to complete, and the S3- that repeats the above stepsS7。
Preferably, according to the feedback record, after obtaining the production result of 0 grade of production procedure, the method is also wrappedIt includes:
When the production result is failure, 0 grade of production procedure is dispatched to the production procedure that malfunctions.
Preferably, judging that 1 grade of production procedure for relying on 0 grade of production procedure whether there is includes:
If dependence is not present, terminate current 0 grade of production procedure.
Preferably, according to 1 grade of production procedure rely on 0 grade of production procedure performance, judge whether establish according toBad relationship includes:
If 0 grade of production procedure has been completed, 1 grade of production procedure is carried out, does not need to establish dependency information.
If 0 grade of production procedure does not complete, by the example ID of 0 grade of process, ID and 1 grade of life of 0 grade of production procedureThe ID for producing process is saved in database and establishes dependence between ID and 1 grade of production procedure of the production procedure at 0 grade.
Workflow schedule method provided in an embodiment of the present invention has the advantages that
By the control to process dependence, to guarantee the timing of the concurrent production process of automated data under complex sceneProperty and processing data integrality, be able to solve the scheduling of workflow in some complex scenes with relation of interdependence and askTopic, the automated production process suitable for every field.
Detailed description of the invention
Fig. 1 is the structural schematic diagram with the workflow of dependence;
Fig. 2 is the flow diagram of workflow schedule method provided in an embodiment of the present invention.
Specific embodiment
Specific introduce is made to the present invention below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, the nested process of three layers of entire data process application are completed, respectively main flow, 0 grade of process and1 grade of process.Wherein, main flow can decomposite a plurality of types of 0 grade of process, and each type of 0 grade of process can decomposite it is moreA 1 grade of production procedure is made the product data that data final production goes out to meet user demand for user by three layer data processesWith.
Under normal conditions in creation data, each lower layer's sub-process only needs to produce the data of current data type i.e.Can, but since there may be data dependences between different types of partial data.For example, being needed when producing 1 grade of process of B2 typeThe production that just pass through B2_Cn categorical data dependent on 0 grade of process of B1 type, just needs solution same type process by no means at this timeBetween logical relation with meet data production needs.
Referring to Fig. 2, workflow schedule method provided in an embodiment of the present invention the following steps are included:
S1, the procedure information according to workflow inquire the completion status of 0 grade of production procedure in 0 grade of process, wherein describedProcedure information includes the movable ID, example ID and the work for relying on 0 grade of production procedure, 1 grade of production procedure of 0 grade of process, 0 grade of production procedureDynamic ID, example ID.
S2, according to completion status, judge whether 0 grade of production procedure is completed, comprising:
If 0 grade of production procedure is completed, corresponding feedback record is generated.
S3, according to feedback record, obtain the production result of 0 grade of production procedure.
S4, when producing result be successfully, according to 0 grade of flow instance ID and activity ID, judge that 0 grade of process of dependence produces and flow1 grade of production procedure of journey whether there is.
S5, if it exists is then that each 1 grade of production procedure creates a thread, generates multiple 1 grade of production threads.
S6, multiple 1 grade of production thread are delivered separately to using the production result of 0 grade of production procedure as parameter and by multiple 1Grade production thread submits to thread pool management execution.
S7, when 1 grade of production procedure carries out, according to the performance for 0 grade of production procedure that 1 grade of production procedure relies on, sentenceIt is disconnected whether to establish dependence.
Optionally, judge whether 0 grade of production procedure is completed to include:
If 0 grade of production procedure does not complete, 0 grade of production procedure is waited to complete, and the S3- that repeats the above stepsS7。
Optionally, according to feedback record, after obtaining the production result of 0 grade of production procedure, this method further include:
When producing result is failure, 0 grade of production procedure is dispatched to the production procedure that malfunctions.
Optionally, judging that 1 grade of production procedure for relying on 0 grade of production procedure whether there is includes:
If dependence is not present, terminate current 0 grade of production procedure.
Optionally, the performance of the 0 grade of production procedure relied on according to 1 grade of production procedure judges whether to establish to rely on and closeSystem includes:
If 0 grade of production procedure has been completed, 1 grade of production procedure is carried out, does not need to establish dependency information.
If 0 grade of production procedure does not complete, ID and 1 grade of production of the example ID of 0 grade of process, 0 grade of production procedure is flowedThe ID of journey is saved in database and establishes dependence between ID and 1 grade of production procedure of the production procedure at 0 grade.
Workflow schedule method provided in an embodiment of the present invention, by the control to process dependence, to guarantee complexityThe integrality of the timing of the concurrent production process of automated data and processing data under scene, is able to solve in some complex scenesThe scheduling problem of process with relation of interdependence, the automated production process suitable for every field.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodimentPoint, reference can be made to the related descriptions of other embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of systemStructure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use variousProgramming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hairBright preferred forms.
In addition, memory may include the non-volatile memory in computer-readable medium, random access memory(RAM) and/or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes extremelyA few storage chip.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer programProduct.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the applicationApply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) producesThe form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present applicationFigure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructionsThe combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programsInstruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produceA raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for realThe device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spyDetermine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram orThe function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that countingSeries of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer orThe instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram oneThe step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, netNetwork interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable JieThe example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any methodOr technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), movesState random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasableProgrammable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devicesOr any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculatesMachine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludabilityIt include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrapInclude other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic wantElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including elementThere is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the applicationForm.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program codeThe shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,Improve etc., it should be included within the scope of the claims of this application.

Claims (5)

CN201910739614.4A2019-08-122019-08-12A kind of workflow schedule methodPendingCN110443587A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910739614.4ACN110443587A (en)2019-08-122019-08-12A kind of workflow schedule method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910739614.4ACN110443587A (en)2019-08-122019-08-12A kind of workflow schedule method

Publications (1)

Publication NumberPublication Date
CN110443587Atrue CN110443587A (en)2019-11-12

Family

ID=68434617

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910739614.4APendingCN110443587A (en)2019-08-122019-08-12A kind of workflow schedule method

Country Status (1)

CountryLink
CN (1)CN110443587A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101714231A (en)*2009-11-202010-05-26广东金宇恒科技有限公司Method and system for managing free workflow without being based on process models
CN102043625A (en)*2010-12-222011-05-04中国农业银行股份有限公司Workflow operation method and system
US20130007044A1 (en)*2011-06-302013-01-03International Business Machines CorporationReliance oriented data stream management system
CN105630588A (en)*2014-11-062016-06-01卓望数码技术(深圳)有限公司Distributed job scheduling method and system
US20160217017A1 (en)*2015-01-232016-07-28International Business Machines CorporationDetermining workflow completion state
CN106371918A (en)*2016-08-232017-02-01北京云纵信息技术有限公司Task cluster scheduling management method and apparatus
CN106648839A (en)*2015-10-302017-05-10北京国双科技有限公司Method and device for processing data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101714231A (en)*2009-11-202010-05-26广东金宇恒科技有限公司Method and system for managing free workflow without being based on process models
CN102043625A (en)*2010-12-222011-05-04中国农业银行股份有限公司Workflow operation method and system
US20130007044A1 (en)*2011-06-302013-01-03International Business Machines CorporationReliance oriented data stream management system
CN105630588A (en)*2014-11-062016-06-01卓望数码技术(深圳)有限公司Distributed job scheduling method and system
US20160217017A1 (en)*2015-01-232016-07-28International Business Machines CorporationDetermining workflow completion state
CN106648839A (en)*2015-10-302017-05-10北京国双科技有限公司Method and device for processing data
CN106371918A (en)*2016-08-232017-02-01北京云纵信息技术有限公司Task cluster scheduling management method and apparatus

Similar Documents

PublicationPublication DateTitle
Sang et al.Predictive maintenance in industry 4.0
US10452438B2 (en)Parameter selection for optimization of task execution based on execution history for prior tasks
CA2900948C (en)Cost-minimizing task scheduler
US8612785B2 (en)Optimizing energy consumption utilized for workload processing in a networked computing environment
JP7179086B2 (en) Method for scheduling a semiconductor back end fab
US20170180220A1 (en)Techniques to Generate Workload Performance Fingerprints for Cloud Infrastructure Elements
US20130204983A1 (en)Enhancing initial resource allocation management to provide robust reconfiguration
US10768612B2 (en)Method for back end planning and scheduling
CN109144699A (en)Distributed task dispatching method, apparatus and system
CN108984652A (en)A kind of configurable data cleaning system and method
Müller et al.Redundant configuration of automated flow lines based on “Industry 4.0”-technologies
US9104996B2 (en)Task management for changes to shared artifacts
CN114154962A (en)Batch processing monitoring method, device and equipment
Taghavi et al.A cost-efficient workflow as a service broker using on-demand and spot instances
CN109215383A (en)A kind of vehicle dispatching method
CN116384851A (en) Energy supply chain real-time scheduling intelligent decision-making business simulation system and method
CN106779439A (en)A kind of task distribution method and device
Sokolov et al.Methodology support and algorithms for dynamic synthesis of technologies and programs for proactive management of information processes in the industrial internet under a crisis
US20250123894A1 (en)Autonomous execution of unstructured compute processes
CN110443587A (en)A kind of workflow schedule method
Petri et al.Ensemble-based network edge processing
CN111736967A (en) Multi-branch process control device, process template generation method and storage medium
CN102346666A (en)Capturing and processing data generatid in an erp interim phase
US10496081B2 (en)Method for fulfilling demands in a plan
Chiu et al.Cloud Manufacturing in the Semiconductor Industry: Navigating Benefits, Risks, and Hybrid Solutions in the Era of Industry 4.0

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20191112

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp