Form template design tool and business process management method and device

By combining form template design tools with business process management methods, the problem of existing tools being unable to customize workflows has been solved, enabling flexible and efficient form and business process management, improving user satisfaction and system adaptability, and supporting multi-user collaboration and real-time data synchronization.

CN119917090BActive Publication Date: 2026-05-29NO 15 INST OF CHINA ELECTRONICS TECH GRP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NO 15 INST OF CHINA ELECTRONICS TECH GRP
Filing Date
2024-12-24
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing form design tools cannot customize workflows, have limited form customization, limited free features, and insufficient open-source code, leading to problems such as functional mismatch, decreased user satisfaction, limited flexibility, increased integration difficulty, and high maintenance and upgrade costs when integrating business systems.

Method used

This tool provides a form template design tool and a business process management method. It receives instructions to generate business process instances, obtains business process identifiers, queries and matches form templates, and generates business process instances by combining business process step information. It supports drag-and-drop control modeling, a model mapper to realize interaction between controls and backend data, has multi-user real-time update function, and adopts advanced responsive design to ensure cross-platform adaptation.

Benefits of technology

It has improved the flexibility and efficiency of business process and form management, optimized data collection and process management, enhanced the flexibility and adaptability of enterprise business operations, supported multi-user collaboration and real-time data synchronization, and reduced integration and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917090B_ABST
    Figure CN119917090B_ABST
Patent Text Reader

Abstract

The embodiment of the present disclosure provides a form template design tool and a management method of a business process, receives a business process instance generation instruction, acquires a business process identifier; according to the business process identifier, a business process is obtained through query in a business process set, business process node information and business process step information are extracted; according to the business process node information, a corresponding form template is matched and connected from a form template set to generate a business form instance; and a business process instance is generated in combination with the business form instance and the business process step information. The embodiment realizes the creation and control of the business process while modeling the business form, allows the user to adjust the structure and content of the form through a graphical interface, and creates the business process. Through data model analysis, the form is dynamically generated and the business process is executed, and the process change is effectively managed, and the data transmission and permission control are safe, which significantly improves the business flexibility and operation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments disclosed herein relate to the field of information technology and related technical fields, specifically to a method and apparatus for managing a form template design tool and a business process. Background Technology

[0002] In the context of digital transformation, the efficiency and intuitiveness of data collection and information management are crucial. However, traditional form design methods rely heavily on coding, which has many drawbacks. For users without a technical background, the operation is extremely difficult, requiring professional programming knowledge to design and modify forms, severely limiting user autonomy and participation.

[0003] Existing form design tools on the market, such as Google Forms, SurveyMonkey, and Jotform, while offering basic functions like visual form design, previewing, and real-time activation, still have many shortcomings. These tools lack workflow customization, have limited form customization, restrict free features, and are not sufficiently open-source. When customizing business systems using these tools, problems such as functional mismatches, decreased user satisfaction, limited flexibility, increased integration difficulty, higher maintenance and upgrade costs, and limited innovation arise. Traditional form design methods rely on coding, which is inefficient and unfriendly to users without technical backgrounds.

[0004] Therefore, there is an urgent need to develop a brand-new visual form template design tool to solve the above problems. Summary of the Invention

[0005] The embodiments described herein provide a form template design tool and a business process management method and apparatus, which solve the problems existing in the prior art.

[0006] According to a first aspect of this disclosure, a form template design tool and a business process management method are provided, including:

[0007] Receive the business process instance generation instruction and obtain the business process identifier;

[0008] Based on the business process identifier, the business process is retrieved from the business process set, and the business process node information and business process step information are extracted.

[0009] Based on the business process node information, a business form instance is generated by matching and attaching the corresponding form template from the form template set;

[0010] A business process instance is generated by combining the business form instance and the business process step information.

[0011] In some embodiments of this disclosure, prior to the step of receiving the business process instance generation instruction, the method further includes:

[0012] Receive form modeling instructions and obtain the identifier of the manipulated control, the manipulation instructions, and the validation constraints.

[0013] The manipulated control is obtained from the control set according to the identifier of the manipulated control.

[0014] Based on the manipulated control and the control instructions, the drag-and-drop support function is invoked to generate a form template prototype;

[0015] Based on the validation constraints, set the relevant controls in the form template prototype;

[0016] After verification, the control is associated with the backend data model field through the model mapper, generating the form template and forming the form template set.

[0017] In some embodiments of this disclosure, prior to the step of receiving the business process instance generation instruction, the method further includes:

[0018] Receive a business process creation instruction and obtain user information, organization information, permission information, business process node information, and business process step information;

[0019] Based on the business process node information and the business process step information, a business process prototype is generated by defining the functions.

[0020] Based on the user information, the organization information, and the permission information, access control conditions are set, the business processes are generated, and the business process set is formed.

[0021] In some embodiments of this disclosure, after the step of generating the business process and constituting the set of business processes, the method further includes:

[0022] Receive business process change requests, extract business process identifiers and business process modification information, and locate expert users associated with the business process based on the business process identifiers;

[0023] The system obtains the input modified evaluation parameters, constructs a modified evaluation business process message, and sends it to the evaluation system. The modified evaluation parameters include: overall effect, rationality, economic benefits, change risk, scope of impact, and weighting coefficient.

[0024] The evaluation system receives the modification message of the evaluation business process, parses it to obtain the modified evaluation parameters, and inputs the rationality, economic benefits, change risks, scope of impact, and weighting coefficients into the following formula to calculate the comprehensive effect:

