CN107590282A - The processing method and workflow engine of a kind of workflow engine - Google Patents
The processing method and workflow engine of a kind of workflow engine Download PDFInfo
- Publication number
- CN107590282A CN107590282A CN201710912107.7A CN201710912107A CN107590282A CN 107590282 A CN107590282 A CN 107590282A CN 201710912107 A CN201710912107 A CN 201710912107A CN 107590282 A CN107590282 A CN 107590282A
- Authority
- CN
- China
- Prior art keywords
- workflow
- database
- data source
- plug
- data
- 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
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a kind of processing method of workflow engine and workflow engine, methods described includes step:According to user instruction, database needed for business and the connection configuration of the database corresponding to the database are established;The data source according to corresponding to the database connects the configuration generation database;The data dictionary of the data source is configured, and establishes the workflow corresponding to the data source;By the circulation flow of workflow described in visualization window editor and configure action and the flow authority of the workflow.Therefore relative to prior art, the embodiment of the present invention solves the technical problem that the construction cycle is long, later maintenance is difficult in tradition exploitation, reached one-stop workflow system configuration, mobile phone A pp, wechat, PC programs can synchronized update, realize software systems and quickly exploitation and implement.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of processing method of workflow engine and workflow to draw
Hold up.
Background technology
More and more rapid with internet development, the various system platforms such as mobile phone, ipad enter regarding for people already
Open country simultaneously generally uses, and current system has been no longer limited to conventional PC platforms, and multi-platform adaptation is the essential road of software.
The exploitation of workflow engine is core during systemic software development, and workflow is exactly the flow pre-set according to certain more
The process of document, information or task is transmitted between individual participant, the core for realizing workflow is exactly workflow engine, or is stream
Journey engine, it is the definition and explanation of flow, the mode of information transmission or path, the division of labor of role and condition provide realization.So
And in traditional system development system, the exploitation that heavy development task, multi-platform adaptation etc. can largely effect on system is entered
Degree, it is difficult to keep up with the paces in market.Therefore, how to realize and broken through to overcome multi-platform adaptation and improve out on workflow engine
Efficiency is sent out, is a urgent problem to be solved.
The content of the invention
For above-mentioned technical problem, the embodiments of the invention provide a kind of processing method of workflow engine and workflow to draw
Hold up, solve development efficiency and the multi-platform technical problem being adapted in legacy system exploitation, to match multi-platform lower software systems
Quick exploitation and implementation.
The first aspect of the embodiment of the present invention provides a kind of processing method of workflow engine, including step:
According to user instruction, database needed for business and the connection configuration of the database corresponding to the database are established;
The data source according to corresponding to the database connects the configuration generation database;
The data dictionary of the data source is configured, and establishes the workflow corresponding to the data source;
By the circulation flow of workflow described in visualization window editor and configure action and the stream of the workflow
Journey authority.
Alternatively, it is described specifically to be wrapped the step of data source according to corresponding to database connection generates the database
Include:The data source is generated by prefix of Alias.
Alternatively, when the workflow engine uses the data source, according to the database connect configuration establish with
The unique data storehouse connection of the data source, and when the database with identical connection configuration need to be switched, automatically switch to institute
State the database with identical connection configuration.
Alternatively, the step of data dictionary of the configuration data source specifically includes:It is right in the data source to select
The tables of data and data field answered, according to KEY=>Data dictionary corresponding to VALUE rule addition.
Alternatively, the circulation flow by workflow described in visualization window editor and the work of the workflow is configured
The step of making content and flow authority specifically also includes:Plug-in unit needed for configuring the workflow, establishes corresponding plug-in unit catalogue, and
When user selects plug-in unit, plug-in unit catalogue set in advance is read, calls the plug-in unit;It is and specific needed for the configuration workflow
Plug-in unit, the file name of the particular plug-in is named using the KEY in workflow circulation stage as suffix, and in predetermined circulation rank
Particular plug-in described in segment call.
Second aspect of the embodiment of the present invention provides a kind of workflow engine, including:
Database module, for according to user instruction, establishing database needed for business and the data place pair
The database connection configuration answered;
First configuration module, data source corresponding to the generation database is configured for being connected according to the database;
Second configuration module, for configuring the data dictionary of the data source, and establish the work corresponding to the data source
Flow;
Visual edit module, for the circulation flow by workflow described in visualization window editor and configure the work
Make action and the flow authority flowed.
Alternatively, first configuration module includes:Data source generation module, for being generated by prefix of Alias
The data source.
Alternatively, first configuration module includes:Database connects configuration module, for making when the workflow engine
During with the data source, configuration foundation is connected according to the database and is connected with the unique data storehouse of the data source, and is being needed
During the database that switching configures with identical connection, the database with identical connection configuration is automatically switched to.
Alternatively, the second configuration module, specifically for selecting corresponding tables of data and data field in the data source, press
According to KEY=>Data dictionary corresponding to VALUE rule addition.
Alternatively, the visual edit module also includes:Plug-in card configuration module, inserted for configuring needed for the workflow
Part, corresponding plug-in unit catalogue is established, and when user selects plug-in unit, read plug-in unit catalogue set in advance, call the plug-in unit;With
And be additionally operable to configure particular plug-in needed for the workflow, the spy is named as suffix using the KEY in workflow circulation stage
Determine the file name of plug-in unit, and the particular plug-in is called in the predetermined circulation stage.
In technical scheme provided in an embodiment of the present invention, visual workflow editing machine, customizable extension has been used to insert
Part, powerful data and workflow logic processing engine, therefore solve tradition relative to prior art, the embodiment of the present invention and open
The technical problem that the construction cycle is long in hair, later maintenance is difficult, has reached one-stop workflow system configuration, mobile phone A pp, wechat,
PC programs can synchronized update, realize software systems quickly exploitation and implement.
Brief description of the drawings
Fig. 1 is the flow chart of the processing method of workflow engine in the embodiment of the present invention;
Fig. 2 is the system block diagram of workflow engine in the embodiment of the present invention;
Fig. 3 is the system block diagram of the first configuration module in Fig. 2;
Fig. 4 is the system block diagram of visual edit module in Fig. 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, one embodiment of the processing method of workflow engine includes step in the embodiment of the present invention:
S10, according to user instruction, establish database needed for business and the connection of the database corresponding to the database matched somebody with somebody
Put.
Wherein, the workflow engine before runtime, creates each business site, the business that the present embodiment can be realized first
Such as office administration, personnel management, asset management, recruit management, work management, put into several classes management, dormitory management.Stood creating
After point, the foundation of database architecture need to be carried out, in the specific implementation, system is established according to user or business personnel's operational order
Database needed for every business, and the connection configuration corresponding to these databases, connection configuration is as between each database
Logical relation etc..Database specifically include Alias, type of database, database address, database port, user name,
Password, coding, the filtering of table name canonical etc..
S20, data source corresponding to the configuration generation database is connected according to the database;
Wherein, the embodiment of the present invention is to generate corresponding data source by prefix of Alias when generating data source,
So in workflow in use, system can be connected according to database connection configuration foundation with the unique data storehouse of the data source, and
When that need to switch the database with identical connection configuration, can automatically switch to this has the database of identical connection configuration,
Include configuration at mobile phone, wechat, PC etc. multi-platform one, multi-platform synchronous use to realize the adaptation of multiple database, and then realize
Function.
S30, the configuration data source data dictionary, and establish the workflow corresponding to the data source;
Wherein, in the data dictionary of disposition data source, according to the data source list generated in database, system can select
Corresponding tables of data and data field in data source, according to KEY=>Data dictionary corresponding to VALUE rule addition, so,
When using the data source, workflow engine can be responsible for obtaining corresponding data dictionary, and it is actual service logic to be applied to
In.The data dictionary of the embodiment of the present invention includes data server, tables of data, data field and KEY.Such as with data
In dictionary, data server entitled localhost, tables of data oa_metting, data field be type or vis_step or
Status, KEY are 0 or 1 or=2, and the data dictionary example is used only for for example, not limiting data dictionary.
S40, by the circulation flow of workflow described in visualization window editor and configure the action of the workflow
With flow authority.
Wherein, the present invention uses the procedure Procedure of visualization window editing stream, can be right in the visualization window
Workflow is custom-configured, including the action of configuration work stream, flow authority etc., such as, for working conference
Workflow, data source is:Local.oa_metting, it includes meeting application, meeting examination & verification, meeting statistics, participation meeting
Etc., when being custom-configured, the circulation flow of meeting examination & verification node, Ke Yiyou can be configured to by meeting application node
Meeting application node is configured to the circulation flow of meeting statistics, or can be audited by meeting and be configured to the circulation stream for participating in meeting
Journey.
And the action that can configure for workflow specifically includes working title, content, approver, examination & approval step and disappeared
Breath notice etc., flow authority including the use of, modification, delete, newly-increased, data manipulation and examination & approval etc..User of service is specifically used
When, can with login system, be operated in perhaps flow authority business corresponding operating.
Preferably, the embodiment of the present invention is provided with many plug-in units in workflow, including some all standing plug-in units and one
A little particular plug-ins or half business plug-in unit etc..For all standing plug-in unit, such as file administration, (with file, class PC modes of operation are realized
The function and pattern of document management), intelligence put into several classes (according to the student information registered/paid the fees, by information such as sex, birthplaces
Realize sex, the effect of putting into several classes of birthplace mean allocation) etc., the various plug-in units needed for system configuration work stream first, establish
Corresponding plug-in unit catalogue, and in plug-in unit needed for user's selection, plug-in unit catalogue set in advance is read, if the plug-in unit is deposited really
The plug-in unit is then being called, circulation is otherwise operated with default behavior.Match somebody with somebody first for particular plug-in or half business plug-in unit, system
The particular plug-in needed for workflow is put, names the text of the particular plug-in using the KEY in workflow circulation stage as suffix upon configuration
Part title, and the particular plug-in is called in the predetermined circulation stage, to realize half business pin function.Meanwhile the embodiment of the present invention
Plug-in unit self-defined extension can be needed according to client.
In the above embodiment of the present invention, workflow engine is responsible for data, work flow logical AND authority, and carries
For workflow and other specific function api interfaces.PC ends, mobile terminal are developed according to api interface, realized, handling workflow correspondingly
Service logic, in the case where workflow interfacing API does not change, realize multi-platform primary development, it is multi-platform simultaneously
The function of browsing.Management level by authority distribution function, and can carry out rights management and work management with login system, and common
User by authority distribution function and can check task and progress etc. with login system.
The processing method of job engine in the embodiment of the present invention is described above, below in the embodiment of the present invention
Job engine be described, referring to Fig. 2, job engine one embodiment includes in the embodiment of the present invention:
Database module 1, for according to user instruction, establishing database needed for business and the data place pair
The database connection configuration answered;
First configuration module 2, data source corresponding to the generation database is configured for being connected according to the database;
Second configuration module 3, for configuring the data dictionary of the data source, and establish the work corresponding to the data source
Flow;
Visual edit module 4, for described in the circulation flow by workflow described in visualization window editor and configuration
The action of workflow and flow authority.
Preferably, as shown in figure 3, first configuration module 2 includes:Data source generation module 21, for other with database
Entitled prefix generates the data source;Database connects configuration module 22, for using the data when the workflow engine
During source, configuration foundation is connected according to the database and is connected with the unique data storehouse of the data source, and need to switched with phase
During with the database for connecting configuration, the database configured with identical connection is automatically switched to.
In embodiments of the present invention, the second configuration module 3, specifically it is additionally operable to select corresponding tables of data in the data source
And data field, according to KEY=>Data dictionary corresponding to VALUE rule addition.
Preferably, as shown in figure 4, the visual edit module 4 of the embodiment of the present invention also includes:Plug-in card configuration module 41,
For plug-in unit needed for configuring the workflow, corresponding plug-in unit catalogue is established, and when user selects plug-in unit, read set in advance
Plug-in unit catalogue, call the plug-in unit;It is additionally operable to configure particular plug-in needed for the workflow simultaneously, with workflow circulation rank
The KEY of section is the file name that suffix names the particular plug-in, and calls the particular plug-in in the predetermined circulation stage.
On the specific processing method of each functional module in the job engine, reference can be made to above-mentioned first embodiment, herein not
Repeat one by one again.
In summary, the processing method and workflow engine of workflow engine provided by the present invention, by using visual
Change workflow editing machine, customizable expansion plugin, powerful data and workflow logic processing engine, solve legacy system
Development efficiency and the multi-platform technical problem being adapted in exploitation, realize efficient docking and the data interchange stream of multiple database data
Smooth operating, while also achieve the self-defined extension of workflow plug-in unit and overcome the skills such as Work stream data is tediously long, read-write is slow
Art problem, has reached one-stop workflow system configuration, mobile phone A pp, wechat, PC programs can synchronized update, realize software system
The quick exploitation of system and implementation.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
The present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each implementation
Technical scheme described in example is modified, or carries out equivalent substitution to which part technical characteristic;And these modification or
Replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a kind of processing method of workflow engine, it is characterised in that including step:
According to user instruction, database needed for business and the connection configuration of the database corresponding to the database are established;
The data source according to corresponding to the database connects the configuration generation database;
The data dictionary of the data source is configured, and establishes the workflow corresponding to the data source;
By the circulation flow of workflow described in visualization window editor and configure the action of the workflow and flow is weighed
Limit.
2. the processing method of workflow engine according to claim 1, it is characterised in that described to be connected according to the database
The step of delivering a child into data source corresponding to the database specifically includes:The data source is generated by prefix of Alias.
3. the processing method of workflow engine according to claim 2, it is characterised in that when the workflow engine uses
During the data source, configuration foundation is connected according to the database and is connected with the unique data storehouse of the data source, and need to cut
When changing the database with identical connection configuration, the database with identical connection configuration is automatically switched to.
4. the processing method of workflow engine according to claim 1, it is characterised in that the configuration data source
The step of data dictionary, specifically includes:Corresponding tables of data and data field in the data source are selected, according to KEY=>VALUE
Rule addition corresponding to data dictionary.
5. the processing method of workflow engine according to claim 1, it is characterised in that described to be compiled by visualization window
Collect the circulation flow of the workflow and specifically also include the step of configuring action and the flow authority of the workflow:Match somebody with somebody
Plug-in unit needed for putting the workflow, corresponding plug-in unit catalogue is established, and when user selects plug-in unit, read plug-in unit mesh set in advance
Record, calls the plug-in unit;
And particular plug-in needed for the configuration workflow, the spy is named as suffix using the KEY in workflow circulation stage
Determine the file name of plug-in unit, and the particular plug-in is called in the predetermined circulation stage.
A kind of 6. workflow engine, it is characterised in that including:
Database module, for according to user instruction, establishing corresponding to database needed for business and the database
Database connection configuration;
First configuration module, data source corresponding to the generation database is configured for being connected according to the database;
Second configuration module, for configuring the data dictionary of the data source, and establish the workflow corresponding to the data source;
Visual edit module, for the circulation flow by workflow described in visualization window editor and configure the workflow
Action and flow authority.
7. workflow engine according to claim 6, it is characterised in that including:First configuration module includes:
Data source generation module, for generating the data source by prefix of Alias.
8. workflow engine according to claim 7, it is characterised in that first configuration module includes:
Database connects configuration module, for when the workflow engine uses the data source, being connected according to the database
Configuration foundation is connect to be connected with the unique data storehouse of the data source, and when the database with identical connection configuration need to be switched,
Automatically switch to the database with identical connection configuration.
9. workflow engine according to claim 6, it is characterised in that the second configuration module, specifically for described in selection
Corresponding tables of data and data field in data source, according to KEY=>Data dictionary corresponding to VALUE rule addition.
10. workflow engine according to claim 6, it is characterised in that the visual edit module also includes:Plug-in unit
Configuration module, for plug-in unit needed for configuring the workflow, corresponding plug-in unit catalogue is established, and when user selects plug-in unit, read
Plug-in unit catalogue set in advance, calls the plug-in unit;And be additionally operable to configure particular plug-in needed for the workflow, with the work
The KEY for making the stream circulation stage is the file name that suffix names the particular plug-in, and calls the spy in the predetermined circulation stage
Determine plug-in unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912107.7A CN107590282A (en) | 2017-09-29 | 2017-09-29 | The processing method and workflow engine of a kind of workflow engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710912107.7A CN107590282A (en) | 2017-09-29 | 2017-09-29 | The processing method and workflow engine of a kind of workflow engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107590282A true CN107590282A (en) | 2018-01-16 |
Family
ID=61052450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710912107.7A Pending CN107590282A (en) | 2017-09-29 | 2017-09-29 | The processing method and workflow engine of a kind of workflow engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107590282A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109784825A (en) * | 2018-04-03 | 2019-05-21 | 中建材信息技术股份有限公司 | One-stop workflow service platform, method of servicing and storage medium |
CN109886656A (en) * | 2019-02-27 | 2019-06-14 | 成都高投盈创动力投资发展有限公司 | A kind of workflow engine system for supporting multisystem |
CN110651171A (en) * | 2017-03-03 | 2020-01-03 | 迈德技术实验室公司 | Volumetric real-time flow engine |
CN111190929A (en) * | 2019-12-27 | 2020-05-22 | 四川师范大学 | Data storage query method and device, electronic equipment and storage medium |
CN112527856A (en) * | 2020-11-16 | 2021-03-19 | 广东电网有限责任公司 | Unified data source management system and method for power grid data |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080065438A1 (en) * | 2006-09-13 | 2008-03-13 | Hon Hai Precision Industry Co., Ltd. | System and method for processing a workflow form |
CN101446897A (en) * | 2008-11-26 | 2009-06-03 | 重庆邮电大学 | Resource management system based on net system business structure platform |
CN105373523A (en) * | 2015-10-14 | 2016-03-02 | 浪潮软件集团有限公司 | Workflow solution method based on user-defined form and Activiti |
CN105760991A (en) * | 2016-02-04 | 2016-07-13 | 北京慧友云商科技有限公司 | Workflow engine establishment method of changeable service flow |
-
2017
- 2017-09-29 CN CN201710912107.7A patent/CN107590282A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080065438A1 (en) * | 2006-09-13 | 2008-03-13 | Hon Hai Precision Industry Co., Ltd. | System and method for processing a workflow form |
CN101446897A (en) * | 2008-11-26 | 2009-06-03 | 重庆邮电大学 | Resource management system based on net system business structure platform |
CN105373523A (en) * | 2015-10-14 | 2016-03-02 | 浪潮软件集团有限公司 | Workflow solution method based on user-defined form and Activiti |
CN105760991A (en) * | 2016-02-04 | 2016-07-13 | 北京慧友云商科技有限公司 | Workflow engine establishment method of changeable service flow |
Non-Patent Citations (1)
Title |
---|
闵凡英: "基于工作流的综合业务管理系统的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110651171A (en) * | 2017-03-03 | 2020-01-03 | 迈德技术实验室公司 | Volumetric real-time flow engine |
CN109784825A (en) * | 2018-04-03 | 2019-05-21 | 中建材信息技术股份有限公司 | One-stop workflow service platform, method of servicing and storage medium |
CN109886656A (en) * | 2019-02-27 | 2019-06-14 | 成都高投盈创动力投资发展有限公司 | A kind of workflow engine system for supporting multisystem |
CN109886656B (en) * | 2019-02-27 | 2021-06-29 | 成都高投盈创动力投资发展有限公司 | Workflow engine system supporting multiple systems |
CN111190929A (en) * | 2019-12-27 | 2020-05-22 | 四川师范大学 | Data storage query method and device, electronic equipment and storage medium |
CN111190929B (en) * | 2019-12-27 | 2023-07-14 | 四川师范大学 | Data storage query method and device, electronic equipment and storage medium |
CN112527856A (en) * | 2020-11-16 | 2021-03-19 | 广东电网有限责任公司 | Unified data source management system and method for power grid data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107590282A (en) | The processing method and workflow engine of a kind of workflow engine | |
CN103270750B (en) | Across the system and method for the real-time multimedia of multi-standard and special equipment communication | |
CN105141972B (en) | A kind of video editing method and device | |
CN101364886B (en) | Wireless meeting system | |
CN108989885A (en) | Video file trans-coding system, dividing method, code-transferring method and device | |
US20080005238A1 (en) | Roaming consistent user representation information across devices and applications | |
CN110266507B (en) | Service processing method and system based on virtual team | |
US20080235598A1 (en) | Sequential restructuring of a collaborative context | |
CN108076017A (en) | The protocol analysis method and device of a kind of data packet | |
CN108984202A (en) | A kind of e-sourcing sharing method, device and storage medium | |
CN102316149A (en) | P2p (peer-to-peer) video communication method | |
CN106161186B (en) | Instant communication method and device | |
CN101626302A (en) | System and method for multimedia conference management based on enterprise converged communication | |
CN107241312A (en) | A kind of right management method and device | |
CN107566513A (en) | Test equipment DOS environmental data collecting methods and system | |
CN107872441A (en) | The method and apparatus for generating device attribute configuration file | |
CN102185870B (en) | Method and system for realizing mode switch between instant messaging and network conference | |
Cabri et al. | A proxy‐based framework to support synchronous cooperation on the Web | |
CN106200388A (en) | A kind of method by mobile terminal association house and system | |
KR20020034551A (en) | Collaboration work supporting system | |
TWM580830U (en) | Real-time opinion communication system | |
CN115086309B (en) | Method and system for multi-terminal handwriting electronic signature | |
CN107545532A (en) | Community cloud public service platform based on WeChat | |
CN110609837B (en) | Method and device for dynamically establishing enterprise address book | |
CN106686158A (en) | Method and device of mutual trust communication among severs |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |
|
RJ01 | Rejection of invention patent application after publication |