Form filling method and device

Through the method of automatically filling in form items, the prediction model is used to determine the value of the form item to be filled based on the current value of the target form item, which solves the problem of tedious manual input and time waste when users fill in the form, and improves the efficiency of form filling.

CN113761850BActive Publication Date: 2024-10-18BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202011274813.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-13
Publication Date
2024-10-18
Estimated Expiration
2040-11-13

AI Technical Summary

Technical Problem

When filling out online forms and company internal forms, users need to spend a long time manually entering operations, which is cumbersome and time-consuming.

Method used

By determining the form items to be filled in the current form, and automatically filling in the input boxes of the form items to be filled based on the current value of the target form item and the trained prediction model, reducing the user's manual form filling operations.

Benefits of technology

Automatic filling of form items is realized, saving users time in filling out forms and improving form filling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113761850B_ABST
    Figure CN113761850B_ABST
Patent Text Reader

Abstract

This invention discloses a form filling method and apparatus, relating to the field of computer technology. One specific embodiment of the method includes: determining a form item to be filled in the current form; obtaining the current value of a target form item; wherein the target form item is associated with the form item to be filled; determining the current value of the form item to be filled based on the current value of the target form item and a trained prediction model of the form item to be filled; and filling the current value of the form item to be filled into the input box of the form item to be filled. This embodiment can reduce the amount of manual form filling by the user, saving the user's time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a form filling method and device. Background Art

[0002] With the development of technology, users often need to fill out various forms on the Internet. For example, when shopping online or submitting questions online, users are usually required to fill out many forms. Another example is that within a company, cross-departmental communication or transaction processing has gradually become online. When handling company business, users also need to fill out various forms such as business approval documents and cross-departmental work orders. In the process of filling out forms, users need to manually input operations over a long period of time, which is cumbersome and wastes users' precious time. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a form filling method and device, which can reduce the manual form filling operations of users and save the form filling time of users.

[0004] In a first aspect, an embodiment of the present invention provides a form filling method, comprising:

[0005] Determine the form items to be filled in the current form;

[0006] Obtaining a current value of a target form item; wherein the target form item is associated with the form item to be filled;

[0007] Determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled;

[0008] Fill the current value of the form item to be filled in the input box of the form item to be filled.

[0009] Optionally,

[0010] The step of determining the form items to be filled in the current form includes:

[0011] Determine whether a fill switch corresponding to the form item of the current form is turned on, and if so, determine that the form item is the form item to be filled.

[0012] Optionally,

[0013] Further including:

[0014] Obtaining historical values ​​of several form items; wherein the several form items are derived from several historical forms;

[0015] Integrate the historical values ​​of the plurality of form items into a feature wide table;

[0016] According to the pre-stored feature conversion rules, the data in the feature wide table is format converted;

[0017] The prediction model is trained according to the pre-specified form items to be filled in and the converted feature width table to obtain a training result; wherein the training result includes: a trained prediction model.

[0018] Optionally,

[0019] The training result also includes: influence values ​​of several other form items on the form item to be filled; wherein the influence value is used to represent the influence degree of the other form items on the form item to be filled;

[0020] The method further includes: determining, according to the influence value, a target form item associated with the to-be-filled form item from among the plurality of other form items.

[0021] Optionally,

[0022] The determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled includes:

[0023] According to the pre-stored feature conversion rules, the current value of the target form item is converted into a format;

[0024] Determining a link address of the prediction model in an online service;

[0025] The converted current value of the target form item is used as an input parameter to request the prediction service corresponding to the link address to obtain the current value of the form item to be filled.

[0026] Optionally,

[0027] The input box of the form item to be filled is a drop-down box;

[0028] The determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled includes:

[0029] Generate multiple predicted values ​​and probabilities of the form item to be filled according to the current value of the target form item and the prediction model of the form item to be filled;