[0025] E=k* (a *P+b*E ) / ( c *R+d*I ) ;

[0026] Where E represents the overall effect, P represents rationality, E represents economic benefits, R represents change risk, and I represents the scope of impact; k, a, b, c, and d are all weighting coefficients.

[0027] Determine whether the overall effect is greater than a preset threshold. If it is, return "Business process modification approved"; otherwise, return "Rejected".

[0028] In some embodiments of this disclosure, after the step of generating form templates and forming a set of form templates, the method further includes:

[0029] The data validation rule instruction received ensures data quality. This instruction must include at least length limits, format checks, and required fields.

[0030] Receive regular expression validation commands to enhance the scalability of data validation;

[0031] Receive form preview instructions and query form template information based on form identifiers, then call the preview support to display the form template;

[0032] In some embodiments of this disclosure, after the step of generating form templates and forming a set of form templates, the method further includes:

[0033] Receive form template update instructions, extract form template identifiers and update content, and query form status;

[0034] If a form template is being used, query the current form, the current form template instance, and the current form business data. Store the current form template instance as a form instance history version, store the previous form business data as a business data history version, obtain the updated form template based on the updated content, store it in the form template collection, and package the new content and send it to the logged-in user.

[0035] If the form template is being modified, determine whether the input information indicates acceptance of modification. If yes, update the form template according to the form template identifier and the updated content; otherwise, save it as a new form template.

[0036] In some embodiments of this disclosure, after the step of generating a business process instance by combining the business form instance and the business process step information, the method further includes:

[0037] Generate a user interface for users to fill out forms, establish a full-duplex communication protocol between multiple user clients in multi-user mode, perform real-time, bidirectional data transmission between multiple browsers, and push the latest version of the form to all users in real time.

[0038] According to a second aspect of this disclosure, a form template design tool and a business process management device are provided, comprising:

[0039] The receiving module is used to receive the business process instance generation instruction and obtain the business process identifier.

[0040] The query module is used to query the business process in the business process set based on the business process identifier, and extract the business process node information and business process step information.

[0041] The attachment module is used to match and attach the corresponding form template from the form template set according to the business process node information to generate a business form instance;

[0042] The generation module is used to generate a business process instance by combining the business form instance and the business process step information.

[0043] In some embodiments of this disclosure, it also includes:

[0044] The form modeling module is used to receive form modeling instructions, obtain the identifier of the manipulated control, the manipulation instructions, and the validation constraints; obtain the manipulated control from the control set according to the manipulated control identifier; generate a form template prototype by calling the drag-and-drop support function according to the manipulated control and the manipulation instructions; set the relevant controls in the form template prototype based on the validation constraints; and after validation, associate the controls with the backend data model fields through the model mapper to generate the form template and form the form template set.

[0045] In some embodiments of this disclosure, it also includes:

[0046] The business process creation module is used to receive business process creation instructions, obtain user information, organization information, permission information, business process node information and business process step information, generate a business process prototype based on the business process node information and business process step information, set access control conditions based on the user information, organization information and permission information, generate the business process and constitute the business process set.

[0047] In some embodiments of this disclosure, it also includes:

[0048] The business process change processing module receives business process change requests, extracts the business process identifier and modification information, and locates expert users associated with the business process based on the business process identifier. It then obtains input modification evaluation parameters, constructs an evaluation message for the business process modification, and sends it to the evaluation system. These evaluation parameters include: overall effect, rationality, economic benefit, change risk, scope of impact, and weighting coefficients. The evaluation system receives the evaluation message, parses it to obtain the evaluation parameters, and inputs the rationality, economic benefit, change risk, scope of impact, and weighting coefficients into the following formula to calculate the overall effect: E = k*(a*P + b*E). / (c*R+d*I); where E is the overall effect, P is the rationality, E is the economic benefit, R is the change risk, and I is the scope of impact; k, a, b, c, and d are all weighting coefficients; determine whether the overall effect is greater than a preset threshold. If it is, return "Business process modification approved"; otherwise, return "Rejected".

[0049] In some embodiments of this disclosure, it also includes:

[0050] The form validation processing module is used to receive data validation rule instructions to ensure data quality. These instructions include at least length limits, format checks, and required fields. It also receives regular expression validation instructions to enhance the scalability of data validation.

[0051] The preview processing module is used to receive form preview instructions, query form template information based on form identifiers, and call the preview support to display the form template.

[0052] In some embodiments of this disclosure, it also includes:

[0053] The form template update processing module is used to receive form template update messages, extract the form template identifier and update content, and query the form status. If a form template is currently in use, it queries the current form, the current form template instance, and the current form business data. The current form template instance is stored as a form instance history version, and the previous form business data is stored as a business data history version. The updated form template is obtained based on the update content and stored in the form template collection. The new content is packaged and sent to the logged-in user. If a form template is being modified, it determines whether the input information is a modification acceptance message. If so, the form template is updated based on the form template identifier and update content. If not, it is saved as a new form template.

[0054] In some embodiments of this disclosure, it also includes:

[0055] The interface generation module is used to generate user interfaces for users to fill out forms. In multi-user mode, it establishes a full-duplex communication protocol between multiple user clients, performs real-time, bidirectional data transmission between multiple browsers, and pushes the latest version of the form to all users in real time.

[0056] According to a third aspect of this disclosure, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method as described in any of the above embodiments.

[0057] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the method as described in any of the above embodiments.

