CN112348458A - Process model matching method and system based on business rules - Google Patents
Process model matching method and system based on business rules Download PDFInfo
- Publication number
- CN112348458A CN112348458A CN202011118698.9A CN202011118698A CN112348458A CN 112348458 A CN112348458 A CN 112348458A CN 202011118698 A CN202011118698 A CN 202011118698A CN 112348458 A CN112348458 A CN 112348458A
- Authority
- CN
- China
- Prior art keywords
- business
- service
- flow
- process model
- model
- 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
- 238000000034 method Methods 0.000 title claims abstract description 151
- 230000008569 process Effects 0.000 title claims abstract description 119
- 238000004590 computer program Methods 0.000 claims description 6
- 238000011161 development Methods 0.000 claims description 3
- 238000007711 solidification Methods 0.000 abstract description 6
- 230000008023 solidification Effects 0.000 abstract description 6
- 230000008520 organization Effects 0.000 description 3
- 238000009394 selective breeding Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000945 filler Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
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
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Operations Research (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Quality & Reliability (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a process model matching method and a system based on business rules, which search and position the starting process of a business process model Key according to the three-step logic of judging an artificial solidification process model Key, dynamically analyzing a script and combining the process model Key according to the business rules, and merge a business identifier and the relevant attributes of the business into the process model Key according to the rules in the three-step business rule method, so that the positioning process model can be analyzed and matched according to the relevant business parameters during operation. The method can reduce the factors of human participation during service submission, reduce the error probability and the selection difficulty, and enable a user to define a flow model according to a certain service protocol, thereby improving the flexibility.
Description
Technical Field
The invention relates to the field of information management of the power industry, in particular to a process model matching method and system based on business rules.
Background
Services have different flow definitions in different units. Under the condition of centralized deployment of projects in a clustered information system, the flow model is required to be accurately matched for circulation according to rules. At present, the rule matching of the traditional mode is divided into two schemes of an artificial selection method and a solidification binding method, wherein the artificial selection method is used for selecting a flow model to operate after a business document is filled, and the method increases the error rate of flow execution and the difficulty of selection. The solidification binding method is that a business document fixes a flow model, and the flow model is started according to the fixed flow model when a user fills in a form and initiates a flow.
When a business single user initiates a process in the mode of the manual selection method, the user needs to actively select a process model to start the process, and the manual selection increases the selection error rate and also increases the selection difficulty. The mode business process of the solidification binding method needs to start the process according to the solidified process model, and the flexibility is not enough.
With the gradual maturity of internet technology, the demand of the group enterprises on informatization is improved, and the demand of business process management is unified and certain personalization is allowed. The process business requires standardized process management, allows each basic unit to carry out management idea innovation, and continuously optimizes the business process. Each base level unit defines a business process model in the MIS system, and the business documents are often positioned only by selecting a process or fixedly binding the process by a filler when being submitted and approved, which causes frequent selection errors or inflexibility of modifying the process model.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a process model matching method and system based on business rules, which can reduce error probability and selection difficulty and improve flexibility.
The process model matching method based on the business rule comprises the following steps:
s1, judging whether the business process has a manually solidified and bound process model KEY, if so, searching a corresponding process model in a model base according to the bound process model KEY, and then entering the step S4, otherwise, entering the step S2;
s2, dynamically analyzing the service flow through the script to search a flow model Key, if the corresponding flow model KEY is found, searching the corresponding flow model in a model base, and then entering the step S4, otherwise entering the step S3;
s3, generating a unique flow model identifier according to a three-section rule of a service, wherein the first section of the three-section rule of the service is a service identifier of a service flow, the second section is a unit code using the service flow, the third section is a service extension code of the service flow, the service identifier, the unit code and the service extension code of the flow are transmitted into the flow when the flow service is started, and a flow engine is combined into a flow model Key to a model base according to the transmitted flow starting parameters and the three-section rule of the service to match a corresponding flow model;
and S4, starting the process according to the process model.
The flow model matching system based on the business rule comprises the following components: a memory for storing a computer program;
a processor for implementing the business rule based process model matching method of any one of claims 1 to 4 when executing the computer program.
The flow model matching method and the system provided by the embodiment of the invention at least have the following technical effects: the embodiment of the invention searches the starting process of the positioning business process model Key according to the three-step logic of judging the manual solidification process model Key, dynamically analyzing the script and combining the process model Key according to the business rules, and fuses the business identification and the relevant attributes of the business into the process model Key according to the rules in the three-step business rule method, and the positioning process model can be analyzed and matched according to the relevant business parameters during running. The method can reduce the factors of human participation during service submission, reduce the error probability and the selection difficulty, and enable a user to define a flow model according to a certain service protocol, thereby improving the flexibility.
According to some embodiments of the invention, the script in step S2 is a groovy script.
According to some embodiments of the present invention, the specific step of obtaining the process model Key by dynamically parsing the service process through the script in step S2 is: and compiling a script for locating and searching the business process model Key for the process business form during running, transmitting a Map type process starting parameter object into the process starting service during process business development, taking a variable value stored in the parameter object from a form attribute value, replacing a variable used by the script according to the value of the starting parameter object during running, and dynamically analyzing the script to obtain the process model Key launching process of the business.
According to some embodiments of the present invention, the first segment in the step S3 is an essential item, and the second and third segments are non-essential items, and each segment is separated by "... times".
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a logic flow diagram of a process model matching method based on business rules in an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to in the description of the orientation, such as the upper, lower, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, but does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
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 present number, and larger, smaller, inner, etc. are understood as including the present number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
Referring to fig. 1, a process model matching method based on business rules includes the following steps:
s1, judging whether the business process has a manually solidified and bound process model KEY: the process service can be manually solidified and bound with a defined process model Key of a process model library, when the process service is developed, the process starting service is called, the defined process model Key is transmitted to the model library for searching, if a returned process model is obtained, the process is started, otherwise, the process enters a second step groovy script method to execute the analytic logic and continuously search for a process model Key of a proper service;
s2, searching a process model Key through a script dynamic analysis service process: in order to ensure the configurability of the process model and improve the flexibility of the configuration of the business process model, professional operation and maintenance personnel can compile, position and find the groovy script of the Key of the business process model for the process business form during operation. When the process service is developed, the process starting service is called to transmit a Map type process starting parameter object, a variable value stored in the parameter object is from a form attribute value, a variable used by a groovy script is replaced according to the value of the starting parameter object during running, the script is dynamically analyzed to obtain a process model Key starting process of the service, and if a corresponding process model Key is not found, the step S3 is carried out;
s3, combining a process model Key according to the business rule: generating a unique flow model identifier according to a three-section rule of a service, wherein a first section in the three-section rule of the service is a service identifier of the service flow, a second section is a unit code using the service flow, a third section is a service extension code of the service flow, the first section is an essential item, the second section and the third section are non-essential items, each section is divided by the shape.
The invention also includes a process model matching system based on the business rules, comprising: a memory for storing a computer program; and the processor is used for realizing the flow model matching method based on the business rules when executing the computer program.
The following describes the detailed process of the method of the present invention by taking an approval of a contract as an example, which is specifically as follows:
the approval process signed by the contract, the standard approval process determined by the group type enterprise, the necessary approval nodes, and the process optimization of each basic unit according to the actual situation. The approval process according to the group requirement standard comprises that a contract administrator, a department master and a general manager approve and document the contract into necessary nodes. Unit a requires the addition of technical supervisors for review after the contract administrator. The B unit requires legal approval between the general manager approval. Unit C uses the standard approval procedure entirely.
It can be seen that a contract service will define three process models, and that the subsequent A, B, C units may also define new process models for the service. It is also possible to use a flow model with B units for D units.
To sum up, firstly, a service identifier signed by a contract is defined as "HDSP", an unit a defines a unique identifier of a flow model according to a service three-section composition specification, a first section is the service identifier "HDSP", a second section is an organization code "DW-a", a third section is a service extension type "XY", and a flow model identifier generated by combination is "HDSP. The unit B defines a flow model to form a specification according to three sections of services, wherein the first section is a service identifier ' HDSP ', the second section is organization structure code ' DW-B ', the third section is a service extension type ' XZ ', and the flow model identifier generated by combination is ' HDSP.
And secondly, defining three process variables of a service identifier, an organization code and a service extension type during the development of the process service, calling a process starting service to transfer the three process variables, and releasing and deploying the system.
Finally, when the system runs, personnel of an A unit fills in a contract signing order and submits process approval, a system process engine runs, analyzes and positions a process model according to the method of the invention, when the step S1 is executed, because a process model Key is not bound by manual solidification, the operation continues to the step S, the process model Key of a dynamic script configured by the service is not detected, the operation continues to the step S3, the process model Key is matched according to the service rule, the operation rule system according to the step S3 performs three-section addition splicing according to the service identifier ' HDSP ', the group mechanism code ' DW-A ', and the service extension type ' XY ', so that the current service process model Key is ' HDSP.
In summary, in the embodiments of the present invention, a start-up process of positioning a business process model Key is found according to a three-step logic of judging a manually solidified process model Key, dynamically parsing a script, and combining the process model Key according to a business rule, and a business identifier and a business related attribute are incorporated into the process model Key according to the rule in the three-step business rule method, so that a matching and positioning process model can be parsed according to a related business parameter during operation. The method can reduce the factors of human participation during service submission, reduce the error probability and the selection difficulty, and enable a user to define a flow model according to a certain service protocol, thereby improving the flexibility.
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 (5)
1. A process model matching method based on business rules is characterized by comprising the following steps:
s1, judging whether the business process has a manually solidified and bound process model KEY, if so, searching a corresponding process model in a model base according to the bound process model KEY, and then entering the step S4, otherwise, entering the step S2;
s2, dynamically analyzing the service flow through the script to search a flow model Key, if the corresponding flow model KEY is found, searching the corresponding flow model in a model base, and then entering the step S4, otherwise entering the step S3;
s3, generating a unique flow model identifier according to a three-section rule of a service, wherein the first section of the three-section rule of the service is a service identifier of a service flow, the second section is a unit code using the service flow, the third section is a service extension code of the service flow, the service identifier, the unit code and the service extension code of the flow are transmitted into the flow when the flow service is started, and a flow engine is combined into a flow model Key to a model base according to the transmitted flow starting parameters and the three-section rule of the service to match a corresponding flow model;
and S4, starting the process according to the process model.
2. The business rule-based process model matching method of claim 1, wherein: the script in the step S2 is a groovy script.
3. The business rule-based process model matching method of claim 2, wherein: the specific steps of obtaining the process model Key by dynamically parsing the service process through the script in step S2 are as follows: and compiling a script for locating and searching the business process model Key for the process business form during running, transmitting a Map type process starting parameter object into the process starting service during process business development, taking a variable value stored in the parameter object from a form attribute value, replacing a variable used by the script according to the value of the starting parameter object during running, and dynamically analyzing the script to obtain the process model Key launching process of the business.
4. The business rule-based process model matching method of claim 1, wherein: in step S3, the first segment is an essential item, and the second segment and the third segment are non-essential items.
5. A process model matching system based on business rules is characterized by comprising: a memory for storing a computer program;
a processor for implementing the business rule based process model matching method of any one of claims 1 to 4 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011118698.9A CN112348458A (en) | 2020-10-19 | 2020-10-19 | Process model matching method and system based on business rules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011118698.9A CN112348458A (en) | 2020-10-19 | 2020-10-19 | Process model matching method and system based on business rules |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112348458A true CN112348458A (en) | 2021-02-09 |
Family
ID=74362144
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011118698.9A Pending CN112348458A (en) | 2020-10-19 | 2020-10-19 | Process model matching method and system based on business rules |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112348458A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101169713A (en) * | 2006-10-25 | 2008-04-30 | 中兴通讯股份有限公司 | Model conversion frame supporting separation of conversion engine and mapping rule and the method |
CN110134705A (en) * | 2018-02-09 | 2019-08-16 | 中国移动通信集团有限公司 | A kind of data query method, cache server and terminal |
CN110865854A (en) * | 2019-11-11 | 2020-03-06 | 科大国创软件股份有限公司 | Interface calling and arranging method supporting hot deployment |
CN111241803A (en) * | 2020-01-15 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Method and device for generating text file, computer equipment and readable storage medium |
CN111324379A (en) * | 2020-01-15 | 2020-06-23 | 携程旅游网络技术(上海)有限公司 | Model deployment system based on general SOA service |
-
2020
- 2020-10-19 CN CN202011118698.9A patent/CN112348458A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101169713A (en) * | 2006-10-25 | 2008-04-30 | 中兴通讯股份有限公司 | Model conversion frame supporting separation of conversion engine and mapping rule and the method |
CN110134705A (en) * | 2018-02-09 | 2019-08-16 | 中国移动通信集团有限公司 | A kind of data query method, cache server and terminal |
CN110865854A (en) * | 2019-11-11 | 2020-03-06 | 科大国创软件股份有限公司 | Interface calling and arranging method supporting hot deployment |
CN111241803A (en) * | 2020-01-15 | 2020-06-05 | 深圳壹账通智能科技有限公司 | Method and device for generating text file, computer equipment and readable storage medium |
CN111324379A (en) * | 2020-01-15 | 2020-06-23 | 携程旅游网络技术(上海)有限公司 | Model deployment system based on general SOA service |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7296012B2 (en) | Method of and apparatus for multimedia processing, and computer product | |
US9690822B2 (en) | System and method for metadata level validation of custom setup objects | |
CN111399853B (en) | Templated deployment method for machine learning model and custom operator | |
US7562102B1 (en) | Extensible handling of new or modified data within an independent distributed database system | |
CN111158674B (en) | Component management method, system, device and storage medium | |
US10453165B1 (en) | Computer vision machine learning model execution service | |
CN110276074B (en) | Distributed training method, device, equipment and storage medium for natural language processing | |
CN108595342B (en) | Unit testing method and device | |
CN112394942B (en) | Distributed software development compiling method and software development platform based on cloud computing | |
CN110851359B (en) | Application program testing method and device and server | |
CN114997706A (en) | Workflow-based business processing method, device, equipment and storage medium | |
CN113448862A (en) | Software version testing method and device and computer equipment | |
Niu et al. | Variability modeling for product line viewpoints integration | |
CN115860451A (en) | Flow operation method and device, electronic equipment and storage medium | |
CN114640957A (en) | Short message sending method, system, equipment and computer readable storage medium | |
CN113721921A (en) | Offline compiling method and system for alliance-chain multi-language external link code | |
Burger et al. | Finalist 2: Feature identification, localization, and tracing tool | |
CN112348458A (en) | Process model matching method and system based on business rules | |
US20140101634A1 (en) | Ontology-based user requirement decomposition for component selection for service provision | |
US7849442B2 (en) | Application requirement design support system and method therefor | |
CN114693220B (en) | Algorithm warehouse management method and system based on digital twin DaaS platform | |
CN113495723B (en) | Method, device and storage medium for calling functional component | |
CN111221841A (en) | Real-time processing method and device based on big data | |
CN109254774A (en) | The management method and device of code in software development system | |
Habibi et al. | Generating test as a web service (TaaWS) through a method-based attribute grammar |
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 |