[0030] The predicted value corresponding to the maximum probability is determined to be the current value of the form to be filled.

[0031] Optionally,

[0032] Further including:

[0033] For each of the predicted values: determining a position of the predicted value in the drop-down list of the drop-down box according to the probability of the predicted value;

[0034] The drop-down box is displayed according to the multiple predicted values ​​and their positions in the drop-down list.

[0035] In a second aspect, an embodiment of the present invention provides a form filling device, comprising:

[0036] A form item determination module, configured to determine the form items to be filled in the current form;

[0037] A current value acquisition module, configured to acquire a current value of a target form item; wherein the target form item is associated with the form item to be filled;

[0038] A prediction module, configured to determine the current value of the to-be-filled form item according to the current value of the target form item and the trained prediction model of the to-be-filled form item;

[0039] The input box filling module is configured to fill the current value of the form item to be filled into the input box of the form item to be filled.

[0040] In a third aspect, an embodiment of the present invention provides an electronic device, including:

[0041] one or more processors;

[0042] a storage device for storing one or more programs,

[0043] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any of the above embodiments.

[0044] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method described in any of the above embodiments.

[0045] One embodiment of the above invention has the following advantages or beneficial effects: according to the current value of the target form item and the prediction model of the form item to be filled, the current value of the form item to be filled is determined, and the current value of the form item to be filled is filled into the input box of the form item to be filled. The input box of the form item to be filled is automatically filled with the predicted current value of the form item to be filled, which can reduce the manual filling operation of the user and save the user's filling time.

[0046] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0048] Figure 1 is a schematic diagram of a process of a form filling method provided by an embodiment of the present invention;

[0049] Figure 2 It is a flowchart of a method for determining a target form item provided by an embodiment of the present invention;

[0050] Figure 3 is a schematic diagram of the process of another form filling method provided by an embodiment of the present invention;

[0051] Figure 4 is a schematic diagram of the framework structure of an intelligent form filling system provided by an embodiment of the present invention;

[0052] Figure 5 is a schematic diagram of a process of another form filling method provided by an embodiment of the present invention;

[0053] Figure 6 is a schematic diagram of an offline training process provided by an embodiment of the present invention;

[0054] Figure 7 It is a structural schematic diagram of a feature engineering system of the present invention;

[0055] Figure 8 is a schematic diagram of the framework structure of another intelligent form filling system provided by an embodiment of the present invention;

[0056] Fig. 9 is a structural schematic diagram of a form filling device provided by an embodiment of the present invention;

[0057] Fig.10 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0058] Fig.11 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0060] The embodiment of the present invention provides a form filling method, such as Figure 1 As shown, including:

[0061] Step 101: Determine the form items to be filled in the current form.

[0062] The current form is a form that the user needs to fill in. The current form may include several form items to be filled in. The input boxes of the form items to be filled in may include: text boxes, check boxes, radio buttons, drop-down boxes, etc. The form items to be filled in the current form can be predicted and filled in by the method of the embodiment of the present invention.

[0063] Step 102: Acquire the current value of the target form item; wherein the target form item is associated with the form item to be filled.

[0064] The target form item is a form item associated with the form item to be filled. The value of the form item to be filled can be predicted based on the value of the target form item. The target form item can be one or more. The target form item can be from the same form as the form item to be filled, or from a different form.

[0065] For example, the current form is a user's shopping wish list, which is used to store items that the user likes and wants to buy. The wish text box is a form item to be filled in the shopping wish list, and the user can fill several items that he likes into several wish text boxes. The user ID can be used as a keyword to associate the form items corresponding to the user's several behavior information from the user's browsed item information table, the user's order information table, and the user's favorite item information table, and the form items corresponding to the several behavior information are used as target form items.

[0066] Step 103: Determine the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled.

[0067] The prediction model is a model that takes the current value of the target form item as input and the predicted value of the form item to be filled as output. If there are multiple form items to be filled in the current form, multiple prediction models can be set for each form item to be filled, or a multi-objective joint model can be set for multiple form items to be filled. Prediction models may include: regression prediction model, time prediction model, etc.

[0068] Step 104: Fill the current value of the form item to be filled into the input box of the form item to be filled.

[0069] The method of the embodiment of the present invention determines the current value of the form item to be filled in according to the current value of the target form item and the prediction model of the form item to be filled in, and fills the current value of the form item to be filled in the input box of the form item to be filled in. The embodiment of the present application can automatically fill in the input box of the form item to be filled in, without the user having to manually fill in the form item to be filled in. Therefore, the method of the embodiment of the present invention can solve the problem that the user's form filling operation is cumbersome and wastes time.

[0070] In one embodiment of the present invention, determining the form items to be filled in the current form includes:

[0071] It is determined whether a fill switch corresponding to a form item of the current form is turned on, and if so, the form item is determined to be a form item to be filled.

[0072] When the fill switch is turned on, the system will call the method of the embodiment of the present invention to automatically fill the form items to be filled in the current form. When the fill switch is turned off, the system will not call the method of the embodiment of the present invention to fill the form items to be filled in the current form, but the user will fill them in by himself.

[0073] The actual value filled by the user for the form item to be filled is obtained; if the deviation between the actual value of the form item to be filled and the current value of the form item to be filled exceeds a first deviation threshold, the filling switch corresponding to the form item of the current form is set to a closed state.

[0074] The first deviation threshold can be set according to specific needs. If the actual value filled in by the user deviates greatly from the current value predicted by the system, it means that the prediction result of the current prediction model may not be accurate enough, and the prediction model needs to be further iterated to enhance the accuracy of the system prediction result. At this time, the filling switch of the form item to be filled can be set to the off state to avoid improper influence on the subsequent user filling process due to inaccurate prediction results.

[0075] Obtaining the actual value filled by the user for the form item to be filled; if the deviation between the actual value of the form item to be filled and the current value of the form item to be filled exceeds a second deviation threshold, saving the form data; wherein the form data includes: the current value of the target form item and the actual value of the form item to be filled; the form data is used to train the prediction model.

[0076] The second deviation threshold can be set according to specific needs. If the actual value filled in by the user deviates greatly from the current value predicted by the system, it means that the prediction result of the current prediction model may not be accurate enough and the prediction model needs to be further iterated. Recording and saving form data with large deviations for subsequent prediction model training can make the prediction results of the trained prediction model more accurate.

[0077] In one embodiment of the present invention, the method further comprises:

[0078] Get the historical values ​​of several form items; wherein several form items are from several historical forms;

[0079] Integrate the historical values ​​of several form items into a feature wide table;

[0080] According to the pre-stored feature conversion rules, the data in the feature wide table is converted into a format;

[0081] The prediction model is trained according to the pre-specified form items to be filled and the converted feature wide table to obtain a training result; wherein the training result includes: a trained prediction model.

[0082] The embodiment of the present invention provides a method for training a prediction model. First, each related table is integrated into a feature wide table. Since the feature wide table includes different data from multiple tables, the model training using the feature wide table can improve the efficiency of iterative calculation during the prediction model training process.

[0083] Secondly, perform feature conversion on each field in the feature wide table so that the converted field can be recognized by the prediction model. For example, if the prediction model can only recognize input parameters in digital form, the fields in the feature wide table can be converted in the following way:

[0084] For discrete fields: the original value will be encoded as 1, 2, 3, etc., and the original value should correspond to the encoded value. The encoded value can be used as a unique identifier for the original value. For example: the possible values ​​of the gender feature are: male and female, then male can be encoded as 1 and female can be encoded as 2.

[0085] For text fields: first segment the words, then obtain the word vectors corresponding to each word, and finally calculate the average of the vectors of all segmented words as the feature value of the text field. For example, "I want to return the goods", after segmentation, this sentence = {"I", "want", "return"}, "I" corresponds to the word vector [0.5, 0.3, ....], "want" corresponds to [0.2, 0.3, ...], "return" corresponds to [0.2, 0.9, ...]. Calculate the average of the vectors of all segmented words, and the feature value of the text field is [0.3, 0.5, ...].

[0086] Finally, the prediction model is trained according to the converted feature width table to obtain a trained prediction model.

[0087] In addition, feature conversion rules can be stored in the feature outline instead of hard-coding them in the code. The feature conversion rules can be directly obtained through the feature outline in later model iterations and processing of raw data during online services. The feature outline can decouple online service engineering and model services.

[0088] In one embodiment of the present invention, determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled includes:

[0089] According to the pre-stored feature conversion rules, the current value of the target form item is converted into a format;

[0090] Determine the link address of the prediction model in the online service;

[0091] The current value of the converted target form item is used as an input parameter to request the prediction service corresponding to the link address to obtain the current value of the form item to be filled.

[0092] The current value of the converted target form item is used as an input parameter, and the link address of the prediction model in the online service is used to request a prediction service based on the prediction model. The embodiment of the present invention provides a convenient and effective method for filling a form using a prediction model.

[0093] In addition, the feature conversion rules and the link addresses of the prediction model in the online service can be saved in the model outline without being hard-coded in the code, which can decouple the modules and facilitate the construction and subsequent maintenance of the entire system.

[0094] The embodiment of the present invention provides a method for determining a target form item, such as Figure 2 As shown, including:

[0095] Step 201: Obtain historical values ​​of a number of form items; wherein the number of form items are derived from a number of historical forms.

[0096] Step 202: Integrate historical values ​​of several form items into a feature wide table.

[0097] Step 203: According to the pre-stored feature conversion rules, the data in the feature wide table is format converted.

[0098] Step 204: Train the prediction model according to the pre-specified form items to be filled and the converted feature width table to obtain training results; wherein the training results include: influence values ​​of several other form items on the form items to be filled; wherein the influence values ​​are used to characterize the influence degree of other form items on the form items to be filled.

[0099] Step 205: Determine a target form item associated with the form item to be filled in from among a number of other form items according to the impact value.

[0100] The target form items associated with the form items to be filled can be determined in a variety of ways according to the impact value. An impact threshold can be set, and the form items corresponding to the impact values ​​higher than the impact threshold are all determined as target form items. The number of target form items can also be set, such as 5, 8, etc. The other form items are sorted by the impact value, and then the number of other form items before the target form item is selected from the sorted form items as the target form items.

[0101] In the embodiment of the present invention, the influence value of other form items on the form items to be filled is obtained according to the training results, and then other form items with greater influence on the form items to be filled are selected as target form items according to the influence value. In the subsequent prediction process, it is only necessary to input the value of the target form item into the prediction model without obtaining the values ​​of all form items in the feature wide table. Therefore, the method of the embodiment of the present invention can not only more accurately predict the form items to be filled, but also speed up the prediction process of the prediction model.

[0102] Figure 3 FIG. 1 is a flow chart of another form filling method provided by another embodiment of the present invention. Figure 3 As shown, the method includes:

[0103] Step 301: determine the form item to be filled in the current form; wherein the input box of the form item to be filled in is a drop-down box.

[0104] Step 302: Obtain the current value of the target form item; wherein the target form item is associated with the form item to be filled.

[0105] Step 303: Generate multiple predicted values ​​and probabilities of the form items to be filled in according to the current value of the target form item and the prediction model of the form items to be filled in.

[0106] Step 304: Determine the predicted value corresponding to the maximum probability as the current value of the form to be filled in.

[0107] Step 305: Fill the current value of the form item to be filled into the input box of the form item to be filled.

