System and method for automatically matching applet forms to workflow engine configuration forms

By adding a unique code to specific forms in the mini-program and converting them into the engine form format, the problem of mini-program forms not being able to be dynamically expanded is solved, enabling automatic matching and interaction between the mini-program and the workflow engine, and supporting dynamic form configuration and display in the mini-program.

CN114168140BActive Publication Date: 2025-12-30UNISOUND SHANGHAI INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111512353.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-08
Publication Date
2025-12-30
Estimated Expiration
2041-12-08

AI Technical Summary

Technical Problem

The existing mini-program forms are hardcoded and do not support dynamically adding forms and related attributes, which fails to meet users' needs.

Method used

By adding unique codes to specific forms in the mini-program on the server side and converting them into engine form formats for storage and matching, automatic matching and interaction between the mini-program and the workflow engine configuration forms can be achieved.

Benefits of technology

It allows mini-programs to operate independently of the workflow engine's configuration form styles, supports dynamic form configuration, meets the mini-program's feedback requirements, and enables automatic matching and association between the mini-program and the workflow engine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114168140B_ABST
    Figure CN114168140B_ABST
Patent Text Reader

Abstract

The application relates to a system and method for automatically matching a small program form and a configuration form of a workflow engine, which comprises the following steps: developing a small program specific form, and sending the developed small program specific form to a server where the workflow engine is located; the server identifies the small program specific form, and then converts the small program specific form into an engine form format for storage; when the small program is accessed, the server converts the stored engine form format into the small program specific form and returns the small program specific form to the small program, so that the small program performs data echo. The automatic matching method allows the small program to be separated from the configuration form style of the workflow engine, the small program development can be performed according to specific page style design of business and product delivery modes, the workflow engine can identify the small program specific form, meet the echo requirements of the small program, make the form configuration of the small program and the configuration form in the workflow engine automatically matched and associated, and the interaction between the small program and the workflow engine can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information and communication engineering, and specifically to a system and method for automatically matching mini-program forms with workflow engine configuration forms. Background Technology

[0002] A mini program is an application that can be used without downloading or installing it. Its concept is that the application is "at your fingertips" and "use and go". Its advantage is that users no longer need to worry about installing too many applications and also avoid frequently switching between applications.

[0003] The functionality of a mini-program is achieved through a server-side workflow engine. However, the default configuration of the workflow engine generates web-style pages for forms, which cannot match the style and design requirements of mini-programs and business needs. In existing technologies, to facilitate the display of mini-program feedback, form components in the workflow engine are customized to form mini-program forms. This results in poor extensibility of the relevant form components in mini-programs, and does not support dynamically adding forms and related attributes, making mini-program form development unable to meet user needs. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of the prior art and provide a system and method for automatically matching mini-program forms with workflow engine configuration forms, solving the problem that existing mini-programs hardcode related forms and do not support dynamically adding forms and related attributes, thus failing to meet customer usage needs.

[0005] The technical solution to achieve the above objectives is:

[0006] This invention provides a method for automatically matching mini-program forms with workflow engine configuration forms, comprising the following steps:

[0007] Develop a mini-program-specific form and send the developed mini-program-specific form to the server where the workflow engine is located;

[0008] The server identifies the specific form in the mini-program and then converts it into an engine form format for storage; and

[0009] When accessing a mini-program, the server converts the stored engine form format into a mini-program-specific form and returns it to the mini-program so that the mini-program can display the data.

[0010] The automatic matching method of this invention allows mini-programs to operate independently of the configuration form styles of the workflow engine. Mini-program developers can design specific page styles based on business needs and product delivery methods. The workflow engine can identify specific forms in the mini-program and meet the mini-program's feedback requirements, enabling automatic matching and association between the mini-program's form configuration and the configuration forms in the workflow engine, thus facilitating interaction between the two.

[0011] A further improvement to the method for automatically matching mini-program forms with workflow engine configuration forms in this invention is that it further includes:

[0012] On the server side, add a unique code to each form component in the configuration form;

[0013] When developing a specific form for a mini-program, each form component in the developed mini-program-specific form is associated with its corresponding unique code.

[0014] A further improvement of the method for automatically matching mini-program forms with workflow engine configuration forms in this invention is that, when sending the developed mini-program-specific form to the server, the unique code of the form component in the mini-program-specific form and its attribute value are combined into a key-value pair and sent.