[0058] The form template design tool and business process management method provided in this disclosure generate business processes and instances by constructing a business node library and a form template library, and utilize a model mapper to realize the interaction between forms and backend data. Form templates can be updated and users notified for processing, and business process modifications have an expert evaluation mechanism. This achieves real-time update functionality for multiple users, solves the challenges of business process and form management, improves the overall efficiency and flexibility of business processing, and is widely applicable to various enterprise business scenarios. It optimizes the synergy between business processes and data management, effectively improving the efficiency of data collection and process management in enterprise business operations, as well as the flexibility and adaptability of the system.

[0059] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description

[0060] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. It should be understood that the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure, wherein:

[0061] Figure 1 This is a flowchart illustrating a form template design tool and a business process management method provided in this embodiment of the disclosure;

[0062] Figure 2 This is a schematic diagram of the structure of a form template design tool and a business process management device provided in an embodiment of this disclosure;

[0063] Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure.

[0064] In the accompanying diagram, markers with the same last two digits correspond to the same elements. It should be noted that the elements in the diagram are schematic and not drawn to scale. Detailed Implementation

[0065] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are also within the scope of protection of this disclosure.

[0066] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of the phrase "embodiment" in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0067] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists, A and B exist simultaneously, or B exists. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0068] Furthermore, in all embodiments of this disclosure, terms such as “first” and “second” are used only to distinguish one component (or part of a component) from another component (or another part of a component).

[0069] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).

[0070] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0071] While existing form design tools on the market can achieve basic functions such as visual design, preview, and real-time activation of forms to a certain extent, they still have significant limitations. These tools generally lack the ability to customize workflows and cannot build personalized processes based on the complex and ever-changing business logic of enterprises. Regarding form customization, the variety of form elements they offer is relatively limited, making it difficult to meet the needs of enterprises for complex forms and diverse elements in special business scenarios. The limitations of free features mean that as businesses expand or have special functional requirements, they often have to pay high fees to unlock more features. The limited open-source nature of the code not only hinders enterprises from secondary development and customization of form tools but also limits the space for technological innovation, making it difficult for enterprises to integrate forms with business systems. When customizing business systems using these tools, functional mismatches are inevitable, leading to disruptions in business processes; user satisfaction drops significantly due to inconvenience and limited functionality; system flexibility is limited, making it difficult to quickly respond to changes in business needs; integration difficulty increases significantly, requiring substantial manpower and time to integrate forms with the business system; maintenance and upgrade costs remain high, and due to the lack of open-source code, enterprises struggle to optimize independently; innovation is limited, hindering the design of innovative forms and processes tailored to their specific business characteristics and market changes, severely restricting the enterprise's digital transformation and business development.

[0072] Based on the problems existing in the prior art, this disclosure proposes a novel form template design tool and a business process management method. Figure 1 This is a flowchart illustrating a form template design tool and a business process management method provided in this embodiment of the disclosure. Figure 1 As shown, the specific process of form template design tools and business process management methods includes:

[0073] S110. Receive the business process instance generation instruction and obtain the business process identifier;

[0074] In a specific implementation, upon receiving the instruction, the instruction parsing program is immediately started to extract the business process identifier from the instruction information. This identifier serves as a key index for subsequent querying and constructing of business process instances, ensuring that the system can accurately locate the corresponding business process resource.

[0075] S120. Based on the business process identifier, query the business process set to obtain the business process, and extract the business process node information and business process step information.

[0076] In a specific implementation, based on the acquired business process identifier, an efficient query is performed within a pre-built and richly stored set of business processes. This set employs optimized data structures and indexing algorithms to quickly locate the target business process. Once the query is successful, specialized data extraction tools are used to deeply mine and extract business process node information, including the type of each node (such as start node, processing node, decision node, end node, etc.), node attributes (such as node name, operation or task description performed by the node, etc.), and business process step information, such as the order of steps and the logical relationships between steps (serial, parallel, conditional branch, etc.).

[0077] S130. Based on the business process node information, match and attach the corresponding form template from the form template set to generate a business form instance;

[0078] In a specific implementation, an intelligent form template matching mechanism is initiated based on the extracted business process node information. This mechanism analyzes various templates corresponding to different business process nodes within the form template set, designed according to different business scenarios and node requirements. By comparing key elements such as the association tags and applicable scope of the business process node attributes and the form templates, the mapping relationship between the two is determined, achieving precise integration. For example, when a business process node involves customer information entry, a form template containing customer information fields is matched. During integration, the form template is dynamically adjusted and initialized based on the business process context information, such as setting default values ​​and deciding whether to hide or show specific fields, generating a business form instance that highly matches the business process, ensuring the accurate flow and processing of form data within the business process. During business process execution, the corresponding form template is automatically activated according to the execution order of the process nodes for business personnel to operate, effectively handling data transfer and interaction between form data and process nodes.

[0079] S140. Generate a business process instance by combining the business form instance and the business process step information.

[0080] In a specific implementation, once a business form instance is generated, it is organically integrated with the previously extracted business process step information. A dedicated instance generation engine is constructed, which embeds the business form instance into the corresponding business process node position based on the logical relationships and order in the business process step information. For example, in a serial process, form instances are associated sequentially according to the step order; in a parallel process, the exact position and execution order of the form instance in the parallel branch are determined. Simultaneously, each business process instance is assigned a unique instance identifier, timestamp, and other metadata information to facilitate subsequent management, monitoring, and traceability, successfully generating a complete business process instance that is executable and operable.

[0081] In addition, before implementing step S110, the following are also included:

[0082] S1001. Receive a form modeling instruction, obtain the control identifier, control instruction and verification constraints in the instruction, obtain the control from the control set according to the control identifier, call the drag and drop support function to generate a form template prototype according to the control and control instruction, set the relevant controls in the form template prototype based on the verification constraints, and after verification, associate the controls with the backend data model fields through the model mapper to generate a form template and form a form template set.

[0083] In a specific implementation, a visual form design tool is used to model the form. The required elements are dragged and dropped from the control set into the form. The elements of the control are set, including but not limited to the control's name, size, order, and page validation method.

[0084] The set of controls includes, but is not limited to, input boxes, text boxes, number input boxes, drop-down selectors, checkboxes, radio buttons, date pickers, time pickers, ratings, sliders, tree selectors, cascading selectors, dynamic tables, selection input columns, rich text, switches, buttons, tooltips, text boxes, dividers, card layouts, tab layouts, grid layouts, table layouts, dynamic drop-down menus, conditional hidden fields, and calculated fields.

[0085] In a specific implementation, when creating a form template, a detailed form element attribute editing panel is provided. The specific operation is as follows:

[0086] Provides a panel for editing form element properties. Designers can set basic properties for various form elements, such as input fields, text boxes, and dropdown selectors, in this panel.

[0087] Once the designer selects a form element, the corresponding configurable options will be displayed in the editing panel. The designer's settings for basic attributes, such as the form element's display name, initial value, and prompt message, will be stored and applied to the corresponding form element to ensure that the form element is displayed according to the designer's requirements during generation.

[0088] Designers can set conditions in the form element properties editing panel. These conditions are used to control the display, availability, and other properties of form elements.

[0089] The form element attribute editing panel allows designers to set the data source for form elements.

[0090] Designers can set calculation logic in the form element attribute editing panel.

[0091] For designers with front-end development skills, the form element attribute editing panel supports using JavaScript or logical expressions to define element behavior and data binding.

[0092] The functionality of the form element attribute editing panel described above can fully meet the needs of different designers, handling both simple attribute settings and complex logic definitions accurately and efficiently.

[0093] In a specific implementation, the drag-and-drop functionality based on HTML5 and JavaScript is implemented as follows when performing form creation:

[0094] 1. Initialize drag-and-drop functionality

[0095] When designing forms, draggable form elements are marked using the HTML5 `draggable` attribute. For example, when a form control needs to implement draggable functionality, the element's HTML code is set to...<divdraggable="true"id="item1"> Form control 1. This method marks the element as a draggable element, laying the foundation for subsequent drag-and-drop operations.

[0096] 2. Listen for drag and drop events

[0097] Use JavaScript to add event listeners to the draggable element and the target container. Assuming there is a draggable element (dragElement) and a target container (dropTarget), the computer implements event listening using the following JavaScript code:

[0098] const dragElement=document.getElementById('item1'); const dropTarget=document.getElementById('target');

[0099] dragElement.addEventListener('dragstart',dragStartHandler);

[0100] dropTarget.addEventListener('dragover',dragOverHandler);

[0101] dropTarget.addEventListener('drop',dropHandler);

[0102] In the code above, the computer first obtains the draggable element and the target container using the `getElementById` method. Then, it adds a "dragstart" event listener to the draggable element and "dragover" and "drop" event listeners to the target container. The corresponding handler functions for these event listeners (dragStartHandler, dragOverHandler, dropHandler) will be called when the corresponding event occurs, thus achieving precise control over the dragging behavior.

[0103] 3. Event handling functions

[0104] The dragstart event handles the following: When a form element begins to be dragged (i.e., the "dragstart" event is triggered), the computer performs the following actions: It can set the style of the dragged element according to preset rules, such as changing the mouse style to visually indicate that it is being dragged. Simultaneously, the computer can save the element's original information, such as its position and size, for use in subsequent operations.

[0105] The dragover event handles the following: During a drag-and-drop operation, when the dragged element moves over the target container (triggered by the "dragover" event), the computer first prevents default behaviors, such as avoiding visually distracting phenomena like text highlighting. Furthermore, the computer may change the style of the target container, such as changing the border color or adding a shadow, to visually indicate to the user that the element can be placed within this container.

[0106] The `drop` event handles the following: When a dragged element is placed into the target container (triggered by the "drop" event), the computer performs the corresponding placement operation. This might include moving the element to a specific position within the target container or updating backend data based on business logic. For example, if the dragged element is a form input field, the computer might place it in the target form area and update it in relation to the corresponding field in the backend database.

[0107] The dragend event handler: After the drag operation is completed (the "dragend" event is triggered), the computer will restore the dragged element to its initial state. This includes restoring the element's styles to their state before dragging, and reloading the original position and size information to ensure the cleanliness and consistency of the form design interface.

[0108] 4. Data transmission

[0109] Throughout the drag-and-drop process, JavaScript's `dataTransfer` object is used to handle data transfer. When an element begins to be dragged, the computer stores relevant information about the dragged element using the `dataTransfer.setData()` method. This might include information such as the element's type and attribute values. When the "drop" event occurs, the computer retrieves the previously stored information using the `dataTransfer.getData()` method. This information is used to correctly place and process the dragged element in the target container, ensuring data integrity and accuracy during the form design process.

[0110] By implementing the drag-and-drop functionality based on HTML5 and JavaScript, drag-and-drop operations of elements can be achieved in an intuitive and precise manner during the form design process. Combined with the real-time preview function, designers can see the changes in the form design in real time, adjust the layout and style in a timely manner, and improve design efficiency.

[0111] In a specific implementation, a verification support function is used for validation. It meticulously checks whether the data conforms to predefined precise format requirements, covering accurate judgment of various data types, ensuring numeric fields are within a reasonable value range, and checking string fields not only for length compliance but also for illegal characters. It also confirms that required fields are not missing. Once any data flaws are detected, error messages are immediately provided, clearly indicating the error type and location, to help users quickly locate, correct, and resubmit the data.

[0112] In a specific implementation, after verifying the legality and integrity of the data, to ensure accurate data interaction and effective verification, the model mapper provided in this embodiment is used. This model mapper can intelligently identify various controls within the form template, such as text boxes and drop-down menus, and automatically construct mapping links with backend data model fields, effectively avoiding manual configuration errors. Based on the constructed mapping relationship between form elements and backend data model fields, the model mapper performs storage operations using data binding and transformation technologies.

[0113] Taking a dropdown menu control in a form template as an example, the model mapper first identifies the unique identifier and related attribute information of the dropdown menu control in the form template, and then establishes a connection with the backend database according to pre-defined binding rules. The backend database stores various types of data associated with the dropdown menu. This data can be categorized information from the business data dictionary, such as product categories, region lists, department names, etc. When the form is loaded or triggered in a specific business scenario, the model mapper sends a query request to the backend database to retrieve the dataset corresponding to the dropdown menu. For example, if the dropdown menu is used to select a product category, the model mapper will retrieve all valid product category data from the "Product Category Table" in the backend database, such as "Electronic Products," "Home Furnishings," "Office Supplies," etc. Subsequently, the model mapper dynamically populates this data into the dropdown menu control, so that when the dropdown menu is displayed on the front-end interface, its options reflect the changes in the backend data in real time.

[0114] For other types of controls, such as radio button groups and checkboxes, which are associated with specific data sets, the model mapper also extracts appropriate data from the backend database according to their respective binding rules and data requirements, and presents the data on the controls in an appropriate format. This not only ensures the consistency and accuracy of form data and backend data, but also greatly improves the flexibility and adaptability of the form. It allows the form to automatically adjust the displayed content and operable options of the controls according to changes in business needs and updates to backend data, providing users with a more intelligent and personalized form interaction experience. At the same time, it provides a solid data foundation for the smooth operation of the entire business process.

[0115] In specific implementations, cross-platform adaptability of forms is crucial. Given that forms need to be accurately rendered and stably functioning across various devices and browsers, this disclosure employs an advanced responsive design method based on the CSS framework. This method allows forms to automatically and flexibly adapt to different screen sizes, ensuring reasonable content layout, excellent visual effects, and complete functionality whether displayed on a large desktop computer or viewed on a small mobile device.

[0116] In addition, after implementing step S1001, the following is also included:

[0117] Receive data validation rule instructions to ensure the accuracy and integrity of the data. These instructions should include at least length limits, format checks, and required fields.

[0118] Receive regular expression validation commands to enhance the flexibility and depth of data validation;

[0119] Receive the form preview command and query the form template information based on the form identifier, then call the preview support to display the form template.

[0120] Receive form template update messages, extract the form template identifier and update content, and query the form status;

[0121] If a form template is being used, query the current form, the current form template instance, and the current form business data. Store the current form template instance as a form instance history version, store the previous form business data as a business data history version, obtain the updated form template based on the updated content, store it in the form template collection, and package the new content and send it to the logged-in user.

[0122] If the form template is being modified, determine whether the input information indicates acceptance of modification. If yes, update the form template according to the form template identifier and the updated content; otherwise, save it as a new form template.

[0123] In addition, before implementing step S110, the following are also included:

[0124] S1002, receive a business process creation instruction, obtain user information, organization information, permission information, business process node information and business process step information, formulate a business process prototype based on the business process node information and business process step information, set access control conditions based on the user information, organization information and permission information, generate the business process and constitute the business process set.

[0125] In specific implementation, when modeling business processes, the constantly changing business requirements present significant challenges in building a flexible and continuously adaptable management framework and controlling change risks. All business process modifications require a formal change request, outlining the reasons, scope, and expected impact. Two approval modes are available: single-expert and multi-expert. In the multi-expert mode, a comprehensive score is calculated based on factors such as the change's rationality, economic benefits, risk, and scope of impact. The weights of each factor can be flexibly adjusted, and a specific formula is used to derive the overall effectiveness value of the change, thereby determining its feasibility.

[0126] Following S1002, it also includes:

[0127] Receive business process change requests, extract business process identifiers and business process modification information, and locate expert users associated with the business process based on the business process identifiers;

[0128] The system obtains the input modified evaluation parameters, constructs a modified evaluation business process message, and sends it to the evaluation system. The modified evaluation parameters include: overall effect, rationality, economic benefits, change risk, scope of impact, and weighting coefficient.

[0129] The evaluation system receives the modification message of the evaluation business process, parses it to obtain the modified evaluation parameters, and inputs the rationality, economic benefits, change risks, scope of impact, and weighting coefficients into the following formula to calculate the comprehensive effect:

[0130] E = k*(a*P+b*E) / (c*R+d*I);

[0131] Where E represents the overall effect, P represents rationality, E represents economic benefits, R represents change risk, and I represents the scope of impact; k, a, b, c, and d are all weighting coefficients.

[0132] Determine whether the overall effect is greater than a preset threshold. If it is, return "Business process modification approved"; otherwise, return "Rejected".