[0108] The method of the embodiment of the present invention, when the input box of the form item to be filled is a drop-down box, uses the predicted value with the highest probability as the current value of the form to be filled, and fills it into the drop-down box to be filled, so that the predicted value filled in the drop-down box has a higher accuracy.

[0109] In one embodiment of the present invention, the method further comprises:

[0110] For each predicted value: determine the position of the predicted value in the drop-down list of the drop-down box according to the probability of the predicted value;

[0111] Display a drop-down box based on multiple predicted values ​​and their positions in the drop-down list.

[0112] The greater the probability of a predicted value, the greater the probability that the user will select the predicted value as the input value of the drop-down box. Therefore, the predicted value with a greater probability can be arranged in a front position in the drop-down box to facilitate user selection.

[0113] The solution of the embodiment of the present invention aims to provide a learning mechanism, using the classification algorithm in machine learning to learn the past form filling situation and fill in the form items to be filled in. The following is an example of the form items to be filled in being the following boxes.

[0114] In the method of the embodiment of the present invention, the extraction history may affect the target form items to be filled in the form items to be filled in, and the target form items may include: form type, form filler, form entry, etc. Among them, the form type may include: problem consultation, approval document, problem document, etc.; the form entry may include: telephone customer service workbench, after-sales workbench, spare parts warehouse workbench, etc. If the form to be filled is related to the order, then order-related form items, orderer-related form items, etc. can also be taken. Characterization processing is performed on the relevant form items to predict the optimal default value of a drop-down box. The solution of the embodiment of the present invention can increase the proportion of intelligent filling, reduce effort, improve the efficiency of form filling, reduce manual configuration, and also provide continuous automatic learning capabilities.

[0115] Figure 4 FIG. 1 is a schematic diagram of the framework structure of an intelligent form filling system provided by an embodiment of the present invention. Figure 4 As shown, the intelligent form filling system includes: a model calculation layer, a data service layer and a system application layer.

[0116] Model computing layer: Focus on offline learning, analyze and count feature values; collect offline data, perform data cleaning, and establish feature engineering; use classification models and continuously train models; and output the final model results.

[0117] Data service layer: focuses on real-time applications, obtains real-time data of various feature values ​​required by the model; processes real-time data and stores and manages it; calls the algorithm API (Application Programming Interface) to receive model results.

[0118] System application layer: A call switch is configured in the system. When the call switch is turned on, the intelligent form filling system is used to fill the form; the model results are called in the form of an interface; when monitoring finds that the prediction deviation is large, service degradation can be performed at any time to ensure stable and available system applications. Service degradation processing is used to stop the application of the form filling system and enable the traditional list solution.

[0119] The system realizes a complete system for unmanned form filling by abstracting three layers with single responsibilities, including offline learning, real-time application and business rule management. Figure 5 FIG. 1 is a schematic diagram of a process of another form filling method provided by an embodiment of the present invention. Figure 5 As shown, the specific technical solution includes the main process and the big data model calculation process. The main process steps are as follows:

[0120] S1: Create a form application: Get the form that the user needs to fill in and the form items to be filled in.

[0121] S2: Determine whether a fill switch corresponding to a form item of the current form is turned on, and if so, determine that the form item is a form item to be filled.

[0122] According to the preset switch, it is confirmed whether each form item to be filled needs to call the form filling method of the embodiment of the present invention.

[0123] S3: Determine the form items to be filled in the current form.

[0124] S4: Obtain the current value of the target form item; wherein the target form item is associated with the form item to be filled.

[0125] S5: Determine the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled.

[0126] This step determines the current value of the form item to be filled in through model prediction. The step of model prediction is the core of the embodiment of the present invention. Model prediction includes offline training and online service.

[0127] Figure 6 FIG. 1 is a schematic diagram of an offline training process provided by an embodiment of the present invention. Figure 6 As shown, the offline training flow includes: model calculation includes offline training and online service.