[0015] A further improvement of the method for automatically matching mini-program forms and workflow engine configuration forms in this invention is that when the server receives key-value pairs, it identifies the unique code in the received key-value pairs, converts it into the corresponding engine form format, and stores the engine form format and the corresponding key-value pairs.

[0016] A further improvement of the method for automatically matching mini-program forms and workflow engine configuration forms in this invention is that an association lookup table of form components and unique codes is established on the server side.

[0017] When developing a specific form for a mini-program, the server sends the associated lookup table to the mini-program for use during development.

[0018] This invention also provides a system for automatically matching mini-program forms with workflow engine configuration forms, including:

[0019] The development unit located within the mini-program is used to develop mini-program-specific forms;

[0020] The identification unit located on the server side is connected to the development unit and is used to receive and identify the specific form of the mini-program sent by the development unit, and then convert it into the engine form format.

[0021] A storage unit located on the server side, connected to the identification unit, is used to store the mini-program-specific forms received by the identification unit and the converted engine form formats; and

[0022] The processing unit located on the server side is connected to the storage unit and is used to receive requests to access the mini-program. Then, according to the request to access the mini-program, it reads the mini-program-specific form stored in the storage unit that corresponds to the engine form format and returns it to the mini-program so that the mini-program can display the data.

[0023] A further improvement of the system for automatically matching mini-program forms with workflow engine configuration forms in this invention is that the storage unit also stores form components, and each form component is configured with a unique code.

[0024] Each form component in the specific form of the mini-program developed by the development unit is associated with its corresponding unique code.

[0025] A further improvement of the system for automatically matching mini-program forms with workflow engine configuration forms in this invention is that the development unit is also used to form key-value pairs with the unique codes of form components in specific mini-program forms and their attribute values.

[0026] A further improvement of the system for automatically matching mini-program forms and workflow engine configuration forms of the present invention is that the identification unit is also used to store the received key-value pairs corresponding to the converted engine form format in the storage unit.

[0027] A further improvement of the system for automatically matching mini-program forms and workflow engine configuration forms of the present invention is that the storage unit also stores an association lookup table of form components and unique codes;

[0028] The processing unit is also used to send the association lookup table to the development unit of the mini-program. Attached Figure Description

[0029] Figure 1 This is a flowchart illustrating the method for automatically matching mini-program forms with workflow engine configuration forms according to the present invention.

[0030] Figure 2 This is a system diagram of the system for automatically matching the form configuration of the WeChat Mini Program with the workflow engine, as described in this invention.

[0031] Figure 3 This is a flowchart illustrating the process of each stage in the system for automatically matching forms between the mini-program and the workflow engine configuration forms according to the present invention. Detailed Implementation

[0032] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0033] See Figure 1This invention provides a system and method for automatically matching mini-program forms with workflow engine configuration forms. It primarily addresses the issue of automatically matching and associating relevant items such as vertical elements and business attributes of custom-developed mini-program form configurations with backend visual workflow engine configuration forms. The system and method allow mini-programs to operate independently of the workflow system's configuration form styles, enabling them to design specific page styles based on business needs and product delivery methods. This invention adds a unique value to each form component in the workflow engine's configuration form, thus associating the value entered in each mini-program's form component with the workflow system, thereby achieving interaction between the two. The system and method for automatically matching mini-program forms with workflow engine configuration forms are described below with reference to the accompanying drawings.

[0034] See Figure 2 This diagram illustrates the system for automatically matching the mini-program form with the workflow engine configuration form according to the present invention. The following section combines... Figure 2 This paper describes the system for automatically matching the mini-program form with the workflow engine configuration form of the present invention.

[0035] like Figure 2 As shown, the system for automatically matching mini-program forms with workflow engine configuration forms of the present invention includes a development unit 21, an identification unit 22, a storage unit 23, and a processing unit 24. The development unit 21 is connected to the identification unit 22, the identification unit 22 is connected to the storage unit 23, and the storage unit 23 is connected to the processing unit 24. The development unit 21 is located at the mini-program and is used to develop mini-program-specific forms. The identification unit 22 is located on the server and is used to receive and identify the mini-program-specific forms sent by the development unit 21, and then convert them into engine form formats. The storage unit 23 is located on the server and is used to store the mini-program-specific forms received by the identification unit 22 and the converted engine form formats. The processing unit 24 is located on the server and is used to receive requests to access the mini-program, and then read the mini-program-specific forms stored in the storage unit 23 corresponding to the engine form formats according to the requests to access the mini-program, and return them to the mini-program so that the mini-program can display the data.

