CN111861384A - Method, device and medium for designing multiple workflow engines - Google Patents
Method, device and medium for designing multiple workflow engines Download PDFInfo
- Publication number
- CN111861384A CN111861384A CN202010614786.1A CN202010614786A CN111861384A CN 111861384 A CN111861384 A CN 111861384A CN 202010614786 A CN202010614786 A CN 202010614786A CN 111861384 A CN111861384 A CN 111861384A
- Authority
- CN
- China
- Prior art keywords
- service
- request
- data
- workflow
- engine
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2474—Sequence data queries, e.g. querying versioned data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
- G06F16/285—Clustering or classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
Abstract
The invention relates to a technical scheme of a method, a device and a medium for designing various workflow engines, which comprises the following steps: receiving one or more request services through a gateway, and acquiring configuration information and request content corresponding to the request services; the gateway executes corresponding workflow abstraction processing according to the request content; distributing corresponding process services for each service through a process engine according to the configuration information; the process service calls a corresponding workflow engine interface to carry out the process, and monitors the workflow engine to obtain a monitoring result; and classifying and storing the corresponding data through the data bus according to the monitoring result. The invention has the beneficial effects that: the integration of various workflow engines is realized, and the operation efficiency of an enterprise system is improved.
Description
Technical Field
The invention relates to the field of computers, in particular to a method, a device and a medium for designing various workflow engines.
Background
At present, when a workflow platform is built, an open-source workflow engine framework is preferably considered to be used, the open-source workflow framework is also in the situation of hundreds of families struggling, the open-source workflow framework has different lengths and has no absolute good or bad, for example, an activiti workflow engine is more suitable for being connected with a rule engine and is also more suitable for being selected by a service arranging engine such as zeebe and the like coming out later, the selecting engine can only see the used scenes, and most of all the large-scale enterprise ecology can relate to various scenes, so that multiple engines can be expected to be used together, the effect that the number of the engines is multiple and the effect that the number of the engines is one is multiple is achieved.
The prior art solutions do not provide a method of uniform use between multiple engines.
Disclosure of Invention
The present invention is directed to solve at least one of the technical problems of the prior art, and provides a method, an apparatus and a medium for designing multiple workflow engines, which are used for integrating multiple workflow engines based on the abstraction layer of a workflow formed by interworking a mongoDB data bus and a microservice.
The technical scheme of the invention comprises a plurality of workflow engine design methods, which are characterized by comprising the following steps: s100, receiving one or more request services through a gateway, and acquiring configuration information and request content corresponding to the request services; s200, the gateway executes corresponding workflow image extraction processing according to the request content; s300, distributing corresponding process services for each service through a process engine according to the configuration information; s400, the flow service calls a corresponding workflow engine interface to carry out, and monitors the workflow engine to obtain a monitoring result; and S500, classifying and storing the corresponding data through the data bus according to the monitoring result.
According to the various workflow engine design methods, wherein S200 comprises: performing corresponding workflow abstraction processing on the request service, wherein the request service comprises data service, extension service, history service, authentication service, display service, external task service and flow service, and the abstraction processing comprises: the data services phrase provides process data obtained from the data bus; the extension service is used for self-defining extension users, organizations and tenants; the historical service is used for acquiring historical data from the data bus, pushing the historical data to the kudu server side and inquiring the historical data; the authentication service is used for authenticating SSO single sign-on, cross-domain sign-on and interface calling; the presentation service is used for acquiring a real-time flow chart and a flow thermodynamic chart from the data bus; the external task service is used for providing an interface, and a third party executes a locking flow task and completes the task by calling the interface; the process service is used for interacting with the process engines through interfaces, and each process engine is provided with a corresponding process service.
According to the various workflow engine design methods, wherein S300 comprises: and inquiring corresponding flow service through the service type and the service configuration in the configuration information of the request service, wherein the service configuration comprises a service request address and a request type.
According to the various workflow engine design methods, wherein S400 comprises: and selecting the corresponding process engine according to the request type, and calling the corresponding workflow engine through an interface by the process engine to send the request service to the data bus.
The method of designing a workflow engine according to the plurality, wherein the data bus is configured as a mongoDB data bus.
According to the multiple workflow engine design methods, the workflow engine is called by the process engine through a restful.
According to the various workflow engine design methods, wherein S500 comprises: and the data bus classifies and stores the data of the service request according to the monitoring result, the engine type and the message type.
The technical scheme of the invention also comprises a plurality of workflow engine design devices, each workflow engine design device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and the workflow engine design devices are characterized in that the processor realizes any one of the method steps when executing the computer program.
The present invention also includes a computer-readable storage medium, in which a computer program is stored, wherein the computer program, when executed by a processor, implements any of the method steps.
The invention has the beneficial effects that: the integration of various workflow engines is realized, and the operation efficiency of an enterprise system is improved.
Drawings
The invention is further described below with reference to the accompanying drawings and examples;
FIG. 1 illustrates an overall flow diagram according to an embodiment of the invention;
FIG. 2 is a diagram illustrating various workflow engine design methods according to an embodiment of the invention;
FIG. 3 is a schematic diagram illustrating operation of a gateway according to an embodiment of the present invention;
FIG. 4 shows a diagram of an apparatus and media according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number.
In the description of the present invention, the consecutive reference numbers of the method steps are for convenience of examination and understanding, and the implementation order between the steps is adjusted without affecting the technical effect achieved by the technical solution of the present invention by combining the whole technical solution of the present invention and the logical relationship between the steps.
In the description of the present invention, unless otherwise explicitly defined, terms such as set, etc. should be broadly construed, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the detailed contents of the technical solutions.
Fig. 1 shows a general flow diagram according to an embodiment of the invention, the flow comprising: s100, receiving one or more request services through a gateway, and acquiring configuration information and request contents corresponding to the request services; s200, the gateway executes corresponding workflow image extraction processing according to the request content; s300, distributing corresponding process services for each service through a process engine according to the configuration information; s400, calling a corresponding workflow engine interface by the flow service, and monitoring the workflow engine to obtain a monitoring result; and S500, classifying and storing the corresponding data through the data bus according to the monitoring result.
Fig. 2 is a schematic diagram illustrating various workflow engine design methods according to an embodiment of the present invention, which mainly includes (step 101 to step 107 are general steps):
step 101: gateway providing unified service access, the gateway being responsible for request forwarding
Step 102: providing workflow abstraction layers (including data services, extension services, presentation services, external task services, flow services, authentication services, history services) to accomplish high performance, extensible service data services-the ability to provide flow data obtained from the mongoDB data bus (hereinafter referred to as the bus)
Extension service providing capability of self-defining extension user, organization and tenant
History service, namely acquiring history data from a bus, pushing the data to a kudu server side and providing a function of inquiring the history data
Authentication service providing SSO single sign-on, cross-domain sign-on, interface calling authentication capability
Display service providing functions of acquiring real-time flow chart, flow thermodynamic diagram and the like from bus
External task service, namely, a third party locks a flow task and completes the task and other functions by calling the external service
Flow service-providing the ability for restful api to interact with flow engines, each of which may have a flow service.
103, the gateway finds out which flow service is specifically called according to the type of the tenant (management system and development system) and the configured rule
Step 104, the flow service calls the workflow engine through restful api
Step 105, monitoring the workflow engine event and pushing the event message to the bus
106, the bus classifies and stores the data according to the engine type and the message type
Step 107, the workflow abstraction layer formed on the basis of the bus has been formed so far
Fig. 3 is a schematic diagram of a gateway according to an embodiment of the present invention, in which a link 1 to a link 3 are corresponding service request links of a system, and zeebe.api, activti.api, and jbmp.api are workflow engine interfaces, and a corresponding flow service is queried through a service type and a service configuration in configuration information of a request service, where the service configuration includes a service request address and a request type (such as an executable program, request data, and history data in fig. 3); and selecting a corresponding process engine (such as the request type-service in fig. 3) according to the request type, and calling the corresponding workflow engine by the process engine through an interface to send the request service to the data bus.
FIG. 4 shows a diagram of an apparatus and media according to an embodiment of the invention. The apparatus comprises a memory 100 and a processor 200, wherein the processor 200 stores a computer program for performing: receiving one or more request services through a gateway, and acquiring configuration information and request content corresponding to the request services; the gateway executes corresponding workflow abstraction processing according to the request content; distributing corresponding process services for each service through a process engine according to the configuration information; the process service calls a corresponding workflow engine interface to carry out the process, and monitors the workflow engine to obtain a monitoring result; and classifying and storing the corresponding data through the data bus according to the monitoring result. Wherein the memory 100 is used for storing data.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.
Claims (9)
1. A method for designing a plurality of workflow engines, the method comprising:
s100, receiving one or more request services through a gateway, and acquiring configuration information and request content corresponding to the request services;
s200, the gateway executes corresponding workflow image extraction processing according to the request content;
s300, distributing corresponding process services for each service through a process engine according to the configuration information;
s400, the flow service calls a corresponding workflow engine interface to carry out, and monitors the workflow engine to obtain a monitoring result;
and S500, classifying and storing the corresponding data through the data bus according to the monitoring result.
2. The multiple workflow engine design method of claim 1, wherein the S200 comprises:
performing corresponding workflow abstraction processing on the request service, wherein the request service comprises data service, extension service, history service, authentication service, display service, external task service and flow service, and the abstraction processing comprises: the data services phrase provides process data obtained from the data bus; the extension service is used for self-defining extension users, organizations and tenants; the historical service is used for acquiring historical data from the data bus, pushing the historical data to the kudu server side and inquiring the historical data; the authentication service is used for authenticating SSO single sign-on, cross-domain sign-on and interface calling; the presentation service is used for acquiring a real-time flow chart and a flow thermodynamic chart from the data bus; the external task service is used for providing an interface, and a third party executes a locking flow task and completes the task by calling the interface; the process service is used for interacting with the process engines through interfaces, and each process engine is provided with a corresponding process service.
3. The multiple workflow engine design method of claim 2, wherein the S300 comprises: and inquiring corresponding flow service through the service type and the service configuration in the configuration information of the request service, wherein the service configuration comprises a service request address and a request type.
4. The multiple workflow engine design method of claim 3, wherein the S400 comprises:
and selecting the corresponding process engine according to the request type, and calling the corresponding workflow engine through an interface by the process engine to send the request service to the data bus.
5. The multiple workflow engine design method of claim 4 wherein the data bus is configured as a mongoDB data bus.
6. The method of claim 4, wherein the process engine calls the workflow engine through a restful.
7. The multiple workflow engine design method of claim 1, wherein the S500 comprises: and the data bus classifies and stores the data of the service request according to the monitoring result, the engine type and the message type.
8. A deep learning based health education assessment apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor when executing the computer program implements the method steps of any of claims 1-7.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010614786.1A CN111861384A (en) | 2020-06-30 | 2020-06-30 | Method, device and medium for designing multiple workflow engines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010614786.1A CN111861384A (en) | 2020-06-30 | 2020-06-30 | Method, device and medium for designing multiple workflow engines |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111861384A true CN111861384A (en) | 2020-10-30 |
Family
ID=72988771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010614786.1A Pending CN111861384A (en) | 2020-06-30 | 2020-06-30 | Method, device and medium for designing multiple workflow engines |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111861384A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112488462A (en) * | 2020-11-13 | 2021-03-12 | 山东中创软件商用中间件股份有限公司 | Unified pushing method, device and medium for workflow data |
CN112764736A (en) * | 2020-12-30 | 2021-05-07 | 北京宇信科技集团股份有限公司 | Web end flow chart modeling method, device and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694709A (en) * | 2009-09-27 | 2010-04-14 | 华中科技大学 | Service-oriented distributed work flow management system |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
US20120110157A1 (en) * | 2010-10-29 | 2012-05-03 | International Business Machines Corporation | Web browser-based business process management engine |
CN102902572A (en) * | 2012-09-17 | 2013-01-30 | 北京中电普华信息技术有限公司 | Section type workflow engine and cluster system based on information |
CN106251071A (en) * | 2016-07-27 | 2016-12-21 | 浙江大学滨海产业技术研究院 | A kind of cloud workflow implementing method supporting multiple engine |
US9832315B1 (en) * | 2014-04-21 | 2017-11-28 | United Services Automobile Association | Database allocation and analytics for service call centers |
CN107545338A (en) * | 2016-06-27 | 2018-01-05 | 百度在线网络技术(北京)有限公司 | Business data processing method and business data processing system |
CN109978380A (en) * | 2019-03-28 | 2019-07-05 | 金瓜子科技发展(北京)有限公司 | A kind of workflow processing method and device |
-
2020
- 2020-06-30 CN CN202010614786.1A patent/CN111861384A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101694709A (en) * | 2009-09-27 | 2010-04-14 | 华中科技大学 | Service-oriented distributed work flow management system |
US20120110157A1 (en) * | 2010-10-29 | 2012-05-03 | International Business Machines Corporation | Web browser-based business process management engine |
CN102298740A (en) * | 2011-09-23 | 2011-12-28 | 深圳市华波美通信技术有限公司 | Business process management supporting method |
CN102902572A (en) * | 2012-09-17 | 2013-01-30 | 北京中电普华信息技术有限公司 | Section type workflow engine and cluster system based on information |
US9832315B1 (en) * | 2014-04-21 | 2017-11-28 | United Services Automobile Association | Database allocation and analytics for service call centers |
CN107545338A (en) * | 2016-06-27 | 2018-01-05 | 百度在线网络技术(北京)有限公司 | Business data processing method and business data processing system |
CN106251071A (en) * | 2016-07-27 | 2016-12-21 | 浙江大学滨海产业技术研究院 | A kind of cloud workflow implementing method supporting multiple engine |
CN109978380A (en) * | 2019-03-28 | 2019-07-05 | 金瓜子科技发展(北京)有限公司 | A kind of workflow processing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112488462A (en) * | 2020-11-13 | 2021-03-12 | 山东中创软件商用中间件股份有限公司 | Unified pushing method, device and medium for workflow data |
CN112764736A (en) * | 2020-12-30 | 2021-05-07 | 北京宇信科技集团股份有限公司 | Web end flow chart modeling method, device and system |
CN112764736B (en) * | 2020-12-30 | 2021-08-10 | 北京宇信科技集团股份有限公司 | Web end flow chart modeling method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10129073B2 (en) | System and method for addition and removal of servers in server cluster | |
WO2016184175A1 (en) | Database processing method and apparatus | |
US9319449B2 (en) | Method, apparatus, and computer program product for processing data requests | |
CN112398936B (en) | Kubernetes-based multi-network card container implementation method and system | |
CN102866925B (en) | Communication method and system for middleware and user interface | |
US10680973B2 (en) | Systems and methods for intelligent application grouping | |
CN114189525B (en) | Service request method and device and electronic equipment | |
CN111861384A (en) | Method, device and medium for designing multiple workflow engines | |
US20130279497A1 (en) | Method for correlating messages across multiple protocols in a telecommunication network | |
CN1973282A (en) | System and method for managing a change to a cluster configuration | |
US20240089328A1 (en) | Systems and methods for dynamic federated api generation | |
CN114244654B (en) | URL forwarding method, device, equipment and computer storage medium | |
CN107948242A (en) | More service number template message sending methods and system | |
CN108768727B (en) | Method for accessing third-party service, electronic device and readable storage medium | |
CN109299173A (en) | Data transmission method, device and storage medium | |
US7016954B2 (en) | System and method for processing unsolicited messages | |
CN115951923B (en) | Subscription event management method, display system, device and storage medium | |
CN111045928A (en) | Interface data testing method, device, terminal and storage medium | |
CN109286618A (en) | A kind of method and system of browser multi-page synchronized links call center | |
US11582345B2 (en) | Context data management interface for contact center | |
US11573808B2 (en) | Methods of providing an integrated interface that includes a virtual mobile device | |
JP2006295759A (en) | VoIP SERVICE SYSTEM, CALL CONTROL SERVER AND CALL CONTROL METHOD | |
CN114006883B (en) | Cross-network data penetration interaction method, device, equipment and storage medium | |
CN111200692B (en) | Voice equipment, processing method, device and storage medium for network telephone | |
CN114253797A (en) | Fault processing method and related device of micro-service system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |