[go: up one dir, main page]

CN112488655B - 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
CN112488655B
CN112488655B CN202011400356.6A CN202011400356A CN112488655B CN 112488655 B CN112488655 B CN 112488655B CN 202011400356 A CN202011400356 A CN 202011400356A CN 112488655 B CN112488655 B CN 112488655B
Authority
CN
China
Prior art keywords
business
tenant
task
business process
sub
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.)
Active
Application number
CN202011400356.6A
Other languages
Chinese (zh)
Other versions
CN112488655A (en
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/CN112488655B/en
Publication of CN112488655A publication Critical patent/CN112488655A/en
Application granted granted Critical
Publication of CN112488655B publication Critical patent/CN112488655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 perception module, a process executor, a shared database and the like; analyzing service demands of tenants, dividing task nodes according to levels, and constructing a multi-tenant service flow customization model; aiming at the variability task nodes in the business process, a pattern matcher is added in 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 business flow meeting the needs of the tenant according to the identity of the current tenant, and the customization operation of the tenant is reduced; the added pattern matcher enhances the control of the system on the variability factors and improves the flexibility of the system. As a set of business process systems are shared among tenants, 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
Business processes are a series of activities that are performed together by different people to achieve a specific value goal, and the manner of using online business processes has many natural advantages over traditional paper approval processes: the online business handling process ensures the real-time performance of information transmission, avoids the process of personnel communication and walking, saves the business handling time and improves the business handling efficiency; the business process transacting information can be checked only by related authorized personnel, so that the safety of the information is ensured; through on-line business process handling, the downloading and printing process of documents is omitted, the cost expenditure of office supplies such as printing, writing ink and the like is reduced, resources are saved, and material resource cost is saved.
The SaaS (Software-as-a-Service) mode is a mode of providing Software through the internet, and a user does not purchase the Software alone any more, but instead rents Web-based Software to a Software provider to manage its internal business activities without maintenance of the Software. The SaaS mode has great advantages for small and medium enterprises, and the economic pressure of purchasing, constructing and maintaining application software by the small and medium enterprises is avoided, so that the small and medium enterprises can put more effort and cost in expanding own 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 systems, and the tenants share the system instance, so that personalized customization of the system instance is realized, sharing of the common part and isolation of the individual part of the system are ensured.
With the development of SaaS, the business process is also provided as a software service for tenants, and the business process provided in the SaaS mode needs to ensure that a plurality of tenants share a set of business process system, but can provide the business process meeting the personalized requirements of the tenants according to the difference of the business requirements of the tenants. The solutions commonly used for customizing business processes at present mainly comprise a customization method based on variable points, a customization method based on templates and a customization method based on a variability model. The customization method based on the variable points designs the part to be customized in the process as one variable point, wherein the variable point comprises a plurality of selectable items, and a tenant can select the selectable items according to the self requirement to finally form a complete business process; the customization method based on the template obtains a template flow from a flow template DB, then a flow customization module carries out customization operation on customization points, a customization operation range is limited in customization constraint, the customization operation range comprises a node addable range, a node dependent rule, whether a node can be deleted or not and the like, and after customization is finished, the customized flow is stored into the customization flow DB for use by a tenant through a deployment module; based on the customization method of the variability model, variation points and variations are designed in the model, tenants select the variations, flow configuration file objects are generated, and specific business flow instances are derived at the runtime.
Although the existing business process customization method can customize the business process meeting the requirement of the tenant, the existing business process customization method also has some problems: the existing method is customization performed on the whole flow, and more customization operations are generated for the situation that a plurality of tenants exist; meanwhile, for the adjustment of task nodes, the subsequent business processes cannot be generated in real time, and for business process customization, it is necessary to dynamically adjust a business process customization scheme according to the business requirements of tenants. Therefore, it is desirable to provide a business process dynamic customization system and method 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 a business process dynamic customization method based on a multi-tenant mode from the perspective of tenant customization, and the business process meeting the requirements can be generated according to the business requirements of tenants.
The technical scheme adopted by the invention is as follows:
a business process dynamic customization system based on a multi-tenant mode, the system comprising: the system comprises a business process module, a form management module, a tenant perception module, a process executor and a shared database;
the business process module is used for designing a business process model, processing business approval results and managing business process instances, and storing the designed business process model into the shared database by a business process identifier ProcessID;
the form management module is used for creating and managing the business objects and the business process forms and storing the business process forms to the shared database by form identification (FormID);
The tenant perception module is used for reading a corresponding tenant configuration file according to a tenant identifier TenantID of the current login system, selecting a service sub-process and a task node required by the tenant in the service process model, and dynamically generating a subsequent service process according to the variability 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 instance, and can check the running 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 operation time data.
Preferably, the description information of the business process model designed by the business process module comprises a process identifier, a process name, a process state, an update time and a process version number.
Preferably, the description information of the service object created by the form management module includes service object identification, service object name, version information, service flow form status and whether to generate a form.
Preferably, the tenant-aware module comprises: tenant perceptron and pattern matcher;
The tenant sensor is used for acquiring a tenant configuration file in a shared database according to a tenant identifier TenantID of a current login system, then acquiring a task node task ID in a Sub-process sub_ ProcessID configured in the tenant configuration file, selecting the task node in a service flow model, and adjusting a service flow meeting the requirement of the tenant;
The pattern matcher is used for calculating pattern matching degree according to the Sub-process Sub-ProcessID selected by the current tenant and task nodes task ID aiming at the condition that variability task nodes exist in the business process, and selecting the follow-up branch task nodes meeting the conditions to complete dynamic customization of the business process.
Preferably, the obtaining of the content in the tenant configuration file by the tenant sensor further includes a Sub-flow 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 service demands, analyzing task nodes related to service flows, dividing lessor commonality task nodes and variability task nodes, designing the commonality task nodes into a service main flow, constructing service sub-flows by the variability task nodes in a node assembly mode, and distributing the task nodes according to a hierarchy;
step 2: designing a service object and a service flow form, and designing a tenant configuration file according to actual service requirements of tenants; executing the step 3 for the situation that the variability task node exists in the business process, otherwise executing the step 5;
Step 3: analyzing the variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-processes according to the variability task level, setting corresponding weights for each task node in the business sub-processes, and adding routing nodes in the multi-tenant business process model;
Step 4: adding a pattern matcher in the 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;
step 5: when a user starts a business process, the system reads tenant configuration file information of the current tenant in the shared database through the tenant sensor, selects corresponding business sub-processes and task nodes, calculates matching degree to select routing nodes and branch task nodes through the pattern matcher under the condition that variability task nodes exist, and completes dynamic customization of the business process.
Preferably, in step 1, the business sub-process is constructed by using the changeable task nodes in a node assembly mode, wherein the task nodes are in a one-to-one relationship.
Preferably, step 3 further comprises the sub-steps of:
Step 3.1, analyzing the subsequent flow change caused by selecting a task node Ti in a certain business sub-flow for the changeable task node, dividing the subsequent flow into a plurality of mutually exclusive categories according to the actual requirement of the business, and setting a regular expression for each category to be used as judgment of 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 weights for each sub-process in turn, and setting natural number weights which are increased by taking 1 as a starting value from top to bottom for the task nodes in the business sub-process;
And 3.3, adding routing nodes in the business process model according to the conditions of the divided variability task nodes.
Preferably, in step 3.1, a regular expression is set for each class, where the regular expression is a string shaped as "..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:
where j=1, 2,3, … n
Wherein w i is the weight of the selected ith service sub-flow, and v ij is the weight corresponding to the jth task node T ij in the selected ith service sub-flow.
The technical scheme provided by the invention has the following beneficial effects:
1. According to the invention, the service flow requirements of the tenants are decomposed according to the hierarchy, task nodes at the same level are classified into one level, the corresponding tenant configuration files are read by sensing the current tenant identities, and a service flow meeting the requirements is automatically adjusted, so that the defect that a large number of custom operations are required by the existing model is overcome, and the operation cost of the SaaS system can be reduced to a certain extent based on the multiplexing of the flow nodes.
2. The mode matcher provided by the invention can perform mode matching according to the selection of the task nodes of the business process aiming at the variability task nodes under the multi-tenant condition, and selects the corresponding routing nodes and branch task nodes, thereby improving the control of the system on the variability 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 customization flow chart in accordance with 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 customization model based on variability task nodes.
Detailed Description
In order to more clearly illustrate the present invention, specific embodiments thereof will be described in further detail below with reference to examples and drawings.
The business process dynamic customization system based on the multi-tenant mode provided by the embodiment comprises: the system comprises a business flow module, a form management module, a tenant perception module, a flow executor and a shared database, as shown in fig. 1.
The business process module is responsible for operations 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 a designed business process model into a shared database through a business process identifier ProcessID, wherein the process definition is based on business process modeling and a standard BPMN2.0 element, and the business process is represented by a group of symbols in a form of a directed graph, so that the method is very suitable for the design of business process circulation. The description information of the flow model comprises a flow identifier, a flow name, a flow state, update time and a flow version number, and meanwhile, under the flow definition sub-module, flow setting can be carried out, and object binding is carried out on the flow model and the flow form; the flow approval management sub-module is used for processing flow results by an administrator and comprises the following optional operations: consent, objection, rejection, suspension, restoration, termination, view approval history and flow charts; the flow instance management submodule is used for checking and deleting the currently running flow instance and the finished flow instance.
The form management module comprises a business object management sub-module and a form management sub-module, wherein the business object management sub-module is used for creating, editing, deleting, importing and exporting business objects, and can set classification for the business objects, the business objects are used for creating business flow forms, and the description information of the business objects comprises business object identifiers, business object names, version information, business flow form states and whether to generate forms; the form management submodule is used for creating, previewing, editing and deleting the business flow form, and the form information comprises form identification, form names and form internal fields.
The tenant perception module comprises a tenant perceptron and a pattern matcher, wherein the tenant perceptron is used for acquiring a tenant configuration file in a shared database according to a tenant identifier TenantID of a current login system, then acquiring a task node task ID in a Sub-process Sub-ProcessID configured in the tenant configuration file, selecting the task node in a business process model, and adjusting a business process meeting the requirement of the tenant; the pattern matcher is used for calculating pattern matching degree according to the Sub-process Sub-ProcessID selected by the current tenant and task nodes task ID aiming at the condition that variability task nodes exist in the business process, and selecting the follow-up branch task nodes meeting the conditions to complete dynamic customization of the business process.
The flow executor is used for the user to acquire the business flow model in the shared database to start a specific business flow instance, and can check the running and circulation conditions of the business flow 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 operation time data; the data storage scheme adopts a scheme that tenants share a set of business flow systems and share a set of databases, and compared with a scheme that tenants share databases alone, the data storage scheme has low maintenance cost and can realize isolation of tenant businesses.
The business process is generally used for the situation that a plurality of ginseng and approval processes are needed, and the process of reporting and approving scientific research projects is as follows: the applicant fills in the project application form and reports to the secondary college, the secondary college auditor carries out form audit, applicant qualification audit and expense budget audit on the project content, if the audit passes, the project application form is reported to the science and technology management department, otherwise, the flow is terminated; after being sent to the science and technology management department, the examination committee examines and verifies that the examination passes, and then the examination is sent to a check office; and finally, signing a task contract to carry out project standing after the approval passes. In the process, the variability of tenants exists, and the school may increase the link of the academy committee audit after the second-level academy audit, and the audit passes the condition of the post-delivery hospital leader audit.
The business process form is shown in the following table:
Table 1 business process description table
Through analysis and decomposition of tenant demands, task nodes are divided into applicant filling application books, secondary academy auditing, academy academic committee auditing, hospital lead auditing, scientific and technical management department auditing, school committee auditing and school office auditing, wherein the applicant filling application books, the scientific and technical management department auditing and the school office auditing are common nodes, and other task nodes are changeable task nodes, so that different tenants can select according to own demands. As shown in table 2, the tenant sensor obtains the content of the tenant configuration file by obtaining the tenant identity TenantID of the current login system, including the tenant identifier, the business process identifier, the sub-process weight, the task node identifier, the task node weight and the task node name, and customizes the business process model meeting the requirements of the tenant configuration file according to the task nodes in the sub-processes selected by the tenant.
Table 2 tenant perceptron needs to obtain the contents of tenant configuration files
The content of the configuration file to be acquired includes:
(1) Tenant identification: the identity of the tenant is used for distinguishing the current login system;
(2) Business process identification: a business process ID corresponding to the business process started by the user;
(3) Sub-process identification: sub-flows contained in the current business flow and available for tenant selection;
(4) Sub-flow weight: the weight value allocated to the current sub-process is allocated according to the sequence of process division by a multiplying power of 10, and is used for calculating the matching degree together with the task node weight value;
(5) Task node identification: for the current tenant and the started business process, task nodes meeting the needs of the tenant are needed by the tenant under the current sub-process;
(6) Task node weight: the weight value allocated to the current task node is a natural number which is sequentially increased by taking 1 as a starting value and is set according to the sequence from top to bottom of the task node, and the natural number is used for calculating the matching degree together with the sub-flow weight;
(7) Task node name: the task node identifier is used for assisting the task node identifier.
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 service demands, analyzing task nodes related to service flows, dividing lessor commonality task nodes and variability task nodes, designing the commonality task nodes into a service main flow, constructing service sub-flows by the variability task nodes in a node assembly mode, and distributing the task nodes according to a hierarchy;
1.1, designing a common task node and a business sub-process node into a business main process according to a hierarchical sequence according to the divided task nodes, using each task node as an identification task ID, using the business sub-process node as an identification CALLACTIVITYID, and using the business main process as an identification ProcessID;
The common task nodes are task nodes related to the same service flow in actual service of different tenants.
1.2, Constructing a business Sub-process by using a variable task node in a task assembly mode, marking the business Sub-process as Sub-ProcessID, wherein the task node is in a one-to-one relation, and adding a sequential flow without the task node;
The variability task nodes are task nodes which are approved by users with different roles and are caused by the difference of organization structures or different service scenes aiming at the same service flow.
1.3 Binding a business Sub-process node CALLACTIVITYID in the main process to a designed business Sub-process Sub-ProcessID, determining whether a gateway branch determination condition in the business Sub-process is that a task node field value in a tenant configuration file is equal to the branch preset value, and identifying a gateway branch determination condition of a sequential flow without a task node as null, indicating that the business Sub-process is not selected, and storing a business process model in a shared database.
Step 2: designing a service object and a service flow form, and designing a tenant configuration file according to actual service requirements of tenants; executing the step 3 for the situation that the variability task node exists in the business process, otherwise executing the step 5;
2.1, creating a business object according to business process requirements, adding fields, setting data types and attribute lengths for the fields, creating a corresponding business process form according to the business object, marking the business process form as a FormID, and storing the form into a shared database.
2.2 Recording service Sub-flows and task nodes required by the tenant according to the service requirements of the tenant, creating a tenant configuration file by using a tenant identifier TenantID, a service flow identifier ProcessID, a Sub-flow 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-flow 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, can record the tenant identifier TenantID of the current login system, can search the tenant configuration file according to the tenant identifier when a user starts a process, and can acquire the required business sub-process and task node;
The multi-tenant business process customization model mtbp= { B, T, D, TS, SP }, wherein B represents an endpoint including a start node and an end node, T represents a task node, D represents a branch node including a branch gateway and a synchronization gateway, TS (Tenant Sensor) represents a tenant sensor for recording a current tenant identifier TenantID and obtaining information of a tenant configuration file, and SP (Sub-process) represents a business Sub-process for identifying possible selections of the task node.
Further, the peer task node T is denoted by T i_A,Ti_B,Ti _c …, where i is 1,2, … n, and represents the ith service sub-flow.
Further, the SP may in turn consist of endpoints, branch nodes, and task nodes, denoted sp= { B, T, D }.
Step 3: analyzing the variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-processes according to the variability task level, setting corresponding weights for each task node in the business sub-processes, and adding routing nodes in the multi-tenant business process model;
3.1, for the changeable task node, analyzing and selecting a task node T i (task ID) in a certain business sub-flow, and then, dividing the subsequent flow into a plurality of mutually exclusive categories according to the actual requirement of the business, and setting a regular expression for each category to be used as judgment of gateway branches;
the regular expression is a string shaped as ".×11", and 1 is used to match whether a certain business sub-flow 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 turn, and setting the natural number weight for the task nodes in the business sub-process in turn increasing by taking 1 as a starting value from top to bottom. As shown in fig. 3, the weight w 1 =1 is set for SP1, the weight w 2 =10 is set for SP2, and the weights v are sequentially 1,2,3 and … from top to bottom for the task nodes in the service sub-flow.
3.3 Adding routing nodes, such as R1 and R2 in FIG. 4, in the business process model according to the situation of the partitioned mutable task nodes.
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 category divided in the step 3.1, wherein the matching degree calculating method is shown in the step 4.1.
Step 4: adding a pattern matcher in the 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 variability task node;
4.1, calculating the matching degree according to the selected task node, wherein the matching degree calculation formula is as follows:
where j=1, 2,3, … n
Wherein w i is the weight of the selected ith service sub-flow, and v ij is the weight corresponding to the jth task node T ij in the selected ith service sub-flow.
4.2, Carrying out normalization processing on the calculated matching degree, namely replacing a non-0 value in the matching degree with 1, then matching the normalized numerical value with a regular expression judged by a gateway branch, and selecting a corresponding routing node.
4.3, Selecting branch task nodes under the routing nodes according to the matching degree, wherein the selecting process is as follows: and analyzing the matching degree value from low order to high order, wherein if the value of the ith bit is j, the j task node of the ith business sub-process is selected, and thus the preset branch regular expression under the routing node is matched.
Step 5: when a user starts a business process, the system reads tenant configuration file information of the current tenant in the shared database through the tenant sensor, selects corresponding business sub-processes and task nodes, calculates matching degree to select routing nodes and branch task nodes through the pattern matcher under the condition that variability task nodes exist, and completes dynamic customization of the business process.
In summary, the technical scheme of the invention realizes personalized service of the tenant service flow through a set of service flow system platform, and meanwhile, the service flow with changeable task nodes can dynamically generate subsequent task nodes according to actual execution conditions, thereby enhancing the control of the system on the condition that the system cannot be predetermined and improving the flexibility of the system.
It should be understood that the foregoing examples of the present invention are provided for the purpose of illustration only and are not intended to limit the embodiments of the present invention, but are to be construed as modifications in various manners consistent with the scope of the invention.

Claims (7)

1. The business process dynamic customization system based on the multi-tenant mode is characterized by comprising the following components:
the system comprises a business process module, a form management module, a tenant perception module, a process executor and a shared database;
the business process module is used for designing a business process model, processing business approval results and managing business process instances, and storing the designed business process model into the shared database by a business process identifier ProcessID;
The task nodes in the business process divide tenant common task nodes and variability task nodes, the common task nodes are designed into a business main process, the variability task nodes construct business sub-processes in a node assembly mode, and task node distribution is carried out according to a hierarchy;
the form management module is used for creating and managing a business object and a business flow form, and storing the business flow form to the shared database by a form identifier (FormID);
the tenant perception module is used for reading a corresponding tenant configuration file according to a tenant identifier TenantID of a current login system, selecting a service sub-process and a task node required by the tenant in the service process model, and dynamically generating a subsequent service process according to a variability 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 instance, and can check the running 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 operation time data;
the tenant perception module comprises: tenant perceptron and pattern matcher;
The tenant sensor is used for acquiring a tenant configuration file in a shared database according to a tenant identifier TenantID of the current login system, then acquiring a task node task ID in a Sub-process sub_ ProcessID configured in the tenant configuration file, selecting the task node in a service flow model, and adjusting a service flow meeting the requirement of the tenant;
The pattern matcher is used for calculating pattern matching degree according to Sub-process Sub-ProcessID selected by the current tenant and task node task ID aiming at the condition that variability task nodes exist in the business process, and selecting a follow-up branch task node meeting the condition to complete dynamic customization of the business process;
the matching degree calculation formula is as follows:
where j=1, 2,3, … n
Wherein w i is the weight of the selected ith service sub-flow, and v ij is the weight corresponding to the jth task node T ij in the selected ith service sub-flow.
2. The multi-tenant mode based business process dynamic customization system of claim 1, wherein the business process model description information of the business process module design includes a process identifier, a process name, a process state, an update time, and a process version number.
3. The multi-tenant mode based business process dynamic customization system of claim 1, wherein the description information of the business objects created by the form management module includes a business object identification, a business object name, version information, a business process form status, and whether a form is generated.
4. The multi-tenant mode based business Process dynamic customization system of claim 1, wherein the tenant sensor obtaining content in a tenant configuration file further comprises a Sub-Process Weight and a Task node Weight Task Value.
5. A method for dynamically customizing a business process based on a multi-tenant mode, which uses the system as claimed in claim 1, and is characterized in that the method comprises the following steps:
Step 1: collecting multi-tenant service demands, analyzing task nodes related to service flows, dividing lessor commonality task nodes and variability task nodes, designing the commonality task nodes into a service main flow, constructing service sub-flows by the variability task nodes in a node assembly mode, and distributing the task nodes according to a hierarchy;
step 2: designing a service object and a service flow form, and designing a tenant configuration file according to actual service requirements of tenants; executing the step 3 for the situation that the variability task node exists in the business process, otherwise executing the step 5;
Step 3: analyzing the variability task nodes involved in the business process and possible results caused by the variability task nodes, setting different weights for the business sub-processes according to the variability task level, setting corresponding weights for each task node in the business sub-processes, and adding routing nodes in the multi-tenant business process model;
Step 4: adding a pattern matcher in the 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;
step 5: when a user starts a business process, the system reads tenant configuration file information of the current tenant in the shared database through the tenant sensor, selects corresponding business sub-processes and task nodes, calculates matching degree to select routing nodes and branch task nodes through the pattern matcher under the condition that variability task nodes exist, and completes dynamic customization of the business process.
6. The method for dynamically customizing a business process based on a multi-tenant mode according to claim 5, wherein in step 1, the business sub-process is constructed by node assembling of changeable task nodes, wherein the task nodes are in a one-to-one relationship.
7. The multi-tenant mode based business process dynamic customization method of claim 5, wherein step 3 further comprises the sub-steps of:
Step 3.1, for the variable task node, analyzing the subsequent flow change caused by selecting the task node T i in a certain business sub-flow, dividing the subsequent flow into a plurality of mutually exclusive categories according to the actual requirement of the business, and setting a regular expression for each category to be used as the judgment of 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 weights for each sub-process in turn, and setting natural number weights which are increased by taking 1 as a starting value from top to bottom for the task nodes in the business sub-process;
And 3.3, adding routing nodes in the business process model according to the conditions of the divided variability task nodes.
CN202011400356.6A 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode Active CN112488655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011400356.6A CN112488655B (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 CN112488655B (en) 2020-12-04 2020-12-04 Business process dynamic customization system and method based on multi-tenant mode

Publications (2)

Publication Number Publication Date
CN112488655A CN112488655A (en) 2021-03-12
CN112488655B true CN112488655B (en) 2024-09-06

Family

ID=74939183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011400356.6A Active CN112488655B (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) CN112488655B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113537925B (en) * 2021-06-25 2024-11-22 杭州群核信息技术有限公司 Information processing method and device
CN113485681B (en) * 2021-09-07 2021-12-21 迅管(深圳)科技有限公司 A query method of patrol business process based on Activiti
CN114693283B (en) * 2022-06-01 2022-09-27 四川高灯企服科技有限公司 Cross-system business process approval processing method, device and computer equipment
CN115168445A (en) * 2022-07-01 2022-10-11 中国银行股份有限公司 Updating method and device for scheduling process version
CN115526160A (en) * 2022-10-21 2022-12-27 广州市玄武无线科技股份有限公司 Rich text processing method, device and equipment and storage medium
CN115879873A (en) * 2022-11-24 2023-03-31 中电云数智科技有限公司 Different operation mode configuration method in cloud computing field
CN115827054A (en) * 2022-11-29 2023-03-21 北京美蓝智达科技有限公司 Method for highly configuring shop process through operation platform
CN116185395B (en) * 2023-04-21 2023-07-14 华能信息技术有限公司 Flow component templatization definition method and system
CN117235038A (en) * 2023-08-24 2023-12-15 兰州飞天网景信息产业有限公司 Multi-tenant construction method and device based on activiti
CN119311263A (en) * 2024-09-20 2025-01-14 北京神舟航天软件技术股份有限公司 Construction of multi-tenant resource hierarchical control system and multi-tenant resource hierarchical control method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937901B (en) * 2012-10-17 2015-07-29 武汉钢铁(集团)公司 Multi-tenant architecture design method
CN103077024B (en) * 2012-12-28 2015-10-21 山大地纬软件股份有限公司 A kind of device and method supporting the on-demand customization of SaaS application flow and operation
CN105786474B (en) * 2014-12-25 2018-10-19 北京仿真中心 A kind of cooperation service flow custom system and method for supporting multi-tenant
CN105303305B (en) * 2015-10-15 2017-03-29 武汉大学 A kind of coevolution method of plug-in type operation flow family
US10484382B2 (en) * 2016-08-31 2019-11-19 Oracle International Corporation Data management for a multi-tenant identity cloud service
CN108810164A (en) * 2018-06-29 2018-11-13 合肥微商圈信息科技有限公司 Device supporting SaaS application flow customization and operation as required

Non-Patent Citations (3)

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

Also Published As

Publication number Publication date
CN112488655A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN112488655B (en) Business process dynamic customization system and method based on multi-tenant mode
US9741015B2 (en) Map based routing from bill of materials
CN115099792B (en) Method, device and equipment for auditing project declaration form and storage medium
CN113326027B (en) Domain-driven design tactical modeling method
CN109657225A (en) Data integration method, device, terminal and storage medium
Wegen et al. Measuring the economic value of information systems
US8355940B2 (en) Capability and maturity-based SOA governance
CN117454278A (en) Method and system for realizing digital rule engine of standard enterprise
CN115756477A (en) Low-code integrated development system based on multi-path intelligent recommendation
KR20240053911A (en) Method and system for AI collaboration service based on source code automatic generation system
Rautenburger et al. Process mining
CN111680918B (en) Intelligent manufacturing service flow determining method and system
Wiezorek et al. Integrating Sustainability Information in Configurators.
DeJonge et al. The apples and oranges of reference and potential evapotranspiration: Implications for agroecosystem models
CN115587087B (en) Efficient data sharing platform based on data extraction and system modeling
Rothenberger Project‐Level Reuse Factors: Drivers for Variation within Software Development Environments
CN115860997B (en) Talent training management method, system and medium based on professional skills
Urh et al. Structural indicators for business process redesign efficiency assessment
CN109165238B (en) Data processing method and device for generating period index data
CN117172677A (en) Automatic financial analysis report processing method, system, device and medium based on natural language processing
CN116992044A (en) Knowledge graph fusion method and system
Matejaš et al. Building a BPM application in an SOA-based legacy environment
CN116821359A (en) A method and device for constructing scene resource relationships based on knowledge graph
Sirijaitham et al. Improving efficiency of OTT systems using fuzzy mining technique
CN114021955A (en) Multi-level index calculation method, system, terminal device and computer storage medium

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
GR01 Patent grant
GR01 Patent grant