[0128] S51: Offline data processing: Collect relevant data tables in the big data mart, analyze offline, integrate the required features into feature wide tables, and provide them to the subsequent links. The above offline data processing tasks are updated regularly.

[0129] S52: Feature Engineering: Clean and process relevant features, such as form type, form filler, form entry. If it is related to the order, then you can also take order-related features and orderer-related features such as form, normalization, missing values, etc. In addition, write the feature conversion rules to the feature outline cache.

[0130] Figure 7 Schematic diagram of a feature engineering system of the present invention. Figure 7 As shown, the discrete features and text features are converted separately to generate digital codes that can be recognized by the prediction model.

[0131] S53: Model training: The algorithm here is to complete the classification task of the default value of the drop-down box, and train a multi-classification model according to the drop-down options. If there are multiple drop-down boxes, generate multiple multi-classification models or multi-target joint models respectively, and output model files.

[0132] S54: Model iteration: Here, the model iteration task can be run on a scheduled basis or based on user or system commands. The model iteration process continuously iterates and updates the model to improve the model effect.

[0133] Online service deployment involves the following 4 steps:

[0134] S55: Model deployment: The model files generated by offline training are packaged through the project and deployed as online services, and the model service URL (Uniform Resource Locator), model version and other information are written into the model outline cache.

[0135] S56: Real-time data collection: Call multiple interfaces or data storage to obtain all the data required by the model.

[0136] S57: Feature conversion: Convert the original features of the real-time request into the format required by the model through the conversion rules specified by the feature outline.

[0137] S58: Model prediction: parse the configuration and parameters generated by the model training results, request the model service URL specified by the feature outline according to the prediction function and real-time conversion features, and request the prediction service to obtain the predicted value.

[0138] S6: Obtain input information confirmed by the user. Generally, the model cannot provide completely correct filling. The user needs to confirm whether the filling is correct. If there is an error, it can be manually re-filled.

[0139] S7: Fill the current value of the form item to be filled into the input box of the form item to be filled in. Create and submit the completed form.

[0140] S8: Model iteration: For erroneous data, the system records it and automatically feeds it back to the model training phase at a regular interval. The model is iterated and corrected to improve the model effect.

[0141] Figure 8 FIG. 1 is a schematic diagram of the framework structure of another intelligent form filling system provided by an embodiment of the present invention. Figure 8 As shown in the figure, the system stores information such as the URL of the model service, the model version number, and the feature conversion rule dictionary used in the feature engineering process in the feature outline. The online service converts the original features according to the feature conversion rules in the feature outline, obtains the URL of the model service through the feature outline, calls the prediction service, and fills in the fields to be filled.

[0142] The prediction function is a prediction method corresponding to the prediction model. The converted features are used as input parameters of the prediction function, and the prediction function is called to predict the category. The embodiment of the present invention can use the xdeepFM model.

[0143] The feature outline is a collection of model-specific metadata. The feature outline can be generated by feature engineering and model deployment and saved in the cache server. The feature conversion module converts the original features according to the feature outline, rather than hard-coding the conversion rules in the code. After the model is iterated later and features are added, deleted, or modified, the metadata is directly updated to the feature outline cache, avoiding modification and restart of the feature conversion module. The outline plays a role in decoupling online service engineering and model service.

[0144] like Fig. 9 As shown, an embodiment of the present invention provides a form filling device, comprising:

[0145] The form item determination module 901 is configured to determine the form items to be filled in the current form;

[0146] The current value acquisition module 902 is configured to acquire the current value of the target form item; wherein the target form item is associated with the form item to be filled;

[0147] Prediction module 903, configured to determine the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled;

[0148] The input box filling module 904 is configured to fill the current value of the form item to be filled into the input box of the form item to be filled.

[0149] In one embodiment of the present invention, the form item determination module 901 is specifically configured as follows:

[0150] It is determined whether a fill switch corresponding to a form item of the current form is turned on, and if so, the form item is determined to be a form item to be filled.

