Information display method and electronic device
By obtaining the input cursor position in the form filling interface and displaying matching candidate information, the problem of cumbersome operations when filling multiple form pages is solved, and a fast and efficient form filling process is realized.
Patent Information
- Application Number
- CN202110512283.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-11
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2041-05-11
AI Technical Summary
When filling out multiple form pages, the existing technology leads to cumbersome operations and low filling efficiency, and users need to copy and paste multiple times, resulting in a time-consuming and cumbersome filling process.
By receiving the user's copy input content, obtain the input cursor position in the form filling interface, display candidate information matching the current form item, and automatically update the candidate information when the cursor position changes, so as to quickly find and fill in the form content and reduce copying operate.
The form filling operation is simplified and the filling efficiency is improved. Users can quickly complete the filling of multiple form pages without repeated copying.
Smart Images

Figure CN113407073B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to an information display method and an electronic device. Background Art
[0002] As electronic devices become one of the necessities of people's lives and work, people can input characters through the interactive interface of the input method. When a user fills in a form page, it is necessary to use the input method to fill in each form item. In order to speed up the filling speed, the user can use the copy and paste method to fill in each form item, that is, to fill in a form item, you can first copy the content to be filled in, and then paste the filled content into the form item accordingly. In this way, the above method can reduce the user's input operations when filling in a form page. However, when a user fills in multiple form pages, since it is necessary to fill in the content corresponding to multiple form pages, according to the existing form filling method, it is necessary to repeat the operation many times, resulting in cumbersome operation and low filling efficiency. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide an information display method and an electronic device, which can solve the problem of cumbersome operation and low filling efficiency in the process of filling out multiple forms.
[0004] In a first aspect, an embodiment of the present application provides an information display method, the method comprising:
[0005] When receiving a copy input of the first content and the second content, obtaining a position of an input cursor in the form filling interface;
[0006] In a case where the position of the input cursor corresponds to the first form item, first candidate information is displayed, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item;
[0007] When first information is displayed in the first form item, obtaining a position of an input cursor, wherein the first candidate information includes the first information;
[0008] When the position of the input cursor corresponds to the second form item, second candidate information is displayed, where the second candidate information is content corresponding to the second form item and matches the first information.
[0009] In a second aspect, an embodiment of the present application provides a device for displaying information, the device comprising:
[0010] A first acquisition module is used to acquire the position of an input cursor in the form filling interface when receiving a copy input of the first content and the second content;
[0011] A first display module, configured to display first candidate information when the position of the input cursor corresponds to the first form item, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item;
[0012] The first acquisition module is further configured to acquire a position of an input cursor when first information is displayed in the first form item, and the first candidate information includes the first information;
[0013] The first display module is further configured to display second candidate information when the position of the input cursor corresponds to a second form item, where the second candidate information is content corresponding to the second form item and matches the first information.
[0014] 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 information display method described in the first aspect.
[0015] 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 information display method described in the first aspect are implemented.
[0016] 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 information display method as described in the first aspect.
[0017] In an embodiment of the present application, a copy input of a first content and a second content is received, and when the position of the input cursor corresponds to the first form item, first candidate information matching the first form item is obtained from the first content and the second content, and after the first information is filled into the first form item according to the first candidate information, when the position of the input cursor corresponds to the second form item, the second candidate information corresponding to the second form item is displayed. In this way, by receiving the copy input of the first content and the second content and selecting the first information once, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is helpful for users to quickly find the content to be filled in the form page from a large number of contents. On the other hand, users do not need to repeatedly perform copy operations during the process of filling in multiple forms, which simplifies the form filling operation, thereby improving the efficiency of form filling and helping to quickly complete the filling of multiple form pages. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of an information display method provided by an embodiment of the present application;
[0019] Figure 2 It is a flowchart of another information display method provided in an embodiment of the present application;
[0020] Figure 3 It is a flowchart of an information correction method provided in an embodiment of the present application;
[0021] Figure 4 is a structural schematic diagram of an information display device provided in an embodiment of the present application;
[0022] Figure 5 is a structural block diagram of an electronic device provided in an embodiment of the present application;
[0023] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0025] 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, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] The form filling provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0027] At present, in order to quickly fill in the form page, the user can first copy a piece of form information that needs to be filled in, which may include information such as name, mobile phone number and address, and then fill the form information into the form page. During the filling process, the electronic device automatically divides the form information, obtains character information that matches the header, and automatically fills the character information into the form page.
[0028] However, in the above information display method, the user needs to copy the form information into the customized input box of the page, so that the electronic device can automatically complete the filling of the form page. In this case, the form page needs to be customized.
[0029] Furthermore, when a user fills in multiple form pages, each time the user completes a form page, the user needs to exit the form page, copy the content to be filled in the next form page, and then enter the form page again to fill in. In this way, when filling in multiple form pages, the user needs to repeat the operation many times, which leads to the problem of cumbersome form filling operation and low filling efficiency.
[0030] It should be noted that the information display method provided in the embodiment of the present application is not limited to filling in form pages, but can also be applied to filling in documents in form.
[0031] The information display method of the embodiment of the present application can be applied to an electronic device, and the information display method can be executed by the electronic device. The electronic device has a display screen.
[0032] Figure 1 is a flow chart of an information display method provided by an embodiment of the present application. Figure 1 As shown, the information display method is applied to an electronic device, and the information display method includes:
[0033] Step S110 , when receiving the copy input of the first content and the second content, obtaining the position of the input cursor in the form filling interface.
[0034] Here, the first content and the second content are both collections of information. The information may be plain text information, or may be table information, picture information, etc., and the first content is different from the second content. The copy input may be a copy operation acting on the first content and the second content. The electronic device may copy the first content and the second content to other places, such as a clipboard, through the received copy input.
[0035] It is understandable that after receiving the copy input of the first content and the second content, the electronic device detects whether the display interface displays a form filling page. In the case of detecting that the form filling page is displayed, the electronic device detects the position of the input cursor.
[0036] Step S120: when the position of the input cursor corresponds to the first form item, display the first candidate information.
[0037] Here, the first form item may be any form item in the form filling interface. The position of the input cursor corresponding to the first form item may mean that the input cursor is located in the area corresponding to the first form item. The first candidate information may be a sub-content that matches the first form item in the multiple contents copied and input. The first candidate information may include at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item.
[0038] It can be understood that when the user needs to fill in the first form item of the form filling interface, the user moves the input cursor to the area corresponding to the first form item. When the electronic device detects that the position of the input cursor corresponds to the first form item, it searches the first content and the second content for sub-content that matches the first form item. When there is sub-content that matches the first form item, the electronic device displays the sub-content as candidate information for the first form item.
[0039] Step S130: when the first information is displayed in the first form item, the position of the input cursor is obtained.
[0040] Here, the first candidate information includes the first information, that is, the first information may be a sub-content selected from the first candidate information. The first information may be the first sub-content, or the second sub-content.
[0041] It can be understood that when the electronic device displays the first candidate information, the user performs an input operation on the first candidate information. The electronic device receives the user's input operation, selects the first information from the first candidate information in response to the input operation, and fills the first information into the first form item, so that the first form item displays the first information. At this point, the first form item is filled in.
[0042] Furthermore, after completing filling in the first form item, the electronic device continues to monitor the input cursor and obtains the position of the input cursor.
[0043] Step S140: when the position of the input cursor corresponds to the second form item, display the second candidate information.
[0044] Here, the second form item can be any form item on the form filling page, and can be the same as or different from the first form item. The position of the input cursor corresponding to the second form item can mean that the input cursor is located in the area corresponding to the second form item. The second candidate information is the content corresponding to the second form item, and matches the first information. In other words, the second candidate information belongs to the same content as the first information.
[0045] That is, when the first information is the first sub-content, the second candidate information is the third sub-content corresponding to the second form item in the first content. When the first information is the second sub-content, the second candidate information is the fourth sub-content corresponding to the second form item in the second content.
[0046] It can be understood that when the user needs to fill in the second form item on the form filling interface after completing the first form item, the user moves the input cursor to the area corresponding to the second form item. After the electronic device detects that the input cursor is located in the second form item, it searches for sub-content matching the second form item from the content corresponding to the first information, and displays the sub-content as candidate information for the second form item.
[0047] In an embodiment of the present application, a copy input of a first content and a second content is received, and when the position of the input cursor corresponds to the first form item, first candidate information matching the first form item is obtained from the first content and the second content, and after the first information is filled into the first form item according to the first candidate information, when the position of the input cursor corresponds to the second form item, the second candidate information corresponding to the second form item is displayed. In this way, by receiving the copy input of the first content and the second content and selecting the first information once, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is helpful for users to quickly find the content to be filled in the form page from a large number of contents. On the other hand, users do not need to repeatedly perform copy operations during the process of filling in multiple forms, which simplifies the form filling operation, thereby improving the efficiency of form filling and helping to quickly complete the filling of multiple form pages.
[0048] The following introduces the specific implementation methods of the above steps.
[0049] In some embodiments, in order to facilitate subsequent form filling operations through an input method, the electronic device receives a copy input of a first content and a second content, and in response to the copy input, copies the first content and the second content to a clipboard to form a clip text. The clipboard is associated with an input method application in the electronic device. The clip text may include one content or multiple contents. Different clip texts have different identifiers.
[0050] The form filling page involved in the embodiment of the present application can be a page that can be filled with form information. The form is mainly responsible for the data collection function in the page. The form page may include a form item and a field corresponding to the form item. For ease of understanding, the field may be referred to as a header name. The form item may be an input field. The input field may be a text input field, and the user may fill in the form information in the input field.
[0051] The "input cursor" involved in the embodiments of the present application is an indicator for displaying the current position of user interaction on the electronic device, which will respond to input from text input or pointing device input. It can be understood that the input cursor can be a movable icon that shows the user where any input will be made on the electronic device or where an operation will occur. The form of the input cursor can be unlimited, for example, the input cursor can be a display cursor, and can also be an invisible cursor.
[0052] The “displaying candidate information” involved in the embodiments of the present application may be displaying the candidate information in a candidate information area, or displaying it on a virtual keyboard area. Here, the candidate information area may be an input field of an input method. The virtual keyboard area may be a virtual keyboard area of an input method.
[0053] In some embodiments, in step S110, the first content and the second content are both collections of information. The information may be plain text information or table information. The information content may be unlimited, for example, it may be a short message, an instant messaging message, information information, shopping information, express information, etc. At the same time, the first content and the second content contain different information. The sources of the first content and the second content may not be limited. For example, the first content and the second content may be stored on an electronic device, may be obtained through an application, or may be formed by recognizing image information.
[0054] It is understandable that the user performs a copy input of the first content and the second content. The copy input may be implemented in any manner, such as a touch operation applied by the user on the display screen, or a touch operation applied by the user on other parts of the electronic device, and so on.
[0055] The "sub-content" involved in the embodiment of the present application can be obtained by performing text segmentation on the first content and the second content copied and inputted by the electronic device. For example, the first sub-content and the third sub-content can be obtained by performing text segmentation on the first content, and the second sub-content and the fourth sub-content can be obtained by performing text segmentation on the second content. Moreover, each sub-content may include one or more character information.
[0056] In some embodiments, in order to facilitate quick search for sub-content corresponding to the form item, before displaying the first candidate information in step S120, the method further includes:
[0057] The electronic device performs text segmentation on the first content and the second content respectively, and obtains field information corresponding to the first content and the second content respectively and character information corresponding to the field information:
[0058] The field information and character information are stored in the form of key-value pairs.
[0059] Here, the character information may be a sub-content that matches the form item. The field information may be a sub-content that matches the form item name. The field information may be various attribute information, such as name, gender, and address, etc. The character information may be various attribute values, such as female, male, and Hunan Province, etc.
[0060] It can be understood that the electronic device uses the field in the field information as the key in the key-value pair and the character in the character information as the key value to store the segmented content. Since the data is stored in the form of a key-value pair, the key value can be quickly queried by querying the key. Therefore, the electronic device stores the field information and character information obtained after segmentation in the form of a key-value pair, and the character information can be quickly queried based on the field information.
[0061] In one example, the first content is "My name is AA", and the electronic device performs text segmentation on the first content using a text segmentation method to obtain a key-value pair "Name AA", wherein "Name" is the key and "AA" is the key value.
[0062] In some embodiments, when the electronic device detects that a key has multiple key values corresponding to a key in a key-value pair, the multiple key values may be displayed in a floating manner through a floating control so that the user can select a key value.
[0063] After the user selects the first candidate information, the electronic device detects that the selected sub-content includes multiple characters, and displays the multiple characters in a floating manner through the floating control. In this way, the electronic device can display all the selected sub-contents by floatingly displaying multiple characters, solving the problem that the selected sub-content cannot be fully displayed due to insufficient display area, thereby facilitating the user's selection of the first information.
[0064] In addition, the electronic device receives a user input of a target character among the plurality of characters displayed in suspension, and in response to the input, fills the target character into the first form item as the first information.
[0065] Accordingly, when the first candidate information includes multiple sub-contents, the electronic device can display the multiple sub-contents using a floating control so that the user can select the first candidate information.
[0066] It should be noted that, when the second candidate information includes multiple character information, it can also be displayed using a floating control.
[0067] In some embodiments, in step S120, displaying the first candidate information may include one of the following situations: displaying the first sub-content, displaying the second sub-content, and displaying the first sub-content and the second sub-content.
[0068] Here, when the electronic device detects that the first sub-content corresponding to the first form item exists in the first content, the electronic device displays the first sub-content as the first candidate information.
[0069] When the electronic device detects that the second sub-content corresponding to the first form item exists in the second content, the electronic device displays the second sub-content as the first candidate information.
[0070] When the electronic device detects that the first content contains a first sub-content corresponding to the first form item, and the second content contains a second sub-content corresponding to the first form item, the electronic device displays both the first sub-content and the second sub-content as first candidate information.
[0071] In addition, when the electronic device detects that there is no sub-content corresponding to the first form item in the first content and the second content, the electronic device does not display candidate information corresponding to the first form item.
[0072] In an embodiment of the present application, the electronic device performs text segmentation on the copied input content to obtain field information and character information corresponding to the field information. The electronic device searches for target field information corresponding to the form item name in the copied input content according to the form item name corresponding to the form item. If the target field information exists in the copied input content, the character information corresponding to the target field information in the copied input content is used as the sub-content corresponding to the form item.
[0073] It should be noted that, in the embodiment of the present application, based on the above method, the electronic device can obtain the sub-content corresponding to the second form item, as well as the sub-content corresponding to other form items.
[0074] In some embodiments, the electronic device obtains the first sub-content and / or the second sub-content by:
[0075] After performing text segmentation on the first content and the second content, field information corresponding to the first content and the second content and character information corresponding to the field information are obtained:
[0076] Based on the form item name corresponding to the first form item, searching the first content and the second content for a target field corresponding to the form item name;
[0077] When the target field information exists in the first content, character information corresponding to the target field information in the first content is used as the first sub-content;
[0078] When the target field information exists in the second content, character information corresponding to the target field information in the second content is used as the second sub-content.
[0079] Here, the electronic device performs text segmentation on the first content and the second content respectively, and obtains field information corresponding to the first content and character information corresponding to the field information, as well as field information corresponding to the second content and character information corresponding to the field information. The field information may include one field or multiple fields of different attributes. The character information may include one character or multiple characters. The first sub-content may be character information corresponding to the target field information obtained by segmenting the first content. The second sub-content may be character information corresponding to the target field information obtained by segmenting the second content. In this way, the electronic device can quickly find the candidate information corresponding to the form item based on the form item name by performing text segmentation on the copied input content.
[0080] To better describe the scheme, based on the various embodiments described above, a specific embodiment is given to illustrate the information display method. Take the form filling page as an express filling page, and the candidate information area as the candidate column of the input method for explanation. The electronic device receives multiple data copied by the user (i.e., the first content and the second content). When the electronic device displays the express filling page, when it detects that the form item where the input cursor is located corresponds to a name, the candidate column of the input method displays two names, A and B (i.e., the first candidate information). After the user inputs A (i.e., the first information), when the express address corresponding to the form item where the cursor is located is subsequently entered, A's address (i.e., the second candidate information) is automatically displayed in the candidate column.
[0081] Figure 2 A flow chart of another information display method provided in an embodiment of the present application. Figure 2 As shown, the information display method includes:
[0082] Step S210: After receiving multiple copies of the first content and the second content from the user, the electronic device divides the first content and the second content.
[0083] Step S220, the electronic device detects whether the current page is a form page. If yes, step S230 is executed, and if no, the process ends.
[0084] Step S230: the electronic device obtains the table header name corresponding to the input cursor position.
[0085] Here, after the electronic device obtains the table header name, it can display candidate words (ie, candidate information) matching the table header name in the input method candidate column (ie, candidate information area).
[0086] Step S240, the electronic device detects whether the first content and the second content have a segmentation field corresponding to the header name. If yes, step S250 is executed. If no, the display of the candidate words in the candidate column is terminated.
[0087] Here, after the display of the candidate words is finished, character input of the form item corresponding to the table header name is received, thereby completing the filling of the form item.
[0088] Step S250: The electronic device displays the segmentation characters corresponding to the first content and the second content as the first candidate word (ie, the first sub-content) and the second candidate word (ie, the second sub-content) respectively on the candidate column. The segmentation field corresponds to the segmentation character.
[0089] Step S260, the electronic device receives the user's input of the target candidate word (i.e., the first information), and in response to the input, displays the target candidate word on the screen. After the target candidate word is displayed on the screen, in the form page, an input operation of the input cursor is received, and the table header name corresponding to the input cursor position is obtained (i.e., the position of the input cursor corresponds to the second form item), and all candidate words displayed in the input field (i.e., the second candidate information) are segmentation characters of the target content.
[0090] For example, when the user selects the first candidate word to be displayed on the screen, in the form page, after the user clicks the input cursor on the form page, all the candidate words displayed in the input field are the segmentation characters of the first content. When the user selects the second candidate word to be displayed on the screen, in the form page, after the user clicks the input cursor on the form page, all the candidate words displayed in the input field are the segmentation characters of the second content.
[0091] In the above embodiment, after receiving a copy of multiple contents, the copied contents are segmented to extract the segmentation fields and segmentation characters. The electronic device matches the header name with the segmentation field, searches for the segmentation characters corresponding to the header name, and displays them in the candidate column, thereby quickly completing the automatic matching filling operation and the suggestion filling operation from a large number of contents. After one selection, the candidate information corresponding to each header name in the form page can be quickly displayed, thereby shortening the form page filling time and simplifying the form filling steps.
[0092] In some embodiments, in order to quickly fill in the form items of the form page, after step 130, the information display method further includes:
[0093] The second candidate information is displayed in the second form item.
[0094] Here, after obtaining the second candidate information, the electronic device fills the second candidate information into the second form item. That is, after receiving the input of the first information, the electronic device fills in the candidate information matching the form item in all or part of the form items on the form filling page. In this way, by automatically filling in the candidate information into all or part of the form items, the purpose of quickly filling in the form page can be achieved, reducing the user's input operations on the form page, shortening the time of filling in the form page, and improving the filling efficiency.
[0095] In some embodiments, in order to quickly fill in the form items of the form page, after step 130, the information display method further includes:
[0096] Based on the second candidate information, fill in the corresponding information in the second form item.
[0097] Here, the electronic device can adaptively fill the second information into the second form item, so that the filling of the form item can be completed quickly and accurately.
[0098] It is understandable that, in order to ensure that the filled-in form information is correct, the corresponding information filled in the second form item can be one of the second candidate information, the modified second candidate information, and the input character information. After the second candidate information is displayed, the user needs to determine whether the second candidate information is correct, and then perform different input operations on the second candidate information. In response to the user's different input operations on the second candidate information, the electronic device adaptively fills the second candidate information into the second form item.
[0099] Here, when the user determines that the second candidate information is correct, the electronic device receives the user's input of the second candidate information, and fills in the second candidate information in the second form item in response to the input.
[0100] If the user determines that the second candidate information is incorrect, the electronic device receives the user's modification input for the second candidate information, and fills in the modified second candidate information in the second form item in response to the modification input. Alternatively, the electronic device receives the user's character input for the second form item and fills in the character in the second form item.
[0101] In an embodiment of the present application, by completing the form information filling of the second form item through the displayed second candidate information, the purpose of quickly completing the automatic matching filling and suggested filling operations of the form page can be achieved, the form filling process is simplified, and the efficiency of form filling is improved.
[0102] In some embodiments, in order to facilitate the correction of the form information in the form item, after step S110, the information display method further includes:
[0103] When the position of the input cursor corresponds to the target form item and the target form item displays the second information, acquiring target candidate information;
[0104] When there is a difference between the target candidate information and the second information, the second information is corrected using the target candidate information.
[0105] Here, the target form item may be any form item in the form filling page. The target candidate information is information corresponding to the target form item. The target candidate information may include one or more sub-contents. For example, in the case where the target form item may be the first form item, the target candidate information may be the first candidate information. In the case where the target form item may be the second form item, the target candidate information may be the second candidate information.
[0106] It can be understood that when the user moves the input cursor to the area corresponding to a form item, the electronic device can search for multiple sub-contents corresponding to the form item from the multiple contents copied and input, or, after the user selects the target content to be filled in the form page from the multiple contents, the electronic device searches for the sub-contents corresponding to the form item from the target content.
[0107] For example, the electronic device finds that the sub-contents corresponding to the target form item are "1234" and "1235" from the first content and the second content respectively, and uses "1234" and "1235" as target candidate information.
[0108] Alternatively, when confirming that the content filled in the form page belongs to the target content, the electronic device searches the target content and finds that the sub-content corresponding to the target form item is "1234", and uses "1234" as the target candidate information.
[0109] It should be noted that the method for the electronic device to obtain target candidate information is similar to the aforementioned method for obtaining the first candidate information, and for the sake of brevity, it will not be repeated here.
[0110] The "second information" involved in the embodiment of the present application is the information filled in the target form item. The source of the second information can be unlimited, for example, the second information can be information manually input by the user, or can be information selected from candidate information to fill in the form item, etc.
[0111] It is understandable that when the user wants to correct the target form item, the user moves the input cursor to the target form item. When the electronic device detects that the target form item is filled with the second information, the second information is compared with the target candidate information to determine whether there is a difference between the second information and the target candidate information. In the case that there is a difference between the target candidate information and the second information, the electronic device can correct the second information according to the target candidate information. In the case that there is no difference, the electronic device may not perform any operation.
[0112] It should be noted that the electronic device compares the target candidate information with the second information, which can be implemented by a matching algorithm or other comparison algorithms. In the embodiment of the present application, the comparison method is not shown.
[0113] The electronic device involved in the embodiment of the present application can compare whether there is a difference between the target form information and the second information, and can compare whether the number of bits of the target form information and the second information is the same and whether the characters on each bit are the same, etc.
[0114] Specifically, the difference between the target candidate information and the second information may be at least one of the following situations: the number of characters of the target form information and the second information is different; the characters of the target form information and the second information are different.
[0115] In an embodiment of the present application, by comparing the information already filled in the form item with the candidate information, the difference between the two is obtained, which makes it easy for the user to clearly understand the possible problems with the filled in information through the candidate information, and helps the user to modify the filled in information.
[0116] In some embodiments, before correcting the second information using the target candidate information, the information display method further includes:
[0117] At least one of the target candidate information or the correction information is displayed.
[0118] Here, the correction information may be information determined based on the comparison information between the second information and the target candidate information. The correction information may be the first character in the second information and / or the target character in the target candidate information. The target character may be the difference between the second information and the target candidate information in the target candidate information. The first character may be the difference between the second information and the target candidate information in the second information.
[0119] It is understandable that, when there is a difference between the target candidate information and the second information, the electronic device may display the target candidate information, may display the correction information, or may display the target candidate information and the correction information at the same time.
[0120] In the above embodiment, the electronic device displays the target candidate information, which is conducive to the user to intuitively compare the target candidate information with the second information. The electronic device displays the correction information, which is convenient for the user to intuitively observe the difference between the target candidate information and the second information.
[0121] In one example, the target candidate information is abcdf, and the second information is abcde. The target candidate information is compared with the second information, and the comparison result is that the fifth digit of the second information should be changed from f to e. The electronic device can display the target candidate information abcdf, or "e" (i.e., the target character) or "f" (i.e., the first character), and can also display at least one of the following characters at the same time: abcdf, f, e.
[0122] To facilitate the distinction of different parts, in some embodiments, the correction information may also be information for adding a correction symbol at the position corresponding to the first character in the second information, or displaying multiple characters differently using different parameters, for example, in different colors or fonts.
[0123] Here, the correction symbol added at the corresponding position of the character to be corrected can be used to identify the character to be corrected, so as to distinguish the same and different parts between the second information and the target form information. And according to the type of the correction symbol, the type of the character to be corrected and the correction method can be determined.
[0124] In one example, the electronic device may use a half-width symbol “^” to identify characters that are missing from the target candidate information relative to the second information. The electronic device may also use a bracket symbol “<>” to identify characters that are different from the second information in the target candidate information.<aaa,bbb> , aaa is the target form information, and bbb is the second information. When correcting aaa, it can be replaced with bbb. A strikethrough "aa" can also be used to identify characters that are redundant with respect to the second information in the target candidate information. Of course, the electronic device can also use other symbols to identify the characters to be corrected, such as single quotation marks, double quotation marks, etc.
[0125] In order to further highlight the different parts, in some embodiments, the electronic device may display the first character differently.
[0126] Here, in order to better distinguish the different parts and the same parts between the second information and the target candidate information, the electronic device may highlight the first character in the second information.
[0127] The embodiment of the present application does not limit the way of highlighting. For example, the electronic device can highlight the display by using color, shape or texture, or by using marking and other methods.
[0128] In one example, the second information is abcdfghjjkmlbopqx, the target candidate information is abcdefghijklmnopq, and the target candidate information is compared with the second information. The comparison result is that the fifth digit in the second information needs to be added with e, the eighth digit should be changed from j to i, and the 11th to 13th digits should be changed to lmn. The correction information displayed by the electronic device can be It can also be abcd^efg h<j,i> jk<mlb,lmn> opq, you can also
[0129] Of course, the electronic device can also add a correction symbol at the position corresponding to the target character in the correction information, and / or highlight the target character. The adding method and the highlighting method are similar to the first character, and will not be repeated here.
[0130] In some embodiments, displaying the correction information includes at least one of the following operations:
[0131] Displaying correction information in the candidate information area;
[0132] In the case that the virtual keyboard has a virtual key corresponding to the target character or the first character, the virtual key corresponding to the target character or the first character is displayed distinctively on the virtual keyboard.
[0133] Here, the virtual keyboard may be a virtual keyboard with keys virtualized on a display screen. The electronic device detects whether there is a virtual key corresponding to the target character or the first character on the virtual keyboard. If the detection result shows that the virtual key exists, the electronic device displays the virtual key corresponding to the target character or the first character in a differentiated manner from other virtual keys.
[0134] It is understandable that the electronic device may display the correction information in the candidate information area, may display the correction information on the virtual keyboard, or may display the correction information in the candidate information area at the same time.
[0135] In some embodiments, in order to make it easier for the user to understand the character that needs to be corrected, the electronic device can display the first character on the virtual keyboard and highlight the first character in the candidate information area.
[0136] In order to enable the user to have a more comprehensive understanding of the target candidate information and the correction information, in some embodiments, the electronic device may display the target candidate information in the candidate information area and the correction information on the virtual keyboard. Alternatively, the target candidate information and the correction information may be displayed in the candidate information area and the correction information may be displayed on the virtual keyboard. Alternatively, the target candidate information may be displayed on the virtual keyboard.
[0137] It should be noted that, in the embodiment of the present application, the combined display method of the target candidate information and the correction information includes but is not limited to the above-mentioned display method.
[0138] In some embodiments, when the target candidate information is displayed, correcting the second information using the target candidate information includes:
[0139] receiving a first input of target candidate information;
[0140] In response to the first input, the second information is replaced with the target candidate information, or the first character in the second information is corrected according to the target character in the target candidate information.
[0141] Here, the first input may be an input acting on the target candidate information. When the target candidate information is displayed, the user performs a first input operation on the target candidate information. The electronic device receives the first input and, in response to the first input, replaces the second information in the target form item with the target candidate information. That is, after the user performs the first input operation, the electronic device displays the target candidate information in the target form item.
[0142] In some embodiments, when the target candidate information includes multiple sub-contents, the first input may be an input acting on the target sub-content in the target candidate information. The user makes a first input to the target sub-content, the electronic device receives the first input, and in response to the first input, replaces the second information in the target form item with the target sub-content.
[0143] In the embodiment of the present application, by first inputting the target candidate information and completing the overall replacement of the second information, the purpose of one-click correction can be achieved, thereby quickly and completely correcting the overall filled-in information and improving the correction efficiency.
[0144] In an example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijk lmn, and the user clicks on the area corresponding to the target candidate information. In response to the click operation, the electronic device replaces the second information with abcdefghijklmn.
[0145] In order to reduce the amount of replaced characters, in some embodiments, when the target candidate information is displayed, the second information is corrected using the target candidate information, including:
[0146] receiving a first input of target candidate information;
[0147] In response to the first input, the first character in the second information is corrected according to the target character in the target candidate information.
[0148] Here, the electronic device receives the first input, and in response to the first input, replaces the first character in the second information in the target form item with the target character in the target candidate information. That is, after the user performs the first input operation, the electronic device replaces the first character in the second information with the target character, thereby displaying the corrected second information in the target form item.
[0149] In this way, the electronic device can achieve the effect of full correction through one-key input, and by replacing the different parts, the amount of replaced characters can be reduced.
[0150] In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijk lmn, the user clicks the area corresponding to the target candidate information, and the electronic device responds to the click operation, determines the first character in the second information, and uses the target characters "e", "i" and "lmn" to correct the first character in the second information respectively. The corrected second information displayed by the electronic device in the second form item is "abcdefghijklmn".
[0151] In order to achieve the purpose of accurate correction, in some embodiments, the first input may include multiple first sub-inputs, the target character may include multiple target sub-characters, and the first character may include multiple first sub-characters. The electronic device receives a first sub-input, and in response to the first sub-input, replaces a first sub-character in the first character with a target sub-character in the target character. In this way, the first sub-characters are corrected one by one through the target sub-characters, so that the purpose of accurately correcting the second information can be achieved.
[0152] In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijk lmn, the user clicks the area corresponding to the target candidate information, and the electronic device determines the first character in the second information that needs to be corrected in response to the click operation, and uses the target character "e" to correct the first sub-character in the second information. The corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
[0153] In some embodiments, in the case where the correction information is displayed, correcting the second information using the target candidate information includes:
[0154] receiving a second input of correction information;
[0155] In response to the second input, the first character of the second information is replaced with the target character of the target candidate information.
[0156] Here, the second input may be an input acting on the correction information. When the correction information is displayed, the user performs a second input operation on the correction information. The electronic device receives the second input, and in response to the second input, corrects the first character in the second information using the target character in the target candidate information, and displays the corrected second information in the second form item.
[0157] That is, the user clicks on the area corresponding to the correction information, and the electronic device replaces the first character in the second information in the target form item with the target character in the target candidate information in response to the click operation, and displays the corrected second information in the target form item.
[0158] In the above embodiment, the correction of the second information is completed by inputting the correction information, thereby achieving the purpose of one-key correction, thereby quickly and completely correcting the entire filled-in information and improving the correction efficiency.
[0159] In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijk lmn, the user clicks the area corresponding to the correction information, determines the first character in the second information, and uses the target characters "e", "i" and "lmn" to correct the first character in the second information respectively. The electronic device displays the corrected second information "abcdefghijklmn" in the second form item.
[0160] In order to achieve the purpose of accurate correction, in some embodiments, the second input may include multiple second sub-inputs, the target character may include multiple target sub-characters, and the first character may include multiple first sub-characters. The electronic device receives a second sub-input, and in response to the second sub-input, replaces a first sub-character in the first character with a target sub-character in the target character. In this way, the first sub-character is corrected by the target sub-character, so that the purpose of accurately correcting the second information can be achieved.
[0161] In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijk lmn, the user clicks the first sub-character in the correction information or the area corresponding to the target sub-character, and the electronic device responds to the click operation, determines the first sub-character in the second information that needs to be corrected, and uses the target sub-character "e" to correct the first sub-character in the second information. The corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
[0162] In some embodiments, when the correction information is displayed, the electronic device may receive a third input of the correction information from the user, and replace the second information with the target candidate information in response to the third input.
[0163] In order to further understand the correction of the filled form information in the form item, the information display method is described by taking the first content and the second content copied to the clipboard and the candidate information area being the candidate column of the input method as an example. Figure 3 is a flow chart of an information correction method provided in an embodiment of the present application. Figure 3 As shown, the information correction method comprises:
[0164] Step S310, when the electronic device displays a form filling page, when it is detected that the input cursor is focused on a form item (i.e., the target form item) and the form item has filled in information (i.e., the second information), the clipboard is searched for pre-filled information (i.e., target candidate information) corresponding to the header (i.e., the target form item name).
[0165] Step S320, when the pre-filled content is found, check whether the pre-filled information is the same as the filled information. If they are the same, the process ends. If they are not the same, execute step S330.
[0166] Step S330: display the correction information in the candidate column, mark the difference part with the correction symbol in the correction information, and highlight the first character or the target character on the virtual keyboard.
[0167] Step S304: the electronic device receives a correction input from the user, and corrects the filled-in information in response to the correction input.
[0168] Here, the correction input may include a one-key correction input or a local correction input. The one-key correction input may be a touch operation performed by a user on an area other than the first character and / or the target character in the correction information. The local correction input may be a touch operation performed by a user on the first character and / or the target character in the correction information.
[0169] It can be understood that after receiving the one-key correction input, the electronic device responds to the one-key correction input and performs overall correction or overall replacement of the filled-in information. After receiving the partial correction input, the electronic device responds to the partial correction input and performs partial correction of the filled-in information.
[0170] In order to improve the accuracy of subsequent form filling, in some embodiments, after step S110, the information display method further includes:
[0171] When it is detected that the information filled in the form filling page is modified, the target content is updated according to the modified information.
[0172] Here, the target content is the content corresponding to the first information. The update may be to replace or add the target content. When the electronic device detects that the filled information has been modified, it searches for a modification field corresponding to the form item according to the form item corresponding to the modified information. If it exists, the character information corresponding to the modification field is replaced with the modified information. If it does not exist, the modified information and the modification field are stored in the target content.
[0173] In the above embodiment, by updating the modified information into the target content, the field information and character information in the target content are updated so that subsequent matching better meets the user's expectations, thereby improving the matching rate of candidate information of the form item.
[0174] In some embodiments, the segmented target content stores data in the form of key-value pairs, and updating the target content according to the modified information includes: updating the key-value pairs corresponding to the target content according to the modified information.
[0175] Here, the electronic device searches for a modified field corresponding to the form item in the key-value pair corresponding to the target content according to the modified information corresponding to the form item. If it exists, the key value corresponding to the modified field is replaced with the modified information. If it does not exist, the modified information and the modified field are stored in the newly added key-value pair in the target content. In this way, the key-value pair in the target content is updated so that subsequent matching is more in line with the user's expectations, thereby improving the matching rate of the candidate information of the form item.
[0176] It should be noted that the information display method provided in the embodiment of the present application can be executed by an information display device or a control module in the information display device for executing the form filling method. In the embodiment of the present application, the information display device provided in the embodiment of the present application is described by taking the information display method executed by the information display device as an example.
[0177] Figure 4 It is a structural schematic diagram of an information display device provided in an embodiment of the present application.
[0178] like Figure 4 As shown, the information display device 400 includes:
[0179] A first acquisition module 410 is used to acquire the position of an input cursor in the form filling interface when receiving a copy input of the first content and the second content;
[0180] A first display module 420, configured to display first candidate information when the position of the input cursor corresponds to the first form item;
[0181] The first acquisition module 410 is further configured to acquire a position of an input cursor when first information is displayed in the first form item, wherein the first candidate information includes the first information;
[0182] The first display module 420 is further used to display second candidate information when the position of the input cursor corresponds to the second form item, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item; the second candidate information is the content corresponding to the second form item and matches the first information.
[0183] In an embodiment of the present application, a copy input of a first content and a second content is received, and when the position of the input cursor corresponds to the first form item, first candidate information matching the first form item is obtained from the first content and the second content, and after the first information is filled into the first form item according to the first candidate information, when the position of the input cursor corresponds to the second form item, the second candidate information corresponding to the second form item is displayed. In this way, by receiving the copy input of the first content and the second content and selecting the first information once, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is helpful for users to quickly find the content to be filled in the form page from a large number of contents. On the other hand, users do not need to repeatedly perform copy operations during the process of filling in multiple forms, which simplifies the form filling operation, thereby improving the efficiency of form filling and helping to quickly complete the filling of multiple form pages.
[0184] In some embodiments, the apparatus 400 further includes:
[0185] The information acquisition module is used to acquire target candidate information when the position of the input cursor corresponds to the target form item and the target form item displays second information; the target candidate information is information corresponding to the target form item.
[0186] The correction module is used to correct the second information using the target candidate information when there is a difference between the target candidate information and the second information.
[0187] In some embodiments, the apparatus 400 further includes:
[0188] The second display module is used to display at least one of the target candidate information or the correction information.
[0189] The correction information includes: the first character in the second information, and / or the target character in the target candidate information. The target character is: the difference between the second information and the target candidate information in the target candidate information. The first character is: the difference between the second information and the target candidate information in the second information.
[0190] In some embodiments, when displaying target candidate information, the correction module includes:
[0191] The first receiving submodule is used to receive a first input of target candidate information.
[0192] The first correction submodule is used to replace the second information with the target candidate information in response to the first input, or to correct the first character in the second information according to the target character in the target candidate information.
[0193] In some embodiments, in the case of displaying correction information, the correction module includes:
[0194] The second receiving submodule receives a second input of the correction information.
[0195] The second correction submodule is configured to replace the first character of the second information with the target character of the target candidate information in response to the second input.
[0196] In some embodiments, the second display module is specifically configured to perform at least one of the following operations:
[0197] The correction information is displayed in the candidate information area.
[0198] In a case where a virtual key corresponding to the target character or the first character exists on the virtual keyboard, the virtual key corresponding to the target character or the first character is displayed distinctively on the virtual keyboard.
[0199] In the embodiment of the present application, the information display device 400 is applied to an electronic device, and the electronic device includes a display screen.
[0200] The information display device 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 PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. 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.
[0201] The information display device 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.
[0202] The information display device provided in the embodiment of the present application can achieve Figures 1 to 3 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0203] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 510, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 510. When the program or instruction is executed by the processor 510, each process of the above-mentioned information display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0204] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0205] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0206] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610.
[0207] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption through the power management system. 6 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.
[0208] The processor 610 is configured to:
[0209] When a copy input of the first content and the second content is received, the position of the input cursor in the form filling interface is obtained; when the first information is displayed in the first form item, the position of the input cursor is obtained, and the first candidate information includes the first information.
[0210] The display unit 606 is used for:
[0211] When the position of the input cursor corresponds to the first form item, first candidate information is displayed; when the position of the input cursor corresponds to the second form item, second candidate information is displayed, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item; the second candidate information is content corresponding to the second form item and matches the first information.
[0212] The processor 610 is further configured to: when the first information is the first sub-content, the second candidate information is the third sub-content in the first content corresponding to the second form item; or
[0213] In the case where the first information is the second sub-content, the second candidate information is the fourth sub-content in the second content corresponding to the second form item.
[0214] Optionally, the processor 610 is further configured to:
[0215] When the position of the input cursor corresponds to the target form item and the target form item displays the second information, target candidate information is acquired; the target candidate information is information corresponding to the target form item.
[0216] When there is a difference between the target candidate information and the second information, the second information is corrected using the target candidate information.
[0217] Optionally, the display unit 606 is further configured to: display the target candidate information, and / or display correction information.
[0218] The correction information includes: the first character in the second information, and / or the target character in the target candidate information. The target character is: the difference between the second information and the target candidate information in the target candidate information. The first character is: the difference between the second information and the target candidate information in the second information.
[0219] Optionally, when displaying target candidate information, the user input unit 607 is used to:
[0220] A first input of target candidate information is received.
[0221] The processor 610 is further configured to:
[0222] In response to the first input, the second information is replaced with the target candidate information, or the first character in the second information is corrected according to the target character in the target candidate information.
[0223] Optionally, in the case of displaying the correction information, the user input unit 607 is further used to:
[0224] A second input of correction information is received.
[0225] The processor 610 is further configured to:
[0226] In response to the second input, the first character of the second information is replaced with the target character of the target candidate information.
[0227] Optionally, the display unit 606 is further configured to:
[0228] Displaying correction information in the candidate information area;
[0229] Alternatively, when the virtual keyboard includes a virtual key corresponding to the target character or the first character, the virtual key corresponding to the target character or the first character is displayed distinctively on the virtual keyboard.
[0230] It should be understood that in the embodiment of the present application, the input unit 604 may include a soft keyboard 6041 and a microphone 6042. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 609 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understood that the above-mentioned modem processor may not be integrated into the processor 610.
[0231] 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, the various processes of the above-mentioned information display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0232] The processor is a processor in the electronic device described 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.
[0233] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0234] 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.
[0235] 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.
[0236] 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 computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0237] 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. An information display method, characterized in that: include: When receiving a copy input of the first content and the second content, obtaining a position of an input cursor in the form filling interface; In a case where the position of the input cursor corresponds to the first form item, first candidate information is displayed, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item; When first information is displayed in the first form item, obtaining a position of an input cursor, wherein the first candidate information includes the first information; In the case where the position of the input cursor corresponds to the second form item, second candidate information is displayed, where the second candidate information is content corresponding to the second form item, and the second candidate information and the first information belong to the same content; In the case where the first information is the first sub-content, the second candidate information is the third sub-content in the first content corresponding to the second form item; In the case that the first information is the second sub-content, the second candidate information is the fourth sub-content in the second content corresponding to the second form item.
2. The method according to claim 1, characterized in that In the case where the copy input of the first content and the second content is received, after obtaining the position of the input cursor in the form filling interface, the method further includes: When the position of the input cursor corresponds to the target form item and the target form item displays second information, target candidate information is acquired; the target candidate information is information corresponding to the target form item; when there is a difference between the target candidate information and the second information, the second information is corrected using the target candidate information.
3. The method according to claim 2, characterized in that Before correcting the second information by using the target candidate information, the method further includes: displaying at least one of target candidate information or correction information; Wherein, the correction information includes: the first character in the second information, and / or, the target character in the target candidate information; the target character is: the difference between the second information and the target candidate information in the target candidate information; the first character is: the difference between the second information and the target candidate information in the second information.
4. The method according to claim 3, characterized in that In the case where the target candidate information is displayed, the correcting the second information by using the target candidate information includes: receiving a first input of the target candidate information; In response to the first input, the second information is replaced with the target candidate information, or the first character in the second information is corrected according to the target character in the target candidate information.
5. The method according to claim 3, characterized in that: In the case of displaying the correction information, the correcting the second information by using the target candidate information includes: receiving a second input of the correction information; In response to the second input, a first character of the second information is replaced with the target character of the target candidate information.
6. The method according to claim 3, characterized in that: The displaying of the correction information includes at least one of the following operations: Displaying the correction information in the candidate information area; Alternatively, in a case where the virtual keyboard includes the target character or the virtual key corresponding to the first character, the target character or the virtual key corresponding to the first character is displayed distinctively on the virtual keyboard.
7. An information display device, characterized in that: The device comprises: A first acquisition module is used to acquire the position of an input cursor in the form filling interface when receiving a copy input of the first content and the second content; A first display module, configured to display first candidate information when the position of the input cursor corresponds to the first form item, wherein the first candidate information includes at least one of the following: a first sub-content in the first content corresponding to the first form item, and a second sub-content in the second content corresponding to the first form item; The first acquisition module is further configured to acquire a position of an input cursor when first information is displayed in the first form item, and the first candidate information includes the first information; The first display module is further configured to display second candidate information when the position of the input cursor corresponds to a second form item, the second candidate information being content corresponding to the second form item, and the second candidate information and the first information belonging to the same content; In the case where the first information is the first sub-content, the second candidate information is the third sub-content in the first content corresponding to the second form item; In the case that the first information is the second sub-content, the second candidate information is the fourth sub-content in the second content corresponding to the second form item.
8. The device according to claim 7, characterized in that The device also includes: An information acquisition module, configured to acquire target candidate information when the position of the input cursor corresponds to a target form item and second information is displayed in the target form item; the target candidate information is information corresponding to the target form item; A correction module is used to correct the second information using the target candidate information when there is a difference between the target candidate information and the second information.
9. The device according to claim 8, characterized in that The device also includes: A second display module, used to display at least one of the target candidate information or the correction information; Wherein, the correction information includes: the first character in the second information, and / or, the target character in the target candidate information; the target character is: the difference between the second information and the target candidate information in the target candidate information; the first character is: the difference between the second information and the target candidate information in the second information.
10. The device according to claim 9, characterized in that In the case of displaying the target candidate information, the correction module includes: A first receiving submodule, configured to receive a first input of the target candidate information; The first correction submodule is used to replace the second information with the target candidate information in response to the first input; or to correct the first character in the second information according to the target character in the target candidate information.
11. The device according to claim 9, characterized in that In the case of displaying correction information, the correction module includes: A second receiving submodule receives a second input of the correction information; The second correction submodule is configured to replace the first character of the second information with the target character of the target candidate information in response to the second input.
12. The device according to claim 9, characterized in that The second display module is specifically used to perform at least one of the following operations: Displaying the correction information in the candidate information area; Alternatively, when a virtual key corresponding to the target character or the first character exists on the virtual keyboard, the virtual key corresponding to the target character or the first character is displayed distinctively on the virtual keyboard.
13. An electronic device, 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 information display method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the information display method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Information input method and apparatus
CN108108249A
Information correction method and device and electronic equipment
CN112684913A
Text processing method and device, electronic equipment and readable storage medium
CN112765942A