CN102419833A - Workflow engine system and workflow processing method - Google Patents
Workflow engine system and workflow processing method Download PDFInfo
- Publication number
- CN102419833A CN102419833A CN2011102843164A CN201110284316A CN102419833A CN 102419833 A CN102419833 A CN 102419833A CN 2011102843164 A CN2011102843164 A CN 2011102843164A CN 201110284316 A CN201110284316 A CN 201110284316A CN 102419833 A CN102419833 A CN 102419833A
- Authority
- CN
- China
- Prior art keywords
- workflow
- processing
- request
- message
- module
- 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
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a workflow engine system comprising a system interface, a request accepting module and a workflow processing module. The request accepting module is used for receiving a workflow request from the system interface, generating a corresponding workflow processing message and a request processing completion message according to the workflow request and returning the request processing completion message to a requesting user; and the workflow processing module is used for operating corresponding workflow processing procedures according to the workflow processing message generated by the request accepting module. The invention also provides a workflow processing method. According to the workflow engine system and the workflow processing method disclosed by the invention, the request processing completion message is returned to the requesting user in time, so that the scheduling congestion of the engine system can be relieved efficiently; and the user finally can obtain feedback from the system in time, so that performance experience of the system in use can be improved.
Description
Technical field
The present invention relates to communication and computer realm, relate in particular to a kind of workflow processing technology.
Background technology
The develop rapidly of Along with computer technology, the communication technology and Internet technology more and more requires enterprise's application data to carry out information system management.At present, when the enterprise information management application data, be unable to do without workflow engine system.
Deepen continuously along with informationalized, the continuous expansion of telecommunication service, the infosystem number of users increases sharply, and the performance based on the application system of workflow is proposed higher requirement, simultaneously also just to the higher requirement of workflow engine proposition.When requiring workflow engine to be visited by a large amount of concurrent users in the upper layer application system, can be concurrent, accurately, the object reference of response application system efficiently.That is to say that the pressure of application system finally is converted into the pressure to the workflow engine object reference.Therefore, the stability of workflow engine and the ageing key factor that just becomes decision working flow products performance.
The logical organization synoptic diagram of conventional operation stream automotive engine system is as shown in Figure 1, and it mainly comprises: core controller 10 (some is also referred to as router), process module 20, list module 30, interface business service implementing module 40 and public module 50.
Receiving a circulation request with workflow engine system from service interface (sync cap the figure) below is example, and the principle of work of workflow engine system is described:
After core controller 10 receives the circulation request, inquire about the complete definition of this flow process earlier through the flow definition management component in the process module 20, to confirm its intermediate links, related list and relevant configuration rule;
According to the related list of confirming, each class A of geometric unitA in the core controller 10 call list single modules 30 is accomplished the calculating and the data of list and is preserved; When relating to backend services that system service is called, core controller 10 is according to the business datum rule, and the calling interface business service realizes the external interface business service member of module 40, accomplishes the calculating of business datum; Logical calculated member in the core controller 10 call flow modules 20 and route are judged member, carry out routing decision and obtain next link activity item to the final service data; Participant's management component in the core controller 10 call flow modules 20 and a movable management component, combination calculation generates backlog; Backlog management component in the core controller 10 call flow modules 20 writes backlog;
After above-mentioned item was accomplished, core controller 10 was given the caller of sync cap with the message feedback of finishing dealing with, and whole service process is accomplished.
By on can find out; Conventional operation stream automotive engine system mainly is based on the workflow engine of member; It finally is divided into various member according to function division with whole workflow engine system; And realize the implementation of each flow process circulation etc. according to the business service of interface through core controller 10, and expose supply and call, thereby accomplish the execution of whole flow process circulation with system with the mode of the sync cap function that will circulate.
This workflow engine; The integration of quick exploitation and present various working flow products that relatively helps workflow engine is integrated; And can improve the extent for multiplexing of workflow intermediate member to a certain extent; Yet along with information-based user's fast development, (Software-as-a-service, software is promptly served at SaaS.SaaS is based on the software application pattern that the internet provides software service.) under the environment, when a large amount of concurrent visit of mass user crowd, its visit pressure will concentrate on the flow scheduling and execution module of inner core component, in this case, often cause easily that the scheduling of automotive engine system is congested.
In addition; Traditional workflow engine is after being employed system call; Promptly need the member of each module of synergism engine to carry out series of computation; Application system is accomplished to calculate at workflow engine and is in waiting status before always, and the final user equally also can not get the feedback of system, and the performance that has therefore had a strong impact on system uses is experienced.
Summary of the invention
The purpose of this invention is to provide a kind of workflow engine system, through the present invention, the scheduling that can effectively alleviate automotive engine system is congested; And the final user can in time obtain the feedback of system, thereby the performance of can the raising system using is experienced.
The objective of the invention is to realize through following technical scheme:
The present invention provides a kind of workflow engine system, comprises system interface, and it also comprises:
Module is accepted in request, is used for receiving the workflow request from said system interface, and generates corresponding workflow processing message and Request Processing completion message according to said workflow request; Request Processing is accomplished message return the request user;
The workflow processing module is used for accepting the workflow processing message that module generates according to described request, operation corresponding work stream treatment scheme.
Wherein, said workflow engine system also comprises:
The message queue processing module; Be used for described request is accepted the workflow processing message that module generates; Go into message queue and wait processing; When the processing time arrives, eject this workflow processing message queue, and trigger the operation of corresponding work stream processing module according to the parameter in the said workflow processing message.
The present invention also provides a kind of workflow processing method, and said workflow processing method comprises:
Receive the workflow request, and generate corresponding workflow processing message and Request Processing completion message according to said workflow request;
Request Processing is accomplished message return the request user; And according to said workflow processing message, operation corresponding work stream treatment scheme.
Wherein, said workflow processing method also comprises:
With said workflow processing message, go into message queue and wait processing, when the processing time arrives, eject this workflow processing message queue, and trigger corresponding work stream treatment scheme according to the parameter in the said workflow processing message.
Technical scheme by the invention described above provides can find out that module is accepted in request of the present invention, receives the workflow request, and generates corresponding workflow processing message and Request Processing completion message according to this workflow request; Request Processing is accomplished message return the request user; The workflow processing module is accepted the workflow processing message that module generates according to described request, operation corresponding work stream treatment scheme.Through the present invention Request Processing is accomplished message and in time return the request user, the scheduling that can effectively alleviate automotive engine system is congested; And the final user can in time obtain the feedback of system, thereby the performance of can the raising system using is experienced.
Description of drawings
Fig. 1 is the logical organization schematic diagram of prior art;
Fig. 2 is the logical organization schematic diagram of first embodiment of the invention;
Fig. 3 is the circulation work of treatment schematic diagram of first embodiment of the invention;
Fig. 4 is the process flow diagram of second embodiment of the invention.
Embodiment
In conjunction with extensive work stream successful Application case; Be intended to start with carry out serious analysis for the use the flow processing process from the user; Can find that the user is after the audit of accomplishing current flow process; Be unwilling in fact to wait for after workflow engine system goes to accomplish work such as this a series of calculating, judgement, route just to provide prompt for successful, because most contents does not rely on user's direct control or subjective judgement in these a series of work.As long as the user has confirmed to accomplish (content that must fill in the list) after the work of this link in essence; Just should directly submit this link to; Follow-up work of treatment can independently be accomplished by workflow engine, and failure in fact also has no relation with the submission user of a last link even if processing procedure meets accident.
Consider above factor, the staff starts with from directly calling between each processing module of workflow carried out decoupling zero, has researched and developed technical scheme of the present invention.
For making the object of the invention, technical scheme and advantage clearer, the present invention is made further detailed description below in conjunction with accompanying drawing.
First embodiment of the invention provides a kind of workflow engine system, and this first embodiment has introduced message queue on the workflow engine basis of tradition based on member; Through message queue directly calling between each processing module of workflow carried out decoupling zero; And introduce the producer consumer model, and making the low coupling of each module high cohesion, competitive resource potential between cancellation module is quoted; The realization system can the service deployment mode, is system's technology for eliminating obstacle extending transversely.The structure principle chart of this workflow engine system is as shown in Figure 1, comprising:
Message queue processing module 200 is gone into message queue with this workflow processing message with the producer's identity and is waited processing; When the processing time arrives; Eject this workflow processing message queue, and, trigger corresponding workflow processing module 300 with consumer's identity registration according to the parameter of carrying in this workflow processing message; If, then trigger the circulation processing module like the circulation of the data parameters in message processing parameter.
Among above-mentioned first embodiment, need workflow processing module 300 in message queue, to register the consumer in advance as.After message was ejected, the workflow module 300 that can trigger with consumer's identity registration started, thereby carries out follow-up workflow, and follow-up workflow processing flow process and associated description of the prior art are similar, are not described in detail here.
Receiving the circulation request with workflow engine system below is example, and first embodiment of the invention is elaborated, and the principle of work of this instance is as shown in Figure 3, comprising: module 100, message queue processing module 200, circulation processing module 500 are accepted in request.
Receiving a circulation request with workflow engine system from service interface (sync cap 400 figure) below is the principle of work that example is described this first embodiment:
Workflow engine system is accepted module 100 from sync cap 400 through request, receives a circulation request; This circulation request comprises: requestor's identify label, circulation request msg parameter etc.;
Request is accepted module 100 according to the workflow information of carrying in the circulation request; Through the one group of list member that is provided with in it; Accomplish the processing of list, and finally generate finish dealing with a message and a circulation processing messages, module 100 is accepted in request will finish dealing with message to feeding back to the requestor according to requestor's identify label; The circulation processing messages is submitted to the producer in the message queue processing module 200, carry circulation request msg parameter in this circulation processing messages;
The producer in the message queue processing module 200 will circulate, and to go into message queue etc. pending for processing messages; The circulation processing messages arrival of treating this message queue is during the processing time; Trigger circulation processing module 300 and from message queue, obtain a circulation processing messages with information consumption person's identity; And carry out follow-up processing according to the circulation request msg parameter of carrying in this message; Calculate member and route judgement member like calling logic, carry out routing decision and obtain next link activity item to the final service data; Call a participant's management component and a movable management component, combination calculation generates backlog; Call the backlog management component, write backlog etc., this subsequent treatment is identical with the tupe of conventional operation stream engine, just is not described in detail here.
Above-mentioned instance is that example is explained the present invention with the decoupling zero of circulation processing links, but the present invention is suitable for the processing links decoupling zero that is not limited to circulate, and can also be other workflow processing link.Any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The more decoupling zero between the multimode that all can associate easily all can be prolonged and used the present invention, such as: circulation is handled with backlog decoupling zero, intermediate links calculating and participant and is calculated decoupling zero etc.
Among above-mentioned first embodiment; Throw in the message of a workflow processing with the message producer's identity; Give the requestor of sync cap with the message feedback of finishing dealing with, service is accomplished fast, and the requestor can obtain feedback message very soon; Need not wait as long for, use the performance of this automotive engine system to experience thereby strengthened the user.
In addition; The present invention utilizes message queue that directly calling between each processing module of workflow carried out decoupling zero on the workflow engine basis of tradition based on member, and introduces the producer consumer model; Make the low coupling of each module high cohesion; Competitive resource potential between cancellation module is quoted, and the realization system can the service deployment mode, is system's technology for eliminating obstacle extending transversely.Application system is after calling workflow engine, and workflow engine only need be resolved the data in the list, verification and preservation, can finish this workflow processing of request; A large amount of follow-up actual process about the workflow request then can be handled with asynchronous mode by the workflow processing module, need not to block the application system of the request of sending, thereby have greatly promoted treatment effeciency.
In addition, the workflow processing module can realize the extending transversely of system through starting more node according to the system pressure situation, and safeguard work stream engine can easily be tackled the big concurrent visit pressure under the magnanimity scale of consumer.
In the foregoing description, can also not comprise the producers and consumers.Need set up corresponding relation with follow-up workflow processing module and the message in the message queue this moment according to the workflow processing parameter.For example, if the parameter in the supervisory messages formation contains the workflow processing parameter, after then the message in the message queue is ejected, just excite corresponding work stream processing module to start follow-up flow process.
Second embodiment of the invention provides a kind of workflow processing method, and the treatment scheme of this workflow processing method is as shown in Figure 4, comprising:
Step 11 receives the workflow request, and generates corresponding workflow processing message and Request Processing completion message according to said workflow request;
Step 12 is accomplished message with Request Processing and is returned the request user, and finishes;
The concrete processing procedure of step 13 is identical with associated description among first embodiment, is not described in detail here.
Step 14, workflow processing module trigger corresponding work stream treatment scheme according to said workflow processing message.
Can find out by the foregoing description; The present invention utilizes message queue that directly calling between each processing module of workflow carried out decoupling zero on the workflow engine basis of tradition based on member, breaks traditions based on the synchronous tightly coupled collaboration mode of the workflow engine of member; Transfer it to asynchronous loose coupling collaboration mode; Thereby can eliminate competitive resource continue take, be system's technology for eliminating obstacle extending transversely, the realization system can the service deployment mode; And introduce the producer consumer model, thereby realize that the producers and consumers is close to unlimited linear ability extending transversely.Thereby in the application of SaaS environment, solved the most key linear transverse extended capability problem as the important foundation module for workflow engine.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.
Claims (4)
1. a workflow engine system comprises system interface, it is characterized in that, said workflow engine system also comprises:
Module is accepted in request, is used for receiving the workflow request from said system interface, and generates corresponding workflow processing message and Request Processing completion message according to said workflow request; Request Processing is accomplished message return the request user;
The workflow processing module is used for accepting the workflow processing message that module generates according to described request, operation corresponding work stream treatment scheme.
2. workflow engine system according to claim 1 is characterized in that, said workflow engine system also comprises:
The message queue processing module; Be used for described request is accepted the workflow processing message that module generates; Go into message queue and wait processing; When the processing time arrives, eject this workflow processing message queue, and trigger the operation of corresponding work stream processing module according to the parameter in the said workflow processing message.
3. a workflow processing method is characterized in that, said workflow processing method comprises:
Receive the workflow request, and generate corresponding workflow processing message and Request Processing completion message according to said workflow request;
Request Processing is accomplished message return the request user; And according to said workflow processing message, operation corresponding work stream treatment scheme.
4. workflow processing method according to claim 1 is characterized in that, said workflow processing method also comprises:
With said workflow processing message, go into message queue and wait processing, when the processing time arrives, eject this workflow processing message queue, and trigger corresponding work stream treatment scheme according to the parameter in the said workflow processing message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102843164A CN102419833A (en) | 2011-09-23 | 2011-09-23 | Workflow engine system and workflow processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011102843164A CN102419833A (en) | 2011-09-23 | 2011-09-23 | Workflow engine system and workflow processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102419833A true CN102419833A (en) | 2012-04-18 |
Family
ID=45944234
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011102843164A Pending CN102419833A (en) | 2011-09-23 | 2011-09-23 | Workflow engine system and workflow processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102419833A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761617A (en) * | 2012-07-02 | 2012-10-31 | 北京京北方信息技术有限公司 | Workflow queue server and workflow scheduling system and method |
CN102880937A (en) * | 2012-09-17 | 2013-01-16 | 北京中电普华信息技术有限公司 | Process implementation method based on business process modeling notation international standard |
CN111679911A (en) * | 2020-06-04 | 2020-09-18 | 中国建设银行股份有限公司 | Management method, device, equipment and medium for GPU (graphics processing Unit) card in cloud environment |
CN112291121A (en) * | 2020-12-30 | 2021-01-29 | 金锐同创(北京)科技股份有限公司 | Data processing method and related equipment |
CN114090305A (en) * | 2022-01-19 | 2022-02-25 | 飞狐信息技术(天津)有限公司 | Business auditing method and device |
CN115907674A (en) * | 2022-12-13 | 2023-04-04 | 广州明动软件股份有限公司 | Intelligent efficiency analysis method and system based on AI algorithm and neural engine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1680923A (en) * | 2004-04-09 | 2005-10-12 | 东软集团有限公司 | High-efficient processing method of working-fluid engine |
US20090024432A1 (en) * | 2007-02-20 | 2009-01-22 | Crowe Chizek And Company, Llc | Business Process Management System and Method |
CN101645013A (en) * | 2009-09-07 | 2010-02-10 | 中兴通讯股份有限公司 | Plug-in type service management system and method of integrated service management platform |
-
2011
- 2011-09-23 CN CN2011102843164A patent/CN102419833A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1680923A (en) * | 2004-04-09 | 2005-10-12 | 东软集团有限公司 | High-efficient processing method of working-fluid engine |
US20090024432A1 (en) * | 2007-02-20 | 2009-01-22 | Crowe Chizek And Company, Llc | Business Process Management System and Method |
CN101645013A (en) * | 2009-09-07 | 2010-02-10 | 中兴通讯股份有限公司 | Plug-in type service management system and method of integrated service management platform |
Non-Patent Citations (1)
Title |
---|
汤丹 等: "基于消息队列的工作流引擎及其容错设计", 《计算机工程》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761617A (en) * | 2012-07-02 | 2012-10-31 | 北京京北方信息技术有限公司 | Workflow queue server and workflow scheduling system and method |
CN102880937A (en) * | 2012-09-17 | 2013-01-16 | 北京中电普华信息技术有限公司 | Process implementation method based on business process modeling notation international standard |
CN111679911A (en) * | 2020-06-04 | 2020-09-18 | 中国建设银行股份有限公司 | Management method, device, equipment and medium for GPU (graphics processing Unit) card in cloud environment |
CN111679911B (en) * | 2020-06-04 | 2024-01-16 | 建信金融科技有限责任公司 | Management method, device, equipment and medium of GPU card in cloud environment |
CN112291121A (en) * | 2020-12-30 | 2021-01-29 | 金锐同创(北京)科技股份有限公司 | Data processing method and related equipment |
CN112291121B (en) * | 2020-12-30 | 2021-08-03 | 金锐同创(北京)科技股份有限公司 | Data processing method and related equipment |
CN114090305A (en) * | 2022-01-19 | 2022-02-25 | 飞狐信息技术(天津)有限公司 | Business auditing method and device |
CN114090305B (en) * | 2022-01-19 | 2022-04-26 | 飞狐信息技术(天津)有限公司 | Business auditing method and device |
CN115907674A (en) * | 2022-12-13 | 2023-04-04 | 广州明动软件股份有限公司 | Intelligent efficiency analysis method and system based on AI algorithm and neural engine |
CN115907674B (en) * | 2022-12-13 | 2023-12-01 | 广州明动软件股份有限公司 | Intelligent efficiency analysis method and system based on AI algorithm and neural engine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11272036B2 (en) | API hybrid multi-tenant routing method and system, and API gateway | |
CN102419833A (en) | Workflow engine system and workflow processing method | |
CN101997854B (en) | Processing system and method for providing data service | |
KR20180090729A (en) | Pooling the data structure of voice-activated data packets | |
KR101640296B1 (en) | Method and system for providing a session in a heterogeneous environment | |
CN100544463C (en) | A kind of system and method that speech synthesis application united development platform is provided | |
CN103324487B (en) | Method for achieving SaaS for workflow engine | |
US10044597B2 (en) | System and method for processing service requests using logical environments | |
CN109358847B (en) | Service management platform | |
CN110569252B (en) | Data processing system and method | |
KR20140010960A (en) | Method and system for providing a session involving a plurality of software applications | |
CN102025649A (en) | Message processing method of enterprise service bus | |
CN102137069A (en) | Method and system for realizing application of internet of things | |
CN107888787B (en) | Method and device for processing media access request | |
CN108063813A (en) | The method and system of cryptographic service network parallelization under a kind of cluster environment | |
CN110162559A (en) | A kind of block chain processing method called based on general JSON synchronization and asynchronous data api interface | |
CN104809551B (en) | A kind of cross-system workflow Synergistic method based on mobile Agent client | |
Wang et al. | Infrastructure-efficient virtual-machine placement and workload assignment in cooperative edge-cloud computing over backhaul networks | |
Najm et al. | Cost-and-delay aware dynamic resource allocation in federated vehicular clouds | |
CN103299298B (en) | The method and system of process business | |
CN102054213A (en) | Information integration method, device and system | |
CN102457625A (en) | Customer service method and customer service calling system | |
CN103729451B (en) | A kind of information input method of database, apparatus and system | |
CN101534319A (en) | Method, system and proxy server for canceling inter-instruction dependency relationship | |
CN102184237B (en) | Service data synchronization method between associated platforms based on network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120418 |