CN112488655A - Business process dynamic customization system and method based on multi-tenant mode - Google Patents

Business process dynamic customization system and method based on multi-tenant mode Download PDF

Info

Publication number
CN112488655A
CN112488655A CN202011400356.6A CN202011400356A CN112488655A CN 112488655 A CN112488655 A CN 112488655A CN 202011400356 A CN202011400356 A CN 202011400356A CN 112488655 A CN112488655 A CN 112488655A
Authority
CN
China
Prior art keywords
business
tenant
task
sub
business process
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011400356.6A
Other languages
Chinese (zh)
Inventor
张纪林
邵玉曹
赵乃良
任永坚
万健
周丽
蒋从锋
殷昱煜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN202011400356.6A priority Critical patent/CN112488655A/en
Publication of CN112488655A publication Critical patent/CN112488655A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a business process dynamic customization system and method based on a multi-tenant mode. The business process system comprises a business process module, a form management module, a tenant sensing module, a process executor, a shared database and the like; analyzing the service requirements of tenants, dividing task nodes according to levels, and constructing a multi-tenant service flow customization model; and aiming at the variable task nodes in the business process, a pattern matcher is added into the model, and the business process meeting the requirements can be dynamically generated according to the adjustment of the business requirements. After the method is adopted, the system can generate a service flow meeting the requirements of the tenant according to the current tenant identity, and the customization operation of the tenant is reduced; the added pattern matcher enhances the control of the system on variability factors and improves the flexibility of the system. Because the tenants share one set of business process system, the operation cost of the system can be reduced to a great extent.

Description

