Form generation method and system based on zero code definition business flow rule

Through the zero-code defined business flow rule method, the visual interface and configuration options are used to customize the business flow rules, which solves the problems of traditional business flow design complexity and high development cost, and achieves efficient and flexible business process management, which is suitable for various industries. enterprise applications.

CN118550518APending Publication Date: 2024-08-27金现代信息产业股份有限公司
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410737876.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Traditional business flow design cannot support rapid business iteration and development. It requires professional developers to write complex codes, which increases development costs and time. It also lacks a visual operation interface and reduces the flexibility of business process management for non-technical personnel.

Method used

Adopt a zero-code-based approach to customize business flow rules through the visual operation interface and configuration options, without writing complex code. Use action libraries, form management and rule generation modules to generate customized business flow rules, supporting multiple triggers and action components. Provides condition editor and rule engine for logic definition and execution.

Benefits of technology

It significantly improves development efficiency, reduces development costs, improves the flexibility of defining and modifying business rules, reduces error rates, improves system stability and response speed, and is suitable for various enterprise application systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550518A
    Figure CN118550518A
Patent Text Reader

Abstract

The invention discloses a form generation method and system based on a zero code definition business flow rule, and the method comprises the steps: obtaining a business action instruction for carrying out the addition, deletion, modification and check of a form, and selecting a predefined business action service interface according to the business action instruction, configuring a logic implementation operation corresponding to the required business action based on the selected business action service interface, thereby coding different types of business actions into independent business modules; obtaining a condition expression input by a user on the visual operation interface, and analyzing the condition expression to determine the selected form type, the configured form field and the defined form relationship; and based on the analyzed form information and the service module corresponding to the called required service action, generating a service form of the self-defined service flow rule. The business flow rule is self-defined through the visual operation interface and the configuration options, complex codes do not need to be written, the development efficiency is improved, and the development cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of business flow design, and in particular to a form generation method and system based on zero-code definition of business flow rules. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Traditional business flow design cannot support rapid business iteration and development. When the business changes, it is necessary to design business forms and workflows and related business logic separately, which makes the final deployment of form business and workflow deployment very time-consuming. In addition, the traditional business flow rule definition method usually requires professional developers to write complex codes to implement business logic. The cumbersome coding process increases development costs and time costs. For non-professional developers, understanding and modifying complex business logic codes is a challenge, which is difficult and difficult to master. Therefore, it is often necessary to rely on developers to modify and adjust, reducing the flexibility of business process management. In addition, there is a lack of a visual operation interface to enable non-technical personnel to define and manage business flow rules through simple operations. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a form generation method and system based on zero-code definition of business flow rules. Business flow rules are customized through a visual operation interface and configuration options without writing complex codes. The business flow rule function developed with zero code greatly improves development efficiency and significantly reduces development costs. It has the advantages of high ease of use, simple operation, and a wide range of applications.

[0005] In order to achieve the above object, the present invention adopts the following technical solution:

[0006] In a first aspect, the present invention provides a form generation method based on zero-code definition of business flow rules, comprising:

[0007] Obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, and thus encode different types of business actions into independent business modules;

[0008] Create a visual operation interface, obtain the conditional expression entered by the user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression;

[0009] Generate a business form with customized business flow rules based on the parsed form information and the business module corresponding to the required business action called.

[0010] As an optional implementation method, triggers are used to monitor the addition, deletion, modification and query operations on the form. In the visual operation interface, the forms and operation types that need to be monitored are specified by configuring the properties of the trigger. The event bus is used to subscribe to form submission and record update events. After the events are published to the message queue, the trigger listens to the events in the message queue and triggers the corresponding business flow rules.

[0011] As an optional implementation method, the process of configuring the logic implementation operation corresponding to the required business action includes: database operation, calling external services and message sending; among which, for the database operation action, the target table, operation type and data field mapping parameters are configured; for the action of calling external services, the interface address, request parameters and authentication information options are configured.

[0012] As an optional implementation method, the conditional expression is input through the conditional editor on the visual operation interface. The conditional editor includes a text input box, a drop-down menu and a check box control, supports logical operators, comparison operators and common functions including string operations and mathematical functions, and is used to input conditional expressions and select fields and operators; the conditional editor relies on a conditional expression parser to parse the input conditional expression. The conditional expression parser recognizes the field names, operators and constant values ​​in the conditional expression, and combines them into a complete logical expression according to grammatical rules.

[0013] As an optional implementation, the form generation method also includes: designing a rule engine, defining various business rules through a visual operation interface using a visual rule editor, parsing the business rules through a rule execution engine for execution, including a rule parser, a condition evaluator, and an action executor, wherein the rule parser is used to convert the business rules into a computer-executable logical form, the condition evaluator is used to evaluate the truth of the business rules, and the action executor is used to execute the actions defined in the business rules.

[0014] As an optional implementation, the creation of the visual operation interface includes: using HTML and CSS to create a drag-and-drop interface, using JavaScript to process drag-and-drop operations and component interactions, and using the ReactJS framework to build the visual operation interface, providing a componentized structure and efficient UI rendering.

[0015] In a second aspect, the present invention provides a form generation system for defining business flow rules based on zero code, including:

[0016] The action library module is configured to obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, and configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, thereby encoding different types of business actions into independent business modules;

[0017] The form management module is configured to create a visual operation interface, obtain a conditional expression input by a user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression;

[0018] The rule generation module is configured to generate a business form with a custom business flow rule based on the parsed form information and the business module corresponding to the required business action called.

[0019] In a third aspect, the present invention provides an electronic device comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in the first aspect is performed.

[0020] In a fourth aspect, the present invention provides a computer-readable storage medium for storing computer instructions, wherein when the computer instructions are executed by a processor, the method described in the first aspect is performed.

[0021] In a fifth aspect, the present invention provides a computer program product, comprising a computer program, which, when executed by a processor, implements the method described in the first aspect.

[0022] Compared with the prior art, the present invention has the following beneficial effects:

[0023] The present invention customizes business flow rules through a visual operation interface and configuration options without writing complex codes. The business flow rule function of zero-code development greatly improves development efficiency. At the same time, since zero-code development does not require a large amount of code writing and maintenance, it significantly reduces development costs and saves a lot of manpower and resource investment. It has the advantages of high ease of use, simple operation, and a wide range of applications, and is suitable for various types of enterprise application systems.

[0024] The zero-code development of business flow rule function of the present invention improves the flexibility of business rule definition and modification, and can adjust rules at any time according to business needs without rewriting and deploying code to meet changing needs. Through the visual interface and conditional editor, business rules can be defined and managed intuitively, avoiding errors and loopholes that may be caused by manual code writing, reducing error rates, and improving system stability and reliability. At the same time, because the definition and modification of business rules become simple and fast, the system can respond to business changes more quickly and realize rapid adjustment and optimization of business processes.

[0025] In order to expand the function of business flow rules to support large and complex business processes, the present invention configures multiple triggers and multiple action components in one business flow rule, configures multiple business flow rules in one form, and the business flow rules are interrelated. Various business processes and scenarios are supported, and multiple triggers, action components and condition types are provided to ensure that users can perform diversified condition configurations. At the same time, the multiple action components provided can meet the diverse effects achieved by users.

[0026] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0028] Figure 1 A flow chart of a form generation method based on zero-code definition of business flow rules provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0030] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0031] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "comprise" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0033] Example 1

[0034] Terminology explanation:

[0035] 1. Zero-code development platform: A development platform that can quickly generate applications without coding. This type of platform is aimed at IT experts or civilian programmers. It aims to quickly deliver applications and solve the problems of long cycles and high costs brought about by traditional software development models. The customer base is mainly software development companies or medium and large enterprises with IT experts.

[0036] 2. Business flow rules: The triggering of specific events and the corresponding actions to be performed. In the zero-code platform, when a specific add, delete, modify or query operation occurs in the data of a form, the related add, delete, modify or query operations of one or more other forms are triggered.

[0037] 3. Trigger: A system that determines whether an event meets specific rules. In the zero-code platform, it determines whether the data in the form is added, modified or deleted in some form.

[0038] 4. Action component: A system that records the business data operations of adding, deleting, modifying and checking one or more forms. In the zero-code platform, it is manifested as the form adding, modifying or deleting data in a specific format.

[0039] 5. Rule engine: Based on triggers and action components, the corresponding actions of the data that meets the trigger conditions are retrieved and specific data operations are performed according to the actions.

[0040] This embodiment provides a form generation method based on zero-code definition of business flow rules, such as Figure 1 As shown, including:

[0041] Obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, and thus encode different types of business actions into independent business modules;

[0042] Create a visual operation interface, obtain the conditional expression entered by the user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression;

[0043] Generate a business form with customized business flow rules based on the parsed form information and the business module corresponding to the required business action called.