[0036] The server-side workflow engine of this invention can recognize specific forms developed on the mini-program side, allowing the mini-program to be independent of the configuration form style of the workflow system. During mini-program development, specific page styles can be designed according to business and product delivery forms.

[0037] In one specific embodiment of the present invention, the storage unit 23 further stores form components, and each form component is configured with a unique code;

[0038] Each form component in the specific form of the mini-program developed by development unit 21 is associated with its corresponding unique code.

[0039] Specifically, the server configures the work forms and defines a unique code for each form component. When the mini-program developer develops a specific form, they associate the unique code with the corresponding form component. After the server receives the specific form, it can identify the form component.

[0040] Furthermore, the development unit is also used to create key-value pairs by combining the unique code of a form component in a specific form of the mini-program with its attribute values.

[0041] Specifically, when developing a specific form in a mini-program, the development unit assembles the form components and attribute values ​​into key:value pairs, where the key corresponds to a unique code and the value corresponds to the attribute value of the form component.

[0042] When the development unit sends a specific form for the mini-program, it also sends the assembled key-value pairs.

[0043] Furthermore, the identification unit 22 is also used to store the received key-value pairs corresponding to the converted engine form format in the storage unit. After receiving the key-value pairs, the identification unit 22 uses the key in the key-value pairs to identify the form components, and then converts the form components in the key-value pairs into a format that conforms to the engine form format for storage.

[0044] In one specific embodiment of the present invention, the storage unit 23 also stores a lookup table of form components and unique codes;

[0045] The processing unit 24 is also used to send the association lookup table to the development unit 21 of the mini-program.

[0046] In this way, when developing a specific form in the mini-program, the development unit 21 can know the unique code corresponding to the form component and then associate the unique code.

[0047] like Figure 3 As shown, the working principle of the system of the present invention will be explained below.

[0048] The system of this invention includes a preparation and alignment stage, a submission stage, and a display stage. In the accurate alignment stage, the server-side system configures forms to add user-defined unique values, thereby adding a unique code to each form component. This unique code and its association with the form component are sent to the mini-program developer, allowing the mini-program developer to associate the unique code with the corresponding form component. When developing specific forms for a mini-program, it is necessary to design aesthetically pleasing and stylistically consistent forms according to user requirements. In the submission stage, the mini-program receives the user's input parameters for each form, assembles them into key-value pairs, and submits them to the server. Upon receiving the key-value pairs, the server identifies them, specifically the form components configured by the workflow engine. If successful, it converts the data into a form compatible with the form engine and saves it. In the display stage, the server retrieves the form data, reassembles it into key-value pairs, and returns it to the mini-program, which can then display the data.

[0049] This invention also provides a method for automatically matching mini-program forms with workflow engine configuration forms, which is described below.

[0050] like Figure 1 As shown, the present invention provides a method for automatically matching mini-program forms with workflow engine configuration forms, comprising the following steps:

[0051] Execute step S11, develop a mini-program-specific form, and send the developed mini-program-specific form to the server where the workflow engine is located; then execute step S12.

[0052] In step S12, the server identifies the specific form of the mini-program and converts it into the engine form format for storage; then step S13 is executed.

[0053] In step S13, when accessing the mini-program, the server converts the stored engine form format into a mini-program-specific form and returns it to the mini-program so that the mini-program can display the data.

[0054] The automatic matching method of this invention allows mini-programs to operate independently of the configuration form styles of the workflow engine. Mini-program developers can design specific page styles based on business needs and product delivery methods. The workflow engine can identify specific forms in the mini-program and meet the mini-program's feedback requirements, enabling automatic matching and association between the mini-program's form configuration and the configuration forms in the workflow engine, thus facilitating interaction between the two.

[0055] In one specific embodiment of the present invention, it further includes:

[0056] On the server side, add a unique code to each form component in the configuration form;

[0057] When developing a specific form for a mini-program, each form component in the developed mini-program-specific form is associated with its corresponding unique code.

[0058] In one specific embodiment of the present invention, when sending the developed mini-program-specific form to the server, the unique code of the form component in the mini-program-specific form and its attribute value are combined into a key-value pair and sent.

[0059] In one specific embodiment of the present invention, when the server receives a key-value pair, it identifies the unique code in the received key-value pair, converts it into the corresponding engine form format, and stores the engine form format and the corresponding key-value pair.