Business process dynamic customization system and method based on multi-tenant mode
Technical Field
The invention relates to the field of business process customization, in particular to a business process dynamic customization system and method based on a multi-tenant mode.
Background
The business process is a series of activities which are respectively and jointly completed by different people to achieve a specific value target, and compared with the traditional paper approval process, the mode of handling the business process on line has a plurality of natural advantages: the online business handling process ensures the real-time property of information transmission, eliminates the processes of personnel communication and walking, saves the time for handling the business and improves the handling efficiency; the business process handling information can be checked only by related authorized personnel, so that the safety of the information is ensured; through the online business process, the document downloading and printing process is omitted, the expense of office supplies such as printing, writing and ink is reduced, the resources are saved, and the material cost is saved.
The SaaS (Software-as-a-Service) mode is a mode for providing Software through the internet, and users do not purchase Software separately but rent Web-based Software to a Software provider to manage their internal business activities without maintaining the Software. The SaaS mode has great advantages for medium and small enterprises, and the economic pressure of purchasing, constructing and maintaining application software of the medium and small enterprises is avoided, so that the medium and small enterprises can invest more energy and cost in expanding self business. The multi-tenant technology is a core technology of the SaaS, can provide services for a plurality of tenants simultaneously based on a set of software system, and the plurality of tenants share the system instance, simultaneously realize the personalized customization of the system instance, and ensure the sharing of the common part and the isolation of the personalized part of the system.
With the development of SaaS, the business process is also provided to tenants as a software service, and the business process provided in the SaaS mode needs to ensure that a plurality of tenants share one business process system, but can provide the business process meeting the personalized requirements of the tenants according to the difference of their business requirements. The solutions commonly used for business process customization at present mainly include a customization method based on variable points, a customization method based on templates and a customization method based on variability models. The method for customizing based on the variable point designs a part needing to be customized in the process into the variable point, the variable point comprises a plurality of selectable items, and the tenant can select the selectable items according to the self requirement to finally form the complete business process; the template-based customization method comprises the steps that a template flow is obtained from a flow template DB, then a flow customization module carries out customization operation on customization points, the customization operation range is limited in customization constraints and comprises a node addition range, a node dependence rule, whether nodes can be deleted and the like, and after customization is finished, a customized flow is stored in the customization flow DB for a tenant through a deployment module; a customization method based on a variability model designs variation points and variants in the model, tenants select the variants to generate a process configuration file object, and specific business process instances are derived during operation.
Although the existing business process customizing method can customize the business process which meets the requirements of tenants, the existing business process customizing method also has some problems: the existing method is customization performed on the whole process, and more customization operations are generated under the condition that a plurality of tenants exist; meanwhile, for the adjustment of the task node, the subsequent business process cannot be generated in real time, and for the business process customization, it is necessary to dynamically adjust the business process customization scheme according to the business requirements of tenants. Therefore, it is desirable to provide a system and a method for dynamically customizing a business process based on a multi-tenant mode.
Disclosure of Invention
In order to solve the problems, the invention provides a business process dynamic customization system and method based on a multi-tenant mode from the perspective of tenant customization, and the business process meeting requirements can be generated according to the business requirements of tenants.
The technical scheme adopted by the invention is as follows:
the business process dynamic customization system based on the multi-tenant mode comprises: the system comprises a business process module, a form management module, a tenant sensing module, a process executor and a shared database;
the business process module is used for designing a business process model, processing a business approval result and managing a business process example, and storing the designed business process model to a shared database by using a business process identifier ProcessID;
the form management module is used for creating and managing a service object and a service flow form, and storing the service flow form to a shared database by form identification FormID;
the tenant sensing module is used for reading a corresponding tenant configuration file according to a tenant identification TennantID of a current login system, then selecting a business sub-process and a task node required by the tenant in a business process model, and dynamically generating a subsequent business process according to the variable business requirement;
the flow executor is used for a user to acquire a business flow model in the shared database to start a specific business flow example and can check the operation and circulation conditions of the business flow in real time;
and the shared database is used for storing the business process model, the business process form, tenant data, business process system data and business process runtime data.
Preferably, the description information of the business process model designed by the business process module includes a process identifier, a process name, a process state, an update time, and a process version number.
Preferably, the description information of the business object created by the form management module includes a business object identifier, a business object name, version information, a business process form status, and whether a table is generated.
Preferably, the tenant awareness module comprises: a tenant sensor and a pattern matcher;
the tenant sensor is used for acquiring a tenant configuration file in the shared database according to a tenant identification TennantID of a current login system, then acquiring a task node TaskID in a Sub-process ID configured in the tenant configuration file, selecting the task node in the service process model, and adjusting a service process meeting the requirements of the tenant;
the pattern matcher is used for calculating the pattern matching degree according to the Sub-process Sub _ process ID and the task node task ID selected by the current tenant and selecting the subsequent branch task node meeting the conditions to complete the dynamic customization of the business process aiming at the condition that the variable task node exists in the business process.
Preferably, the tenant sensor obtains the content in the tenant configuration file and further includes a Sub-Process Weight Sub _ Process _ Weight and a Task node Weight Task _ Value.
A business process dynamic customization method based on a multi-tenant mode by using the system comprises the following steps:
step 1: collecting multi-tenant business requirements, analyzing task nodes involved in a business process, dividing tenant common task nodes and variability task nodes, designing the common task nodes into the business main process, constructing business sub-processes by the variability task nodes in a node assembling mode, and distributing the task nodes according to levels;
step 2: designing a business object and a business flow form, and designing a tenant configuration file according to the actual business requirements of the tenant; executing step 3 for the condition that the variability task nodes exist in the business process, otherwise executing step 5;
and step 3: analyzing variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-process according to the variability task level, setting a corresponding weight for each task node in the business sub-process, and adding routing nodes in the multi-tenant business process model;
and 4, step 4: adding a pattern matcher into a multi-tenant business process model, calculating matching degree according to business sub-processes and task nodes selected by tenants, then selecting routing nodes and branch task nodes according to the matching degree, and constructing a business process dynamic customization model based on variability task nodes;
and 5: the user starts a business process, when a business process instance is initiated, the system reads tenant configuration file information of a current tenant in a shared database through a tenant sensor, corresponding business sub-processes and task nodes are selected, and for the condition that the variable task nodes exist, a pattern matcher is used for calculating matching degree to select a routing node and a branch task node, so that dynamic customization of the business process is completed.
Preferably, in step 1, the variability task nodes are constructed into the business sub-process in a node assembling manner, wherein the task nodes are in a one-out-of-many relationship.
Preferably, step 3 further comprises the sub-steps of:
step 3.1, analyzing and selecting a task node Ti in a certain service sub-process for the variable task node, and then dividing the subsequent process into several mutually exclusive categories according to the actual requirements of the service, and setting a regular expression for each category as the judgment of the gateway branch;
step 3.2, setting different weights for the variable task nodes according to the hierarchy of the business sub-processes, wherein the weight of the first business sub-process is 1, then increasing by a multiplying power of 10, setting the weight for each sub-process in sequence, and setting a natural number weight for the task nodes in the business sub-processes, wherein 1 is taken as an initial value from top to bottom and the natural number weight is increased in sequence;
and 3.3, adding a routing node in the business process model according to the condition of the divided variability task nodes.
Preferably, step 3.1 sets a regular expression for each category, the regular expression being a string shaped like ". times.11", and 1 is used to match whether a certain business sub-process is selected.
Preferably, the matching degree calculation formula in step 4 is:
Figure BDA0002816750630000051
wherein j is 1,2,3, … n
Wherein wiIs the weight, v, of the selected ith business sub-processijFor the jth task node T in the selected ith business subprocessijAnd (4) corresponding weight values.
The technical scheme provided by the invention has the following beneficial effects:
1. according to the invention, the business process requirements of tenants are decomposed according to the hierarchy, task nodes at the same level are classified into one level, the current tenant identity is sensed, the corresponding tenant configuration file is read, the business process meeting the requirements is automatically adjusted, the defect that the existing model needs a large amount of customization operation is overcome, and the operation cost of the SaaS system can be reduced to a certain extent based on the multiplexing of the process nodes.
2. The pattern matcher provided by the invention aiming at the variable task nodes under multiple tenants can carry out pattern matching according to the selection of the task nodes of the business process, and select the corresponding routing nodes and branch task nodes, thereby improving the control of the system on variable factors and improving the flexibility of the system.
Drawings
FIG. 1 is a schematic diagram of a business process dynamic customization system architecture in a multi-tenant mode;
FIG. 2 is a flow chart of customization involved in the present invention;
FIG. 3 is a diagram of a multi-tenant business process customization model;
FIG. 4 is a diagram of a business process dynamic custom model based on variability task nodes.
Detailed Description
In order to more clearly illustrate the present invention, specific embodiments of the present invention are described in further detail below with reference to examples and the accompanying drawings.
The business process dynamic customization system based on the multi-tenant mode provided by the embodiment comprises: a business process module, a form management module, a tenant sensing module, a process executor and a shared database, as shown in fig. 1.
The business process module is responsible for the operation related to the process and comprises sub-modules of process definition management, process approval management, process instance management and the like; the process definition management carries out online process modeling on the business process through a process designer, and stores the designed business process model into a shared database by using a business process identifier ProcessID, wherein the process definition is based on business process modeling and specification BPMN2.0 element, the business process is represented by a group of symbols in a directed graph form, and the process definition management is very suitable for the design of business process circulation. The description information of the process model comprises a process identifier, a process name, a process state, update time and a process version number, and meanwhile, under the process definition submodule, the process setting can be carried out, and the process model and the process form are subjected to object binding; the process approval management submodule is used for processing the process result by an administrator and comprises the following optional operations: consent, objection, rejection, suspension, recovery, termination, review of approval history and flow charts; the process instance management submodule is used for checking and deleting the currently running process instance and the finished process instance.
The form management module comprises a business object management submodule and a form management submodule, wherein the business object management submodule is used for creating, editing, deleting, importing and exporting business objects and setting classification for the business objects, the business objects are used for creating business process forms, and description information of the business objects comprises business object identification, business object names, version information, business process form states and whether a form is generated or not; the form management submodule is used for creating, previewing, editing and deleting a business process form, and form information comprises form identification, a form name and form internal fields.
The tenant sensing module comprises a tenant sensor and a pattern matcher, wherein the tenant sensor is used for acquiring a tenant configuration file in the shared database according to a tenant identifier TenantID of a current login system, then acquiring a task node TaskID in a Sub-process ID configured in the tenant configuration file, selecting the task node in a service process model, and adjusting a service process meeting the requirements of the tenant; the pattern matcher is used for calculating the pattern matching degree according to the Sub-process Sub _ process ID and the task node task ID selected by the current tenant and selecting the subsequent branch task node meeting the conditions to complete the dynamic customization of the business process aiming at the condition that the variable task node exists in the business process.
The process executor is used for a user to acquire a business process model in the shared database to start a specific business process instance and can check the operation and circulation conditions of the business process in real time.
The shared database is used for storing a business process model, a business process form, tenant data, business process system data and business process running data; compared with the scheme that the tenant shares the database alone, the data storage scheme has low maintenance cost and can realize isolation of tenant services.
The business process is generally used for the condition that a plurality of people are required to participate in approval processing, and the process of applying and approving in scientific research projects is as follows: the applicant fills in the project application and reports to the secondary college, the secondary college auditor performs form audit, applicant qualification audit and expenditure budget audit on the project content, if the audit is passed, the project content is reported to a scientific and technological management department, otherwise, the process is terminated; after the report is submitted to a scientific and technical management department, the report is audited by a school and academic committee, and if the audit is passed, the report is submitted to a chief office for audit; and finally, after approval, signing a task contract book for project establishment. In the process, the variation of the tenant difference exists, the school may increase the link of auditing by the academic committees of the colleges after the auditing of the secondary colleges, and the college leader auditing is submitted after the auditing is passed.
The business process form is shown in the following table:
table 1 service flow description table
Figure BDA0002816750630000081
Figure BDA0002816750630000091
Through the analysis and decomposition of tenant requirements, task nodes are divided into an applicant filling application form, a secondary college audit, a college academic committee audit, a college leader audit, a science and technology management department audit, a school and technology committee audit and a school leader office audit, wherein the applicant filling application form, the science and technology management department audit, the school and technology committee audit and the school leader office audit are common nodes, and other task nodes are variability task nodes which can be selected by different tenants according to self requirements. As shown in table 2, the tenant sensor obtains the content of the tenant configuration file including the tenant identifier, the service process identifier, the sub-process weight, the task node identifier, the task node weight, and the task node name by obtaining the tenant identity TenantID of the current login system, and customizes the service process model meeting the requirements of the tenant configuration file according to the task node in the sub-process selected by the tenant.
Table 2 tenant perceptron needs to obtain the contents of tenant profile
Figure BDA0002816750630000092
The contents of the configuration file to be acquired include:
(1) and (3) tenant identification: the system is used for distinguishing the tenant identity of the current login system;
(2) service flow identification: a service process ID corresponding to a service process started by a user;
(3) and (3) sub-process identification: the sub-processes which are contained in the current business process and can be selected by the tenant;
(4) and (3) sub-process weight: distributing the weighted values distributed for the current sub-processes at a multiplying power of 10 according to the sequence of process division, and calculating the matching degree together with the task node weighted values;
(5) task node identification: for the current tenant and the started business process, the task nodes which are required by the tenant and meet the requirements of the tenant in the current sub-process;
(6) task node weight: the weight values distributed for the current task nodes are natural numbers which are set from top to bottom according to the sequence of the task nodes and take 1 as an initial value, and the natural numbers are sequentially increased and used for calculating the matching degree together with the sub-process weight;
(7) task node name: and the task node name corresponding to the task node identification is used for assisting the task node identification.
The specific steps of the business process dynamic customization method based on the multi-tenant mode provided by the invention are shown in fig. 2, wherein:
step 1: collecting multi-tenant business requirements, analyzing task nodes involved in a business process, dividing tenant common task nodes and variability task nodes, designing the common task nodes into the business main process, constructing business sub-processes by the variability task nodes in a node assembling mode, and distributing the task nodes according to levels;
1.1, designing common task nodes and service sub-process nodes into a service main process according to the divided task nodes in a hierarchical sequence, marking a task ID for each task node, marking a CallActivityID for the service sub-process nodes, and marking a ProcessID for the service main process;
the common task node is a task node which is related to the same business process and different tenants in the actual business.
1.2, constructing a business Sub-process by the variability task nodes in a task assembly mode, marking the business Sub-process as Sub-process ID, wherein the task nodes are in a one-out-of-multiple relation, and adding a sequence flow without the task nodes;
the variability task node is a task node which is approved by users with different roles due to the difference of organization structures or different service scenes of different tenants aiming at the same service flow.
1.3 binding the CallActivityID of the service Sub-process node in the main process to the designed Sub-process Sub _ ProcessID of the service, judging whether the value of the task node field in the tenant configuration file is equal to the preset value of the branch by the gateway branch in the service Sub-process, marking the judgment condition of the gateway branch of the sequential flow without the task node as null, indicating that the service Sub-process is not selected, and storing the service process model in a shared database.
Step 2: designing a business object and a business flow form, and designing a tenant configuration file according to the actual business requirements of the tenant; executing step 3 for the condition that the variability task nodes exist in the business process, otherwise executing step 5;
2.1 according to the business process requirement, creating a business object, adding fields, setting data types and attribute lengths for the fields, then creating a corresponding business process form according to the business object, marking the business process form as FormID, and storing the form in a shared database.
2.2 according to the service requirement of the tenant, recording the service Sub-process and the task node required by the tenant, creating a tenant configuration file by using a tenant identifier TennantID, a service process identifier ProcessID, a Sub-process identifier Sub _ ProcessID and a task node identifier TaskID, and storing the tenant configuration file in a shared database;
the tenant configuration file should also contain a Sub-Process Weight Sub _ Process _ Weight and a Task node Weight Task _ Value.
2.3 customizing the tenant perceptron into the business process model, constructing a multi-tenant business process customization model,
the tenant sensor is a Java service node and can record a tenant identifier TennantID of a current login system, when a user starts a process, a tenant configuration file can be searched according to the tenant identifier, and a service sub-process and a task node required by the tenant configuration file are obtained;
the multi-tenant business process customization model MTBP is { B, T, D, TS, SP }, wherein B represents end points and comprises a start node and an end node, T represents a task node, D represents a branch node and comprises a branch gateway and a synchronous gateway, TS (Tenant sensor) represents a tenant sensor and is used for recording a current tenant identification TennantID and acquiring information of a tenant configuration file, and SP (Sub-process) represents a business Sub-process and is used for identifying possible selections of the task node.
Further, using T as task node T in same leveli_A,Ti_B,TiAnd _C …, where i is 1,2, … n, indicates the ith business sub-process.
Further, the SP may be composed of an endpoint, a branch node, and a task node, and is denoted as SP ═ B, T, D.
And step 3: analyzing variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-process according to the variability task level, setting a corresponding weight for each task node in the business sub-process, and adding routing nodes in the multi-tenant business process model;
3.1 for the variability task node, analyzing and selecting the task node T in a certain business sub-processiAfter the (task ID), the subsequent flows are changed, the subsequent flows are divided into several mutually exclusive categories according to the actual requirements of the service, and a regular expression is set for each category to be used as the judgment of the gateway branch;
the regular expression is a string shaped like ". times.11", and 1 is used to match whether a certain business sub-process is selected.
And 3.2, setting different weights for the variable task nodes according to the hierarchy of the business sub-processes, wherein the weight of the first business sub-process is 1, then increasing by a multiplying power of 10, setting the weight for each sub-process in sequence, and setting a natural number weight for the task nodes in the business sub-processes in sequence increasing by taking 1 as an initial value from top to bottom. As in FIG. 3, weight w is set for SP11SP2 sets the weight w to 12And setting the weight v to be 1,2 and 3 … for the task nodes in the business sub-process from top to bottom.
3.3 adding routing nodes in the business process model according to the condition of the divided variability task nodes, such as R1 and R2 in FIG. 4.
The routing node is a branch gateway, the branch judgment basis is that after the matching degree is calculated according to the selected task node, the matching degree meets the regular expression of the branch, and the regular expression is an expression preset according to the classification divided in the step 3.1, wherein the matching degree calculation method is shown in the step 4.1.
And 4, step 4: adding a pattern matcher into a multi-tenant business process model, calculating matching degree according to business sub-processes and task nodes selected by tenants, then selecting routing nodes and branch task nodes according to the matching degree, and constructing a business process dynamic customization model based on variability task nodes;
the pattern matcher is a Java service node and can dynamically select a subsequent business process node according to the selected variable task node;
4.1, calculating the matching degree according to the selected task nodes, wherein the calculation formula of the matching degree is as follows:
Figure BDA0002816750630000131
wherein j is 1,2,3, … n
Wherein wiIs the weight, v, of the selected ith business sub-processijFor the jth task node T in the selected ith business subprocessijAnd (4) corresponding weight values.
And 4.2, carrying out normalization processing on the calculated matching degree, namely replacing a non-0 value in the matching degree by 1, matching the normalized value with the regular expression judged by the gateway branch, and selecting a corresponding routing node.
4.3 the branch task node under the routing node is selected according to the matching degree, and the selection process is as follows: analyzing the matching degree value from low order to high order, wherein the j-th numerical value represents that the j-th task node of the i-th service sub-process is selected, thereby matching the branch regular expression preset under the routing node.
And 5: the user starts a business process, when a business process instance is initiated, the system reads tenant configuration file information of a current tenant in a shared database through a tenant sensor, corresponding business sub-processes and task nodes are selected, and for the condition that the variable task nodes exist, a pattern matcher is used for calculating matching degree to select a routing node and a branch task node, so that dynamic customization of the business process is completed.
In summary, the technical solution of the present invention realizes a tenant personalized business process customization service through a set of business process system platform, and meanwhile, for a business process with a variable task node, a subsequent task node can be dynamically generated according to an actual execution situation, so that the control of the system on a situation that cannot be predetermined is enhanced, and the flexibility of the system is improved.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the invention and are not to be construed as limiting the embodiments of the present invention, and all the modifications of the different forms based on the above description are within the scope of the present invention.

