A business process engine management method, system and storage medium
By establishing the correspondence between the business process engine and the process directory in the business process platform and configuring roles and permissions for users, the problems of single-engine restrictions and multi-engine management pressure in the existing technology are solved, and standardized process management and multi-engine management are realized Engine support.
Patent Information
- Application Number
- CN202111565666.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-20
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2041-12-20
AI Technical Summary
Only a single business process engine is deployed in the existing business process platform, which limits users' business needs, and after adding multiple engines, users messily publishing processes in multiple engines, increasing management pressure on the management side.
By establishing the correspondence between the business process engine and the process directory and configuring roles and permissions for users, users can create and publish processes in the specified directory, ensuring that the process runs in the specified engine, avoiding users publishing processes in multiple engines. management pressure.
Effectively manage and support multiple business process engines, reduce pressure on the management side, ensure that the process runs correctly in the designated engine, and simplify the management of the process platform.
Smart Images

Figure CN114240375B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of business process platforms, and in particular to a business process engine management and control method, system and storage medium. Background Art
[0002] A business process engine is an engine service used to process business processes. It is usually deployed on a process platform. Users can create business processes on the platform and send them to the business process platform for processing. In related technologies, only a single business process engine is usually deployed on a process platform, which obviously limits the business needs of users. However, simply adding multiple business process engines to the process platform can easily lead to users publishing processes in multiple engines in a disorderly manner, thereby increasing the management pressure on the platform management end for the process. Summary of the invention
[0003] The purpose of the present invention is to provide a business process engine management and control method, system and storage medium, which can enable the user end to create a process in a specified directory and publish the process using a specified engine by establishing corresponding relationships and controlling permissions, thereby avoiding the management pressure on the management end caused by the user end publishing processes in multiple engines in a disorderly manner.
[0004] In order to solve the above technical problems, the present invention provides a business process engine management and control method, comprising:
[0005] The management end determines the target business process engine from the preset engine list and determines the target process directory from the preset directory list;
[0006] Establishing a correspondence between the target process directory and the target business process engine;
[0007] A preset role is configured for the user terminal, and the target process directory is authorized to the preset role, so that the user terminal creates a process in the corresponding target process directory according to the preset role, and publishes the process in the target business process engine corresponding to the target process directory.
[0008] Optionally, establishing a correspondence between the target process directory and the target business process engine includes:
[0009] The management end creates an application process service and sets a service identifier for the application process service;
[0010] Extracting a directory identifier of the target process directory from a preset directory list, establishing a first correspondence between the service identifier and the directory identifier, and saving the first correspondence to a first data table;
[0011] The engine information of the target business process engine is extracted from the preset engine list, a second corresponding relationship is established between the service identifier and the engine information, and the second corresponding relationship is saved in a second data table.
[0012] Optionally, publishing the process in a target business process engine corresponding to the target process directory includes:
[0013] The user terminal uses the directory identifier of the target process directory to query the service identifier in the first data table;
[0014] The engine information is searched in the second database using the service identifier, and the process is published to the target business process engine according to the engine information.
[0015] Optionally, it also includes:
[0016] The management end adds a new business process engine to the preset engine list, and saves the engine service address of the new business process engine to the preset engine list;
[0017] Correspondingly, publishing the process to the target business process engine according to the engine information includes:
[0018] The user end publishes the process to the target business process engine according to the engine service address of the target business process engine.
[0019] Optionally, publishing the process to the target business process engine according to the engine information includes:
[0020] Verifying the process using a preset verification rule of the target business process engine, and determining whether the process passes the verification;
[0021] If passed, the process is published to the target business process engine according to the engine information.
[0022] The present invention also provides a business process engine management and control system, including: a management end and a user end, wherein:
[0023] The management terminal is used to determine the target business process engine from the preset engine list and the target process directory from the preset directory list; establish a corresponding relationship between the target process directory and the target business process engine; configure a preset role for the user terminal and authorize the target process directory to the preset role;
[0024] The user end is used to create a process in a corresponding target process directory according to the preset role, and publish the process in a target business process engine corresponding to the target process directory.
[0025] Optionally, the management end is also used to create an application process service and set a service identifier for the application process service; extract the directory identifier of the target process directory from the preset directory list, establish a first correspondence between the service identifier and the directory identifier, and save the first correspondence to a first data table; extract the engine information of the target business process engine from the preset engine list, establish a second correspondence between the service identifier and the engine information, and save the second correspondence to a second data table.
[0026] Optionally, the user end is also used to use the directory identifier of the target process directory to query the service identifier in the first data table; use the service identifier to search the engine information in the second database, and publish the process to the target business process engine based on the engine information.
[0027] Optionally, the management end is further used to add a new business process engine to the preset engine list, and save the engine service address of the new business process engine to the preset engine list;
[0028] Correspondingly, the user end is also used to publish the process to the target business process engine according to the engine service address of the target business process engine.
[0029] The present invention also provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the business process engine management and control method as described above are implemented.
[0030] The present invention provides a business process engine management and control method, comprising: a management end determines a target business process engine from a preset engine list, and determines a target process directory from a preset directory list; establishes a corresponding relationship between the target process directory and the target business process engine; configures a preset role for a user end, and authorizes the target process directory to the preset role, so that the user end creates a process in the corresponding target process directory according to the preset role, and publishes the process in the target business process engine corresponding to the target process directory.
[0031] It can be seen that the target process directory and user roles are additionally added in the present invention. The management end can first select the target business process engine in the preset engine list, select the target process directory in the preset directory list, and establish a correspondence between the target business process engine and the target process directory, so as to use the target business process engine to run the process in the target process directory; after determining the correspondence between the engine and the directory, the management end can also configure the user role to the user end, and establish the correspondence between the target process directory and the user role by authorization, so that the user end can create a process in the specified directory according to its user role, and publish the process in the specified engine, avoiding the management pressure brought to the management end by the user end publishing the process in multiple engines in a disorderly manner, and also providing a guarantee for the process platform to support multiple business process engines. The present invention also provides a business process engine management and control system and storage medium, which have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0033] Figure 1 A flowchart of a business process engine management and control method provided by an embodiment of the present invention;
[0034] Figure 2 A structural block diagram of a business process engine management and control system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] A business process engine is an engine service for processing business processes. It is usually deployed on a process platform. Users can create business processes on the platform and send them to the business process for processing. In related technologies, only a single business process engine is usually deployed in a process platform, which obviously limits the business needs of users; however, simply adding multiple business process engines to the process platform can easily cause users to publish processes in multiple engines in a disorderly manner, thereby increasing the management pressure on the platform management end for the process. In view of this, the present invention provides a business process engine management and control method, which can enable the user end to create a process in a specified directory and use a specified engine to publish the process by establishing a corresponding relationship and controlling permissions, thereby avoiding the management pressure on the management end caused by the user end publishing processes in multiple engines in a disorderly manner. Please refer to Figure 1 , Figure 1 A flowchart of a business process engine management and control method provided by an embodiment of the present invention, the method may include:
[0037] S101. The management end determines a target business process engine from a preset engine list, and determines a target process directory from a preset directory list.
[0038] In an embodiment of the present invention, one or more existing business process engines are pre-stored in the preset engine list, and one or more created process directories are pre-stored in the preset directory list, wherein the process directory is used to store processes created by users. The administrator can select the required target business process engine and target process directory from these two lists, and establish a corresponding relationship between the target business process engine and the target process directory. It should be noted that a process directory can only correspond to one business process engine, so if a process directory already has an engine, the directory will not be selected; and one engine can correspond to multiple process directories.
[0039] It should be noted that the embodiments of the present invention do not limit the information stored in the preset engine list. For example, the engine identifier of the business process engine may be stored, and the engine service address and other engine information of the engine may also be stored. The engine identifier is the identification information that uniquely marks a business process engine, and its specific form is not limited here; and the engine service address is the URL (Uniform Resource Locator) address created by the engine when it is deployed. Of course, the embodiments of the present invention do not limit other engine information in the preset engine list. You can refer to the relevant technology of the business process engine and set it according to actual application requirements.
[0040] The embodiment of the present invention does not limit the information stored in the preset directory list. In addition to the process directory, a directory identifier that uniquely identifies a process directory can also be stored separately. The embodiment of the present invention does not limit the specific form of the directory identifier, which can be set according to actual application requirements.
[0041] S102: Establish a corresponding relationship between the target process directory and the target business process engine.
[0042] In order to constrain the engine used to publish the process on the user side, in an embodiment of the present invention, a correspondence is established between the target process directory and the target business process engine. In this way, the processes stored in the directory can only be published through the corresponding engine, thereby achieving the effect of constraining the engine used by the user side to publish the process.
[0043] For the convenience of management, in the embodiment of the present invention, a separate application process service can be used to manage the above correspondence. Specifically, the management end can first create an application process service and establish a correspondence between the service and the target process directory and the target business process engine. In this way, the management end can directly manage (for example, view, modify and delete) the correspondence between each directory and the engine in the application process service. Of course, after setting the correspondence, the specific correspondence can also be saved in the database. In order to distinguish the storage, in the embodiment of the present invention, the above correspondence can be stored in a separate table. Specifically, the first correspondence between the application process service and the target process directory can be stored in a data table, and the second correspondence between the service and the target business process engine can be stored in another data table, and the two data tables are corresponded by the service identifier of the application process service. The embodiment of the present invention does not limit the storage form of the first correspondence and the second correspondence in each data table. For example, the first correspondence can be stored in the form of a service identifier and a directory identifier, and the second correspondence can be stored in the form of a service identifier and engine information (such as an engine identifier and an engine service address, etc.).
[0044] In one possible scenario, establishing a correspondence between the target process directory and the target business process engine may include:
[0045] Step 11: The management end creates an application process service and sets a service identifier for the application process service;
[0046] Step 12: extracting the directory identifier of the target process directory from the preset directory list, establishing a first correspondence between the service identifier and the directory identifier, and saving the first correspondence to the first data table;
[0047] Step 13: extract the engine information of the target business process engine from the preset engine list, establish a second corresponding relationship between the service identifier and the engine information, and save the second corresponding relationship to the second data table.
[0048] S103: Configure a preset role for the user terminal, and authorize the target process directory to the preset role, so that the user terminal creates a process in the corresponding target process directory according to the preset role, and publishes the process in the target business process engine corresponding to the target process directory.
[0049] After the correspondence between the directory and the engine is established, the preset role can be configured for the user terminal, and then by authorizing the process directory to the preset role, the accessible process directory and the usable process engine are authorized to each user terminal. The embodiment of the present invention does not limit the specific preset role, and the role can be set according to the user's position or department. The embodiment of the present invention also does not limit the number of user terminals that each preset role can correspond to, which can be one or more, and can be set according to actual application requirements.
[0050] Furthermore, after being authorized, the user end can create a process in the corresponding process directory and publish the process using the engine corresponding to the directory. In the process of the user end searching for the engine it can use, specifically, the user end can first obtain the directory identifier of the target process directory it can access, and use this directory identifier to query the corresponding service identifier in the first data table; after obtaining the service identifier, the service identifier can be used to query the corresponding engine information in the second database, and then the engine information can be used to publish the process to the corresponding target business process engine.
[0051] In one possible scenario, publishing a process in a target business process engine corresponding to a target process directory may include:
[0052] Step 21: The user terminal uses the directory identifier of the target process directory to query the service identifier in the first data table;
[0053] Step 22: Use the service identifier to search for engine information in the second database, and publish the process to the target business process engine according to the engine information.
[0054] It should be noted that the embodiments of the present invention do not limit which engine information publishing processes are used by the user end, and the publishing process at least needs to obtain the engine service address deployed by the engine. Please refer to the above embodiment for the description of the engine service address. Of course, during the publishing process, the user end can also publish according to other engine information, and specific reference can be made to the relevant technology of the business process engine. It can be understood that in order to ensure that the user end can extract the engine service address from the second data table, when the management end creates an engine in the preset engine list, the engine service address should be saved to the preset engine list, so that when the corresponding relationship is established, the engine service address can be saved to the second data table.
[0055] In one possible scenario, the method further includes:
[0056] Step 31: The management end adds the new business process engine to the preset engine list, and saves the engine service address of the new business process engine to the preset engine list;
[0057] Accordingly, publishing the process to the target business process engine according to the engine information may include:
[0058] Step 41: The user terminal publishes the process to the target business process engine according to the engine service address of the target business process engine.
[0059] Further, it is understandable that when the user end uses the target business process engine to publish a process, the process should comply with the preset verification rules of the engine, so as to ensure that the process can be correctly processed by the engine. Therefore, during the publishing process, the process must be verified using the preset verification rules of the target business process engine, and only after the verification is passed can it be published to the engine. It should be noted that the embodiments of the present invention do not limit specific preset verification rules, and reference may be made to the relevant technologies of the business process engine.
[0060] In one possible scenario, publishing the process to the target business process engine according to the engine information includes:
[0061] Step 51: Use the preset verification rules of the target business process engine to verify the process and determine whether the process passes the verification; if passed, proceed to step 52: if not passed, exit.
[0062] Step 52: Publish the process to the target business process engine according to the engine information.
[0063] Based on the above embodiments, the present invention additionally adds a target process directory and user roles. The management end can first select the target business process engine in the preset engine list, select the target process directory in the preset directory list, and establish a correspondence between the target business process engine and the target process directory, so as to use the target business process engine to run the process in the target process directory; after determining the correspondence between the engine and the directory, the management end can also configure the user role to the user end, and establish the correspondence between the target process directory and the user role through authorization, so that the user end can create a process in the specified directory according to its user role, and publish the process in the specified engine, avoiding the management pressure on the management end caused by the user end publishing the process in multiple engines in a disorderly manner, and also providing a guarantee for the process platform to support multiple business process engines.
[0064] The following is an introduction to the business process engine management and control system and storage medium provided in an embodiment of the present invention. The business process engine management and control system and storage medium described below and the business process engine management and control method described above can be referenced to each other.
[0065] Please refer to Figure 2 , Figure 2 The structure diagram of a business process engine management and control system provided by an embodiment of the present invention may include: a management terminal 201 and a user terminal 202, wherein:
[0066] The management terminal 201 is used to determine the target business process engine from the preset engine list, determine the target process directory from the preset directory list; establish a correspondence between the target process directory and the target business process engine; configure a preset role for the user terminal 202, and authorize the target process directory to the preset role;
[0067] The user end 202 is used to create a process in a corresponding target process directory according to a preset role, and publish the process in a target business process engine corresponding to the target process directory.
[0068] Optionally, the management end 201 is also used to create an application process service and set a service identifier for the application process service; extract the directory identifier of the target process directory from the preset directory list, establish a first correspondence between the service identifier and the directory identifier, and save the first correspondence to a first data table; extract the engine information of the target business process engine from the preset engine list, establish a second correspondence between the service identifier and the engine information, and save the second correspondence to a second data table.
[0069] Optionally, the user end 202 is further used to use the directory identifier of the target process directory to query the service identifier in the first data table; use the service identifier to search for engine information in the second database, and publish the process to the target business process engine according to the engine information.
[0070] Optionally, the management end 201 is further used to add a new business process engine to the preset engine list, and save the engine service address of the new business process engine to the preset engine list;
[0071] Correspondingly, the user end 202 is also used to publish the process to the target business process engine according to the engine service address of the target business process engine.
[0072] Optionally, the user end 202 is further used to verify the process using the preset verification rules of the target business process engine and determine whether the process passes the verification; if passed, the process is published to the target business process engine according to the engine information.
[0073] An embodiment of the present invention further provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the business process engine management and control method of any of the above embodiments are implemented.
[0074] Since the embodiments of the storage medium part correspond to the embodiments of the business process engine management and control method part, please refer to the description of the embodiments of the business process engine management and control method part for the embodiments of the storage medium part, which will not be repeated here.
[0075] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0076] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0077] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0078] The above is a detailed introduction to a business process engine management method, system and storage medium provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A business process engine management and control method, characterized in that: include: The management end determines the target business process engine from the preset engine list and determines the target process directory from the preset directory list; The preset engine list stores multiple business process engines, and the preset directory list stores multiple process directories; Establishing a correspondence between the target process directory and the target business process engine; One process catalog corresponds to only one business process engine, and one business process engine can correspond to multiple process catalogs; Configure a preset role for the user terminal, and authorize the target process directory to the preset role, so that the user terminal creates a process in the corresponding target process directory according to the preset role, and publishes the process in the target business process engine corresponding to the target process directory; The establishing a corresponding relationship between the target process directory and the target business process engine includes: The management end creates an application process service and sets a service identifier for the application process service; Extracting a directory identifier of the target process directory from a preset directory list, establishing a first correspondence between the service identifier and the directory identifier, and saving the first correspondence to a first data table; Extracting the engine information of the target business process engine from the preset engine list, establishing a second correspondence between the service identifier and the engine information, and saving the second correspondence to a second data table; In the application process service, managing the correspondence between the target process directory and the target business process engine; The publishing of the process in the target business process engine corresponding to the target process directory includes: The user terminal uses the directory identifier of the target process directory to query the service identifier in the first data table; Using the service identifier, searching the second database for the engine information, and publishing the process to the target business process engine according to the engine information; The step of publishing the process to the target business process engine according to the engine information includes: Verifying the process using a preset verification rule of the target business process engine, and determining whether the process passes the verification; If passed, the process is published to the target business process engine according to the engine information.
2. The business process engine management and control method according to claim 1, characterized in that: Also includes: The management end adds a new business process engine to the preset engine list, and saves the engine service address of the new business process engine to the preset engine list; Correspondingly, publishing the process to the target business process engine according to the engine information includes: The user end publishes the process to the target business process engine according to the engine service address of the target business process engine.
3. A business process engine management and control system, characterized in that: include: Management side and user side, where The management terminal is used to determine the target business process engine from the preset engine list and the target process directory from the preset directory list; the preset engine list stores multiple business process engines, and the preset directory list stores multiple process directories; establish a correspondence between the target process directory and the target business process engine; one process directory only corresponds to one business process engine, and one business process engine can correspond to multiple process directories; configure a preset role for the user terminal, and authorize the target process directory to the preset role; The user terminal is used to create a process in a corresponding target process directory according to the preset role, and publish the process in a target business process engine corresponding to the target process directory; The management end is also used to create an application process service and set a service identifier for the application process service; extract the directory identifier of the target process directory from the preset directory list, establish a first correspondence between the service identifier and the directory identifier, and save the first correspondence to a first data table; extract the engine information of the target business process engine from the preset engine list, establish a second correspondence between the service identifier and the engine information, and save the second correspondence to a second data table; in the application process service, manage the correspondence between the target process directory and the target business process engine; The user terminal is further used to query the service identifier in the first data table using the directory identifier of the target process directory; search the engine information in the second database using the service identifier, and publish the process to the target business process engine according to the engine information; The user end is also used to verify the process using the preset verification rules of the target business process engine and determine whether the process passes the verification; if passed, the process is published to the target business process engine according to the engine information.
4. The business process engine management and control system according to claim 3, characterized in that: The management end is further used to add a new business process engine to the preset engine list, and save the engine service address of the new business process engine to the preset engine list; Correspondingly, the user end is also used to publish the process to the target business process engine according to the engine service address of the target business process engine.
5. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the business process engine management and control method as described in claim 1 or 2.
Citation Information
Patent Citations
Service processing method and device, electronic equipment and storage medium
CN111027921A