[0151] In one embodiment of the present invention, the prediction module 903 is configured to obtain historical values ​​of a number of form items; wherein the number of form items are derived from a number of historical forms;

[0152] Integrate the historical values ​​of several form items into a feature wide table;

[0153] According to the pre-stored feature conversion rules, the data in the feature wide table is converted into a format;

[0154] The prediction model is trained according to the pre-specified form items to be filled and the converted feature wide table to obtain a training result; wherein the training result includes: a trained prediction model.

[0155] In one embodiment of the present invention, the training result also includes: influence values ​​of several other form items on the form item to be filled in; wherein the influence values ​​are used to represent the influence degree of other form items on the form item to be filled in;

[0156] It further includes: a prediction module 903, configured to determine a target form item associated with the to-be-filled form item from among a number of other form items according to the influence value.

[0157] In one embodiment of the present invention, the prediction module 903 is specifically configured as follows:

[0158] According to the pre-stored feature conversion rules, the current value of the target form item is converted into a format;

[0159] Determine the link address of the prediction model in the online service;

[0160] The current value of the converted target form item is used as an input parameter to request the prediction service corresponding to the link address to obtain the current value of the form item to be filled.

[0161] In one embodiment of the present invention, the input box for the form item to be filled is a drop-down box;

[0162] The prediction module 903 is specifically configured to: generate multiple predicted values ​​and probabilities of the form items to be filled in according to the current value of the target form item and the prediction model of the form items to be filled in;

[0163] Determine the predicted value corresponding to the maximum probability as the current value of the form to be filled.

[0164] In one embodiment of the present invention, the prediction module 903 is configured to: for each predicted value, determine the position of the predicted value in the drop-down list of the drop-down box according to the probability of the predicted value;

[0165] Display a drop-down box based on multiple predicted values ​​and their positions in the drop-down list.

[0166] An embodiment of the present invention provides an electronic device, including:

[0167] one or more processors;

[0168] a storage device for storing one or more programs,

[0169] When one or more programs are executed by one or more processors, the one or more processors implement the method of any of the above embodiments.

[0170] Fig.10 An exemplary system architecture 1000 is shown to which the abnormal behavior identification method or abnormal behavior identification device according to the embodiment of the present invention can be applied.

[0171] like Fig.10 As shown, the system architecture 1000 may include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0172] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 through network 1004 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1001, 1002, 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, office applications, etc. (only examples).

[0173] The terminal devices 1001 , 1002 , and 1003 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0174] The server 1005 may be a server that provides various services, such as a background management server (for example only) that supports shopping websites or internal management systems of company departments that users browse using terminal devices 1001, 1002, and 1003. The background management server may obtain a form that the user needs to fill in; determine the current value of the form item to be filled in according to the current value of the target form item and the trained prediction model of the form item to be filled in; fill the current value of the form item to be filled in the input box of the form item to be filled in, and feed the filled form back to the terminal device.

[0175] It should be noted that the method for processing the notification trigger message provided in the embodiment of the present invention is generally executed by the server 1005 , and accordingly, the form filling device for the item is generally set in the server 1005 .

[0176] It should be understood that Fig.10 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0177] Reference below Fig.11 , which shows a schematic diagram of the structure of a computer system 1100 of a terminal device suitable for implementing an embodiment of the present invention. Fig.11 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0178] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the system 1100 are also stored. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0179] The following components are connected to the I / O interface 1105: an input section 1109 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage section 1108 as needed.

[0180] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, the above-mentioned functions defined in the system of the present invention are executed.

[0181] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0182] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0183] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be set in a processor. For example, they may be described as: a processor includes a sending module, an acquisition module, a determination module, and a first processing module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the sending module may also be described as a "module for sending a picture acquisition request to the connected server."

[0184] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0185] Determine the form items to be filled in the current form;