Claims (10)

1. The business process dynamic customization system based on the multi-tenant mode is characterized by comprising the following steps:
the system comprises a business process module, a form management module, a tenant sensing module, a process executor and a shared database;
the business process module is used for designing a business process model, processing a business approval result and managing a business process example, and storing the designed business process model to a shared database by using a business process identifier ProcessID;
the form management module is used for creating and managing a service object and a service flow form and storing the service flow form to a shared database by form identification FormID;
the tenant sensing module is used for reading a corresponding tenant configuration file according to a tenant identification TennantID of a current login system, then selecting a service sub-process and a task node required by the tenant in a service process model, and dynamically generating a subsequent service process according to the variable service requirement;
the flow executor is used for a user to acquire a business flow model in the shared database to start a specific business flow example and can check the operation and circulation conditions of the business flow in real time;
the shared database is used for storing the business process model, the business process form, tenant data, business process system data and business process runtime data.
2. The multi-tenant mode-based business process dynamic customization system of claim 1, wherein the description information of the business process model designed by the business process module comprises process identification, process name, process status, update time and process version number.
3. The system of claim 1, wherein the description information of the business object created by the form management module includes a business object identifier, a business object name, version information, a business process form status, and whether to generate a table.
4. The system of claim 1, wherein the tenant-aware module comprises: a tenant sensor and a pattern matcher;
the tenant sensor is used for acquiring a tenant configuration file in the shared database according to a tenant identification TennantID of a current login system, then acquiring a task node TaskID in a Sub-process Sub _ ProcessID configured in the tenant configuration file, selecting the task node in a service process model, and adjusting a service process meeting the requirements of the tenant;
the pattern matcher is used for calculating the pattern matching degree according to the Sub-process ID and the task node task ID selected by the current tenant and selecting the subsequent branch task node meeting the conditions to complete the dynamic customization of the business process aiming at the condition that the variable task node exists in the business process.
5. The system of claim 4, wherein the tenant sensor obtains the content in the tenant configuration file further comprises a Sub-Process Weight Sub _ Process _ Weight and a Task node Weight Task _ Value.
6. The business process dynamic customization method based on the multi-tenant mode, which uses the system of claim 1, and is characterized by comprising the following steps:
step 1: collecting multi-tenant business requirements, analyzing task nodes involved in a business process, dividing tenant common task nodes and variability task nodes, designing the common task nodes into the business main process, constructing business sub-processes by the variability task nodes in a node assembling mode, and distributing the task nodes according to levels;
step 2: designing a business object and a business flow form, and designing a tenant configuration file according to the actual business requirements of the tenant; executing step 3 for the condition that the variability task nodes exist in the business process, otherwise executing step 5;
and step 3: analyzing variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-process according to the variability task level, setting a corresponding weight for each task node in the business sub-process, and adding routing nodes in the multi-tenant business process model;
and 4, step 4: adding a pattern matcher into a multi-tenant business process model, calculating matching degree according to business sub-processes and task nodes selected by tenants, then selecting routing nodes and branch task nodes according to the matching degree, and constructing a business process dynamic customization model based on variability task nodes;
and 5: the user starts a business process, when a business process instance is initiated, the system reads tenant configuration file information of a current tenant in a shared database through a tenant sensor, corresponding business sub-processes and task nodes are selected, and for the condition that the variable task nodes exist, a pattern matcher is used for calculating matching degree to select a routing node and a branch task node, so that dynamic customization of the business process is completed.
7. The method according to claim 6, wherein in step 1, the business sub-process is constructed by assembling variability task nodes in a node-assembling manner, wherein the task nodes are in a one-out-of-multiple relationship.
8. The method according to claim 6, wherein the step 3 further comprises the following sub-steps:
step 3.1 for variability task nodes, analysis selectionTask node T in certain business sub-processiThen, the subsequent flows are divided into several mutually exclusive categories according to the actual requirements of the services, and a regular expression is set for each category as the judgment of the gateway branches;
step 3.2, setting different weights for the variable task nodes according to the hierarchy of the business sub-processes, wherein the weight of the first business sub-process is 1, then increasing by a multiplying power of 10, setting the weight for each sub-process in sequence, and setting a natural number weight for the task nodes in the business sub-processes, wherein 1 is taken as an initial value from top to bottom and the natural number weight is increased in sequence;
and 3.3, adding a routing node in the business process model according to the condition of the divided variability task nodes.
9. The method according to claim 6, wherein the matching degree calculation formula in step 4 is:
Figure FDA0002816750620000031
wherein j is 1,2,3, … n
Wherein wiIs the weight, v, of the selected ith business sub-processijFor the jth task node T in the selected ith business subprocessijAnd (4) corresponding weight values.
10. Step 3 according to claim 8 further comprises a sub-step, characterized in that, in step 3.1, a regular expression is set for each category, the regular expression is a character string shaped like ". times.11", and 1 is used to match whether a certain business sub-process is selected.
CN202011400356.6A 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode Pending CN112488655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011400356.6A CN112488655A (en) 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011400356.6A CN112488655A (en) 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode

Publications (1)

Publication Number Publication Date
CN112488655A true CN112488655A (en) 2021-03-12

Family

ID=74939183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011400356.6A Pending CN112488655A (en) 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode

Country Status (1)

Country Link
CN (1) CN112488655A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485681A (en) * 2021-09-07 2021-10-08 迅管(深圳)科技有限公司 Activi-based patrol service process query method
CN113537925A (en) * 2021-06-25 2021-10-22 杭州群核信息技术有限公司 Information processing method and device
CN114693283A (en) * 2022-06-01 2022-07-01 四川高灯企服科技有限公司 Cross-system business process approval processing method and device and computer equipment
CN115526160A (en) * 2022-10-21 2022-12-27 广州市玄武无线科技股份有限公司 Rich text processing method, device and equipment and storage medium
CN115827054A (en) * 2022-11-29 2023-03-21 北京美蓝智达科技有限公司 Method for highly configuring shop process through operation platform
CN116185395A (en) * 2023-04-21 2023-05-30 华能信息技术有限公司 Flow component templatization definition method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937901A (en) * 2012-10-17 2013-02-20 武汉钢铁(集团)公司 Multi-tenant architecture design method
CN103077024A (en) * 2012-12-28 2013-05-01 山东地纬计算机软件有限公司 Device and method for supporting customization and running of software-as-a-service (SaaS) application processes
CN105303305A (en) * 2015-10-15 2016-02-03 武汉大学 Plug-in business process family co-evolution method
CN105786474A (en) * 2014-12-25 2016-07-20 北京仿真中心 Multi-tenant-supporting collaborative business flow customizing system and method
CN108701182A (en) * 2016-08-31 2018-10-23 甲骨文国际公司 The data management of multi-tenant identity cloud service
CN108810164A (en) * 2018-06-29 2018-11-13 合肥微商圈信息科技有限公司 A kind of device for supporting the on-demand customization of SaaS application flows and operation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937901A (en) * 2012-10-17 2013-02-20 武汉钢铁(集团)公司 Multi-tenant architecture design method
CN103077024A (en) * 2012-12-28 2013-05-01 山东地纬计算机软件有限公司 Device and method for supporting customization and running of software-as-a-service (SaaS) application processes
CN105786474A (en) * 2014-12-25 2016-07-20 北京仿真中心 Multi-tenant-supporting collaborative business flow customizing system and method
CN105303305A (en) * 2015-10-15 2016-02-03 武汉大学 Plug-in business process family co-evolution method
CN108701182A (en) * 2016-08-31 2018-10-23 甲骨文国际公司 The data management of multi-tenant identity cloud service
CN108810164A (en) * 2018-06-29 2018-11-13 合肥微商圈信息科技有限公司 A kind of device for supporting the on-demand customization of SaaS application flows and operation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙昌爱等: "基于可变性模型的可复用与可定制SaaS 软件开发方法", 软件学报, 30 April 2018 (2018-04-30), pages 3435 - 3454 *
陈大鹏: "面向多租户流程定制的流程版本管理和流程模板演化", 信息科技辑, 15 November 2014 (2014-11-15), pages 10 - 16 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537925A (en) * 2021-06-25 2021-10-22 杭州群核信息技术有限公司 Information processing method and device
CN113485681A (en) * 2021-09-07 2021-10-08 迅管(深圳)科技有限公司 Activi-based patrol service process query method
CN113485681B (en) * 2021-09-07 2021-12-21 迅管(深圳)科技有限公司 Patrol management business process query method based on Activiti
CN114693283A (en) * 2022-06-01 2022-07-01 四川高灯企服科技有限公司 Cross-system business process approval processing method and device and computer equipment
CN114693283B (en) * 2022-06-01 2022-09-27 四川高灯企服科技有限公司 Cross-system business process approval processing method and device and computer equipment
CN115526160A (en) * 2022-10-21 2022-12-27 广州市玄武无线科技股份有限公司 Rich text processing method, device and equipment and storage medium
CN115827054A (en) * 2022-11-29 2023-03-21 北京美蓝智达科技有限公司 Method for highly configuring shop process through operation platform
CN116185395A (en) * 2023-04-21 2023-05-30 华能信息技术有限公司 Flow component templatization definition method and system