[0133] In the specific implementation process, when a user receives a form template update instruction, the system automatically retrieves the form template ID and detailed form template update content information contained within. Next, it checks whether the current user is using the form template or modifying it. If the user is using the form template, it queries the current form, the current form template instance, and the current form business data. The current form template instance is stored as a historical version of the form instance, and the previous form business data is stored as a historical version of the business data. Based on the update content, the updated form template is obtained and stored in the form template collection. The new content is then packaged and sent to the logged-in user, ensuring that the user can immediately use the latest version of the form template without interrupting business operations. If the user is modifying the form template, it determines whether the input information indicates acceptance of the modification. If the user accepts the modification, the opened form template is updated according to the form template ID and update content to ensure consistency with the latest version. If the user does not accept the modification, the currently opened form template is saved as a completely new form, allowing the user to continue modifying and using it according to the original design, without affecting the application of the new form template version in other business scenarios. For example, in a team collaborative form editing scenario, some members are using the form while others are modifying it. The system can flexibly handle form updates according to different situations, ensuring smooth team collaboration.

[0134] In addition, after implementing step S140, the following is also included:

[0135] The S150 supports multiple languages ​​and internationalization, displaying the corresponding language information based on the country of the current system application.

[0136] In its implementation, the system incorporates a robust multilingual and internationalization support module. During business process instance generation or system operation, it retrieves the current system application's country of origin through system environment detection or user-manual settings. This module pre-stores a rich set of language resource packs, each corresponding to a different country or region's language version, containing translations of various language elements such as system interface text, prompts, and error messages. Based on the retrieved country of origin information, the system automatically loads and switches to the corresponding language from the language resource pack library, achieving dynamic internationalization of the system interface and interaction language, providing a convenient and user-friendly localized experience for users in different regions worldwide.

[0137] S160 generates a user interface for users to fill out forms, establishes a full-duplex communication protocol between multiple user clients in multi-user mode, performs real-time, bidirectional data transmission between multiple browsers, and pushes the latest version of the form to all users in real time.

[0138] In the specific implementation process, user interface generation technology is used to generate a visual user interface based on information from business process instances and business form instances. This interface design follows user experience principles, featuring a reasonable layout and convenient operation. In multi-user mode, a full-duplex communication protocol is established to ensure efficient collaboration and real-time information sharing among multiple user clients. This protocol, based on reliable network transmission technologies (such as WebSocket), enables real-time, bidirectional data transmission between multiple browser clients. When a user fills out, modifies, or saves a form, the system instantly captures the event through the communication protocol and pushes the latest version of the form data to all other related users in real time. Simultaneously, to ensure the security and integrity of data transmission, encryption technology is used to encrypt the transmitted data, preventing data leakage and tampering, effectively improving business processing efficiency and data consistency in a multi-user collaborative environment.

[0139] In some embodiments, multiple versions of the same process can be managed, accurately recording details of each version change, building a process history version library and presenting it with an intuitive timeline. Users can easily select different versions for horizontal comparison, clearly understand the differences between versions, and perform rollback operations on specific versions as needed, effectively ensuring the traceability and stability of business processes.

[0140] In practical implementation, the multi-user real-time update and version control function includes: powerful real-time update capabilities between multiple users, enabling real-time monitoring of any changes to form templates and business processes in a multi-user collaborative environment. Once an update occurs, the system automatically generates and pushes the latest version information to all relevant users, ensuring that each user's data remains consistent and up-to-date. By employing advanced full-duplex communication protocols and version control technology, efficient information synchronization and version management are achieved. For example, in a cross-departmental project management system, users from different departments can simultaneously operate on project-related forms and processes. When one user modifies a form template or business process, other users can immediately receive an update notification and obtain the latest version, effectively avoiding business conflicts and data chaos caused by version inconsistencies.

[0141] In some embodiments, process engine monitoring tools can be used to track process execution dynamics in real time, comprehensively collect performance data and anomalies. Periodic process audits are conducted to verify the alignment between execution and model design and to explore optimization opportunities. Simultaneously, a user feedback management module is built, allowing the system to collect user experiences and improvement suggestions from business personnel, providing strong support for continuous model optimization and iteration, ensuring that business processes always align with actual business needs and maintain efficient operation.

[0142] In its implementation, the application of multi-platform CSS technology includes: To ensure perfect compatibility and adaptability of forms and business process interfaces across different platforms (such as different operating systems, browser types, and mobile devices), this invention innovatively employs multi-platform CSS technology. Through predefined CSS style rules and media query mechanisms, the system can automatically adjust the display style and layout of forms and business process interfaces according to the characteristics of different platforms (such as screen size, resolution, and device type), providing users with a consistent and high-quality user experience. For example, when accessing the business system on a mobile device, form elements will automatically adjust to a layout suitable for the mobile screen size, and font size and spacing will be optimized accordingly to ensure easy operation for users; in a desktop browser, the interface will be presented in a way more suitable for large screen displays, improving user operating efficiency and visual comfort.

[0143] The business process and form methods provided in this disclosure are modeled using a graphical form design tool, implemented with drag-and-drop functionality using HTML5 and JavaScript, and feature a rich control library and property panel. A model mapper ensures data processing, and a full-duplex communication protocol is used for version control. In business process management, a change process with single and multiple expert approvals is established, with multiple experts calculating performance values ​​based on multi-factor scoring, supporting version control and monitoring feedback. It can receive messages to generate and store business processes and instances, and store received data. It achieves fully self-developed visual form modeling, enhancing user experience and functionality, synchronizing form modeling and process definition to form a universal solution and effectively manage process changes, applicable to multiple business scenarios and facilitating digital transformation.

[0144] Based on the above embodiments, this disclosure also provides a form template design tool and a business process management device, such as... Figure 2 As shown, the form template design tool and business process management device include:

[0145] The receiving module 210 is used to receive the business process instance generation instruction and obtain the business process identifier;

[0146] The query module 220 is used to query the business process in the business process set according to the business process identifier, and extract the business process node information and business process step information.

[0147] The attachment module 230 is used to generate a business form instance by matching and attaching the corresponding form template from the form template set according to the business process node information.

[0148] The generation module 240 is used to generate a business process instance by combining the business form instance and the business process step information.

[0149] In specific implementations, it also includes:

[0150] The form modeling module 2001 is used to receive form modeling instructions, obtain the identifier of the manipulated control, the manipulation instructions, and the validation constraints; obtain the manipulated control from the control set according to the identifier of the manipulated control; generate a form template prototype by calling the drag-and-drop support function according to the manipulated control and the manipulation instructions; set the relevant controls in the form template prototype based on the validation constraints; and after validation, associate the controls with the backend data model fields through the model mapper to generate the form template and form the form template set.

[0151] The business process creation module 2002 is used to receive a business process creation instruction, obtain user information, organization information, permission information, business process node information and business process step information, generate a business process prototype based on the business process node information and business process step information, set access control conditions based on the user information, organization information and permission information, generate the business process and constitute the business process set.

[0152] In specific implementations, it also includes:

[0153] The business process change processing module 250 is used to receive business process change requests, extract business process identifiers and business process modification information, and locate expert users associated with the business process based on the business process identifiers; obtain input modification evaluation parameters, construct an evaluation business process modification message, and send it to the evaluation system. The modification evaluation parameters include: overall effect, rationality, economic benefit, change risk, scope of impact, and weight coefficients. The evaluation system receives the evaluation business process modification message, parses and obtains the modification evaluation parameters, and inputs the rationality, economic benefit, change risk, scope of impact, and weight coefficients into the following formula to calculate the overall effect: E=k*(a*P+b*E) / (c*R+d*I); where E is the overall effect, P is the rationality, E is the economic benefit, R is the change risk, and I is the scope of impact; k, a, b, c, and d are all weight coefficients. It determines whether the overall effect is greater than a preset threshold. If it is greater, the business process modification is approved; otherwise, it is rejected.

[0154] In specific implementations, it also includes:

[0155] The form validation processing module 260 is used to receive data validation rule instructions to ensure data quality. These instructions include at least length limits, format checks, and required fields. It also receives regular expression validation instructions to enhance the scalability of data validation.

[0156] The preview processing module 270 is used to receive form preview instructions, query form template information based on form identifiers, and call the preview support to display the form template.

[0157] In specific implementations, it also includes:

[0158] The form template update processing module 280 is used to receive form template update messages, extract form template identifiers and update content, and query form status. If a form template is being used, it queries the current form, the current form template instance, and the current form business data, stores the current form template instance as a form instance history version, stores the previous form business data as a business data history version, obtains the updated form template based on the update content, stores it in the form template collection, and packages the new content and sends it to the logged-in user. If a form template is being modified, it determines whether the input information is a modification acceptance message. If so, it updates the form template based on the form template identifier and update content; otherwise, it saves it as a new form template.

[0159] In specific implementations, it also includes:

[0160] The interface generation module 290 is used to generate user interfaces for users to fill out forms. In multi-user mode, it establishes a full-duplex communication protocol between multiple user clients, performs real-time, bidirectional data transmission between multiple browsers, and pushes the latest version of the form to all users in real time.

[0161] The form template design tool and business process management method provided in this disclosure enable real-time updates for multiple users, solve business process and form management problems, improve the overall efficiency and flexibility of business processing, are widely applicable to various enterprise business scenarios, optimize the synergy of business processes and data management, and effectively improve the efficiency of data collection and process management in enterprise business operations, as well as the flexibility and adaptability of the system.

[0162] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the present invention according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0163] This application also provides a computer device. Please refer to the following for details. Figure 3 , Figure 3 This is a basic structural block diagram of the computer device in this embodiment.

[0164] The computer device includes a memory 310 and a processor 320 that are interconnected via a system bus. It should be noted that only a computer device with components 310-320 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0165] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.

[0166] The memory 310 includes at least one type of readable storage medium, including non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. RAM may include static RAM or dynamic RAM. In some embodiments, the memory 310 may be an internal storage unit of a computer device, such as the hard disk or RAM of the computer device. In other embodiments, the memory 310 may also be an external storage device of the computer device, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, or flash card equipped on the computer device. Of course, the memory 310 may include both internal storage units and external storage devices of the computer device. In this embodiment, the memory 310 is typically used to store the operating system and various application software installed on the computer device, such as the program code of the methods described above. Furthermore, the memory 310 may also be used to temporarily store various types of data that have been output or will be output.

[0167] Processor 320 is typically used to perform overall operations of a computer device. In this embodiment, memory 310 is used to store program code or instructions, including computer operation instructions, and processor 320 is used to execute the program code or instructions stored in memory 310 or process data, such as program code that runs the methods described above.

[0168] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0169] Another embodiment of this application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer-readable program code stored in the computer-readable medium, enabling the processor to execute the functional actions specified in each step or combination of steps in the above method; and to generate means for implementing the functional actions specified in each block or combination of blocks in the block diagram.

[0170] Computer-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any suitable combination thereof, wherein the memory is used to store program code or instructions, the program code including computer operation instructions, and the processor is used to execute the program code or instructions of the above-described methods stored in the memory.

[0171] The definitions of memory and processor can be found in the description of the foregoing computer device embodiments, and will not be repeated here.