[0060] In one specific embodiment of the present invention, a lookup table for form components and unique codes is established on the server side;

[0061] When developing a specific form for a mini-program, the server sends a mapping table to the mini-program for use during development.

[0062] The present invention has been described in detail above with reference to the accompanying drawings and embodiments. Those skilled in the art can make various modifications to the present invention based on the above description. Therefore, certain details in the embodiments should not be construed as limiting the present invention, and the scope of protection of the present invention shall be defined by the appended claims.

Claims

1. A method for automatically matching a small program form with a workflow engine configuration form, characterized in that, The method comprises the following steps: Developing a mini-program specific form and sending the developed mini-program specific form to a server where a workflow engine is located; The server identifies the mini-program specific form and then converts it into an engine form format for storage; And When accessing the mini-program, the server converts the stored engine form format into a mini-program specific form and returns it to the mini-program to enable the mini-program to perform data echoing; Further comprising: Adding a unique code to each form component in the configuration form on the server; In developing the mini-program specific form, each form component in the developed mini-program specific form is associated with its corresponding unique code; When sending the developed mini-program specific form to the server, the unique code of the form component in the mini-program specific form is sent in the form of a key-value pair together with its attribute value; When receiving the key-value pair, the server identifies the unique code in the received key-value pair and then converts it into a corresponding engine form format, and stores the engine form format and the corresponding key-value pair; An association table of form components and unique codes is established on the server; When developing the mini-program specific form, the server sends the association table to the mini-program for use during development; The method is implemented by a system, which comprises an alignment preparation stage, a submission stage and an echoing stage. In the alignment preparation stage, the server system configuration form adds a user-definable unique value to each form component, and sends the unique code and the association relationship of the form component to the mini-program development end, so that the mini-program developer can associate the unique code with the corresponding form component. In developing the mini-program specific form, the user needs to draw a beautiful and style-unified form according to the user's requirements. In the submission stage, the mini-program receives the input parameters of each form from the user, assembles them into a key:value key-value pair form and submits them to the server. After receiving the key-value pair, the server identifies the key-value pair, i.e. identifies the form component configured by the workflow engine, and saves it in a form that conforms to the form engine after successful identification. In the echoing stage, the server obtains the form data, reassembles them into a key:value form and returns them to the mini-program, so that the mini-program can perform data echoing.

2. A system for automatically matching a small program form with a workflow engine configuration form, characterized in that, The method comprises: A development unit provided at the mini-program and used for developing a mini-program specific form; An identification unit provided at the server and connected with the development unit, used for receiving the mini-program specific form sent by the development unit and identifying it, and then converting it into an engine form format; A storage unit provided at the server and connected with the identification unit, used for storing the mini-program specific form received by the identification unit and the converted engine form format; And A processing unit provided at the server and connected with the storage unit, used for receiving a request for accessing the mini-program, reading the mini-program specific form corresponding to the engine form format stored in the storage unit according to the request for accessing the mini-program, and returning it to the mini-program to enable the mini-program to perform data echoing; The storage unit further stores form components, and each form component is configured with a unique code; The development unit is also configured to associate the unique code of each form component in the applet-specific form with its attribute value to form a key-value pair; The development unit is also configured to associate the unique code of each form component in the applet-specific form with its attribute value to form a key-value pair; The recognition unit is also configured to compare the received key-value pair with the corresponding key-value pair stored in the storage unit in the form engine format; The storage unit also stores an association table of form components and unique codes; The processing unit is also configured to send the association table to the development unit of the applet; The system includes a preparation alignment stage, a submission stage, and a feedback stage. In the accurate alignment stage, the server system configures the form to add a unique value that can be customized by the user, to add a unique code to each form component, and send the association between the unique code and the form component to the applet development end, so that the applet developer can associate the unique code with the corresponding form component. When developing an applet-specific form, the user needs to draw a beautiful and style-unified form according to the user's requirements; In the submission stage, the applet receives the input parameters of each form from the user, assembles them into a key:value pair, and submits them to the server. After the server receives the key-value pair, it identifies the form component configured by the workflow engine, and after successful identification, it is converted into a form engine-compliant format for saving; In the feedback stage, the server obtains the form data, reassembles it into a key:value pair, and returns it to the applet, which can then perform data feedback.

Citation Information

Patent Citations

  • Method, device, apparatus and storage medium for developing form page based on applet

    CN109460279A