Similar Documents

Publication Publication Date Title
CN112488655A (en) Business process dynamic customization system and method based on multi-tenant mode
Barton Designing simulation experiments
CN113254061B (en) Business decision method, system and storage medium based on rule engine
CN110286974A (en) Application configuration method, apparatus, equipment and storage medium based on the H5 page
Burge Software engineering using design RATionale
US20060224777A1 (en) System and method for creating test data for data driven software systems
CN109828750A (en) Auto-configuration data buries method, apparatus, electronic equipment and storage medium a little
Rautenburger et al. Process mining
CN113326027B (en) Domain-driven design tactical modeling method
CN109670726A (en) A kind of workflow extended node tasks execute the method and flow engine of body
Rothenberger Project‐Level Reuse Factors: Drivers for Variation within Software Development Environments
CN108711074A (en) Business sorting technique, device, server and readable storage medium storing program for executing
CN111680918B (en) Intelligent manufacturing service flow determining method and system
Matejaš et al. Building a BPM application in an SOA-based legacy environment
Biggiero et al. Choosing and evaluating technology policy: a multicriteria approach
Mitchell A pragmatic constructivist approach to studying difference and change in management accounting practice
CN109165238B (en) Data processing method and device for generating period index data
Bongers Learning by doing, organizational forgetting, and the business cycle
US6466927B1 (en) Method for creating a process capability database
Djedović et al. A combined process mining for improving business process
KR20210080977A (en) Business document editing method and system using blockchain
Kundapur et al. Simulating knowledge worker adoption rate of KMS: An organizational perspective
Zhang et al. An intelligent scheduling model of computer human resources in complex scenarios based on artificial intelligence
CN110544075A (en) asset management process configuration method, device and equipment
Ibl et al. Complexity analysis of business processes

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