[0044] The front-end, back-end and intelligent recommendation services of the method of this embodiment are implemented by Vue+JavaScript, Java and Python development languages ​​respectively. This is a business data management system, including a data processing module, a rule generation module and a form management module. Among them, the data processing module is used to process various types of data, including add, delete, modify and query operations. The form management module provides a visual operation interface, through which operations such as selecting form types, configuring form fields, and defining form relationships are performed, and provides rich data processing functions, including data verification, data conversion, data merging and other operations. When the form operation is completed, the rule generation module generates corresponding business flow rules based on the form and business logic defined in the form management module. These rules can be applied to the business data of other forms to realize the add, delete, modify and query operations of data.

[0045] The present embodiment is described in detail below.

[0046] In this embodiment, in order to expand the business flow rule function to support large and complex business processes, multiple triggers and multiple action components are configured in one business flow rule, and multiple business flow rules are configured in one form. The business flow rules are interrelated to support various business processes and scenarios, and multiple triggers, action components and condition types are provided to ensure that users can perform diversified condition configurations. At the same time, the multiple action components provided can meet the diverse effects achieved by users.

[0047] The action components are operated on the visual operation interface by dragging, connecting, etc. The visual operation interface of this embodiment is composed of a graphical editor, and the action components on the visual operation interface can be operated by dragging, connecting, etc. to define the business flow rules;

[0048] Specifically: First, use HTML and CSS to create an intuitive drag-and-drop interface, then use JavaScript to handle drag-and-drop operations and component interactions, and then use the ReactJS framework to build a visual operation interface, provide a componentized structure and efficient UI rendering, thereby building an intuitive and user-friendly interface that allows users to easily define and manage business processes.

[0049] The trigger is responsible for monitoring various operations of the form, including add, delete, modify, query, etc. In the visual operation interface, the form and operation type to be monitored are specified by configuring the properties of the trigger. The trigger relies on real-time monitoring of the backend service or database to capture the trigger event of the form operation in time. Use the event bus to subscribe to form submission and record update events. Use RabbitMQ to publish events to the message queue, listen to events in the message queue in the trigger component, and trigger the corresponding business flow rules, so as to effectively manage and configure various types of triggers.

[0050] In this embodiment, an action library is designed to achieve high abstraction and configurability of business logic through predefined business action service interfaces, and to provide flexible configuration options and modular design, thereby providing a simple and efficient business process management method.

[0051] Among them, Celery is used to create asynchronous tasks to perform actions. The action to be performed is specified in the action component, such as updating a record or sending an email, and Celery handles the asynchronous tasks to ensure that the action is executed reliably.

[0052] The detailed plan is as follows:

[0053] First, a set of predefined business action service interfaces are provided. Based on the business action service interfaces, business actions can be directly selected and configured from the action library to implement specific business logic. Predefined actions usually cover common business needs, such as data addition, deletion, modification, and query, as well as other customized business logic actions.

[0054] Then configure specific logic implementation for each business action, including database operations, API calls, message sending and other business operations.

[0055] According to specific business needs, use back-end programming languages ​​(such as Python, Java, JavaScript) to implement the functional modules of these business actions, and further add a series of configuration options for each business action in the action library to customize the behavior of the action.

[0056] For example, for data operation actions, you can configure parameters such as the target table, operation type, and data field mapping; for actions that call external services, you can configure options such as the interface address, request parameters, and authentication information; these configuration options can be flexibly configured according to business needs to implement various complex business logics.

[0057] Finally, a modular design is adopted to organize different types of business actions into independent business modules, which improves the reusability and maintainability of the code and allows developers to more easily expand and customize the action library to meet the needs of different business scenarios.

[0058] In this embodiment, the user inputs the conditional expression through the conditional editor on the visual operation interface, and then implements user-friendly conditional judgment logic definition and management through the interactive interface, conditional expression parser, field mapping, data query and other functions, providing important support for the flexible control of business processes.

[0059] The condition editor includes controls such as text input boxes, drop-down menus, check boxes, etc., which are used to enter conditional expressions and select fields, operators, etc., allowing users to intuitively enter and edit conditional judgment logic.

[0060] The conditional editor relies on the conditional expression parser to parse the conditional expression entered by the user and convert it into a computer-executable logical form. The conditional expression parser is responsible for identifying the various components in the conditional expression (such as field names, operators, constant values, etc.) and combining them into a complete logical expression according to grammatical rules.

[0061] The condition editor supports common logical operators (such as AND, OR, NOT, etc.) and comparison operators (such as equal to, greater than, less than, etc.), as well as some commonly used functions (such as string operations, mathematical functions, etc.). Users can use these operators and functions to build complex conditional judgment logic.

[0062] The condition editor then interacts with the data model through the field map to obtain the field list and data type information, and supports users to select and map fields.