[0186] Obtaining a current value of a target form item; wherein the target form item is associated with the form item to be filled;

[0187] Determine the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled;

[0188] Fill the current value of the form item to be filled in the input box of the form item to be filled.

[0189] According to the technical solution of the embodiment of the present invention, the current value of the form item to be filled is determined according to the current value of the target form item and the prediction model of the form item to be filled, and the current value of the form item to be filled is filled into the input box of the form item to be filled. The embodiment of the present application automatically fills the input box of the form item to be filled with the predicted current value of the form item to be filled, which can reduce the input operation of the user filling in the form and save the user's time in filling in the form.

[0190] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A form filling method, characterized in that: include: Determine the form items to be filled in the current form; Obtaining a current value of a target form item; wherein the target form item is associated with the form item to be filled; Determine the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled; Fill the current value of the form item to be filled in the input box of the form item to be filled; The form filling method further comprises: According to the influence values ​​of several other form items included in the training results corresponding to the prediction model on the form item to be filled, a target form item associated with the form item to be filled is determined from the several other form items, wherein the influence value is used to characterize the degree of influence of the other form items on the form item to be filled.

2. The method according to claim 1, characterized in that The step of determining the form items to be filled in the current form includes: It is determined whether a filling switch corresponding to the form item of the current form is turned on, and if so, the form item is determined to be the form item to be filled.

3. The method according to claim 1, characterized in that Further including: Obtaining historical values ​​of several form items; wherein the several form items are derived from several historical forms; Integrate the historical values ​​of the plurality of form items into a feature wide table; According to the pre-stored feature conversion rules, the data in the feature wide table is format converted; The prediction model is trained according to the pre-specified form items to be filled in and the converted feature width table to obtain a training result; wherein the training result includes: a trained prediction model.

4. The method according to claim 1, characterized in that: The determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled includes: According to the pre-stored feature conversion rules, the current value of the target form item is converted into a format; Determining a link address of the prediction model in an online service; The converted current value of the target form item is used as an input parameter to request the prediction service corresponding to the link address to obtain the current value of the form item to be filled.

5. The method according to claim 1, characterized in that The input box of the form item to be filled is a drop-down box; The determining the current value of the form item to be filled according to the current value of the target form item and the trained prediction model of the form item to be filled includes: Generate multiple predicted values ​​and probabilities of the form item to be filled according to the current value of the target form item and the prediction model of the form item to be filled; The predicted value corresponding to the maximum probability is determined to be the current value of the form to be filled.

6. The method according to claim 5, characterized in that Further including: For each of the predicted values: determining a position of the predicted value in the drop-down list of the drop-down box according to the probability of the predicted value; The drop-down box is displayed according to the multiple predicted values ​​and their positions in the drop-down list.

7. A form filling device, characterized in that: include: A form item determination module, configured to determine the form items to be filled in the current form; A current value acquisition module, configured to acquire a current value of a target form item; wherein the target form item is associated with the form item to be filled; A prediction module, configured to determine the current value of the to-be-filled form item according to the current value of the target form item and the trained prediction model of the to-be-filled form item; An input box filling module, configured to fill the current value of the form item to be filled into the input box of the form item to be filled; The prediction module is further configured to determine a target form item associated with the form item to be filled in among several other form items according to influence values ​​of several other form items included in the training results corresponding to the prediction model on the form item to be filled, wherein the influence value is used to characterize the degree of influence of the other form items on the form item to be filled.

8. An electronic device, characterized in that: include: one or more processors; a 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 according to any one of claims 1 to 6.

9. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Form-filling method and device

    CN104834996A

  • Format form auto-filling method, device, compute device and storage medium

    CN109308350A

  • Menu display method and device, computer equipment and storage medium

    CN109814779A

  • Intelligent correction method for Chinese form

    CN111046663A

  • Electronic medical record report table automatic input method, electronic medical record report table automatic input device and related equipment

    CN111128330A