[0172] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0173] In the various embodiments of this application, the functional units or modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0174] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0175] Unless otherwise expressly indicated by the context, the singular form of words used herein and in the appended claims includes the plural form, and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the terms “comprising” and “including” shall be interpreted as including rather than exclusively. Likewise, the terms “including” and “or” shall be interpreted as including unless such interpretation is expressly prohibited herein. Where the term “example” is used herein, particularly when it follows a set of terms, the “example” is merely exemplary and illustrative and should not be considered exclusive or extensive.

[0176] Further aspects and scope of adaptation become apparent from the description provided herein. It should be understood that various aspects of this application may be implemented individually or in combination with one or more other aspects. It should also be understood that the descriptions and specific embodiments herein are for illustrative purposes only and are not intended to limit the scope of this application.

[0177] Several embodiments of this disclosure have been described in detail above. However, it is obvious that those skilled in the art can make various modifications and variations to the embodiments of this disclosure without departing from the spirit and scope of this disclosure. The scope of protection of this disclosure is defined by the appended claims.

Claims

1. A form template design tool and a business process management method, characterized in that, include: Receive form modeling instructions and obtain the identifier of the manipulated control, the manipulation instructions, and the validation constraints. The manipulated control is obtained from the control set according to the identifier of the manipulated control. Based on the manipulated control and the control instructions, the drag-and-drop support function is invoked to generate a form template prototype; Based on the validation constraints, set the relevant controls in the form template prototype; After verification, the control is associated with the backend data model field through the model mapper to generate the form template and form a set of form templates. Receive the business process instance generation instruction and obtain the business process identifier; Based on the business process identifier, the corresponding business process is retrieved from the pre-built business process set, and the business process node information and business process step information of the business process are extracted. Based on the business process node information, the corresponding form template is matched and attached from the pre-built set of form templates. When attaching, the form template is dynamically adjusted to generate a business form instance that matches the business process. A business process instance is generated by combining the business form instance and the business process step information.

2. The method according to claim 1, characterized in that, Before the step of receiving the business process instance generation instruction, the method further includes: Receive a business process creation instruction and obtain user information, organization information, permission information, business process node information, and business process step information; Based on the business process node information and the business process step information, a business process prototype is generated by defining the functions. Based on the user information, the organization information, and the permission information, access control conditions are set, the business processes are generated, and the business process set is formed.

3. The method according to claim 2, characterized in that, After the step of generating the business process and constituting the set of business processes, the method further includes: Receive business process change requests, extract business process identifiers and business process modification information, and locate expert users associated with the business process based on the business process identifiers; The system obtains the input modified evaluation parameters, constructs a modified evaluation business process message, and sends it to the evaluation system. The modified evaluation parameters include: overall effect, rationality, economic benefits, change risk, scope of impact, and weighting coefficient. The evaluation system receives the modification message of the evaluation business process, parses it to obtain the modified evaluation parameters, and inputs the rationality, economic benefits, change risks, scope of impact, and weighting coefficients into the following formula to calculate the comprehensive effect: ; Where E represents the overall effect, P represents rationality, E represents economic benefits, R represents change risk, and I represents the scope of impact; k, a, b, c, and d are all weighting coefficients. Determine whether the overall effect is greater than a preset threshold. If it is, return "Business process modification approved"; otherwise, return "Rejected".

4. The method according to claim 1, characterized in that, After the step of generating form templates and forming a set of form templates, the method further includes: The data validation rule instruction received ensures data quality. This instruction must include at least length limits, format checks, and required fields. Receive regular expression validation commands to enhance the scalability of data validation; Receive the form preview command and query the form template information based on the form identifier, then call the preview support to display the form template.

5. The method according to claim 1, characterized in that, After the step of generating form templates and forming a set of form templates, the method further includes: Receive form template update instructions, extract form template identifiers and update content, and query form status; If a form template is being used, query the current form, the current form template instance, and the current form business data. Store the current form template instance as a form instance history version, store the current form business data as a business data history version, obtain the updated form template based on the updated content, store it in the form template collection, and package the new content and send it to the logged-in user. If the form template is being modified, determine whether the input information indicates acceptance of modification. If yes, update the form template according to the form template identifier and the updated content; otherwise, save it as a new form template.

6. The method according to claim 1, characterized in that, After the step of generating a business process instance by combining the business form instance and the business process step information, the method further includes: Generate a user interface for users to fill out forms, establish a full-duplex communication protocol between multiple user clients in multi-user mode, perform real-time, bidirectional data transmission between multiple browsers, and push the latest version of the form to all users in real time.

7. A form template design tool and a business process management device, characterized in that, include: The form modeling module is used to receive form modeling instructions and obtain the identifier of the manipulated control, the manipulation instructions, and the validation constraints. The manipulated control is obtained from the control set according to the manipulated control identifier; the drag-and-drop support function is called to generate a form template prototype according to the manipulated control and the control instruction; the relevant controls in the form template prototype are set according to the verification constraints; after verification, the controls are associated with the backend data model fields through the model mapper to generate a form template and form a form template set. The receiving module is used to receive the business process instance generation instruction and obtain the business process identifier. The query module is used to query the corresponding business process from a pre-built set of business processes based on the business process identifier, and extract the business process node information and business process step information of the business process. The attachment module is used to match and attach the corresponding form template from the pre-built set of form templates according to the business process node information. When attaching, the form template is dynamically adjusted to generate a business form instance that matches the business process. The generation module is used to generate a business process instance by combining the business form instance and the business process step information.

8. A computer device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1 to 6.