[0063] In addition, for certain conditions, data query operations are performed to obtain dynamic data, such as retrieving data from a database or calling an external API to obtain data, followed by input validation and error handling to ensure that the conditional expression entered by the user complies with grammatical rules and business requirements; if there are grammatical errors or logical errors in the conditional expression entered by the user, the conditional editor can promptly prompt the user and provide correction suggestions. It also supports custom extension functions, for example, users can define their own functions or operators as needed, or introduce external extension modules to enhance the functions of the conditional editor.

[0064] In this embodiment, a rule engine is designed to achieve flexible definition, execution and management of business rules through functions such as rule definition language, rule execution engine, rule management and version control, real-time monitoring and debugging.

[0065] Specifically:

[0066] First, business rules are described using a specific rule definition language. The rule definition language is a visual rule editor based on a graphical interface. Various business rules, such as condition judgment and action execution, can be defined through the rule definition language.

[0067] Then, the business rules are parsed and executed by the rule execution engine. The rule execution engine consists of a rule parser, a condition evaluator, and an action executor. The rule parser is responsible for converting the rule definition into a computer-executable logical form, the condition evaluator is used to evaluate the truth of the rule conditions, and the action executor executes the actions defined in the rule; among them, the rule matching algorithm is used to quickly match the rules that meet the conditions in the rule library; the rule matching algorithm includes techniques such as sorting based on rule priority and searching based on condition indexes to ensure fast matching and execution of rules.

[0068] It also provides rule management and version control functions, allowing developers to easily create, edit, publish and rollback rules to ensure the consistency and traceability of rules, while supporting the simultaneous operation and management of multiple versions of rules.

[0069] It also provides real-time monitoring and debugging functions, so that developers can view the execution and results of rules in real time, so as to find and fix problems in time. The monitoring function can help developers optimize the performance and accuracy of rules and improve the stability and reliability of the system.

[0070] At the same time, the rule engine can also customize various rule execution strategies and behaviors according to business needs, expand the functionality of the rule engine, add new rule types, condition evaluators, action executors, etc. to meet specific business scenarios and needs.

[0071] The above method of this embodiment customizes business flow rules through a visual operation interface and configuration options without writing complex codes. The business flow rule function of zero-code development greatly improves development efficiency. According to actual case statistics, the development time is shortened by more than 30% on average. At the same time, since zero-code development does not require a large amount of code writing and maintenance, the development cost is significantly reduced. According to actual case statistics, the development cost is reduced by more than 40% on average, saving a lot of manpower and resource investment. It realizes the addition, deletion, modification and query of business data of other forms by triggering the addition, deletion, modification and query operations of the table. It has the advantages of high ease of use, simple operation, and wide application range, and is suitable for various types of enterprise application systems.

[0072] The business flow rule function in zero-code development in this embodiment improves the flexibility of business rule definition and modification, and can adjust the rules at any time according to business needs without rewriting and deploying code. According to actual case statistics, business flexibility has increased by more than 50%, greatly meeting the ever-changing needs of customers.

[0073] Through the visual interface and conditional editor, developers can intuitively define and manage business rules, avoid errors and vulnerabilities that may be caused by manual coding, and reduce the error rate. According to actual case statistics, the error rate has been reduced by more than 25% on average, greatly improving the stability and reliability of the system.

[0074] As the definition and modification of business rules become simple and fast, the system can respond to business changes more quickly and achieve rapid adjustment and optimization of business processes. According to actual case statistics, the business response speed has increased by more than 60% on average, providing important support for enterprises to gain an advantage in the fiercely competitive market.

[0075] It should be noted that all data is obtained in compliance with laws and regulations and user consent, and the data is used legally.

[0076] Example 2

[0077] This embodiment provides a form generation system for defining business flow rules based on zero code, including:

[0078] The action library module is configured to obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, and configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, thereby encoding different types of business actions into independent business modules;

[0079] The form management module is configured to create a visual operation interface, obtain a conditional expression input by a user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression;

[0080] The rule generation module is configured to generate a business form with a custom business flow rule based on the parsed form information and the business module corresponding to the required business action called.

[0081] It should be noted that the above modules correspond to the steps described in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.

[0082] In further embodiments, there is also provided:

[0083] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, it will not be described in detail here.

[0084] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0085] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0086] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.

[0087] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.

[0088] A computer program product includes a computer program, and when the computer program is executed by a processor, the method described in embodiment 1 is implemented.

