A hedging business approval configuration method and system
Through the approval and configuration method for hedging services, the process-driven engine and data configuration interface are used to solve the problem of fixed approval mode in the existing system, flexible approval process configuration and business logic adjustment are realized, and the ability to respond to business changes is enhanced. .
Patent Information
- Application Number
- CN202410017653.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-01-05
AI Technical Summary
The approval configuration of the existing system has the problem of fixed approval mode, which leads to weak ability to adjust business logic to respond to business changes.
Adopt the approval configuration method for hedging services. By establishing a data configuration interface in the browser, entering configuration data, storing it in the configuration library, recalling the configuration data configuration process logic and process model, using the process driver engine to output driver parameters, and driving the approval process .
It realizes flexible approval model configuration, enhances the response ability of business logic adjustments, and can better adapt to business changes.
Smart Images

Figure CN117787916B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of business configuration, and more specifically, to an approval configuration method and system for hedging business. Background Art
[0002] The approval configuration of the current mainstream system has the problem of fixed approval mode, which leads to weak ability to respond to business changes by redeploying and adjusting business logic. Summary of the invention
[0003] In response to the above problems, this application proposes an approval configuration method for hedging business, including:
[0004] Establishing a data configuration interface in the browser based on the front-end technology, entering configuration data for hedging business approval configuration based on the established data configuration interface, and storing the configuration data in the configuration library;
[0005] Retrieving the configuration data of the configuration storage, and configuring the process logic configuration data and the process model based on the configuration data;
[0006] Based on the process driving engine, according to the process logic configuration data and the process model, the driving parameters are output, and the process driving engine is driven by the driving parameters to approve the hedging business.
[0007] Optionally, the front-end technology includes at least one of the following: HTML technology, CSS technology and VUE technology.
[0008] Optionally, a process model is used to describe the process rules;
[0009] The process rules are stored in the form of bpmn files.
[0010] Optional, process rules, including:
[0011] After the approval process is initiated, the signing task or the counter-signing task is executed based on the gateway. If the approval is rejected, the approval process is re-initiated. If it passes the review, the approval process is executed again based on the next gateway to sign or counter-sign the task until the approval process is completed.
[0012] Optionally, the approval configuration method also includes:
[0013] A bridging data model is established based on the hedging business, and based on the bridging data model, the business process for the hedging business is decoupled from the process driving engine to establish a corresponding relationship between the business process data and the process driving engine.
[0014] Optionally, the process driving engine is driven by the driving parameter to approve the hedging business, including:
[0015] Based on the driving parameters, after specifying the starting point of the approval process, for the approval node for the hedging business, determine the approval node type;
[0016] If the approval node type is a decision node, the decision node is executed according to the decision execution rule;
[0017] If the approval node type is an operation node, the operation node is executed according to the operation execution rule;
[0018] Based on the execution result of executing the determination node or executing the operation node, the hedging business is approved.
[0019] Optionally, the process driving engine is driven by the driving parameter to approve the hedging business, further comprising:
[0020] Define the approval business parameter type and approval logic, and determine the starting point of the approval process based on the defined approval business parameter type and approval logic.
[0021] On the other hand, the present invention also proposes an approval configuration system for hedging business, comprising:
[0022] A data entry unit, used to establish a data configuration interface in a browser based on front-end technology, enter configuration data for hedging business approval configuration based on the established data configuration interface, and store the configuration data in a configuration library;
[0023] A configuration unit, used to retrieve the configuration data stored in the configuration storage, and configure the process logic configuration data and the process model based on the configuration data;
[0024] The approval unit is used to output driving parameters based on the process driving engine, according to the process logic configuration data and the process model, and drive the process driving engine with the driving parameters to approve the hedging business.
[0025] In another aspect, the present application further provides a computing device, comprising: one or more processors;
[0026] a processor for executing one or more programs;
[0027] When the one or more programs are executed by the one or more processors, the above-described method is implemented.
[0028] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed, the method described above is implemented.
[0029] Compared with the prior art, the beneficial effects of this application are:
[0030] This application proposes an approval configuration method for hedging business, including: establishing a data configuration interface in a browser based on front-end technology, entering configuration data for approval configuration for hedging business based on the established data configuration interface, and storing the configuration data in a configuration library; retrieving the configuration data stored in the configuration, and configuring the process logic configuration data and process model based on the configuration data; based on a process driving engine, outputting driving parameters according to the process logic configuration data and process model, and driving the process driving engine with the driving parameters to approve hedging business. This application solves the problem of fixed approval mode in the approval configuration of the current mainstream system, thereby enhancing the ability of business redeployment and adjustment of business logic to respond to business changes. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the embodiments of the present application will be briefly introduced below. It is obvious that the drawings described below are only specific embodiments of the present application. Those skilled in the art can obtain other embodiments based on the following drawings without creative work.
[0032] Figure 1 This is a flow chart of Example 1 of the method of this application;
[0033] Figure 2 This is a flow chart of Example 2 of the method of this application;
[0034] Figure 3 This is a schematic diagram of Example 2 of the method of this application;
[0035] Figure 4 A flow chart for configuring a process model of embodiment 2 of the method of the present application;
[0036] Figure 5 This is a parameter execution flow chart of Example 2 of the method of this application;
[0037] Figure 6 This is a process driven execution principle diagram of Example 2 of the method of this application;
[0038] Figure 7 This is a flow chart of Example 3 of the method of this application;
[0039] Figure 8 This is a structural diagram of Embodiment 4 of the present application method;
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application. DETAILED DESCRIPTION
[0041] Now, exemplary embodiments of the present application are introduced with reference to the accompanying drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present application in detail and completely and to fully convey the scope of the present application to those skilled in the art. The terms in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present application. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0042] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0043] Embodiment 1:
[0044] This application proposes an approval configuration method s100 for hedging business, such as Figure 1 As shown, including:
[0045] Step s101: establishing a data configuration interface in a browser based on front-end technology, entering configuration data for hedging business approval configuration based on the established data configuration interface, and storing the configuration data in a configuration library;
[0046] Step s102, retrieving the configuration data of the configuration storage, and configuring the process logic configuration data and the process model based on the configuration data;
[0047] Step s103: Based on the process driving engine, according to the process logic configuration data and the process model, output driving parameters, drive the process driving engine with the driving parameters, and approve the hedging business.
[0048] Among them, the front-end technology includes at least one of the following: HTML technology, CSS technology and VUE technology.
[0049] Among them, the process model is used to describe the process rules;
[0050] The process rules are stored in the form of bpmn files.
[0051] The process rules include:
[0052] After the approval process is initiated, the signing task or the counter-signing task is executed based on the gateway. If the approval is rejected, the approval process is re-initiated. If it passes the review, the approval process is executed again based on the next gateway to sign or counter-sign the task until the approval process is completed.
[0053] The approval configuration method further includes:
[0054] A bridging data model is established based on the hedging business, and based on the bridging data model, the business process for the hedging business is decoupled from the process driving engine to establish a corresponding relationship between the business process data and the process driving engine.
[0055] The process driving engine is driven by the driving parameters to approve the hedging business, including:
[0056] Based on the driving parameters, after specifying the starting point of the approval process, for the approval node for the hedging business, determine the approval node type;
[0057] If the approval node type is a decision node, the decision node is executed according to the decision execution rule;
[0058] If the approval node type is an operation node, the operation node is executed according to the operation execution rule;
[0059] Based on the execution result of executing the determination node or executing the operation node, the hedging business is approved.
[0060] Wherein, the process driving engine is driven by the driving parameters to approve the hedging business, and further includes:
[0061] Define the approval business parameter type and approval logic, and determine the starting point of the approval process based on the defined approval business parameter type and approval logic.
[0062] Embodiment 2:
[0063] This application proposes an approval configuration method s200 for hedging business, such as Figure 2 As shown, including:
[0064] Step s201, input data into the visual configuration interface: use HTML, CSS, VUE and other front-end technologies to display and operate configuration data in the browser, and save the process configuration data to the process logic configuration library; the overall logic operation process principle is as follows Figure 3 As shown;
[0065] Step s202, process logic configuration data configuration: store process logic configuration related data in the configuration library, using the database Mysql, which is open source, fast, easy to use, and convenient for backup and migration. The data model refers to Table 1 and Table 2;
[0066] Step s203, process model configuration: describe the process rules. The process rules are stored in the form of bpmn files. The process rule files can be parsed by the process engine system. The file abstracts the hedging business process, thereby improving the reusability. The specific process effect, the logical flow chart of the model file is as follows: Figure 4 As shown;
[0067] Step s204, process drive engine execution: according to the process logic configuration data and process rules, output drive parameters, trigger the execution of business processes, the overall execution logic diagram is as follows Figure 5 As shown;
[0068] The basic working principle of the process-driven engine for the approval configuration method for hedging business:
[0069] The node types that the process-driven engine needs to process mainly include start nodes, decision nodes, operation execution nodes, and end nodes. The start node is the entry point for business logic execution; the decision node is the judgment during the execution process, similar to the if else statement in the program; the operation execution node is an operation step in the business, such as querying data, updating data, etc.; the end node is a sign that the business logic execution ends and returns decision information at the same time. The process-driven engine executes the logic diagram as shown in the figure below: Figure 6 As shown;
[0070] The basic principle of the business logic execution engine:
[0071] 1) The entry node passes in the approval parameters and determines the next node specified by the approval parameters and the node type. If the node is a determination node, go to 2); if the node is an operation node, go to 3);
[0072] 2) Execute the decision node;
[0073] 3) Execute operation node;
[0074] 4) Get the next node;
[0075] 5) If the node is a decision node, go to 2). If the node is an operation execution node, go to 3). If the node is an end node, the execution ends.
[0076] Decision node execution principle: Decision nodes are logical judgments that determine whether one or some parameters meet the specified conditions. There are multiple results of decision node execution, each corresponding to a different operation node;
[0077] The data generated by the operation node will be used as part of the parameters of the unexecuted judgment node;
[0078] The execution principle of the operation execution node: The operation execution node is a component that specifies a certain operation. In most cases, it executes a configuration library query. It is the final processing link of the overall process. It is necessary to pass the parameters generated during the process execution to the process engine to drive the process.
[0079] Embodiment 3:
[0080] This application proposes an approval configuration method s300 for hedging business, such as Figure 7 As shown, including:
[0081] Step s301, design the front-end business process configuration page: the configuration page includes the approval master switch, approval level, and each level can also be configured with approval title, approver, approval node type, etc.;
[0082] Step s302, designing business approval process: designing business process according to the user's business needs and configuring it into the system through the configuration page;
[0083] Step s303, build a process model: the process model describes the start node, approval level, approval node, approval gateway, and end node; usually, a forwarding gateway is set up upstream and downstream of the approval node, and the gateway determines the next operation based on the parameters passed by the approval node;
[0084] Step s304, designing a process logic configuration data model: The process logic configuration data provides process metadata for the entire process logic. The data model mainly includes the approval business type, the level that needs to be approved, the approval type of each node such as signature or counter-signature, the person who handles each approval node, and the business notification node level;
[0085] Step s305, designing a bridge data model between the business process and the approval engine: In order to fully decouple the business process and the approval engine, a bridge model is designed to establish a relationship between the business data and the approval engine, thereby making it easier for users to obtain information about approval business objects. The data model refers to Table 3 and Table 4;
[0086] Step s306, front-end configuration triggers approval action: This process requires providing the approval type and approval object identifier to the approval node to trigger the start of the business process.
[0087] The above-mentioned Example 3 and Tables 1, 2, 3 and 4 proposed in the Example are as follows:
[0088] Table 1 Logical configuration common attributes table
[0089] Property name Property Type Remark Business Logo Character Primary key, unique identifier Business Name Character Approval business name Business Type Character Business type identification Total approval level Numeric Storage service end level Notification level Character Storage service notification level describe Character Description of the business
[0090] Table 2 Logical configuration level attribute table
[0091]
[0092] Table 3 Intermediate table
[0093]
[0094] Table 4 Business type storage table
[0095] Property name Property Type Remark Business Logo Character Primary key, unique identifier Business Type Character Storage service type Business Name Character name describe Character Prepare enough information
[0096] Embodiment 4:
[0097] The present invention also proposes an approval configuration system 400 for hedging business, such as Figure 8 As shown, including:
[0098] The data entry unit 401 is used to establish a data configuration interface in the browser based on the front-end technology, enter the configuration data for the hedging business approval configuration based on the established data configuration interface, and store the configuration data in the configuration library;
[0099] A configuration unit 402 is used to retrieve the configuration data stored in the configuration storage, and configure the process logic configuration data and the process model based on the configuration data;
[0100] The approval unit 403 is used to output driving parameters based on the process driving engine according to the process logic configuration data and the process model, and drive the process driving engine with the driving parameters to approve the hedging business.
[0101] Among them, the front-end technology includes at least one of the following: HTML technology, CSS technology and VUE technology.
[0102] Among them, the process model is used to describe the process rules;
[0103] The process rules are stored in the form of bpmn files.
[0104] The process rules include:
[0105] After the approval process is initiated, the signing task or the counter-signing task is executed based on the gateway. If the approval is rejected, the approval process is re-initiated. If it passes the review, the approval process is executed again based on the next gateway to sign or counter-sign the task until the approval process is completed.
[0106] The approval configuration method further includes:
[0107] A bridging data model is established based on the hedging business, and based on the bridging data model, the business process for the hedging business is decoupled from the process driving engine to establish a corresponding relationship between the business process data and the process driving engine.
[0108] The process driving engine is driven by the driving parameters to approve the hedging business, including:
[0109] Based on the driving parameters, after specifying the starting point of the approval process, for the approval node for the hedging business, determine the approval node type;
[0110] If the approval node type is a decision node, the decision node is executed according to the decision execution rule;
[0111] If the approval node type is an operation node, the operation node is executed according to the operation execution rule;
[0112] Based on the execution result of executing the determination node or executing the operation node, the hedging business is approved.
[0113] Wherein, the process driving engine is driven by the driving parameters to approve the hedging business, and further includes:
[0114] Define the approval business parameter type and approval logic, and determine the starting point of the approval process based on the defined approval business parameter type and approval logic.
[0115] Embodiment 5:
[0116] Based on the same inventive concept, the present application also provides a computer device, which includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions in the computer storage medium to implement the corresponding method flow or corresponding functions, so as to implement the steps of the method in the above embodiment.
[0117] Embodiment 6:
[0118] Based on the same inventive concept, the present application also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It is understandable that the computer-readable storage medium here can include both built-in storage media in a computer device and, of course, an extended storage medium supported by the computer device. The computer-readable storage medium provides a storage space that stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the method in the above embodiment.
[0119] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application can adopt 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.) that contain computer-usable program code. The scheme in the embodiments of the present application can be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0120] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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 device that provides the functions specified in a block or multiple blocks.
[0121] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0122] 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 for the functions specified in one or more boxes.
[0123] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0124] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A hedging business approval configuration method, characterized in that: The approval configuration method includes: Establishing a data configuration interface in the browser based on the front-end technology, entering configuration data for hedging business approval configuration based on the established data configuration interface, and storing the configuration data in the configuration library; Retrieving configuration data stored in the configuration storage, and configuring process logic configuration data and a process model based on the configuration data; Based on the process driving engine, according to the process logic configuration data and the process model, the driving parameters are output, and the process driving engine is driven by the driving parameters to approve the hedging business; The process model is used to describe process rules; The process rules are stored in the form of bpmn files; The process rules include: After the approval process is initiated, the signing or counter-signing task is executed based on the gateway. If the approval is rejected, the approval process is re-initiated. If it passes the review, the approval process is executed again based on the next gateway to sign or counter-sign the task until the approval process is completed; The approval configuration method further includes: Establishing a bridge data model based on the hedging business, and decoupling the business process for the hedging business from the process driving engine based on the bridge data model to establish a corresponding relationship between the business process data and the process driving engine; The step of driving the process driving engine with the driving parameters to approve the hedging business includes: Based on the driving parameters, after specifying the starting point of the approval process, for the approval node for the hedging business, determine the approval node type; If the approval node type is a decision node, the decision node is executed according to the decision execution rule; If the approval node type is an operation node, the operation node is executed according to the operation execution rule; Based on the execution result of executing the determination node or executing the operation node, the hedging business is approved.
2. The approval configuration method according to claim 1, characterized in that: The front-end technology includes at least one of the following: HTML technology, CSS technology and VUE technology.
3. The approval configuration method according to claim 1, characterized in that: The step of driving the process driving engine with the driving parameters to approve the hedging business also includes: Define the approval business parameter type and approval logic, and determine the starting point of the approval process based on the defined approval business parameter type and approval logic.
4. An approval configuration system for hedging business using any one of the approval configuration methods for hedging business as claimed in claims 1 to 3, characterized in that: The approval configuration system includes: A data entry unit, used to establish a data configuration interface in a browser based on front-end technology, enter configuration data for hedging business approval configuration based on the established data configuration interface, and store the configuration data in a configuration library; A configuration unit, used to retrieve configuration data stored in the configuration storage, and configure the process logic configuration data and the process model based on the configuration data; An approval unit, configured to output driving parameters based on a process driving engine according to the process logic configuration data and the process model, and drive the process driving engine with the driving parameters to approve the hedging business; The process model is used to describe process rules; The process rules are stored in the form of bpmn files; The process rules include: After the approval process is initiated, the signing task or counter-signing task is executed based on the gateway. If the approval is rejected, the approval process is re-initiated. If it passes the review, the approval process is executed again based on the next gateway to sign or counter-sign the task until the approval process is completed.
5. A computer device, characterized in that: include: one or more processors; a processor for executing one or more programs; When the one or more programs are executed by the one or more processors, the method according to any one of claims 1 to 3 is implemented.
6. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed, the method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Service approval method, device and equipment and medium
CN108647883A
Process engine optimization method and system based on business processing and process-driven decoupling
CN115759372A