Form filling method, device, equipment and medium
By identifying key fields in the target interface and obtaining matching target scenario forms, automatic form filling in multiple application scenarios is realized, which solves the problems of narrow application range and inconvenient operation of form filling solutions in the existing technology, and improves efficiency and applicability. sex.
Patent Information
- Application Number
- CN202011628649.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-30
AI Technical Summary
The existing form automatic filling solution only supports a single application, resulting in users still having to manually fill in other applications. The scope of application is narrow, and the operation is not simple enough.
By identifying key fields in the target interface, obtaining the matching target scenario form, and automatically filling in the corresponding information, the usage scenarios and applicable scope of form filling are expanded, and automatic filling in multiple application scenarios is supported.
It reduces the user's manual filling operations, improves the efficiency of form filling, expands the applicable scope of automatic filling, is suitable for a variety of application scenarios, and simplifies the user operation process.
Smart Images

Figure CN112765944B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and specifically relates to a form filling method, device, equipment and medium. Background Art
[0002] With the development of electronic devices, many functions have been transferred online. Therefore, when using electronic devices, users often need to fill in various forms. Since the information filled in many forms is often repeated, such as personal information, in order to reduce the user's workload of filling in forms, many related solutions for automatic form filling have been proposed.
[0003] However, current form filling solutions usually only support form filling in a single application. For example, the information saved in an express application is only supported when querying express order numbers or filling in express forms. The usage scenario is single, which means that users still need to fill in forms manually when filling in other applications, and the scope of application is narrow. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a form filling method, device, equipment and medium, which can solve the problem that the use scenario of the automatic form filling function is single and the application scope is narrow.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a form filling method, the method comprising:
[0007] In the case of displaying a target interface, according to a key field of the target interface, a target scenario form matching the key field is acquired; the target scenario form includes a target form field matching the key field and target form information corresponding to the target form field;
[0008] The target form information in the target scenario form is filled into the input area corresponding to the key field.
[0009] In a second aspect, an embodiment of the present application provides a form filling device, the device comprising:
[0010] A scenario determination module, used to obtain a target scenario form matching the key field according to the key field of the target interface when displaying the target interface; the target scenario form includes a target form field matching the key field and target form information corresponding to the target form field;
[0011] The first filling module is used to fill the target form information in the target scenario form into the input area corresponding to the key field.
[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0014] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0015] In the embodiment of the present application, in the process of filling in the form of the target interface, the target scenario form that matches the key field can be selected according to the key field in the target interface, and then the form information in the target scenario form is automatically filled into the corresponding input area in the target interface, thereby reducing the manual filling operation of the user. In this embodiment, as long as the target interface can match the target scenario form, the above method can be used for automatic form filling, and it is not limited to a single application, thus expanding the use scenario of the form filling solution and having a wider range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flowchart of a form filling method provided in an embodiment of the present application;
[0017] Figure 2 is a schematic diagram of an automatic filling setting menu provided in an embodiment of the present application;
[0018] Figure 3 is a schematic diagram of an icon of an automatic filling function control provided in an embodiment of the present application;
[0019] Figure 4 This is a schematic diagram of an editing interface provided in an embodiment of the present application;
[0020] Figure 5 This is a schematic diagram of a filling interface provided in an embodiment of the present application;
[0021] Figure 6 is a structural schematic diagram of a form filling device provided in an embodiment of the present application;
[0022] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] 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 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.
[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0025] As mentioned in the background technology, filling in a form and submitting information is a common operation, and the content of the form is often common personal information, so filling in a form is a repetitive task, especially when multiple forms need to be submitted or submission fails, and the form needs to be filled in repeatedly. The filling efficiency is not high and it is easy to make users feel bored. Therefore, a method is needed to improve the efficiency of form filling.
[0026] The current technical solutions for automatic form filling have the following defects: On the one hand, some software supports the function of automatically filling forms, such as quick software, but it can only be used in the same or similar software, and the recorded form information cannot be filled in forms in other software. On the other hand, these solutions require first copying and pasting a section of form information into a specified text box before parsing and subsequent filling. If the record in the clipboard is overwritten, it needs to be copied again, which is not easy to operate.
[0027] In order to solve the above technical problems, the embodiment of the present application provides a form filling method. The form filling method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings. Figure 1 , Figure 1 : is a flowchart of a form filling method provided in an embodiment of the present application; the method comprises:
[0028] S110, when the target interface is displayed, according to the key fields of the target interface, a target scenario form matching the key fields is obtained.
[0029] Among them, the key fields here are used to find the target scenario form that is suitable for meeting the target, so as to achieve the purpose of automatic filling. Therefore, in order to ensure the accuracy of filling. The key fields here mainly include the form fields corresponding to the input area in the target interface. For example, the target interface requires the user to enter name information, then the key fields include "name". In addition, the key fields may be all form fields in the target interface, or they may be part of the form fields in the target interface. For example, the key fields may be the form fields corresponding to the unfilled input area in the target interface. This application does not limit the specific content contained in the key fields.
[0030] The target scenario form refers to a preset scenario form including form information corresponding to key fields. The target interface can be automatically filled in through the form information in the target scenario form, thereby reducing the user's manual filling operation. Among them, the target scenario form includes target form fields matching the key fields and target form information corresponding to the target form fields.
[0031] S120, filling the target form information in the target scenario form into the input area corresponding to the key field.
[0032] Since the target scenario form matches the key field, it can only indicate that the target scenario form includes the form information corresponding to the key field. Therefore, the input area corresponding to the key field can only be filled according to the target scenario form. Among them, if the key field includes all the form fields in the target interface, then after completing the above steps, the target interface can be automatically filled in. If the key field only includes some of the form fields in the target interface, then after completing the above steps, there may still be blank input areas.
[0033] In the embodiment of the present application, in the process of filling in the form of the target interface, the target scenario form that matches the key field can be selected according to the key field in the target interface, and then the form information in the target scenario form is automatically filled into the corresponding input area in the target interface, thereby reducing the manual filling operation of the user. In this embodiment, as long as the target interface can match the target scenario form, the above method can be used for automatic form filling, and it is not limited to a single application, thus expanding the use scenario of the form filling solution and having a wider range of applications.
[0034] In order to implement the solution of the present application, it is necessary to generate and save the pre-stored scenario form in advance. In some embodiments of the present application, before the above S110, it may also include:
[0035] Generate a pre-stored full form and a pre-stored scenario form; the pre-stored scenario form includes key-value pairs under the pre-stored scenario; the pre-stored full form includes the key-value pairs included in all pre-stored scenario forms; the key-value pairs include form fields and their corresponding form information.
[0036] In this embodiment, pre-stored scenario forms for various pre-stored scenarios and pre-stored full forms including all scenario information are generated in advance, and multiple key-value pairs are recorded in the pre-stored scenario forms and the pre-stored full forms. The key-value pairs include form fields and their corresponding form information, which are the data sources for subsequent form filling. In this embodiment, two information forms are set up, so that when the pre-stored scenario form cannot meet the subsequent form filling requirements, the pre-stored full form can also be used for filling, thereby ensuring the reliability of form filling. Of course, in some embodiments, only the pre-stored scenario form can be generated, and this application does not limit this.
[0037] Among them, the pre-stored scenario form may include a primary scenario form and a secondary scenario form contained therein. Different scenario forms may be created arbitrarily according to user needs. The following are some examples of scenario form applications:
[0038] 1. Registration scenario form: Many websites and applications require account registration. The form that needs to be filled out when registering an account is the registration scenario form. Since some scenarios require formal account information, such as local government websites, and some scenarios do not require formal user information, two secondary scenario forms such as formal accounts and informal accounts can be created under the registration scenario form. In addition, in order to distinguish the application or website corresponding to the registration scenario form, the registration scenario form can set notes, including the corresponding link address or application name, etc.
[0039] 2. Login scenario form: Many websites and applications require account login. The form that needs to be filled out when logging in is the login scenario form. Since users may confuse the passwords corresponding to their accounts after registering multiple accounts in multiple places, creating a login scenario form can facilitate quick login in the future. Among them, you can manually add the account and password when creating the login scenario form. Alternatively, you can use the registration scenario form to generate a login scenario form corresponding to the same application or website.
[0040] 3. Shopping scenario form: Generally, shopping applications will save the user's delivery information, but sometimes you need to fill in the delivery information when shopping on the web. Based on this, you can create a shopping scenario form and create secondary scenario forms for different consignees or delivery addresses, so as to manage different consignees and addresses separately.
[0041] 4. Resume scenario form: In the job search process, different resume information is often required for different companies, positions and job search stages, but these resume information contain a lot of the same content, such as personal information, etc. Therefore, in order to facilitate the quick creation of resumes later, a resume scenario form can be pre-set, including various information that may be included in the resume.
[0042] 5. Evaluation scenario form: After the user confirms receipt, completes training, or accepts a questionnaire, they may need to provide ratings and comments. Therefore, you can set up an evaluation scenario form and set up secondary scenario forms such as good reviews, medium reviews, and bad reviews.
[0043] In addition, the user can generate the information form through a variety of editing methods. In some embodiments, generating a pre-stored scenario form may include at least one of the following implementation methods:
[0044] In one implementation, when a user's selection input for a first key-value pair in a pre-stored full form is received, a pre-stored scenario form is generated according to the first key-value pair.
[0045] The implementation method is to use the key-value pairs saved in the pre-stored full form, select the required key-value pairs from them to form a new pre-stored scenario form. For example, select the key-value pairs corresponding to the form fields such as name, ID number, address, mobile phone number, etc. from the pre-stored full form to form a registration scenario form.
[0046] In another implementation, when a user's selection input for a second key-value pair in the generated first target pre-stored scenario list is received, a pre-stored scenario list is generated according to the second key-value pair.
[0047] The implementation method is to utilize the key-value pairs in other already generated pre-stored scenario forms, select the required key-value pairs from them to form a new pre-stored scenario form. For example, from the already generated registration scenario form and shopping scenario form, obtain all the user's personal information, and generate a resume scenario form, etc.
[0048] In another implementation, when a trigger input to a text recognition control is received from the user, a paste field in the text box and a form field corresponding to the text box are parsed, and a pre-stored scenario form is generated according to the paste field and the form field corresponding to the text box.
[0049] In this implementation, when the user selects text recognition, text parsing technology, such as text parsing technology of express delivery software, can be used to automatically parse the information pasted into the text box and the fields corresponding to the text box, and then use the parsed key-value pairs to generate a new pre-stored scenario form.
[0050] In another implementation, when a trigger input from the user to the page identification control is received, the third key-value pair in the current page is identified, a pre-stored scene form corresponding to the current page is generated based on the third key-value pair, and the link and keywords of the current page are used as comment information of the pre-stored scene form of the current page.
[0051] In this implementation, when the user chooses to trigger the page identification control, the third key-value pair in the current page will be automatically identified through the page parsing technology, thereby generating a new pre-stored scene form. The page parsing technology here may include image recognition technology or semantic analysis technology. In addition, the implementation also saves information such as page links and keywords as remark information, which is associated with the pre-stored scene form, so as to facilitate subsequent scene identification based on the remark information.
[0052] In another implementation, when a selection input of a target text by the user is received, a fourth key-value pair in the target text is identified, and a pre-stored scenario form is generated according to the fourth key-value pair.
[0053] In this implementation, the user can select a piece of text, and use text recognition technology to identify the fourth key-value pair contained in the text, thereby generating a new pre-stored scene form. Among them, the selection input may include long press input, or dragging to form a selection box, and all text in the box will be selected. This application does not limit the specific type of selection input.
[0054] In another implementation, when the user's selection input for the target application is received, the fifth key-value pair included in the target application is parsed, a pre-stored scenario form corresponding to the target application is generated based on the fifth key-value pair, and the characteristic information of the target application is used as comment information of the pre-stored scenario form corresponding to the target application.
[0055] In this implementation, some applications will save some form information such as delivery contact information. Users can directly select the application or drag the application to a specified location. A prompt box will then pop up to prompt the user whether to authorize reading the application's internal content. If the user's authorization input is received, the key-value pairs stored in the application will be parsed to generate a pre-stored scene form, and the relevant information of the application will be saved as remark information to facilitate subsequent scene recognition.
[0056] By editing and creating the pre-stored scene form through the above embodiments, the user does not need to manually input the key-value pair when generating the pre-stored scene form, which simplifies the user's operation process and improves the user's convenience. In addition, through the above implementation method, the scene corresponding to the created pre-stored scene form can also be enriched, and the corresponding pre-stored scene form can be found for matching in various subsequent scenes as much as possible.
[0057] Of course, in another embodiment, the user can also manually edit the pre-stored scene form, that is, when receiving the user's trigger input for the manual editing control, the edit box is displayed; the key-value pair entered by the user in the edit box is received; and a new pre-stored scene form is generated according to the key-value pair entered by the user.
[0058] In addition, since some form information may change frequently, such as weather, time, etc., based on this, in other embodiments, the method may also include:
[0059] The form information contained in the target key-value pair in the pre-stored full form and the pre-stored scene form is updated according to the network information; the form field in the target key-value pair includes any of the following: time, weather.
[0060] In this embodiment, the information stored in the pre-stored full form and the pre-stored scene form that will change in real time, such as time, weather, etc., can be updated in real time using network information, thereby ensuring the accuracy of the information stored in the pre-stored full form and the pre-stored scene form. In addition, in addition to time and weather, other information stored in the pre-stored full form and the pre-stored scene form that will change with time or location can also be updated according to network information in the above manner.
[0061] In some embodiments of the present application, the above S110 may include:
[0062] Identify key fields in the target interface;
[0063] Match the key fields with the fields contained in each pre-stored scenario form;
[0064] The pre-stored scenario form with the highest matching degree is used as the target scenario form; wherein the highest matching degree includes any one of the following items: the fields included have the highest similarity with the key fields, and the number of fields included that are the same as the key fields is the largest.
[0065] Among them, the highest similarity refers to calculating the similarity between the key field and the fields in each pre-stored scenario form, and selecting the pre-stored scenario form with the highest similarity as the target scenario form. Due to the software version, or the problem of the electronic device model, even if it is the same form to be filled, the form fields it contains may be different. For example, for the login interface of the same express software, the form field of the old version may be the account name. The form field of the new version may be a personal account, etc.
[0066] The aforementioned maximum number of identical fields refers to comparing the key fields with the fields contained in each pre-stored scenario form, determining the number of fields in each pre-stored scenario form that are identical to the key fields, and selecting the pre-stored scenario form with the highest number as the target scenario form. For example, the target interface is the login interface of the express software, and the pre-stored scenario form is the form previously saved for logging into the same express software. Therefore, the target interface will have exactly the same form fields as the pre-stored scenario form. Therefore, at this time, the pre-stored scenario form has the largest number of fields that are identical to the key fields. Then, the login interface of the express software is automatically filled in according to the pre-stored scenario form, which can achieve the purpose of automatically filling in the form.
[0067] In addition, when selecting a target scenario form, if the preset scenario form includes a primary scenario form and a secondary scenario form, the primary target scenario form will be identified first using the key fields, and then the key fields will be used to identify the secondary target scenario form from each secondary scenario form corresponding to the primary target scenario form. The above target scenario form is the secondary target scenario form. For example, the forms corresponding to the registration scenario and the shopping scenario will include different form fields. The registration scenario will have two more fields, namely, password and confirmation password, relative to the shopping scenario. Therefore, the key fields of the current target interface can be compared to prioritize the primary target scenario form corresponding to the target interface as the shopping scenario form. Afterwards, for the secondary scenario forms under the shopping scenario form, the Taobao delivery form has the highest match with the current target interface, and the target scenario form will be identified as shopping-Taobao.
[0068] In this embodiment, the key fields in the target interface are matched with the fields contained in the pre-stored scenario form. The information contained in the pre-stored scenario form mainly includes form fields and their corresponding form information. If the key fields are the same as the fields contained in the pre-stored scenario form, it means that the key fields are the same as the form fields or form information contained in the pre-stored scenario form. Both of these situations can reflect that the target interface matches the pre-stored scenario form.
[0069] The form information in the aforementioned embodiment of the present application may include at least one of the following: text information, image information, and video information. That is, the form may be filled with not only text information, but also image information and video information, such as photos, emoticons, etc.
[0070] In some other embodiments of the present application, the above S110 may include:
[0071] Identify key fields of the target interface, where the key fields include a first link address corresponding to the target interface and a first keyword included in the target interface;
[0072] Matching the key field with the remark information of each pre-stored scenario form, where the remark information includes a second link address corresponding to the pre-stored scenario form and a second keyword included in the pre-stored scenario form;
[0073] The successfully matched pre-stored scenario form is used as the target scenario form; wherein the successful match includes that the first link address matches the second link address and the first keyword matches the second keyword.
[0074] In this embodiment, in addition to the first keyword contained in the target interface, the first link address corresponding to the target interface is also identified. For the browser interface or application interface. The links corresponding to these interfaces can reflect the source and some features of the interface, because if the first link address matches the second link address contained in the preset scene form. It is likely to indicate that the preset scene form matches the target interface. For example, the user has previously registered on the Transportation Bureau webpage and saved the registration Transportation Bureau scene form, and also generated a login Transportation Bureau scene form, and the remark information of these two preset scene forms contains the information of the Transportation Bureau webpage, so when jumping to the Transportation Bureau webpage login interface next time, it will be determined that the current target interface matches the login Transportation Bureau scene form based on the matching result of the previously saved remark information and the key field in the target interface, so the information in the previously saved login Transportation Bureau scene form is automatically filled in. In this embodiment, in addition to the key field, this implementation uses the link address to screen the target scene form, and the matching of multiple conditions can further ensure the accuracy of the target scene form. In addition, in other embodiments, the key field may also only include the first link address, and subsequently the preset scenario form corresponding to the second link address matching the first link address is used as the target scenario form.
[0075] In some further embodiments of the present application, the above S110 may include:
[0076] Receive the filter conditions entered by the user;
[0077] Filter the pre-stored scene form according to the filtering conditions to obtain the filtering scene form;
[0078] According to the key fields of the target interface, determine the target scenario form that matches the key fields in the screening scenario form.
[0079] In this embodiment, some selection components are added, such as a time selection component, a region selection component, etc. The user can first enter his own screening conditions through these selection components to perform a preliminary screening of the pre-stored scenario forms, thereby reducing the amount of data in the subsequent key field comparison process and improving the efficiency of target scenario form confirmation. The above-mentioned selection component can be in the form of an input box, and the user can directly enter his own screening conditions in the input box, or the selection component can be in the form of a button, and the user can select his own screening conditions by triggering the button, or the selection component can also be displayed in the form of a drop-down menu. This application does not specifically express the form and type of screening conditions contained in the selection component.
[0080] In some embodiments, the setting interface of the electronic device may include an auto-fill setting, and the auto-fill setting menu may include a scene recognition control, etc. Figure 2 As shown, Figure 2 It is a schematic diagram of an automatic filling setting menu provided in an embodiment of the present application. When the scene recognition control is turned on, key field recognition and target scene form matching operations can be performed on the target interface subsequently.
[0081] Since the pre-stored scenario form and the pre-stored full form usually contain the user's private information, such as ID number, account password, etc. Based on this, in some embodiments, after S110 and before S120, the following may also be included:
[0082] If a target password is set in the target scene form, a password input window is displayed.
[0083] Receive the password information entered by the user in the password input window.
[0084] Accordingly, the above S120 may include:
[0085] When the password information matches the target password, the form information in the target scenario form is filled into the corresponding input area in the target interface.
[0086] In this embodiment, corresponding passwords are pre-set for the pre-stored scenario form and the pre-stored full form. When the target interface matches the target scenario form, the user is required to enter the correct password information to complete the verification. After the verification is passed, the information in the target scenario form is filled into the target interface. This method can prevent others from using the user's mobile phone to steal the private information in the target scenario form, thereby improving the security of the user's private information. Among them, the passwords set for the pre-stored scenario form and the pre-stored full form can be a string password or a fingerprint password, etc. In addition, the password can also include a string password and a fingerprint password at the same time, and either of the two can be verified. Of course, this application does not limit the type of password.
[0087] In addition, see Figure 2 As shown, the automatic fill setting menu of the electronic device can also be provided with function controls such as password hiding and fingerprint verification. When the password hiding control is turned on, the password information entered by the user will be hidden and displayed subsequently; when the fingerprint verification control is turned on, the user can perform fingerprint verification on the target scene form.
[0088] In some other embodiments, after S120, the method may further include:
[0089] The option controls of each pre-stored scene form are displayed in a first manner, and the option controls of the target scene form are displayed in a second manner; the first manner is different from the second manner.
[0090] Since the above-mentioned process of selecting the target scene form is performed by the electronic device in the background. Therefore, the user can only directly view the target interface after filling in the target scene form, but does not know which target scene form is selected. Therefore, in order to facilitate the user to understand, this embodiment also displays each pre-stored scene form, and distinguishes the target scene form from other pre-stored scene forms through different display methods, so that the user can intuitively determine the currently selected target scene form, thereby improving the convenience of the user. For example, the first method here may be to display the option control through a white background button, and the second method may be to display the option control through a blue background button; or the first method and the second method may also be to display the content of the option control through a color font, etc. The present application does not limit the specific content of the first method and the second method.
[0091] Since the target scenario form obtained by matching the key fields may not be the scenario form that the user wants to select, based on this, in a further embodiment, after S120, the method may further include:
[0092] receiving a first input of a user to an option control of a first pre-stored scenario form; the first pre-stored scenario form is different from the target scenario form;
[0093] In response to the first input, the form information in the first pre-stored scenario form is used to replace the information filled in the target interface.
[0094] In this embodiment, each pre-stored scene form is provided with a corresponding option control, and the user can make a first input to the option control of the pre-stored scene form. For example, the first input can be a click input, so that when the selected list does not meet the user's expectations, the user can manually select other scene forms to fill in the target interface, thereby ensuring the accuracy of form filling and user experience.
[0095] As mentioned above, there may be a blank input area in the target interface. Based on this, in some other embodiments, after S120, the method may further include:
[0096] When there is a blank input area in the target interface, the blank input area is filled with information in the pre-stored full form that matches the form field corresponding to the blank input area; wherein the pre-stored full form includes form information in all pre-stored scenario forms.
[0097] In this embodiment, a pre-stored full form is pre-set in the electronic device, and the pre-stored full form stores the form information in all pre-stored scenario forms. When the current target interface still has a blank input area after the target scenario form is filled, the pre-stored full form automatically selects the information with the highest matching degree with the form field in the blank input area to fill in. This automatic supplementation method further reduces the workload of the user during the form filling process, and also ensures the integrity of the form filling.
[0098] Among them, pre-storing the full form can be set or not, and this application does not limit this.
[0099] In other embodiments, when there is a blank input area, the user can also fill it manually. Optionally, a menu control can be set for each input area. When there is a blank input area, the user can click the menu control and select an optional information in the displayed target menu to fill in the blank input area. Optionally, a priority semi-automatic filling control can also be set in the auto-fill setting menu, such as Figure 2 As shown, when the user turns on the priority semi-automatic filling control, the user fills the blank input area by manual input or target menu selection. When the user turns off the priority semi-automatic filling control, full automatic filling is used, that is, the method of using the preset full form to fill the blank input area in the above embodiment. This application does not limit which method is used.
[0100] During the form filling process, for target interfaces with too many fields or easily confused fields, the parsing will increase the complexity of word segmentation and matching, and the automatic filling will easily result in slow matching and inaccurate matching. For example, the ID card number and the certificate number are generally filled in, but if the form field of the target interface also includes the driver's license number, the ID card number in the target scenario form may also be filled in the input area corresponding to the driver's license number. In addition, fields such as address and email address are also easily confused.
[0101] Based on this, in some embodiments of the present application, after S120, the method may further include:
[0102] When the input information in the first input area in the target interface does not match the form field corresponding to the first input area, a first prompt corresponding to the first input area is output; the first prompt is used to prompt the user that there is an input error in the first input area.
[0103] In this embodiment, if a filling error occurs, for example, the ID number and age filled in the target interface do not match, the number of digits in the mobile phone number or zip code is incorrect, the format of the mailbox is incorrect, the user and the mobile phone number do not match correctly, etc., then the first prompt corresponding to the input area with the filling error will be output. Optionally, the first prompt can be implemented by displaying a prompt message or a voice prompt. For example, the first prompt can display a red box on the first input area with the filling error, or can output information such as "address filling error" by voice. This application does not limit the specific form of the first prompt. This method enables users to promptly discover the incorrectly filled input area and then make corrections, thereby ensuring the accuracy of form filling.
[0104] In some other embodiments, in order to facilitate the user to correct the error, after S120, the method may further include:
[0105] receiving a second input from the user into the first input area;
[0106] In response to the second input, the form information in the pre-stored full form that matches the form field corresponding to the first input area is filled into the first input area.
[0107] In this embodiment, the user can make a second input to the first input area with an input error, for example, the second input can be a double-click input, etc. The purpose of the second input is to inform the electronic device user to select an automatic error correction scheme. When the second input is received, the electronic device will automatically fill in the form information that matches the form field corresponding to the first input area in the pre-stored full form, thereby automatically correcting the incorrectly filled information in the first input area, and achieving the purpose of automatic error correction. This method does not require the user to manually input information, further improving the accuracy of form filling and the convenience of the user when using it.
[0108] In some other embodiments, in addition to the above-mentioned automatic error correction scheme, a semi-automatic error correction scheme may also be included. After S120, the method may further include:
[0109] A third input from the user to the menu control corresponding to the first input area is received. For example, the third input may include a single-click input to the menu control.
[0110] In response to the third input, a target menu is displayed; wherein the target menu includes at least one optional information and a selection control corresponding to each optional information, and the optional information is form information pre-stored in the full form and matching the form field corresponding to the first input area.
[0111] A fourth input from the user to the target selection control is received, such as the fourth input may include a single-click input to the target selection control.
[0112] In response to the fourth input, the target optional information corresponding to the target selection control is filled into the first input area.
[0113] In this embodiment, each input area is respectively provided with a corresponding menu control. When the user believes that the information in the first input area is filled in incorrectly and needs to be re-filled, the third input can be used to trigger the display of the target menu, which can be displayed in the form of a drop-down menu or a floating window. Afterwards, the user can fill the target optional information into the first input area by selecting the target selection control corresponding to the target optional information. In this way, the user does not need to manually input information, which improves the convenience of the user; at the same time, the target optional information is selected by the user independently, thereby ensuring that the information filled in meets the needs of the user, thereby ensuring the accuracy of the form filling. Of course, the present application does not limit the specific types of the third input and the fourth input.
[0114] Among them, in order to facilitate users to select the desired target optional information, the optional information displayed in the target menu can be sorted according to the frequency of use and the customized method, so that some frequently used optional information is sorted first, thereby improving the convenience of users in selecting optional information.
[0115] In addition, in some other embodiments, the user can also manually correct the first input area with input errors, that is, receive the form information input by the user in the first input area, and directly fill the form information into the first input area, thereby achieving the purpose of manual error correction.
[0116] Optional, see Figure 2 As shown, an automatic error correction control can also be set in the auto-fill setting menu. When the automatic error correction control is turned on, the user can correct errors according to the second input or menu control. When the automatic error correction control is turned off, the user can only use manual error correction.
[0117] In some forms, users may be required to fill in comments, reviews and suggestions, such as shopping evaluation forms, etc. In this case, users need to think for a while before filling in the form, which is inconvenient. Based on this, in some embodiments of the present application, after S120, the following steps may also be included:
[0118] A fifth input from the user to the comment generation control corresponding to the second input area is received; for example, a click input to the comment generation control.
[0119] In response to the fifth input, review sentences to be selected are displayed; the review sentences to be selected may include multiple sentences.
[0120] A sixth input of the user on the target sentence in the to-be-selected comment sentence is received, such as a drag input or a double-click input on the target sentence.
[0121] In response to the sixth input, the target sentence is filled into the comment input area in the target interface; the comment sentence to be selected is generated by the electronic device or the network based on the target scenario form.
[0122] In this embodiment, if the information to be filled in is a subjective comment, the comment generation control can be triggered to display the selected comment sentences generated based on the current target scenario form, wherein the selected comment sentences can be currently generated based on the target scenario form locally or on the network, or can be pre-generated based on the target scenario form. In this case, the user only needs to directly select the selected comment sentence, and there is no need to conceive and fill in the comment sentence, which improves the convenience of the user.
[0123] After the form is filled out, it is necessary to submit the form. Therefore, in some embodiments, after S120, it may also include: submitting the form information in the target interface.
[0124] Among them, the form information in the above-mentioned submission target interface may include any of the following implementation methods.
[0125] In one implementation, when the seventh input of the user to the submit control is received, the form information in the target interface is submitted.
[0126] That is, a submit control, such as a submit button, is provided in the target interface. After the user triggers the submit control, the form information in the target interface can be directly submitted. This manual submission method is suitable for some forms that are submitted immediately.
[0127] In another implementation, when the target scenario form is associated with a timed submission function or an eighth input to the first timed submission control is received from the user, a time input window is displayed;
[0128] A first submission time input by a user in a time input window is received, and when the first submission time is reached, the form information in the target interface is submitted.
[0129] In this implementation, when creating a target scenario form, the user can set whether the target scenario form needs to be associated with a timed submission function. If the user chooses to associate with the timed submission function, when it is detected that the form information in the target interface has been filled in, a time input window will pop up, and the user can enter the desired time in the time input window, so that the form information is automatically submitted when the first submission time is reached. Among them, the above-mentioned detection that the form information in the target interface has been filled in can include that all input areas in the target interface are filled in with correct information, or the user's confirmation input for the completion control is received. In addition, after the user triggers the first timed submission control displayed in the target interface, it indicates that the user wants to set the submission time independently, so a time input window pops up for the user to select the submission time. In this way, for some scenarios that require delayed submission, such as scenarios where the user wants to verify the filled content again after a period of time before submitting, the purpose of delayed submission can be achieved, thereby enriching the user's submission method.
[0130] In another implementation, when the user's ninth input to the second timed submission control is received, the second submission time included in the target interface is parsed, and when the second submission time is reached, the form information in the target interface is submitted.
[0131] In this embodiment, a second timed submission control is provided in the target interface. When the user triggers the second timed submission control, it indicates that the user wants to use the timed time information contained in the target interface as the submission time. For example, the rush purchase activity page includes information such as "rush purchase starts at 18:00". In this case, the information of the target interface is valid at 18:00. Therefore, by parsing the target page, the timed time information contained in the target interface is used as the second submission time, and then the second submission time is set to 18:00. When it reaches 18:00, the form information in the target interface is submitted. This method eliminates the need for users to manually set the time and can ensure that the form information is submitted at the appropriate time, thereby improving user convenience.
[0132] In addition, when it is detected that the target interface includes timing time information, the first timing submission control in the target interface can be automatically converted into the second timing submission control.
[0133] In another implementation, when the submit function corresponding to the target interface is not enabled, polling is performed to detect whether the submit function is enabled. When the submit function is enabled, the form information in the target interface is submitted.
[0134] Because in some scenarios, the target interface can only be submitted within a fixed time period, for example, if the target interface is a limited-time rush purchase interface, the limited-time rush purchase button can only be triggered during the rush purchase period. Based on this, in this implementation, when the submission function is not turned on, polling will be performed over and over again to detect whether the submission function is turned on. The polling method can be to send a submission request until the submission function is turned on and the submission is successful. This method ensures that for some scenarios where form information needs to be submitted on time at a certain time point to increase the success rate, the form information can be submitted as punctually as possible, avoiding delays caused by user reactions, and improving the success rate of the rush purchase.
[0135] In addition, in other embodiments, after submitting the form information in the target interface, the following steps may also be included:
[0136] Update the pre-stored full form and target scenario form according to the form information in the target interface.
[0137] This method enables the saved pre-stored full form and pre-stored scene form to be updated after each form filling, thereby ensuring the comprehensiveness and real-time nature of the key-value pair data in the pre-stored full form and pre-stored scene form as much as possible.
[0138] In one or more embodiments, the electronic device may be provided with an auto-fill function control, such as Figure 3 As shown, Figure 3 is a schematic diagram of an icon of an automatic filling function control provided in an embodiment of the present application, Figure 3 The last icon in the figure is the icon of the auto-fill function control. When the user needs to edit the form, he can choose to trigger the auto-fill function control, and then click the edit button to enter the editing interface, such as Figure 4 As shown, Figure 4 is a schematic diagram of an editing interface provided by an embodiment of the present application. In the editing interface, the user can use the method provided by the aforementioned embodiment to create a pre-stored scenario form. When the user needs to fill in the form, he can choose to trigger the automatic fill function control, and then enter the fill interface by clicking the fill button, such as Figure 5 As shown, Figure 5 This is a schematic diagram of a filling interface provided in an embodiment of the present application. In the filling interface, operations such as selecting a target scenario form, generating comments, filling in information, and submitting can be performed.
[0139] It should be noted that the form filling method provided in the embodiment of the present application can be executed by a form filling device, or a control module in the form filling device for executing the method for loading form filling. In the embodiment of the present application, the form filling method provided in the embodiment of the present application is explained by taking the form filling device executing the method for loading form filling as an example.
[0140] Based on the same inventive concept as the aforementioned method embodiment, the present application embodiment also provides a form filling device, see Figure 6 As shown, Figure 6 : is a structural diagram of a form filling device provided in an embodiment of the present application, the device comprising:
[0141] The scenario determination module 210 is used to obtain a target scenario form matching the key field according to the key field of the target interface when the target interface is displayed; the target scenario form includes the target form field matching the key field and the target form information corresponding to the target form field;
[0142] The first filling module 220 is used to fill the target form information in the target scenario form into the input area corresponding to the key field.
[0143] In the embodiment of the present application, in the process of filling in the form of the target interface, the target scenario form that matches the key field can be selected according to the key field in the target interface, and then the form information in the target scenario form is automatically filled into the corresponding input area in the target interface, thereby reducing the manual filling operation of the user. In this embodiment, as long as the target interface can match the target scenario form, the above method can be used for automatic form filling, and it is not limited to a single application, thus expanding the use scenario of the form filling solution and having a wider range of applications.
[0144] In some embodiments of the present application, the scene determination module 210 may include:
[0145] A first identification unit, used to identify key fields in the target interface;
[0146] The first matching unit is used to match the key fields with the fields contained in each pre-stored scenario form; the pre-stored scenario form with the highest matching degree is used as the target scenario form; wherein the highest matching degree includes any one of the following items: the fields contained have the highest similarity with the key fields, and the number of fields contained that are the same as the key fields is the largest.
[0147] In this embodiment, the key fields in the target interface are matched with the fields contained in the pre-stored scenario form. The information contained in the pre-stored scenario form mainly includes form fields and their corresponding form information. If the key fields are the same as the fields contained in the pre-stored scenario form, it means that the key fields are the same as the form fields or form information contained in the pre-stored scenario form. Both of these situations can reflect that the target interface matches the pre-stored scenario form.
[0148] In some other embodiments of the present application, the scene determination module 210 may include:
[0149] A second identification unit is used to identify a key field of a target interface, where the key field includes a first link address corresponding to the target interface and a first keyword included in the target interface;
[0150] The second matching unit is used to match the key fields with the remark information of each pre-stored scenario form, the remark information including the second link address corresponding to the pre-stored scenario form and the second keyword contained in the pre-stored scenario form; the successfully matched pre-stored scenario form is used as the target scenario form; wherein a successful match includes that the first link address matches the second link address and the first keyword matches the second keyword.
[0151] In this embodiment, in addition to the key field, the link address is used to screen the target scenario form, and the matching of multiple conditions can further ensure the accuracy of the target scenario form. In addition, in other embodiments, the key field may also only include the first link address, and the preset scenario form corresponding to the second link address matching the first link address is subsequently used as the target scenario form.
[0152] In some further embodiments of the present application, the scene determination module 210 may include:
[0153] A condition receiving unit, used for receiving screening conditions input by a user;
[0154] A screening unit, used to screen the pre-stored scenario forms according to the screening conditions to obtain a screening scenario form;
[0155] The form determination unit is used to determine the target scenario form matching the key field in the screening scenario form according to the key field of the target interface.
[0156] In this embodiment, some selection components are added, such as time selection components, region selection components, etc. Users can first enter their own screening conditions through these selection components to perform preliminary screening of pre-stored scenario forms, thereby reducing the amount of data in the subsequent key field comparison process and improving the efficiency of target scenario form confirmation.
[0157] In some other embodiments, the form filling device 200 may further include:
[0158] The first display module is used to display the option controls of each pre-stored scene form in a first manner, and to display the option controls of the target scene form in a second manner; the first manner is different from the second manner.
[0159] In order to facilitate the user's understanding, this embodiment also displays various pre-stored scene forms, and distinguishes the target scene form from other pre-stored scene forms through different display methods, so that the user can intuitively determine the currently selected target scene form, thereby improving user convenience.
[0160] In a further embodiment, the form filling device 200 may further include:
[0161] A first receiving module is used to receive a first input of a user to an option control of a first pre-stored scenario form; the first pre-stored scenario form is different from the target scenario form;
[0162] The replacement module is used to replace the information filled in the target interface with the form information in the first pre-stored scenario form in response to the first input.
[0163] In this embodiment, each pre-stored scene form is provided with a corresponding option control, and the user can make a first input to the option control of the pre-stored scene form. For example, the first input can be a click input, so that when the selected list does not meet the user's expectations, the user can manually select other scene forms to fill in the target interface, thereby ensuring the accuracy of form filling and user experience.
[0164] In some other embodiments, the form filling device 200 may further include:
[0165] The second filling module is used to fill the blank input area with information matching the form field corresponding to the blank input area in the pre-stored full form when there is a blank input area in the target interface; wherein the pre-stored full form includes the form information in all pre-stored scenario forms.
[0166] In this embodiment, a pre-stored full form is pre-set in the electronic device, and the pre-stored full form stores the form information in all pre-stored scenario forms. When the current target interface still has a blank input area after the target scenario form is filled, the pre-stored full form automatically selects the information with the highest matching degree with the form field in the blank input area to fill in. This automatic supplementation method further reduces the workload of the user during the form filling process, and also ensures the integrity of the form filling.
[0167] In some embodiments of the present application, the form filling device 200 may further include:
[0168] The prompt module is used to output a first prompt corresponding to the first input area in the target interface when the input information in the first input area does not match the form field corresponding to the first input area; the first prompt is used to prompt the user that there is an input error in the first input area.
[0169] This method allows users to promptly discover incorrectly filled input areas and make corrections, ensuring the accuracy of form filling.
[0170] In some other embodiments, the form filling device 200 may further include:
[0171] A second receiving module, used for receiving a second input of the user to the first input area;
[0172] The third filling module is used to fill the first input area with the form information that matches the form field corresponding to the first input area in the pre-stored full form in response to the second input.
[0173] In this embodiment, the user can make a second input to the first input area with an input error. The purpose of the second input is to inform the electronic device user to select an automatic error correction scheme. When the second input is received, the electronic device will automatically fill in the form information that matches the form field corresponding to the first input area in the pre-stored full form, thereby automatically correcting the incorrectly filled information in the first input area, achieving the purpose of automatic error correction. This method does not require the user to manually input information, further improving the accuracy of form filling and the convenience of the user when using it.
[0174] In some other embodiments, the form filling device 200 may further include:
[0175] A third receiving module, used to receive a third input from the user to the menu control corresponding to the first input area;
[0176] A second display module is used to display a target menu in response to a third input; wherein the target menu includes at least one optional information and a selection control corresponding to each optional information, and the optional information is form information pre-stored in the full form and matching the form field corresponding to the first input area;
[0177] A fourth receiving module, used for receiving a fourth input of the user to the target selection control;
[0178] The fourth filling module is used to fill the target optional information corresponding to the target selection control into the first input area in response to the fourth input.
[0179] In this embodiment, each input area is respectively provided with a corresponding menu control. When the user believes that the information in the first input area is filled in incorrectly and needs to be re-filled, the third input can be used to trigger the display of the target menu, which can be displayed in the form of a drop-down menu or a floating window. Afterwards, the user can fill the target optional information into the first input area by selecting the target selection control corresponding to the target optional information. In this way, the user does not need to manually input information, which improves the convenience of the user; at the same time, the target optional information is selected by the user independently, thereby ensuring that the information filled in meets the needs of the user, thereby ensuring the accuracy of the form filling. Of course, the present application does not limit the specific types of the third input and the fourth input.
[0180] In some embodiments of the present application, the form filling device 200 may further include:
[0181] A fifth receiving module, used for receiving a fifth input of the user to the comment generation control corresponding to the second input area;
[0182] A third display module, configured to display a comment statement to be selected in response to a fifth input;
[0183] A sixth receiving module, used for receiving a sixth input from a user regarding a target sentence in the review sentence to be selected;
[0184] The fifth filling module is used to fill the target sentence into the comment input area in the target interface in response to the sixth input; the comment sentence to be selected is generated by the electronic device or the network based on the target scenario form.
[0185] In this case, the user only needs to directly select a comment statement to be selected, and there is no need to conceive and fill in the comment statement, which improves user convenience.
[0186] In some embodiments, the form filling device 200 may further include:
[0187] The submission module is used to submit the form information in the target interface.
[0188] Optionally, the submission module may include at least one of the following:
[0189] The first submitting unit is used to submit the form information in the target interface when receiving the seventh input of the user to the submit control. This manual submission method is suitable for some forms that are submitted immediately.
[0190] The second submission unit is used to display a time input window when the target scenario form is associated with a timed submission function or receives the eighth input of the user to the first timed submission control, receive the first submission time input by the user in the time input window, and submit the form information in the target interface when the first submission time is reached. This method enables the purpose of delayed submission to be achieved for some scenarios that require delayed submission, thereby enriching the user's submission methods.
[0191] The third submission unit is used to parse the second submission time contained in the target interface when receiving the ninth input of the user to the second timed submission control, and submit the form information in the target interface when the second submission time is reached. This method does not require the user to manually set the time, and can ensure that the form information is submitted at an appropriate time, thereby improving user convenience.
[0192] The fourth submission unit is used to poll and detect whether the submission function is enabled when the submission function corresponding to the target interface is not enabled, and submit the form information in the target interface when the submission function is enabled. This method ensures that in some scenarios where form information needs to be submitted on time at a certain point in time to increase the success rate, the form information can be submitted as punctually as possible, avoiding delays caused by user reactions and improving the success rate of the rush purchase.
[0193] In some embodiments, the form filling device 200 may further include:
[0194] The first form generation module is used to generate a pre-stored full form; the pre-stored full form includes key-value pairs included in all pre-stored scenario forms; the key-value pairs include form fields and their corresponding form information;
[0195] The second form generating module is used to generate a pre-stored scenario form; the pre-stored scenario form includes key-value pairs under the pre-stored scenario.
[0196] In this embodiment, pre-stored scenario forms for various pre-stored scenarios and pre-stored full forms including all scenario information are generated in advance, and multiple key-value pairs are recorded in the pre-stored scenario forms and the pre-stored full forms. The key-value pairs include form fields and their corresponding form information, which are the data sources for subsequent form filling. In this embodiment, two information forms are set up, so that when the pre-stored scenario form cannot meet the subsequent form filling requirements, the pre-stored full form can also be used for filling, thereby ensuring the reliability of form filling. Of course, in some embodiments, only the pre-stored scenario form can be generated, and this application does not limit this.
[0197] In some embodiments, the second form generating module may include at least one of the following:
[0198] A first generating unit, configured to generate a pre-stored scenario form according to the first key-value pair when receiving a selection input of a user for a first key-value pair in a pre-stored full form;
[0199] A second generating unit, configured to generate a pre-stored scenario form according to the second key-value pair when receiving a user's selection input of a second key-value pair in the generated first target pre-stored scenario form;
[0200] The third generating unit is used to parse the paste field in the text box and the form field corresponding to the text box when receiving the trigger input of the user to the text recognition control, and generate a pre-stored scenario form according to the paste field and the form field corresponding to the text box;
[0201] a fourth generating unit, configured to, upon receiving a trigger input of a page identification control by a user, identify a third key-value pair in the current page, generate a pre-stored scenario form corresponding to the current page according to the third key-value pair, and use a link and a keyword of the current page as remark information of the pre-stored scenario form of the current page;
[0202] A fifth generating unit, configured to, upon receiving a selection input of a target text by a user, identify a fourth key-value pair in the target text, and generate a pre-stored scenario form according to the fourth key-value pair;
[0203] The sixth generation unit is used to parse the fifth key-value pair included in the target application upon receiving the user's selection input for the target application, generate a pre-stored scenario form corresponding to the target application based on the fifth key-value pair, and use the characteristic information of the target application as the remark information of the pre-stored scenario form corresponding to the target application.
[0204] By editing and creating the pre-stored scene form through the above embodiments, the user does not need to manually input the key-value pair when generating the pre-stored scene form, which simplifies the user's operation process and improves the user's convenience. In addition, through the above implementation method, the scene corresponding to the created pre-stored scene form can also be enriched, and the corresponding pre-stored scene form can be found for matching in various subsequent scenes as much as possible.
[0205] In some other embodiments, the form filling device 200 may further include:
[0206] The update module is used to update the form information contained in the target key-value pairs in the pre-stored full form and the pre-stored scene form according to the network information; the form fields in the target key-value pairs include any of the following: time, weather.
[0207] In this embodiment, the information stored in the pre-stored full form and the pre-stored scene form that will change in real time, such as time, weather, etc., can be updated in real time using network information, thereby ensuring the accuracy of the information stored in the pre-stored full form and the pre-stored scene form. In addition, in addition to time and weather, other information stored in the pre-stored full form and the pre-stored scene form that will change with time or location can also be updated according to network information in the above manner.
[0208] In some embodiments, the form filling device 200 may further include:
[0209] A fourth display module is used to display a password input window when a target password is set in the target scenario form;
[0210] A password receiving module is used to receive the password information entered by the user in the password input window;
[0211] The first filling module 220 is specifically used to fill the form information in the target scenario form into the corresponding input area in the target interface when the password information matches the target password.
[0212] This method enables the saved pre-stored full form and pre-stored scene form to be updated after each form filling, thereby ensuring the comprehensiveness and real-time nature of the key-value pair data in the pre-stored full form and pre-stored scene form as much as possible.
[0213] The form filling device 200 in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palm computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0214] The form filling device 200 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0215] The form filling device 200 provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the form filling device 200 in the method embodiment are not described here.
[0216] Optionally, an embodiment of the present application also provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, each process of the above-mentioned form filling method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0217] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0218] Figure 7 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0219] The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, and a processor 310.
[0220] Those skilled in the art will appreciate that the electronic device 300 may also include a power source (such as a battery) for powering each component, and the power source may be logically connected to the processor 310 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. The input unit 304 may include a graphics processor, a microphone, etc. The display component 306 may include a display panel. The user input unit 307 may include a touch panel and other input devices, etc. The memory 309 may store applications and operating systems, etc. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0221] Among them, the processor 310 is used to obtain a target scenario form that matches the key field according to the key field of the target interface when displaying the target interface; the target scenario form includes a target form field that matches the key field and a target form information corresponding to the target form field; and the target form information in the target scenario form is filled into the input area corresponding to the key field.
[0222] In the embodiment of the present application, in the process of filling in the form of the target interface, the target scenario form that matches the key field can be selected according to the key field in the target interface, and then the form information in the target scenario form is automatically filled into the corresponding input area in the target interface, thereby reducing the manual filling operation of the user. In this embodiment, as long as the target interface can match the target scenario form, the above method can be used for automatic form filling, and it is not limited to a single application, thus expanding the use scenario of the form filling solution and having a wider range of applications.
[0223] Optionally, the processor 310 is specifically used to: identify key fields in the target interface; match the key fields with the fields contained in each pre-stored scenario form; and use the pre-stored scenario form with the highest degree of match as the target scenario form; wherein the highest degree of match includes any one of the following: the fields included have the highest similarity with the key fields, and the number of fields included that are identical to the key fields is the largest.
[0224] In this embodiment, the key fields in the target interface are matched with the fields contained in the pre-stored scenario form. The information contained in the pre-stored scenario form mainly includes form fields and their corresponding form information. If the key fields are the same as the fields contained in the pre-stored scenario form, it means that the key fields are the same as the form fields or form information contained in the pre-stored scenario form. Both of these situations can reflect that the target interface matches the pre-stored scenario form.
[0225] Optionally, the processor 310 is specifically used to: identify key fields of the target interface, the key fields including a first link address corresponding to the target interface and a first keyword contained in the target interface; match the key fields with the remark information of each pre-stored scenario form, the remark information including a second link address corresponding to the pre-stored scenario form and a second keyword contained in the pre-stored scenario form; use the successfully matched pre-stored scenario form as the target scene form; wherein a successful match includes that the first link address matches the second link address and the first keyword matches the second keyword.
[0226] In this embodiment, in addition to the key field, the link address is used to screen the target scenario form, and the matching of multiple conditions can further ensure the accuracy of the target scenario form. In addition, in other embodiments, the key field may also only include the first link address, and the preset scenario form corresponding to the second link address matching the first link address is subsequently used as the target scenario form.
[0227] Optionally, the user input unit 307 may also be used to: receive screening conditions input by a user;
[0228] The processor 310 may also be used to: filter the pre-stored scenario forms according to the filtering conditions to obtain the filtered scenario forms; and determine the target scenario forms matching the key fields in the filtered scenario forms according to the key fields of the target interface.
[0229] In this embodiment, some selection components are added, such as time selection components, region selection components, etc. Users can first enter their own screening conditions through these selection components to perform preliminary screening of pre-stored scenario forms, thereby reducing the amount of data in the subsequent key field comparison process and improving the efficiency of target scenario form confirmation.
[0230] Optionally, the display unit 306 may be configured to: display the option controls of each pre-stored scenario form in a first manner, and display the option controls of the target scenario form in a second manner; the first manner is different from the second manner.
[0231] In order to facilitate the user's understanding, this embodiment also displays various pre-stored scene forms, and distinguishes the target scene form from other pre-stored scene forms through different display methods, so that the user can intuitively determine the currently selected target scene form, thereby improving user convenience.
[0232] Optionally, the user input unit 307 may be used to: receive a first input from a user to an option control of a first pre-stored scenario form; the first pre-stored scenario form is different from the target scenario form;
[0233] The processor 310 may also be configured to: in response to the first input, replace the information already filled in the target interface with the form information in the first pre-stored scenario form.
[0234] In this embodiment, each pre-stored scene form is provided with a corresponding option control, and the user can make a first input to the option control of the pre-stored scene form. For example, the first input can be a click input, so that when the selected list does not meet the user's expectations, the user can manually select other scene forms to fill in the target interface, thereby ensuring the accuracy of form filling and user experience.
[0235] Optionally, the processor 310 can also be used to: when there is a blank input area in the target interface, fill the blank input area with information in the pre-stored full form that matches the form field corresponding to the blank input area; wherein the pre-stored full form includes the form information in all pre-stored scenario forms.
[0236] In this embodiment, a pre-stored full form is pre-set in the electronic device, and the pre-stored full form stores the form information in all pre-stored scenario forms. When the current target interface still has a blank input area after the target scenario form is filled, the pre-stored full form automatically selects the information with the highest matching degree with the form field in the blank input area to fill in. This automatic supplementation method further reduces the workload of the user during the form filling process, and also ensures the integrity of the form filling.
[0237] Optionally, the display unit 306 or the audio output unit 303 can also be used to: output a first prompt corresponding to the first input area when the input information in the first input area in the target interface does not match the form field corresponding to the first input area; the first prompt is used to prompt the user that there is an input error in the first input area.
[0238] This method allows users to promptly discover incorrectly filled input areas and make corrections, ensuring the accuracy of form filling.
[0239] Optionally, the user input unit 307 may be used to: receive a second input from the user to the first input area;
[0240] The processor 310 may also be configured to: in response to the second input, fill the first input area with form information in the pre-stored full form that matches the form field corresponding to the first input area.
[0241] In this embodiment, the user can make a second input to the first input area with an input error. The purpose of the second input is to inform the electronic device user to select an automatic error correction scheme. When the second input is received, the electronic device will automatically fill in the form information that matches the form field corresponding to the first input area in the pre-stored full form, thereby automatically correcting the incorrectly filled information in the first input area, achieving the purpose of automatic error correction. This method does not require the user to manually input information, further improving the accuracy of form filling and the convenience of the user when using it.
[0242] Optionally, the user input unit 307 may also be used to: receive a third input from the user to the menu control corresponding to the first input area; and receive a fourth input from the user to the target selection control.
[0243] The display unit 306 may also be used to: in response to the third input, display a target menu; wherein the target menu includes at least one optional information and a selection control corresponding to each optional information, and the optional information is form information pre-stored in the full form and matching the form field corresponding to the first input area;
[0244] The processor 310 may also be configured to: in response to a fourth input, fill the target optional information corresponding to the target selection control into the first input area.
[0245] In this way, the user does not need to manually input information, which improves the convenience of the user; at the same time, the target optional information is selected by the user, thereby ensuring that the information filled in meets the user's needs, thereby ensuring the accuracy of the form filling. Of course, the present application does not limit the specific types of the third input and the fourth input.
[0246] Optionally, the user input unit 307 may also be used to: receive a fifth input from the user to the comment generation control corresponding to the second input area; and receive a sixth input from the user to a target sentence in the to-be-selected comment sentences.
[0247] The display unit 306 may also be used to: in response to the fifth input, display the comment statement to be selected;
[0248] The processor 310 may also be used to: in response to a sixth input, fill the target sentence into the comment input area in the target interface; the comment sentence to be selected is generated by the electronic device or the network based on the target scenario form.
[0249] In this case, the user only needs to directly select a comment statement to be selected, and there is no need to conceive and fill in the comment statement, which improves user convenience.
[0250] Optionally, the processor 310 may also be used to submit form information in the target interface.
[0251] Optionally, the processor 310 may also be specifically configured to perform any of the following operations:
[0252] When the seventh input to the submit control is received from the user, the form information in the target interface is submitted; this manual submission method is suitable for some forms that are submitted immediately.
[0253] When the target scenario form is associated with a timed submission function or receives the eighth input of the user to the first timed submission control, the time input window is displayed to receive the first submission time entered by the user in the time input window, and when the first submission time is reached, the form information in the target interface is submitted; this method enables the purpose of delayed submission to be achieved for some scenarios that require delayed submission, thereby enriching the user's submission methods.
[0254] When the user's ninth input to the second timed submission control is received, the second submission time contained in the target interface is parsed, and when the second submission time is reached, the form information in the target interface is submitted. This method eliminates the need for the user to manually set the time and can ensure that the form information is submitted at the appropriate time, thereby improving user convenience.
[0255] If the submit function corresponding to the target interface is not enabled, poll to detect whether the submit function is enabled. If the submit function is enabled, submit the form information in the target interface. This method ensures that in some scenarios where form information needs to be submitted on time to increase the success rate, the form information can be submitted as punctually as possible, avoiding delays caused by user reactions and increasing the success rate of the rush purchase.
[0256] Optionally, the processor 310 can also be used to: generate a pre-stored full form and a pre-stored scenario form; the pre-stored scenario form includes key-value pairs under the pre-stored scenario; the pre-stored full form includes key-value pairs included in all pre-stored scenario forms; the key-value pairs include form fields and their corresponding form information.
[0257] In this embodiment, pre-stored scenario forms for various pre-stored scenarios and pre-stored full forms including all scenario information are generated in advance, and multiple key-value pairs are recorded in the pre-stored scenario forms and the pre-stored full forms. The key-value pairs include form fields and their corresponding form information, which are the data sources for subsequent form filling. In this embodiment, two information forms are set up, so that when the pre-stored scenario form cannot meet the subsequent form filling requirements, the pre-stored full form can also be used for filling, thereby ensuring the reliability of form filling. Of course, in some embodiments, only the pre-stored scenario form can be generated, and this application does not limit this.
[0258] Optionally, the processor 310 may be further configured to perform at least one of the following operations:
[0259] When a selection input of a first key-value pair in a pre-stored full form is received from a user, a pre-stored scenario form is generated according to the first key-value pair.
[0260] When receiving a user's selection input of a second key-value pair in the generated first target pre-stored scenario list, a pre-stored scenario list is generated according to the second key-value pair.
[0261] When a trigger input to the text recognition control is received from the user, the paste field in the text box and the form field corresponding to the text box are parsed, and a pre-stored scenario form is generated according to the paste field and the form field corresponding to the text box.
[0262] When receiving the user's trigger input to the page identification control, the third key-value pair in the current page is identified, a pre-stored scene form corresponding to the current page is generated based on the third key-value pair, and the link and keywords of the current page are used as comment information of the pre-stored scene form of the current page.
[0263] When a selection input of a target text is received from the user, a fourth key-value pair in the target text is identified, and a pre-stored scenario form is generated according to the fourth key-value pair.
[0264] When receiving the user's selection input for the target application, parse the fifth key-value pair included in the target application, generate a pre-stored scenario form corresponding to the target application based on the fifth key-value pair, and use the characteristic information of the target application as the remark information of the pre-stored scenario form corresponding to the target application.
[0265] By editing and creating the pre-stored scene form through the above embodiments, the user does not need to manually input the key-value pair when generating the pre-stored scene form, which simplifies the user's operation process and improves the user's convenience. In addition, through the above implementation method, the scene corresponding to the created pre-stored scene form can also be enriched, and the corresponding pre-stored scene form can be found for matching in various subsequent scenes as much as possible.
[0266] Optionally, the processor 310 may also be used to: update the form information contained in the target key-value pairs in the pre-stored full form and the pre-stored scenario form according to the network information; the form fields in the target key-value pairs include any one of the following: time, weather.
[0267] In this embodiment, the information stored in the pre-stored full form and the pre-stored scene form that will change in real time, such as time, weather, etc., can be updated in real time using network information, thereby ensuring the accuracy of the information stored in the pre-stored full form and the pre-stored scene form. In addition, in addition to time and weather, other information stored in the pre-stored full form and the pre-stored scene form that will change with time or location can also be updated according to network information in the above manner.
[0268] Optionally, the processor 310 can also be used to: display a password input window when the target scene form is set with a target password; receive password information entered by the user in the password input window; and fill the form information in the target scene form into the corresponding input area in the target interface when the password information matches the target password.
[0269] This method enables the saved pre-stored full form and pre-stored scene form to be updated after each form filling, thereby ensuring the comprehensiveness and real-time nature of the key-value pair data in the pre-stored full form and pre-stored scene form as much as possible.
[0270] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned form filling method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0271] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0272] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned form filling method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0273] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0274] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes 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 one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0275] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0276] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0277] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A form filling method, It is characterized in that include: When the target interface is displayed, according to the key fields of the target interface, a target scenario form matching the key fields is obtained; The target scenario form includes a target form field matching the key field and target form information corresponding to the target form field; Fill the target form information in the target scenario form into the input area corresponding to the key field; In the case where there is a blank input area in the target interface, the blank input area is filled with information in the form information in the pre-stored full form that matches the form field corresponding to the blank input area; wherein the pre-stored full form includes the form information in all pre-stored scenario forms; After filling the target form information in the target scenario form into the input area corresponding to the key field, the method further includes: When the input information in the first input area in the target interface does not match the form field corresponding to the first input area, a first prompt corresponding to the first input area is output; the first prompt is used to prompt the user that there is an input error in the first input area.
2. The method according to claim 1, It is characterized in that The step of obtaining a target scenario form matching the key field according to the key field of the target interface includes: Identifying the key fields in the target interface; Matching the key fields with the fields contained in each pre-stored scenario form; The pre-stored scenario form with the highest matching degree is used as the target scenario form; wherein the highest matching degree includes any one of the following items: the fields included have the highest similarity with the key fields, and the number of fields included that are the same as the key fields is the largest.
3. The method according to claim 1, It is characterized in that The step of obtaining a target scenario form matching the key field according to the key field of the target interface includes: Identifying the key field of the target interface, wherein the key field includes a first link address corresponding to the target interface and a first keyword included in the target interface; Matching the key field with the remark information of each pre-stored scenario form, the remark information including the second link address corresponding to the pre-stored scenario form and the second keyword included in the pre-stored scenario form; The pre-stored scenario form that matches successfully is used as the target scenario form; wherein the successful matching includes that the first link address matches the second link address and the first keyword matches the second keyword.
4. The method according to claim 1, It is characterized in that After outputting the first prompt corresponding to the first input area, the method further includes: receiving a second input from a user into the first input area; In response to the second input, the form information in the pre-stored full form that matches the form fields corresponding to the first input area is filled into the first input area.
5. The method according to claim 1, It is characterized in that After outputting the first prompt corresponding to the first input area, the method further includes: receiving a third input from a user to a menu control corresponding to the first input area; In response to the third input, a target menu is displayed; wherein the target menu includes at least one optional information and a selection control corresponding to each optional information, and the optional information is form information in the pre-stored full form that matches the form field corresponding to the first input area; receiving a fourth input from the user to the target selection control; In response to the fourth input, the target optional information corresponding to the target selection control is filled into the first input area.
6. The method according to claim 1, It is characterized in that After filling the target form information in the target scenario form into the input area corresponding to the key field, the method further includes: receiving a fifth input from the user to a comment generation control corresponding to the second input area; In response to the fifth input, displaying a comment statement to be selected; receiving a sixth input from a user regarding a target sentence in the candidate comment sentences; In response to the sixth input, the target sentence is filled into the comment input area in the target interface; the comment sentence to be selected is generated by the electronic device or the network based on the target scenario form.
7. A form filling device, It is characterized in that include: A scene determination module, used to obtain a target scene form matching the key field according to the key field of the target interface when the target interface is displayed; The target scenario form includes a target form field matching the key field and target form information corresponding to the target form field; A first filling module, used to fill the target form information in the target scenario form into the input area corresponding to the key field; A second filling module is used to fill the blank input area with information matching the form field corresponding to the blank input area in the form information in the pre-stored full form when there is a blank input area in the target interface; wherein the pre-stored full form includes the form information in all pre-stored scenario forms; The device also includes: The prompt module is used to output a first prompt corresponding to the first input area in the target interface when the input information in the first input area does not match the form field corresponding to the first input area; the first prompt is used to prompt the user that there is an input error in the first input area.
8. The device according to claim 7, It is characterized in that The scene determination module includes: A first identification unit, used for identifying the key field in the target interface; The first matching unit is used to match the key field with the fields contained in each pre-stored scenario form; and use the pre-stored scenario form with the highest matching degree as the target scenario form; wherein the highest matching degree includes any one of the following items: the fields contained have the highest similarity with the key field, and the number of fields contained that are identical to the key field is the largest.
9. The device according to claim 7, It is characterized in that The scene determination module includes: A second identification unit is used to identify the key field of the target interface, where the key field includes a first link address corresponding to the target interface and a first keyword included in the target interface; A second matching unit is used to match the key fields with the remark information of each pre-stored scenario form, wherein the remark information includes a second link address corresponding to the pre-stored scenario form and a second keyword included in the pre-stored scenario form; and the successfully matched pre-stored scenario form is used as the target scenario form; wherein the successful match includes that the first link address matches the second link address and the first keyword matches the second keyword.
10. The device according to claim 7, It is characterized in that The device also includes: A second receiving module, used for receiving a second input of a user to the first input area; A third filling module is used to fill the first input area with form information matching the form fields corresponding to the first input area in the pre-stored full form in response to the second input.
11. The device according to claim 7, It is characterized in that The device also includes: A third receiving module, used to receive a third input from a user to the menu control corresponding to the first input area; A second display module is used to display a target menu in response to the third input; wherein the target menu includes at least one optional information and a selection control corresponding to each optional information, and the optional information is form information in the pre-stored full form that matches the form field corresponding to the first input area; A fourth receiving module, used for receiving a fourth input of the user to the target selection control; A fourth filling module is used to fill the target optional information corresponding to the target selection control into the first input area in response to the fourth input.
12. The device according to claim 7, It is characterized in that The device also includes: A fifth receiving module, used for receiving a fifth input of the user to the comment generation control corresponding to the second input area; A third display module, configured to display a comment statement to be selected in response to the fifth input; A sixth receiving module, configured to receive a sixth input from a user on a target sentence in the candidate comment sentences; A fifth filling module is used to fill the target sentence into the comment input area in the target interface in response to the sixth input; the comment sentence to be selected is generated by the electronic device or the network based on the target scenario form.
13. An electronic device, It is characterized in that It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the form filling method as described in any one of claims 1 to 6.
