Operation work approval process building execution method and system
By integrating Activiti dynamic configuration and quickly building workflow jar packages, combined with low-code development technology, the problem that Activiti workflow engine does not support dynamic generation of workflows is solved, and rapid building and adjustment of workflows is achieved, reducing development difficulty and cost.
Patent Information
- Application Number
- CN202411784441.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-11
AI Technical Summary
The Activiti workflow engine does not support dynamically generating workflows, making it difficult to quickly build and adjust workflows in different business scenarios.
By integrating Activiti dynamic configuration and quickly building workflow jar packages, combined with low-code development technology, cross-platform compatibility is achieved, allowing developers to create user interfaces by dragging and dropping components and configuration parameters without having to write code manually.
It has realized the rapid construction of work processes in component-based, visualized, and drag-based ways in 70% of business scenarios, reducing development difficulties and costs, improving enterprise productivity, and supporting cross-platform adaptation.
Smart Images

Figure CN119806505A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of workflow technology, and in particular to a method and system for establishing and executing an operation approval process. Background Art
[0002] Activiti is an open source workflow engine that can abstract and manage complex business processes from business systems. Activiti uses the BPMN modeling language to define business processes. Business systems execute according to pre-defined processes, thereby reducing the workload of system upgrades and modifications caused by process changes, improving the robustness of the system, and reducing system development and maintenance costs. Activiti also supports flowchart drawing to visualize business processes.
[0003] The Vue-element framework is the current mainstream front-end technology framework, based on js and html. It can provide a complete set of components, including forms, data display, pop-up boxes, navigation, layout, etc., and can customize component styles.
[0004] Low-code platform technology integrates front-end code, back-end workflow and database levels to achieve zero-code or low-code development mode to quickly build production applications.
[0005] Currently, the Activiti workflow engine does not support dynamic generation of workflows. Therefore, the present invention integrates the jar package of Activiti dynamic configuration and rapid workflow construction, and achieves the effect of dynamic configuration and rapid workflow construction through a small amount of code. Summary of the invention
[0006] In order to address the shortcomings of the prior art, the present invention utilizes low-code development technology to achieve cross-platform compatibility without the need for high programming skills, and implements componentization, visualization, and drag-and-drop of front-end pages. Developers create user interfaces by dragging components and configuring parameters without manually writing code and without the need for high programming skills.
[0007] To achieve the above objectives, the technical solutions adopted by the present invention include:
[0008] A method for establishing and executing an operation approval process, characterized by comprising:
[0009] S1. Design a data structure according to business needs, the data structure is used to store user information, approval process, form data;
[0010] S2. Customize process component attributes for different business scenarios, where the process component attributes include form fields and approval steps;
[0011] S3. Mount resources and associate process components with database resources through API interfaces;
[0012] S4. Initiate a process approval request and execute the approval process according to the preset process logic.
[0013] Furthermore, the method also includes: performing process design and form design.
[0014] Furthermore, the process design includes:
[0015] Draw the approval process, set approval nodes, approvers and routing rules;
[0016] The form design includes:
[0017] Design user interaction form interface, set validation rules, and establish associations between forms.
[0018] Furthermore, the method further comprises:
[0019] Real-time monitoring of approval process;
[0020] Integrate approval processes with other systems and synchronize approval results.
[0021] Furthermore, the method further comprises:
[0022] Deploy process components to the server, deploy MySQL database and Redis cache, and deploy Kafka message queue.
[0023] Furthermore, the method further comprises:
[0024] Users log in and access through Nginx server authorization, and user behavior is recorded;
[0025] Query user behavior records.
[0026] The present invention also relates to an operation operation approval process construction and execution system, which is characterized by comprising:
[0027] A design module, used to design a data structure according to business requirements, wherein the data structure is used to store user information, approval process, and form data;
[0028] A definition module for customizing process component attributes for different business scenarios, wherein the process component attributes include form fields and approval steps;
[0029] The mounting module is used to mount resources and associate process components with database resources through API interfaces;
[0030] The execution module is used to initiate a process approval request and execute the approval process according to the preset process logic.
[0031] The present invention also relates to a computer-readable storage medium, characterized in that a computer program is stored on the storage medium, and the computer program implements the above method when executed by a processor.
[0032] The present invention also relates to an electronic device, characterized in that it comprises a processor and a memory;
[0033] The memory is used to store program instructions;
[0034] The processor is used to execute the above method by calling program instructions.
[0035] The present invention also relates to a computer program product, comprising a computer program and / or instructions, characterized in that the computer program and / or instructions implement the steps of the above method when executed by a processor.
[0036] The beneficial effects of the present invention are:
[0037] The method and system for building and executing the operation approval process described in the present invention are used to quickly build enterprise applications using a small amount of code development mode, and 70% of business scenarios are completed in a componentized, visualized, and drag-and-drop manner. The low-code platform can achieve cross-platform compatibility, so that the developed applications can be directly adapted to Web, iOS, and Android devices, thereby further reducing development time and labor costs. Operators do not need extremely high programming skills and can maintain applications more efficiently, improving enterprise productivity. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0039] Figure 1 A schematic diagram of a method for executing an operation approval process according to the present invention;
[0040] Figure 2 A schematic diagram of the structure of an execution system for an operation approval process of the present invention;
[0041] Figure 3 The figure is a schematic structural diagram of an electronic device of the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below in conjunction with the specific embodiments of the present application and the corresponding drawings. It should be understood that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments, and these embodiments are only used to illustrate the present application and are not used to limit the scope of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0043] like Figure 1 As shown, the embodiment of the present invention discloses a method for establishing and executing an operation approval process, and the steps of the process include:
[0044] Step S1. Design a data structure according to business requirements, where the data structure is used to store user information, approval process, and form data.
[0045] Step S2: Customize process component attributes for different business scenarios, where the process component attributes include form fields and approval steps.
[0046] Step S3: Mount resources and associate process components with database resources through API interfaces.
[0047] Step S4: Initiate a process approval request and execute the approval process according to the preset process logic.
[0048] In an embodiment of the present invention, the method further includes: performing process design and form design.
[0049] Among them, process design includes: drawing the approval process, setting approval nodes, approvers and routing rules;
[0050] Form design includes: designing the user interaction form interface, setting validation rules, and establishing associations between forms.
[0051] In an embodiment of the present invention, the method further includes:
[0052] Real-time monitoring of approval process;
[0053] Integrate approval processes with other systems and synchronize approval results.
[0054] In an embodiment of the present invention, the method further includes:
[0055] Deploy process components to the server, deploy MySQL database and Redis cache, and deploy Kafka message queue.
[0056] In an embodiment of the present invention, the method further includes:
[0057] Users log in and access through Nginx server authorization, and user behavior is recorded;
[0058] Query user behavior records.
[0059] Before using the present invention, the above-mentioned automated approval process requires the applicant to apply for an ITSM bill of lading, and after approval, the users of the operation management department and the parameter management personnel manually operate the automated operation platform for processing; through the present invention, the applicant initiates a request in the operation approval process system, and after approval, the automated operation platform interface is called to modify user information or apply for permissions, and the system operation log and application number are retained, so that users without strong programming skills can complete the operation, and the present invention can be completely separated from the platform business scenario code logic. When the platform needs it, various attributes or code logic in the platform can be used, and it is closely connected with the platform, which can be separated and integrated, and can be freely switched for use.
[0060] Through this platform, business personnel can quickly build forms by dragging and dropping components, set up complex approval processes, and automatically execute operations through interfaces provided by downstream systems.
[0061] like Figure 2 As shown, the embodiment of the present invention discloses a system for building and executing an operation approval process, the structure of which includes:
[0062] A design module, used to design a data structure according to business requirements, wherein the data structure is used to store user information, approval process, and form data;
[0063] A definition module for customizing process component attributes for different business scenarios, wherein the process component attributes include form fields and approval steps;
[0064] The mounting module is used to mount resources and associate process components with database resources through API interfaces;
[0065] The execution module is used to initiate a process approval request and execute the approval process according to the preset process logic.
[0066] By using this system, the above-mentioned operation processing method can be executed and the corresponding technical effects can be achieved.
[0067] An embodiment of the present invention also provides a computer-readable storage medium capable of implementing all the steps in the method in the above embodiment, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, all the steps in the method in the above embodiment are implemented.
[0068] The embodiment of the present invention further provides an electronic device for executing the above method, as a device for implementing the method, and its structure is as follows: Figure 3As shown, the electronic device 300 includes: a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, such as through a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that in actual applications, the transceiver 304 is not limited to one. It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the specific structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. Optionally, the electronic device may also include a display screen 305 for displaying images, or receiving user operation instructions when necessary.
[0069] The processor 301 is applied in the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 304 may include a receiver and a transmitter. The transceiver 304 is applied in the embodiment of the present application to implement the function of the electronic device of the embodiment of the present application communicating with other devices when executed.
[0070] Processor 301 may be a CPU (Central Processing Unit), a general purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0071] The processor 301 may also include one or more processing units, for example, the processor 301 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (NPU). Among them, different processing units may be independent devices or integrated into one or more processors. Among them, the controller may be the nerve center and command center of the electronic device 300. The controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. A memory may also be set in the processor 301 for storing instructions and data. In some embodiments, the memory in the processor 301 is a high-speed cache memory. The memory may store instructions or data that the processor 301 has just used or circulated. If the processor 301 needs to use the instruction or data again, it may be directly called from the memory. Repeated access is avoided, the waiting time of the processor 301 is reduced, and the efficiency of the system is improved.
[0072] The processor 301 can run the method provided in the embodiment of the present application. The processor 301 can include different devices. For example, when a CPU and a GPU are integrated, the CPU and the GPU can cooperate to execute the method provided in the embodiment of the present application, for example, part of the algorithm in the method is executed by the CPU, and another part of the algorithm is executed by the GPU to obtain faster processing efficiency.
[0073] The bus 302 may include a path to transmit information between the above components. The bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 302 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0074] The memory 303 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or may include a high-speed random access memory, or may include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0075] Optionally, the memory 303 is used to store application code for executing the solution of the present application, and the execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the method provided in any embodiment of the present application.
[0076] The memory 303 can be used to store computer executable program codes, which include instructions. The processor 301 executes various functional applications and data processing of the electronic device 300 by running the instructions stored in the memory 303. The memory 303 may include a program storage area and a data storage area. Among them, the program storage area may store the code of the operating system, application program, etc. The data storage area may store data created during the use of the electronic device 300 (such as images, videos, etc. collected by the camera application), etc.
[0077] The memory 303 may also store one or more computer programs corresponding to the method provided in the embodiment of the present application. The one or more computer programs are stored in the above-mentioned memory 303 and are configured to be executed by the one or more processors 301. The one or more computer programs include instructions, and the above-mentioned instructions can be used to execute each step in the above-mentioned corresponding embodiment.
[0078] Of course, the code of the method provided in the embodiment of the present application can also be stored in an external memory. In this case, the processor 301 can run the code of the method stored in the external memory through the external memory interface, and the processor 301 can control the running process.
[0079] The display screen 305 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 300 may include 1 or N display screens 305, where N is a positive integer greater than 1. The display screen 305 can be used to display information input by a user or information provided to a user and various graphical user interfaces (GUI). For example, the display screen 305 can display photos, videos, web pages, or files.
[0080] The electronic device provided in the embodiment of the present application is applicable to any embodiment of the above method. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, which will not be repeated here.
[0081] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0082] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or boxes.
[0083] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0084] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of the functions specified in a box or multiple boxes. Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they know the basic creative concept. Therefore, the attached claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0085] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for establishing and executing an operation approval process, characterized in that: include: S1. Design a data structure according to business needs, the data structure is used to store user information, approval process, form data; S2. Customize process component attributes for different business scenarios, where the process component attributes include form fields and approval steps; S3. Mount resources and associate process components with database resources through API interfaces; S4. Initiate a process approval request and execute the approval process according to the preset process logic.
2. The method according to claim 1, characterized in that The method also includes: performing process design and form design.
3. The method according to claim 2, characterized in that The process design includes: Draw the approval process, set approval nodes, approvers and routing rules; The form design includes: Design user interaction form interface, set validation rules, and establish associations between forms.
4. The method according to claim 1, characterized in that The method further comprises: Real-time monitoring of approval process; Integrate approval processes with other systems and synchronize approval results.
5. The method according to claim 1, characterized in that The method further comprises: Deploy process components to the server, deploy MySQL database and Redis cache, and deploy Kafka message queue.
6. The method according to claim 1, characterized in that The method further comprises: Users log in and access through Nginx server authorization, and user behavior is recorded; Query user behavior records.
7. A system for establishing and executing an operation approval process, characterized in that: include: A design module, used to design a data structure according to business requirements, wherein the data structure is used to store user information, approval process, and form data; A definition module for customizing process component properties for different business scenarios, wherein the process component properties include form fields and approval steps; The mounting module is used to mount resources and associate process components with database resources through API interfaces; The execution module is used to initiate a process approval request and execute the approval process according to the preset process logic.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: including a processor and a memory; The memory is used to store program instructions; The processor is configured to execute the method according to any one of claims 1 to 6 by calling program instructions.
10. A computer program product comprising a computer program and / or instructions, characterized in that: When the computer program and / or the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.