[0089] The present invention also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium. The computer program product includes computer executable instructions, such as instructions included in a program module, which are executed in a device on a real or virtual processor of the target to perform the process / method as described above. Typically, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform specific tasks or implement specific abstract data types. In various embodiments, the functions of program modules can be combined or divided between program modules as needed. Machine executable instructions for program modules can be executed in local or distributed devices. In distributed devices, program modules can be located in local and remote storage media.

[0090] The computer program code for implementing the method of the present invention can be written in one or more programming languages. These computer program codes can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the computer or other programmable data processing device, causes the function / operation specified in the flow chart and / or block diagram to be implemented. The program code can be executed completely on a computer, partially on a computer, as an independent software package, partially on a computer and partially on a remote computer or completely on a remote computer or server.

[0091] In the context of the present invention, computer program codes or related data may be carried by any appropriate carrier to enable a device, apparatus or processor to perform the various processes and operations described above. Examples of carriers include signals, computer readable media, and the like. Examples of signals may include electrical, optical, radio, acoustic or other forms of propagation signals, such as carrier waves, infrared signals, and the like.

[0092] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with this embodiment can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can 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 this application.

[0093] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A form generation method based on zero-code definition of business flow rules, It is characterized in that include: Obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, and thus encode different types of business actions into independent business modules; Create a visual operation interface, obtain the conditional expression entered by the user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression; Generate a business form with customized business flow rules based on the parsed form information and the business module corresponding to the required business action called.

2. A form generation method based on zero-code definition of business flow rules as claimed in claim 1, It is characterized in that Use triggers to monitor the add, delete, modify and query operations on the form. In the visual operation interface, configure the properties of the trigger to specify the form and operation type that need to be monitored, use the event bus to subscribe to form submission and record update events, publish the events to the message queue, listen to the events in the message queue in the trigger and trigger the corresponding business flow rules.

3. A form generation method based on zero-code definition of business flow rules as claimed in claim 1, It is characterized in that The process of configuring the logic implementation operation corresponding to the required business action includes: database operation, calling external services and sending messages; among them, for the database operation action, configure the target table, operation type and data field mapping parameters; for the action of calling external services, configure the interface address, request parameters and authentication information options.

4. A form generation method based on zero-code definition of business flow rules as claimed in claim 1, It is characterized in that Conditional expressions are entered through the conditional editor on the visual operation interface. The conditional editor includes a text input box, a drop-down menu, and a check box control. It supports logical operators, comparison operators, and common functions including string operations and mathematical functions. It is used to enter conditional expressions and select fields and operators. The conditional editor relies on the conditional expression parser to parse the input conditional expression. The conditional expression parser recognizes the field names, operators, and constant values ​​in the conditional expression, and combines them into a complete logical expression according to grammatical rules.

5. A form generation method based on zero-code definition of business flow rules as claimed in claim 1, It is characterized in that The form generation method also includes: designing a rule engine, defining various business rules through a visual operation interface using a visual rule editor, parsing the business rules through a rule execution engine for execution, including a rule parser, a condition evaluator and an action executor, the rule parser is used to convert the business rules into a computer executable logical form, the condition evaluator is used to evaluate the truth of the business rules, and the action executor is used to execute the actions defined in the business rules.

6. A form generation method based on zero-code definition of business flow rules as claimed in claim 1, It is characterized in that The creation of the visual operation interface includes: using HTML and CSS to create a drag-and-drop interface, using JavaScript to process drag-and-drop operations and component interactions, and using the ReactJS framework to build the visual operation interface, providing a componentized structure and efficient UI rendering.

7. A form generation system based on zero-code definition of business flow rules, It is characterized in that include: The action library module is configured to obtain business action instructions for adding, deleting, modifying and checking forms, select a predefined business action service interface according to the business action instructions, and configure the logic implementation operation corresponding to the required business action based on the selected business action service interface, thereby encoding different types of business actions into independent business modules; The form management module is configured to create a visual operation interface, obtain a conditional expression input by a user on the visual operation interface, and determine the selected form type, configured form fields, and defined form relationships by parsing the conditional expression; The rule generation module is configured to generate a business form with a custom business flow rule based on the parsed form information and the business module corresponding to the required business action called.

8. An electronic device, It is characterized in that The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 6 is completed.

9. A computer-readable storage medium, It is characterized in that Used to store computer instructions, which, when executed by a processor, complete the method described in any one of claims 1 to 6.

10. A computer program product, It is characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Business data circulation method and device based on custom form and storage medium

    CN118778948A

  • Dynamic expression analysis and execution method and system based on visual interaction

    CN120994185A

  • Business document design method and device for intelligent financial management system

    CN121996230A