Form change management and control method, system and device and computer storage medium
Through the evaluation model based on machine learning, the problem of inability to effectively detect whether the form changes meets business needs after the form changes is solved, and the effect of improving the effectiveness of form changes is achieved.
Patent Information
- Application Number
- CN202510076254.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-05-23
AI Technical Summary
The prior art is difficult to effectively detect and ensure that the form changes still meet business needs, resulting in poorer validity of form changes.
By determining the change information of the target form, collecting data on the impact of the change information on the business, extracting the characteristic factors of the change information, and transmitting it to the pre-trained machine learning-based evaluation model for change evaluation, and receiving the change evaluation results output from the evaluation model.
Automatic evaluation of the form change process is realized, and users can analyze the validity of form changes based on the change evaluation results, thereby improving the effectiveness of form changes.
Smart Images

Figure CN120029658A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a form change management method, system, device and computer storage medium. Background Art
[0002] Currently, users can use forms to operate businesses, such as arranging, changing, and displaying businesses. However, after changing the form, due to the limited understanding of the business, users are unable to test the validity of the changed form and cannot ensure that the changed form still meets business requirements, resulting in reduced effectiveness of the form change.
[0003] In summary, how to improve the effectiveness of form changes is an urgent problem to be solved by those skilled in the art. Summary of the invention
[0004] The purpose of this application is to provide a form change management method, which can solve the technical problem of how to improve the effectiveness of form changes to a certain extent. This application also provides a form change management system, an electronic device and a computer-readable storage medium.
[0005] In order to achieve the above objectives, this application provides the following technical solutions:
[0006] A form change control method, comprising:
[0007] Determine the change information of the target form;
[0008] Collecting data on the impact of the change information on the business;
[0009] Extracting characteristic factors of the change information;
[0010] Transmitting the target form, the change information, the impact data and the characteristic factors to a pre-trained evaluation model so that the evaluation model performs change evaluation on the target form, wherein the evaluation model is built based on machine learning;
[0011] Receive the change evaluation result of the target form output by the evaluation model.
[0012] Preferably, the determination of the change information of the target form includes:
[0013] Determine the target form to be changed;
[0014] Capturing first change information of the target form through an event listener, and recording the first change information through an array;
[0015] The change information of the target form is determined based on the first change information.
[0016] Preferably, determining the change information of the target form based on the first change information includes:
[0017] Converting the target form before the change to a target format to obtain a first conversion result;
[0018] Converting the target form after the change to the target format to obtain a second conversion result;
[0019] Comparing the first conversion result with the second conversion result to obtain second change information of the target form;
[0020] The change information of the target form is determined according to the first change information and the second change information.
[0021] Preferably, after determining the change information of the target form, the method further includes:
[0022] The change information of the target form is marked.
[0023] Preferably, marking the change information of the target form includes:
[0024] Change the element wrapped by the form tag of the target form to a custom component;
[0025] Traverse the elements of the custom component to obtain the change node corresponding to the change information;
[0026] The changed node is cloned to obtain a cloned node, and a marking attribute is added to the cloned node.
[0027] Preferably, after adding the mark attribute to the cloned node, the method further includes:
[0028] For the elements of custom components, check whether the element is a subcomponent of function type;
[0029] If the element is a subcomponent of a function type, the subcomponent is triggered to execute the function to obtain a rendering result; the change information is passed to the subcomponent through a custom attribute, so that the subcomponent marks the change information according to the rendering result.
[0030] Preferably, the transmitting the target form, the change information, the impact data and the characteristic factor to a pre-trained evaluation model comprises:
[0031] The target form, the change information, the impact data and the characteristic factors are transmitted to a pre-trained evaluation model, wherein the evaluation model includes an artificial intelligence model based on a support vector machine or a neural network.
[0032] A form change management and control system, comprising:
[0033] A first determination module is used to determine the change information of the target form;
[0034] A first collection module is used to collect data on the impact of the change information on the business;
[0035] A first extraction module, used to extract characteristic factors of the change information;
[0036] A first transmission module is used to transmit the target form, the change information, the impact data and the characteristic factor to a pre-trained evaluation model so that the evaluation model performs change evaluation on the target form, and the evaluation model is built based on machine learning;
[0037] The first receiving module is used to receive the change evaluation result of the target form output by the evaluation model.
[0038] An electronic device, comprising:
[0039] Memory for storing computer programs;
[0040] A processor is used to implement the steps of any of the above-mentioned form change management methods when executing the computer program.
[0041] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned form change management and control methods are implemented.
[0042] The present application provides a form change control method, which determines the change information of the target form; collects the impact data of the change information on the business; extracts the characteristic factors of the change information; transmits the target form, change information, impact data and characteristic factors to a pre-trained evaluation model so that the evaluation model can perform change evaluation on the target form, and the evaluation model is built based on machine learning; and receives the change evaluation result of the target form output by the evaluation model. The present application builds an evaluation model for performing change evaluation on the target form based on machine learning. After that, the evaluation model can be used to process the change information of the target form, the impact data of the change information on the business and the characteristic factors of the change information to obtain the change evaluation result of the target form, thereby realizing automatic evaluation of the form change process, so that the user can analyze the effectiveness of the form change based on the change evaluation result, thereby improving the effectiveness of the form change. The form change control system, electronic device and computer-readable storage medium provided by the present application also solve corresponding technical problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0044] Figure 1 A flowchart of a form change management method provided in an embodiment of the present application;
[0045] Figure 2 This is a comparison diagram of the change information in JSON format;
[0046] Figure 3 A structural diagram of a form modification system provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0048] Figure 5 Another structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] See also Figure 1 , Figure 1 A flowchart of a form change management method provided in an embodiment of the present application.
[0051] A form change management method provided in an embodiment of the present application may include the following steps:
[0052] Step S101: Determine the change information of the target form.
[0053] In actual applications, the change information of the target form can be determined first. The type of the target form can be flexibly determined according to actual needs. For example, the target form can be a business plan form, statistical data form, task configuration, process canvas, data entry, etc. The change information can be determined based on the user's changes and edits to the target form. For example, the change information can include the change field name, change type and change content, etc. The change type can include adding, deleting, modifying different color marks, etc.
[0054] Step S102: Collect data on the impact of the change information on the business.
[0055] Step S103: extracting characteristic factors of the change information.
[0056] In actual applications, after the target form is changed, the change information will have an impact on the business. For example, changing the execution time in the target form will cause changes in the business execution time, and the characteristics of the change information itself will also determine the impact of the change information on the business. Therefore, it is necessary to collect the impact data of the change information on the business and extract the characteristic factors of the change information so that the target form can be evaluated for changes based on the impact data and characteristic factors.
[0057] It should be noted that the types of impact data and characteristic factors can be flexibly determined according to the application scenario. For example, the impact data may include the role of the changed content and the impact on the business, and the characteristic factors may include the change frequency, impact scope, risk level, etc. of the changed content.
[0058] Step S104: Transmit the target form, change information, impact data and characteristic factors to a pre-trained evaluation model so that the evaluation model performs change evaluation on the target form. The evaluation model is built based on machine learning.
[0059] Step S105: receiving the change evaluation result of the target form output by the evaluation model.
[0060] In practical applications, after obtaining the target form, change information, impact data and characteristic factors, the target form, change information, impact data and characteristic factors can be transmitted to the pre-trained evaluation model so that the evaluation model can perform change evaluation on the target form. Accordingly, it is only necessary to receive the change evaluation result of the target form output by the evaluation model. And the evaluation model in this application is built based on machine learning, such as the evaluation model can be an artificial intelligence model built based on a support vector machine or a neural network; in addition, the content of the change evaluation result can be flexibly set, such as the change evaluation result can include the degree of risk of impact on the business, etc. Of course, an intelligent judgment algorithm can also be set, and the change evaluation results and characteristic factors output by the evaluation model are processed by the intelligent judgment algorithm to obtain judgment information, etc., so that the user can more clearly manage the change of the target form according to the judgment information. Further, after obtaining the change evaluation result of the target form, it is also possible to detect whether the target form needs to be changed again according to the change evaluation result. If so, the user can be prompted to change the target form again, and continue to execute the method of this application until the target form does not need to be changed.
[0061] In practical applications, in the process of determining the change information of the target form, the target form to be changed can be determined; the first change information of the target form is captured through an event listener, and the first change information is recorded through an array (Set); and the change information of the target form is determined based on the first change information.
[0062] In a specific application scenario, in the process of determining the change information of the target form based on the first change information, the target form before the change can be converted to a target format to obtain a first conversion result; the target form after the change can be converted to a target format to obtain a second conversion result; the first conversion result and the second conversion result are compared to obtain the second change information of the target form. The target format can be determined according to actual needs. For example, the target format can be JSON, etc. At this time, the comparison process of the first conversion result and the second conversion result can be as follows: Figure 2 As shown; the change information of the target form is determined according to the first change information and the second change information, for example, when the first change information is consistent with the second change information, the first change information is determined to be the change information of the target form, for example, the change information of the target form is obtained by taking the intersection or union of the first change information or the second change information. Of course, in specific application scenarios, the change information of the target form can also be stored with the help of logs or databases for review and analysis at any time.
[0063] In actual applications, after the change information of the target form is determined, the change information of the target form may be marked to facilitate users to view the change information of the target form.
[0064] In a specific application scenario, in the process of marking the change information of the target form, the element wrapped by the form tag of the target form can be changed to a custom component; the elements of the custom component are traversed to obtain the change node corresponding to the change information; the change node is cloned to obtain the cloned node, and a marking attribute is added to the cloned node. After adding the marking attribute to the cloned node, for the elements of the custom component, it is also possible to detect whether the element is a subcomponent of a function type; if the element is a subcomponent of a function type, the subcomponent is triggered to execute the function to obtain the rendering result; the change information is passed to the subcomponent through the custom attribute, so that the subcomponent marks the change information according to the rendering result. After that, the mark can also be tested to ensure that the change information can be correctly marked in different scenarios.
[0065] To facilitate understanding of the process of marking the change information of the target form in this application, assuming that the form tag is the Form tag and the element is children, the element wrapped by the Form tag of the target form can be changed to a custom component; a recursive function is constructed, and the children of the custom component are traversed with the help of the recursive function to find the Form.Item or Form.List node that matches the specific name attribute as the change node; React.cloneElement is used to clone the change node to obtain the cloned node, and marking attributes such as border color are added to the cloned node; for the children of the custom component, detect whether the element is a subcomponent of the function type; if the element is a subcomponent of the function type, the subcomponent is triggered to execute the function to obtain the rendering result, and the change information is passed to the subcomponent through the custom attribute, so that the subcomponent marks the change information according to the rendering result.
[0066] The present application provides a form change control method, which determines the change information of a target form; collects data on the impact of the change information on the business; extracts characteristic factors of the change information; transmits the target form, change information, impact data and characteristic factors to a pre-trained evaluation model so that the evaluation model can perform change evaluation on the target form, and the evaluation model is built based on machine learning; and receives the change evaluation result of the target form output by the evaluation model. The present application builds an evaluation model for evaluating changes to a target form based on machine learning. After that, the evaluation model can be used to process the change information of the target form, the impact data of the change information on the business and the characteristic factors of the change information to obtain the change evaluation result of the target form, thereby realizing automatic evaluation of the form change process, so that users can analyze the effectiveness of the form change based on the change evaluation results, thereby improving the effectiveness of the form change.
[0067] See also Figure 3 , Figure 3 A structural diagram of a form change system provided in an embodiment of the present application.
[0068] A form change management system provided in an embodiment of the present application may include:
[0069] The first determination module 101 is used to determine the change information of the target form;
[0070] The first collection module 102 is used to collect data on the impact of change information on the business;
[0071] The first extraction module 103 is used to extract characteristic factors of the change information;
[0072] The first transmission module 104 is used to transmit the target form, change information, impact data and characteristic factors to a pre-trained evaluation model so that the evaluation model can perform change evaluation on the target form, and the evaluation model is built based on machine learning;
[0073] The first receiving module 105 is used to receive the change evaluation result of the target form output by the evaluation model.
[0074] In a form change management and control system provided in an embodiment of the present application, a first determination module may include:
[0075] A first determining unit, used for determining a target form to be changed;
[0076] A first capturing unit, used for capturing first change information of a target form through an event listener, and recording the first change information through an array;
[0077] The second determining unit is used to determine the change information of the target form based on the first change information.
[0078] In a form change management and control system provided by an embodiment of the present application, the second determination unit can be used to: convert the target form before the change to a target format to obtain a first conversion result; convert the target form after the change to a target format to obtain a second conversion result; compare the first conversion result and the second conversion result to obtain second change information of the target form; and determine the change information of the target form based on the first change information and the second change information.
[0079] A form change management and control system provided in an embodiment of the present application may also include:
[0080] The first marking module is used to mark the change information of the target form after the first determination module determines the change information of the target form.
[0081] In a form change management and control system provided in an embodiment of the present application, the first marking module may include:
[0082] The first changing unit is used to change the element wrapped by the form tag of the target form to a custom component;
[0083] The first traversal unit is used to traverse the elements of the custom component to obtain the change nodes corresponding to the change information;
[0084] The first adding unit is used to clone the changed node to obtain a cloned node, and add a marking attribute to the cloned node.
[0085] A form change management and control system provided in an embodiment of the present application may also include:
[0086] The first detection unit is used to detect whether the element of the custom component is a subcomponent of a function type after the first adding unit adds a marking attribute to the cloned node; if the element is a subcomponent of a function type, the subcomponent is triggered to execute the function to obtain a rendering result; and the change information is passed to the subcomponent through the custom attribute, so that the subcomponent marks the change information according to the rendering result.
[0087] In a form change management and control system provided in an embodiment of the present application, the first transmission module may include:
[0088] The first transmission unit is used to transmit the target form, change information, impact data and characteristic factors to a pre-trained evaluation model, and the evaluation model includes an artificial intelligence model based on a support vector machine or a neural network.
[0089] The present application also provides an electronic device and a computer-readable storage medium, both of which have the corresponding effects of the form change control method provided in the embodiment of the present application. Figure 4 , Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0090] An electronic device provided in an embodiment of the present application includes a memory 201 and a processor 202. The memory 201 stores a computer program. When the processor 202 executes the computer program, the steps of the form change management method described in any of the above embodiments are implemented.
[0091] See also Figure 5 , another electronic device provided in the embodiment of the present application may also include: an input port 203 connected to the processor 202, for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing results of the processor 202 to the outside; a communication module 205 connected to the processor 202, for realizing communication between the electronic device and the outside. The display unit 204 can be a display panel, a laser scanning display, etc.; the communication method adopted by the communication module 205 includes but is not limited to mobile high-definition link technology (Mobile High-Definition Link, MHL), Universal Serial Bus (Universal Serial Bus, USB), High-Definition Multimedia Interface (High-DefinitionMultimedia Interface, HDMI), wireless connection: wireless fidelity technology (WIreless Fidelity, WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, and communication technology based on IEEE802.11s.
[0092] An embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the form change management method described in any of the above embodiments are implemented.
[0093] The computer-readable storage medium involved in this application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs (Compact Disc Read-Only Memory), or any other form of storage medium known in the technical field.
[0094] For the description of the relevant parts of a form change control system, electronic device, and computer-readable storage medium provided in the embodiment of the present application, please refer to the detailed description of the corresponding parts in a form change control method provided in the embodiment of the present application, which will not be repeated here. In addition, the parts of the above technical solutions provided in the embodiment of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive elaboration.
[0095] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0096] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A form change management method, characterized in that: include: Determine the change information of the target form; Collecting data on the impact of the change information on the business; Extracting characteristic factors of the change information; Transmitting the target form, the change information, the impact data and the characteristic factors to a pre-trained evaluation model so that the evaluation model performs change evaluation on the target form, wherein the evaluation model is built based on machine learning; Receive the change evaluation result of the target form output by the evaluation model.
2. The method according to claim 1, characterized in that The change information of the determined target form includes: Determine the target form to be changed; Capturing first change information of the target form through an event listener, and recording the first change information through an array; The change information of the target form is determined based on the first change information.
3. The method according to claim 2, characterized in that The determining the change information of the target form based on the first change information includes: Converting the target form before the change to a target format to obtain a first conversion result; Converting the target form after the change to the target format to obtain a second conversion result; Comparing the first conversion result with the second conversion result to obtain second change information of the target form; The change information of the target form is determined according to the first change information and the second change information.
4. The method according to claim 1, characterized in that: After determining the change information of the target form, the method further includes: The change information of the target form is marked.
5. The method according to claim 4, characterized in that The marking of the change information of the target form includes: Change the element wrapped by the form tag of the target form to a custom component; Traverse the elements of the custom component to obtain the change node corresponding to the change information; The changed node is cloned to obtain a cloned node, and a marking attribute is added to the cloned node.
6. The method according to claim 5, characterized in that After adding the mark attribute to the cloned node, the method further includes: For the elements of custom components, check whether the element is a subcomponent of function type; If the element is a subcomponent of a function type, the subcomponent is triggered to execute the function to obtain a rendering result; the change information is passed to the subcomponent through a custom attribute, so that the subcomponent marks the change information according to the rendering result.
7. The method according to claim 1, characterized in that The transmitting the target form, the change information, the impact data and the characteristic factor to a pre-trained evaluation model includes: The target form, the change information, the impact data and the characteristic factors are transmitted to a pre-trained evaluation model, wherein the evaluation model includes an artificial intelligence model based on a support vector machine or a neural network.
8. A form change management and control system, characterized in that: include: A first determination module is used to determine the change information of the target form; A first collection module is used to collect data on the impact of the change information on the business; A first extraction module, used to extract characteristic factors of the change information; A first transmission module is used to transmit the target form, the change information, the impact data and the characteristic factor to a pre-trained evaluation model so that the evaluation model performs change evaluation on the target form, and the evaluation model is built based on machine learning; The first receiving module is used to receive the change evaluation result of the target form output by the evaluation model.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the form change management method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the form change management method according to any one of claims 1 to 7 are implemented.