WO2022237795A1 - Information display method and electronic device - Google Patents

Information display method and electronic device Download PDF

Info

Publication number
WO2022237795A1
WO2022237795A1 PCT/CN2022/092028 CN2022092028W WO2022237795A1 WO 2022237795 A1 WO2022237795 A1 WO 2022237795A1 CN 2022092028 W CN2022092028 W CN 2022092028W WO 2022237795 A1 WO2022237795 A1 WO 2022237795A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
target
content
candidate information
character
Prior art date
Application number
PCT/CN2022/092028
Other languages
French (fr)
Chinese (zh)
Inventor
谢竺霖
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022237795A1 publication Critical patent/WO2022237795A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Definitions

  • the present application belongs to the field of computer technology, and specifically relates to an information display method and electronic equipment.
  • the purpose of the embodiments of the present application is to provide an information display method and an electronic device, which can solve the problems of cumbersome operations and low filling efficiency in the process of filling in multiple forms.
  • the embodiment of the present application provides an information display method, the method includes:
  • first candidate information When the position of the input cursor corresponds to the first form item, display first candidate information, wherein the first candidate information includes at least one of the following: the first content in the first form item The corresponding first sub-content, the second sub-content corresponding to the first form item in the second content;
  • the first candidate information includes the first information
  • the second candidate information is the content corresponding to the second form item and matches the first information.
  • an information display device which includes:
  • the first obtaining module is used to obtain the position of the input cursor in the form filling page when the copy input of the first content and the second content is received;
  • a first display module configured to display first candidate information when the position of the input cursor corresponds to a first form item, wherein the first candidate information includes at least one of the following: in the first content the first sub-content corresponding to the first form item, and the second sub-content corresponding to the first form item in the second content;
  • the first obtaining module is further configured to obtain the position of the input cursor when the 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, where the second candidate information is the content corresponding to the second form item, And match with the first information.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor realizes the steps of the information display method according to the first aspect when executed.
  • 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 information display method as described in the first aspect is implemented A step of.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The information display method described above.
  • an embodiment of the present application provides a computer program product, including a computer program tangibly contained on a computer-readable medium, where the computer program includes program code for executing the method as described in the first aspect.
  • the embodiment of the present application provides an electronic device configured to execute the steps of the method described in the first aspect.
  • the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, the second candidate information corresponding to the second form item is displayed.
  • the second candidate information matching the second form item can be automatically displayed.
  • the user does not need to repeatedly copy operations during the filling of 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 filling pages.
  • FIG. 1 is a schematic flowchart of an embodiment of an information display method provided by the present application
  • Fig. 2 is another schematic flowchart of an embodiment of the information display method provided by the present application.
  • FIG. 3 is a schematic flow diagram of an embodiment of the information correction method provided by the present application.
  • Fig. 4 is a schematic structural diagram of an embodiment of an information display device provided by the present application.
  • Fig. 5 is a structural block diagram of an embodiment of an electronic device provided by the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the user can first copy a piece of form information to be filled in, which can include information such as name, mobile phone, and address, and then fill in the form information on the form filling page.
  • the electronic device automatically divides the form information, obtains the character information matching the form header, and automatically fills the character information into the form filling page.
  • the user needs to copy the form information into the input box customized on the page, so that the electronic device can automatically complete the filling of the form filling page. In this way, the form filling page needs to be customized.
  • the information display method provided in the embodiment of the present application may not be limited to filling in a form filling page, and may also be applied to filling in a document in the form of a form.
  • 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.
  • FIG. 1 is a schematic flowchart of an information display method provided by an embodiment of the present application. As shown in FIG. 1 , the information display method is applied to an electronic device, and the information display method includes steps S110 to S140.
  • Step S110 in the case of receiving the copy input of the first content and the second content, acquire the position of the input cursor in the form filling page.
  • both the first content and the second content are collections of information.
  • the information can be plain text information, table information, picture information, etc., and the first content is different from the second content.
  • a copy input may be a copy operation acting on the first content and the second content.
  • the electronic device can copy the first content and the second content to other places, such as a clipboard, through the received copy input.
  • the electronic device After receiving the copy input of the first content and the second content, the electronic device detects whether a form filling page is displayed on the display interface. In case it is detected that a form filling page is displayed, the electronic device detects the position of the input cursor.
  • Step S120 if the position of the input cursor corresponds to the first form item, display the first candidate information.
  • the first form item may be any form item in the form filling page.
  • the location 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 the sub-content that matches the first form item among the copied and input multiple contents.
  • the first candidate information may include at least one of the following items: first subcontent corresponding to the first form item in the first content, and second subcontent corresponding to the first form item in the second content.
  • the electronic device detects that the position of the input cursor corresponds to the first form item, it searches from the first content and the second content whether there is any sub-content matching the first form item. When there is sub-content matching the first form item, the electronic device displays the sub-content as candidate information of the first form item.
  • Step S130 if the first information is displayed in the first form item, acquire the position of the input cursor.
  • the first candidate information includes the first information, that is, the first information may be sub-content selected from the first candidate information.
  • the first information may be the first sub-content or the second sub-content.
  • the electronic device displays the first candidate information
  • the user performs an input operation on the first candidate information.
  • the electronic device receives a user's input operation, and in response to the input operation, selects the first information from the first candidate information, 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 completed.
  • the electronic device continues to monitor the input cursor to acquire the position of the input cursor.
  • Step S140 if the position of the input cursor corresponds to the second form item, display the second candidate information.
  • the second form item may be any form item on the form filling page, and may be the same as or different from the first form item.
  • the location of the input cursor corresponding to the second form item may 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. That is to say, the second candidate information and the first information belong to the same content.
  • the second candidate information is the third sub-content corresponding to the second form item in the first content.
  • the second candidate information is the fourth sub-content corresponding to the second form item in the second content.
  • the user when the user needs to fill in the second form item on the form filling page after completing the first form item, the user moves the input cursor to the area corresponding to the second form item.
  • the electronic device After the electronic device detects that the position of the input cursor is located on the second form item, it searches for subcontent matching the second form item from the content corresponding to the first information, and displays the subcontent as candidate information of the second form item.
  • the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, the second candidate information corresponding to the second form item is displayed.
  • the second candidate information matching the second form item can be automatically displayed.
  • the user does not need to repeat the copy operation during the filling of 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 filling pages.
  • the electronic device receives a copy input of the first content and the second content, and in response to the copy input, copies the first content and the second content to a clipboard to form a clipping text.
  • the clipboard is associated with the input method application in the electronic device.
  • Clipped text can include one content or multiple content. Different clippings have different identifiers.
  • the form filling page involved in the embodiment of the present application may be a page capable of filling in form information.
  • the form is mainly responsible for the data collection function in the page.
  • the form filling page may include form items and fields corresponding to the form items. For ease of understanding, this field may be referred to as the header name.
  • Form items can be input fields.
  • the input field may be a text input field, and the user may fill in form information in the input field.
  • the "input cursor” involved in the embodiment of the present application is an indicator used to display the current position of user interaction on the electronic device, and these positions will respond to input from text input or pointing device. It can be understood that the input cursor can be a movable icon showing to the user where any input will be made or where an operation will take place on the electronic device.
  • the form of the input cursor is not limited, for example, the input cursor may be a display cursor or an invisible cursor.
  • the "displaying candidate information" involved in the embodiment of the present application may be displaying the candidate information in the candidate information area, or displaying in the virtual keyboard area.
  • 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.
  • both the first content and the second content are a collection of information.
  • the information can be plain text information or form information.
  • the content of the information can be unlimited, for example, it can be short message, instant messaging message, information information, shopping information, express delivery information and so on.
  • the first content and the second content contain different information.
  • the source of the first content and the second content may not be limited.
  • the first content and the second content may be stored on an electronic device, may also be acquired through an application program, or may be formed by identifying image information.
  • the user performs copy input on the first content and the second content.
  • the copy input may be 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.
  • the "sub-content” involved in the embodiment of the present application may be obtained by text-segmenting the copied and input first content and second content through an electronic device.
  • the first sub-content and the third sub-content may be obtained by text segmentation of the first content
  • the second sub-content and fourth sub-content may be obtained by text segmentation of the second content.
  • each sub-content may include one or more character information.
  • the method further includes:
  • 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 and character information corresponding to the field information;
  • the character information may be sub-content matching the form item.
  • the field information can be sub-content matching the name of the form item.
  • the field information can be various attribute information, such as name, gender, address and so on.
  • the character information can be various attribute values, such as female, male, Hunan province, and so on.
  • the electronic device uses the field in the field information as the key in the key-value pair, and uses the characters in the character information as the key-value to store the divided content. Since the data is stored in the form of key-value pairs, the key-value can be quickly queried by querying the key. Therefore, the electronic device stores the segmented field information and character information in the form of key-value pairs, and the character information can be quickly queried according to the field information.
  • the first content is "My name is AA”
  • the electronic device uses a text segmentation method to perform text segmentation on the first content to obtain a key-value pair "Name AA", wherein "Name” is the key, and "AA " is the key-value.
  • the electronic device detects that in a key-value pair, one key corresponds to multiple key values, and the multiple key values can be displayed in a floating manner through the floating control, so that the user can select the key value.
  • the electronic device After the user selects the first candidate information, the electronic device detects that the selected sub-content includes a plurality of characters, and displays the plurality of characters by floating control. In this way, the floating display of multiple characters on the electronic device can display all the selected sub-contents, which solves the problem that the selected sub-contents cannot be fully displayed due to insufficient range of the display area, and facilitates the user to select the first information.
  • the electronic device receives a user's input of a target character among the floatingly displayed characters, and in response to the input, fills in the first form item with the target character as the first information.
  • the electronic device may use the floating control to display the multiple sub-contents, so that the user can select the first candidate information.
  • the floating control may also be used for display.
  • 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.
  • the electronic device 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.
  • the electronic device When the electronic device detects that there is a second sub-content corresponding to the first form item in the second content, the electronic device displays the second sub-content as the first candidate information.
  • the electronic device When the electronic device detects that there is a first sub-content corresponding to the first form item in the first content, and that there is a second sub-content corresponding to the first form item in the second content, the electronic device combines the first sub-content and the first form item. Both sub-contents are displayed as the first candidate information.
  • 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.
  • the electronic device performs text segmentation on the copied and input content to obtain field information and character information corresponding to the field information.
  • the electronic device searches the copied input content for the target field information corresponding to the form item name. 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.
  • the electronic device can acquire the sub-content corresponding to the second form item and the sub-content corresponding to other form items.
  • the electronic device obtains the first sub-content and/or the second sub-content, which may specifically be executed as follows:
  • field information corresponding to the first content and the second content and character information corresponding to the field information are obtained;
  • character information corresponding to the target field information in the first content is used as the first sub-content
  • the character information corresponding to the target field information in the second content is used as the second sub-content.
  • the electronic device performs text segmentation on the first content and the second content respectively to obtain 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 the character information corresponding to the The character information corresponding to the field information.
  • Field information may include one field or multiple fields with different attributes.
  • Character information may include one character or a plurality of characters.
  • the first sub-content may be character information obtained by dividing the first content and corresponding to the target field information.
  • the second sub-content may be character information obtained by dividing the second content and corresponding to the target field information. In this way, the electronic device can quickly find the candidate information corresponding to the form item based on the name of the form item by performing text segmentation on the copied input content.
  • a specific embodiment is given to illustrate the information display method. Take the form filling page as the express filling page, and the candidate information area as the candidate column of the input method for illustration.
  • the electronic device receives a plurality of data copied by the user (ie, first content and second content).
  • the candidate column of the input method displays two names, namely A and B (namely the first candidate information) .
  • A that is, the first information
  • the address of A that is, the second candidate information
  • FIG. 2 is a schematic flowchart of another information display method provided by the embodiment of the present application. As shown in FIG. 2, the information display method includes step S210 to step S260.
  • step S210 the electronic device divides the first content and the second content after receiving multiple copies of the first content and the second content from the user.
  • step S220 the electronic device detects whether the current page is a form filling page. If yes, execute step S230; if no, end.
  • step S230 the electronic device acquires the header name corresponding to the position of the input cursor.
  • the electronic device may display candidate words (ie, candidate information) matching the header name in the input method candidate column (ie, candidate information area).
  • step S240 the electronic device detects whether the first content and the second content have a division field corresponding to the header name. If yes, execute step S250. If not, end the display of the candidate words in the candidate column.
  • the character input of the form item corresponding to the header name is received, thereby completing the filling of the form item.
  • step S250 the electronic device displays the segmented characters corresponding to the first content and the second content as a first candidate word (ie, first sub-content) and a second candidate word (ie, second sub-content) on the candidate column.
  • the split field corresponds to the split character.
  • step S260 the electronic device receives the user's input on the target candidate word (that is, the first information), and displays the target candidate word on the screen in response to the input.
  • the target candidate word is displayed on the screen, in the form filling page, the input operation to the input cursor is received, and after obtaining the header name corresponding to the position of the input cursor (that is, the position of the input cursor corresponds to the second form item), in the input column
  • All the displayed candidate words that is, the second candidate information are segmentation characters of the target content.
  • the user selects the first candidate word on the screen.
  • all the candidate words displayed in the input column are the separating characters of the first content.
  • the user selects the second candidate word on the screen.
  • all the candidate words displayed in the input column are the separating characters of the second content.
  • text segmentation is performed on the copied contents, so as to extract segmentation fields and segmentation characters.
  • the electronic device matches the header name with the split field, finds the split character corresponding to the header name, and displays it in the candidate column, so that it can quickly complete the automatic matching filling operation and suggested filling operation from many contents.
  • the candidate information corresponding to each header name in the form filling page can be quickly displayed, thereby shortening the filling time of the form filling page and simplifying the steps of form filling.
  • the information display method further includes:
  • the second candidate information is displayed in the second form item.
  • the electronic device fills the second candidate information into the second form item. That is to say, after receiving the input of the first information, the electronic device fills in candidate information matching the form items in all or some of the form items on the form filling page. In this way, by automatically filling candidate information into all or some form items, the purpose of quickly filling the form filling page can be achieved, reducing the user's input operations on the form filling page, shortening the time for filling the form filling page, and improving filling efficiency.
  • the information display method further includes:
  • 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.
  • the corresponding information filled in the second form item may be one of the second candidate information, the modified second candidate information, and the input character information.
  • the user needs to judge whether the second candidate information is correct, and then perform different input operations on the second candidate information.
  • the electronic device adaptively fills the second candidate information into the second form item.
  • the electronic device receives the user's input on the second candidate information, and fills in the second candidate information in the second form item in response to the input.
  • the electronic device receives the user's modification input on the second candidate information, and fills in the second form item with the modified second candidate information in response to the modification input.
  • the electronic device receives character input from the user on the second form item, and fills in the characters in the second form item.
  • the form information filling of the second form item is completed through the displayed second candidate information, which can achieve the purpose of quickly completing the automatic matching filling and suggested filling operations of the form filling page, and simplifies the process of form filling. Improve the efficiency of form filling.
  • the information display method further includes:
  • the second information is corrected by using the target candidate information.
  • the target form item can fill in any form item on the page for the form.
  • the target candidate information is information corresponding to the target form item.
  • Target candidate information may include one or more sub-contents.
  • the target candidate information may be the first candidate information.
  • the target candidate information may be the second candidate information.
  • the electronic device can search for multiple sub-contents corresponding to the form item from the copied and input multiple contents, or, when the user selects from After the target content to be filled in the form filling page is selected from the plurality of contents, the electronic device searches the target content for sub-content corresponding to the form.
  • the electronic device finds from the first content and the second content that the subcontent corresponding to the target form item is “1234" and “1235", respectively, and uses "1234" and "1235" as target candidate information.
  • the electronic device finds from the target content that the sub-content corresponding to the target form item is "1234", and takes "1234" as the target candidate information.
  • the method for the electronic device to obtain target candidate information is similar to the method for obtaining the first candidate information, and for the sake of brevity, details are not repeated here.
  • 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 may not be limited, for example, the second information may be information manually input by the user, or information selected from candidate information to be filled in a form item, and so on.
  • the electronic device when the user wants to correct the target form item, the user moves the input cursor to the target form item.
  • the electronic device detects that the target form item is filled with the second information, it compares the second information with the target candidate information to determine whether there is a difference between the second information and the target candidate information. In a case where there is a difference between the target candidate information and the second information, the electronic device may correct the second information according to the target candidate information. In the absence of the difference part, the electronic device may do nothing.
  • the comparison of the target candidate information and the second information by the electronic device may specifically be realized by a matching algorithm, or may be realized by using other comparison algorithms. In the embodiment of this application, the comparison method is not shown.
  • 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, can compare whether the target form information and the second information have the same number of digits and whether the characters on each digit are the same, and so on.
  • 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 is different from that of the second information; the characters of the target form information and the second information are different.
  • the difference between the two is obtained, so that the user can clearly understand the possible problems of the filled information through the candidate information, which is helpful
  • the user modifies the filled information.
  • the information display method before using the target candidate information to correct the second information, the information display method further includes:
  • At least one of target candidate information or correction information is displayed.
  • the correction information may be information determined according to 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 a difference between the second information and the target candidate information in the second information.
  • the electronic device can display the target candidate information, can also display the correction information, and can also display the target candidate information and the correction information at the same time.
  • the electronic device displays the target candidate information, which is beneficial for the user to intuitively compare the target candidate information with the second information.
  • the electronic device displays the correction information, so that the user can intuitively observe the difference between the target candidate information and the second information.
  • the target candidate information is abcdf
  • the second information is abcde.
  • the target candidate information is compared with the second information, and the comparison result shows that the fifth digit in the second information should be changed from f to e.
  • the electronic device may display target candidate information abcdf, may also display "e” (namely the target character) or "f" (namely the first character), and may also display at least one of the following characters at the same time: abcdf, f, e.
  • the correction information can also be the information of adding a correction symbol at the position corresponding to the first character in the second information, or distinguishing and displaying multiple characters with different parameters, for example , displayed in different colors and fonts.
  • 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 that the part of the second information that is the same as or different from the target form information can be distinguished. And according to the type of the correction symbol, the type of the character to be corrected and the correction method can be determined.
  • the electronic device may use a half-width symbol " ⁇ " to identify characters missing from the target candidate information relative to the second information.
  • a bracket symbol “ ⁇ >” may also be used to identify characters different from the target candidate information with respect to the second information.
  • aaa is the target form information
  • bbb is the second information.
  • a strikethrough "aa” to identify redundant characters of the target candidate information relative to the second information.
  • the electronic device can also use other symbols to identify characters to be corrected, such as single quotes, double quotes, and so on.
  • the electronic device may display the first characters differently.
  • the electronic device may highlight the first character in the second information.
  • the electronic device may be highlighted by using color, shape or texture, etc., and may also be highlighted by marking or the like.
  • the second information is abcdfghjjkmlbopqx
  • the target candidate information is abcdefghijklmnopq
  • the target candidate information is compared with the second information.
  • the result of the comparison is that the fifth digit in the second information needs to be increased by e, and the eighth digit should be j is changed to i, and the 11th to 13th digits should be changed to lmn.
  • the correction information displayed by the electronic device can be abcd fghjjkml bopqx, or abcd ⁇ efg h ⁇ j,i>jk ⁇ mlb,
  • lmn>opq can also be abcd ⁇ efgh ⁇ j,i>jk ⁇ mlb,lmn>opq.
  • the electronic device may also add a correction symbol at a position corresponding to the target character in the correction information, and/or highlight the target character.
  • the adding method and highlighting method are similar to the first character, and will not be repeated here.
  • displaying the correction information includes at least one of the following operations:
  • the virtual key corresponding to the target character or the first character is differentially displayed on the virtual keyboard.
  • the virtual keyboard may be a virtual keyboard with buttons virtualized on the display screen.
  • the electronic device detects whether there is a target character or a virtual key corresponding to the first character on the virtual keyboard. If the detection result is that the virtual key exists, the electronic device displays the virtual key corresponding to the target character or the first character differently from other virtual keys.
  • the electronic device may display the correction information in the candidate information area, or display the correction information on the virtual keyboard, and simultaneously display the correction information in the candidate information area.
  • the electronic device may display the first character on the virtual keyboard, and highlight the first character in the candidate information area.
  • the electronic device may display target candidate information in the candidate information area, and display correction information in the virtual keyboard.
  • target candidate information and correction information may be displayed in the candidate information area, and correction information may be displayed in the virtual keyboard.
  • target candidate information may be displayed on the virtual keyboard.
  • the combined display manner of the target candidate information and the correction information includes but not limited to the above-mentioned display manners.
  • using the target candidate information to correct the second information includes:
  • the first input may be an input acting on target candidate information.
  • the user performs a first input operation on the target candidate information.
  • the electronic device receives a first input, and in response to the first input, replaces the second information in the target form item with target candidate information. That is to say, after the user performs the first input operation, the electronic device displays target candidate information in the target form item.
  • the first input may be an input acting on the target sub-content in the target candidate information.
  • the user performs a first input on 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.
  • the entire replacement of the second information can be completed, and the purpose of one-click correction can be achieved, so as to quickly complete the overall correction of the filled information and improve the correction efficiency.
  • the second information is abcdfghjjkmlb
  • the target candidate information is abcdefghijklmn
  • the electronic device replaces the second information with abcdefghijklmn in response to the click operation.
  • the target candidate information when the target candidate information is displayed, the target candidate information is used to correct the second information, including:
  • the electronic device receives a 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 to say, after the user performs the first input operation, the electronic device replaces the first character in the second information with the target character, so as to display the corrected second information in the target form item.
  • the electronic device can achieve the effect of full correction through one-key input, and by replacing the difference, the amount of characters to be replaced can be reduced.
  • the second information is abcdfghjjkmlb
  • the target candidate information is abcdefghijklmn
  • the corrected second information displayed by the electronic device in the second form item is "abcdefghijklmn".
  • the first input may include multiple first sub-inputs
  • the target character may include multiple target sub-characters
  • 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 characters. In this way, by correcting the first sub-characters one by one through the target sub-characters, the purpose of accurately correcting the second information can be achieved.
  • the second information is abcdfghjjkmlb
  • the target candidate information is abcdefghijklmn
  • the corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
  • using the target candidate information to correct the second information includes:
  • the first character of the second information is replaced with the target character of the target candidate information.
  • the second input may be an input acting on correction information.
  • 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 by using the target character in the target candidate information, and displays the corrected second information in the second form item.
  • the user clicks the area corresponding to the correction information, and the electronic device responds to the click operation, replacing the first character in the second information in the target form item with the target character in the target candidate information, and The corrected second message is displayed.
  • the correction of the second information is completed through the input operation of the correction information, so as to achieve the purpose of one-key correction, thereby quickly completing the overall correction of the filled information, and improving the correction efficiency.
  • the second information is abcdfghjjkmlb
  • the target candidate information is abcdefghijklmn
  • the user clicks on 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 respectively.
  • the corrected second information displayed by the electronic device in the second form item is "abcdefghijklmn".
  • the second input may include multiple second sub-inputs
  • the target character may include multiple target sub-characters
  • 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 characters. In this way, by correcting the first sub-character through the target sub-character, the purpose of accurately correcting the second information can be achieved.
  • the second information is abcdfghjjkmlb
  • the target candidate information is abcdefghijklmn
  • a subcharacter using the target subcharacter "e” to correct the first subcharacter in the second information.
  • the corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
  • the electronic device may receive a third input from the user on the correction information, and in response to the third input, replace the second information with target candidate information.
  • FIG. 3 is a schematic flowchart of an information correction method provided by an embodiment of the present application. As shown in FIG. 3 , the information correction method includes steps S310 to S340.
  • Step S310 when the electronic device displays the form filling page, when it is detected that the input cursor is focused on a certain form item (i.e. the target form item), and there is already filled information (i.e. the second information) in the form item, the clipping Find the pre-filled information (ie, target candidate information) corresponding to the header (ie, the name of the target form item) in the board.
  • a certain form item i.e. the target form item
  • the clipping Find the pre-filled information ie, target candidate information
  • Step S320 if the pre-filled content is found, check whether the pre-filled information is the same as the filled information. In the same case, end the process. If they are not the same, execute step S330.
  • Step S330 displaying the correction information in the candidate column, marking the difference in the correction information with a correction symbol, and highlighting the first character or the target character on the virtual keyboard.
  • step S340 the electronic device receives a correction input from the user, and corrects the filled information in response to the correction input.
  • the correction input may include one-key correction input, or local correction input.
  • the one-key correction input may be a user's touch operation on an area in the correction information other than the first character and/or the target character.
  • Partial input The correction input may be a user's touch operation on the first character and/or the target character in the correction information.
  • the electronic device After the electronic device receives the one-key correction input, it responds to the one-key correction input to perform overall correction or overall replacement of the filled information. After receiving the partial correction input, the electronic device responds to the partial correction input to perform partial correction on the filled information.
  • the information display method further includes:
  • the target content is updated according to the modified information.
  • the target content is content corresponding to the first information. Updating can be replacing or adding to the target content.
  • the electronic device detects that the filled information has been modified, it searches whether there is a modification field corresponding to the form item in the target content according to the corresponding form item of the modified information. If it exists, replace the character information corresponding to the modified field with the modified information. If it does not exist, store the modified information and modified fields into the target content.
  • the field information and character information in the target content are updated, so that the subsequent matching is more in line with the user's expectation, and the matching rate of the candidate information of the form item is improved.
  • the divided target content stores data in the form of key-value pairs
  • 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.
  • the electronic device searches whether there is a modification field corresponding to the form item in the key-value pair corresponding to the target content. If it exists, the key value corresponding to the modified field is replaced with the modified information. If it does not exist, store the modified information and modified fields into the newly added key-value pairs in the target content. In this way, the key-value pairs in the target content are updated, so that the subsequent matching is more in line with the user's expectation, thereby improving the matching rate of the candidate information of the form item.
  • the information display method provided by the embodiment of the present application may be executed by an information display device, or a control module in the information display device for executing the method of filling in a form.
  • the method for displaying information performed by the information display device is taken as an example to describe the information display device provided in the embodiment of the present application.
  • Fig. 4 is a schematic structural diagram of an information display device provided by an embodiment of the present application.
  • the information display device 400 includes:
  • the first acquiring module 410 is configured to acquire the position of the input cursor in the form filling page when the copy input of the first content and the second content is received;
  • the first display module 420 is configured to display the first candidate information when the position of the input cursor corresponds to the first form item;
  • the first obtaining module 410 is further configured to obtain the position of the input cursor when the first information is displayed in the first form item, and the first candidate information includes the first information;
  • the first display module 420 is further configured 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 items: The first sub-content corresponding to a form item, the second sub-content corresponding to the first form item in the second content; the second candidate information is the content corresponding to the second form item, and matches the first information.
  • the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, the second candidate information corresponding to the second form item is displayed.
  • the second candidate information matching the second form item can be automatically displayed.
  • the user does not need to repeatedly copy operations during the filling of 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 filling pages.
  • the device 400 also includes:
  • the information acquisition module is used to obtain target candidate information when the position of the input cursor corresponds to the target form item and the second information is displayed in the target form item; the target candidate information is information corresponding to the target form item.
  • the correction module may be configured to use the target candidate information to correct the second information when there is a difference between the target candidate information and the second information.
  • the device 400 also includes:
  • the second display module is used to display at least one item of target candidate information or correction information.
  • the correction information may include: the first character in the second information, and/or, the target character in the target candidate item information.
  • the target character is: in the target candidate information, the difference between the second information and the target candidate information.
  • the first character is: in the second information, the difference between the second information and the target candidate information.
  • the correction module in the case of displaying target candidate information, includes:
  • a first receiving submodule configured to receive a first input of target candidate information
  • the first corrector module is configured to replace the second information with target candidate information in response to the first input; or correct the first character in the second information according to the target character in the target candidate information.
  • the correction module includes:
  • the second receiving submodule receives a second input of correction information
  • the second syndrome module 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.
  • the second display module is specifically configured to perform at least one of the following operations:
  • the virtual key corresponding to the target character or the first character is differentially displayed on the virtual keyboard.
  • the information display apparatus 400 is applied to an electronic device, and the electronic device includes a display screen.
  • the information display device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the information display device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the information display device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device configured to execute the processes of the above display method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application further provides an electronic device 500, including a processor 510, a memory 502, and programs or instructions stored in the memory 502 and operable on the processor 510, When the program or instruction is executed by the processor 510, the various processes of the above-mentioned information display method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • 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, etc. part.
  • the electronic device 600 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 610 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • processor 610 is used for:
  • the first candidate information includes the first information.
  • the display unit 606 is used for:
  • the first candidate information Including at least one of the following items: the first sub-content corresponding to the first form item in the first content, the second sub-content corresponding to the first form item in the second content; the second candidate information is that the second form item corresponds to and match the first information.
  • 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 corresponding to the second form item in the first content; or,
  • the second candidate information is the fourth sub-content in the second content corresponding to the second form item.
  • processor 610 is also used for:
  • target candidate information is acquired; the target candidate information is information corresponding to the target form item.
  • the second information is corrected by using the target candidate information.
  • the display unit 606 is further configured to: display the target candidate information, and/or display correction information.
  • the correction information may include: the first character in the second information, and/or, the target character in the target candidate item information.
  • the target character is: in the target candidate information, the difference between the second information and the target candidate information.
  • the first character is: in the second information, the difference between the second information and the target candidate information.
  • the user input unit 607 is configured to:
  • a first input of target candidate information is received.
  • the processor 610 can also be used for:
  • the user input unit 607 is also used to:
  • a second input of correction information is received.
  • the processor 610 can also be used for:
  • the first character of the second information is replaced with the target character of the target candidate information.
  • the display unit 606 is also used to:
  • the virtual keyboard includes virtual keys corresponding to the target character or the first character
  • the virtual key corresponding to the target character or the first character is displayed differently on the virtual keyboard.
  • the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • 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, or the like.
  • 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, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 610 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned information display method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. Read storage media.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above information display method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above information display method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • An embodiment of the present application further provides a computer program product, including a computer program tangibly contained on a computer-readable medium, where the computer program includes a program code for executing the above display method.
  • the computer program is executed by the processor, the various processes of the above-mentioned display method embodiments can be achieved, and the same technical effect can be achieved, so details are not repeated here to avoid repetition.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application belongs to the technical field of computers. Disclosed are an information display method and an electronic device. The method comprises: when a copy input for first content and second content is received, acquiring the position of an input cursor in a form filling page; when the position of the input cursor corresponds to a first form item, displaying first candidate information, wherein the first candidate information comprises at least one of the following: first sub-content, which corresponds to the first form item, in the first content, and second sub-content, which corresponds to the first form item, in the second content; when first information is displayed in the first form item, acquiring the position of the input cursor, wherein the first candidate information comprises the first information; and when the position of the input cursor corresponds to a second form item, displaying second candidate information, wherein the second candidate information is content corresponding to the second form item, and matches the first information.

Description

信息显示方法和电子设备Information display method and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年05月11日在中国提交的中国专利申请号202110512283.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110512283.8 filed in China on May 11, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于计算机技术领域,具体涉及一种信息显示方法和电子设备。The present application belongs to the field of computer technology, and specifically relates to an information display method and electronic equipment.
背景技术Background technique
随着电子设备成为人们生活和工作的必备品之一,人们可以通过输入法的交互界面实现字符的输入。当用户对表单填写页面进行填写时,需要利用输入法对每个表单项进行填写。为了加快填写速度,用户可以采用复制和粘贴方法对每个表单项进行填写,即填写一个表单项,可以采用先复制需要填写内容,再将填写内容对应粘贴至表单项中。如此,利用上述方法可以减少用户在填写一个表单填写页面时的输入操作。然而,当用户填写多个表格页面时,由于需要填写多个表格页面对应的内容,按照相关表格填写方式,需要多次重复操作,导致操作繁琐和填写效率较低。As electronic devices become one of the necessary items for people's life and work, people can input characters through the interactive interface of the input method. When the user fills in the form filling page, he needs to use the input method to fill in each form item. In order to speed up filling, 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, and then paste the filled content into the form item. In this way, using the above method can reduce the user's input operations when filling out a form filling page. However, when the user fills in multiple form pages, due to the need to fill in the corresponding content of the multiple form pages, according to the filling method of the relevant forms, repeated operations are required many times, resulting in cumbersome operations and low filling efficiency.
发明内容Contents of the invention
本申请实施例的目的是提供一种信息显示方法和电子设备,能够解决在填写多个表单过程中操作繁琐且填写效率低的问题。The purpose of the embodiments of the present application is to provide an information display method and an electronic device, which can solve the problems of cumbersome operations and low filling efficiency in the process of filling in multiple forms.
第一方面,本申请实施例提供了一种信息显示方法,该方法包括:In the first aspect, the embodiment of the present application provides an information display method, the method includes:
在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;Acquiring the position of the input cursor in the form filling page in the case of receiving the copy input of the first content and the second content;
在所述输入光标的位置对应于第一表单项的情况下,显示第一候选信 息,其中,所述第一候选信息包括以下至少一项:所述第一内容中与所述第一表单项对应的第一子内容,所述第二内容中与所述第一表单项对应的第二子内容;When the position of the input cursor corresponds to the first form item, display first candidate information, wherein the first candidate information includes at least one of the following: the first content in the first form item The corresponding first sub-content, the second sub-content corresponding to the first form item in the second content;
在所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息;In the case where the first information is displayed in the first form item, acquire the position of the input cursor, the first candidate information includes the first information;
在所述输入光标的位置对应于第二表单项的情况下,显示第二候选信息,所述第二候选信息为所述第二表单项对应的内容,且与所述第一信息匹配。If the position of the input cursor corresponds to the second form item, display second candidate information, the second candidate information is the content corresponding to the second form item and matches the first information.
第二方面,本申请实施例提供了一种信息显示的装置,该装置包括:In the second aspect, the embodiment of the present application provides an information display device, which includes:
第一获取模块,用于在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;The first obtaining module is used to obtain the position of the input cursor in the form filling page when the copy input of the first content and the second content is received;
第一显示模块,用于在所述输入光标的位置对应于第一表单项的情况下,显示第一候选信息,其中,所述第一候选信息包括以下至少一项:所述第一内容中与所述第一表单项对应的第一子内容,所述第二内容中与所述第一表单项对应的第二子内容;A first display module, configured to display first candidate information when the position of the input cursor corresponds to a first form item, wherein the first candidate information includes at least one of the following: in the first content the first sub-content corresponding to the first form item, and the second sub-content corresponding to the first form item in the second content;
所述第一获取模块,还用于在所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息;The first obtaining module is further configured to obtain the position of the input cursor when the 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, where the second candidate information is the content corresponding to the second form item, And match with the first information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的信息显示方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor realizes the steps of the information display method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的信息显示方法的步骤。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 information display method as described in the first aspect is implemented A step of.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指 令,实现如第一方面所述的信息显示方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect The information display method described above.
第六方面,本申请实施例提供了一种计算机程序产品,包括有形地包含在计算机可读介质上的计算机程序,所述计算机程序包含用于执行如第一方面所述的方法的程序代码。In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program tangibly contained on a computer-readable medium, where the computer program includes program code for executing the method as described in the first aspect.
第七方面,本申请实施例提供了一种电子设备,被配置成用于执行如第一方面所述的方法的步骤。In a seventh aspect, the embodiment of the present application provides an electronic device configured to execute the steps of the method described in the first aspect.
在本申请实施例中,接收第一内容和第二内容的复制输入,在输入光标的位置对应于第一表单项时,从第一内容和第二内容得到与第一表单项匹配的第一候选信息,并在根据第一候选信息将第一信息填写至第一表单项后,输入光标的位置对应于第二表单项时,显示与第二表单项对应的第二候选信息。如此,通过接收对第一内容和第二内容的复制输入以及一次对第一信息的选择,即可自动显示与第二表单项匹配的第二候选信息。一方面,有利于用户从众多内容中快速查找表单填写页面所要填写的内容。另一方面,用户无需在多个表单填写过程中反复进行复制操作,简化了表单填写操作,从而提高了表单填写的效率,有助于快速完成多个表单填写页面的填写。In the embodiment of the present application, the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, 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 one selection of the first information, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is beneficial for users to quickly find the content to be filled in the form filling page from among many contents. On the other hand, the user does not need to repeatedly copy operations during the filling of 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 filling pages.
附图说明Description of drawings
图1是本申请提供的信息显示方法的实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of an information display method provided by the present application;
图2是本申请提供的信息显示方法的实施例的另一流程示意图;Fig. 2 is another schematic flowchart of an embodiment of the information display method provided by the present application;
图3是为本申请提供的信息校正方法的实施例的流程示意图;FIG. 3 is a schematic flow diagram of an embodiment of the information correction method provided by the present application;
图4是本申请提供的信息显示装置的实施例的结构示意图;Fig. 4 is a schematic structural diagram of an embodiment of an information display device provided by the present application;
图5是本申请提供的一种电子设备的实施例的结构框图;Fig. 5 is a structural block diagram of an embodiment of an electronic device provided by the present application;
图6为实现本申请实施例的电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全 部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的表单填写进行详细地说明。The form filling provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
目前,为了便于快速填写表单填写页面,用户可以先复制一段需要填写的表单信息,该表单信息可以包括姓名、手机和地址等信息,再将表单信息填写至表单填写页面中。在填写过程中,电子设备自动分割表单信息,得到与表头匹配的字符信息,将字符信息自动填写至表单填写页面中。At present, in order to quickly fill in the form filling page, the user can first copy a piece of form information to be filled in, which can include information such as name, mobile phone, and address, and then fill in the form information on the form filling page. During the filling process, the electronic device automatically divides the form information, obtains the character information matching the form header, and automatically fills the character information into the form filling page.
然而,上述信息显示方法,用户需要将表单信息复制至页面定制的输入框内,才可以使得电子设备自动完成表单填写页面的填写,如此,需要对表单填写页面进行定制。However, in the above information display method, the user needs to copy the form information into the input box customized on the page, so that the electronic device can automatically complete the filling of the form filling page. In this way, the form filling page needs to be customized.
并且,在用户填写多个表单填写页面过程中,用户每填完一个表单填写页面,需要退出表单填写页面,复制下一个表单填写页面需要填写的内容,然后再次进入表单填写页面进行填写。如此,在填写多个表单填写页面过程中,需要多次反复操作,从而导致表单填写操作繁琐且填写效率低的问题。Moreover, when the user fills in multiple form filling pages, each time the user completes a form filling page, he needs to exit the form filling page, copy the content to be filled in the next form filling page, and then enter the form filling page again to fill in. In this way, in the process of filling multiple form filling pages, repeated operations are required many times, resulting in the problems of cumbersome form filling operations and low filling efficiency.
需要说明的是,本申请实施例所提供的信息显示方法可以不限于填写表单填写页面,还可以应用于填写表格形式的文档。It should be noted that the information display method provided in the embodiment of the present application may not be limited to filling in a form filling page, and may also be applied to filling in a document in the form of a form.
本申请实施例的信息显示方法可应用于电子设备,该信息显示方法可由电子设备执行。该电子设备具有显示屏。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.
图1是本申请实施例提供的一种信息显示方法的流程示意图。如图1 所示,该信息显示方法应用于电子设备上,该信息显示方法包括步骤S110至步骤S140。FIG. 1 is a schematic flowchart of an information display method provided by an embodiment of the present application. As shown in FIG. 1 , the information display method is applied to an electronic device, and the information display method includes steps S110 to S140.
步骤S110,在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置。Step S110, in the case of receiving the copy input of the first content and the second content, acquire the position of the input cursor in the form filling page.
这里,第一内容和第二内容均为信息的集合。该信息可以为纯文本信息,也可以为表格信息、图片信息等,且第一内容与第二内容不相同。复制输入可以为作用于第一内容和第二内容的复制操作。电子设备通过接收到的复制输入可以将第一内容和第二内容复制至其它地方,例如剪贴板。Here, both the first content and the second content are collections of information. The information can be plain text information, table information, picture information, etc., and the first content is different from the second content. A copy input may be a copy operation acting on the first content and the second content. The electronic device can copy the first content and the second content to other places, such as a clipboard, through the received copy input.
可以理解地是,电子设备在接收到对第一内容和第二内容的复制输入之后,检测显示界面是否显示有表单填写页面。在检测到显示有表单填写页面的情况下,电子设备检测输入光标的位置。It can be understood that, after receiving the copy input of the first content and the second content, the electronic device detects whether a form filling page is displayed on the display interface. In case it is detected that a form filling page is displayed, the electronic device detects the position of the input cursor.
步骤S120,在输入光标的位置对应于第一表单项的情况下,显示第一候选信息。Step S120, if the position of the input cursor corresponds to the first form item, display the first candidate information.
这里,第一表单项可以为表单填写页面中任意一个表单项。输入光标的位置对应于第一表单项可以是指输入光标位于第一表单项对应的区域内。第一候选信息可以为复制输入的多个内容中与第一表单项匹配的子内容。第一候选信息可以包括以下至少一项:第一内容中与第一表单项对应的第一子内容,第二内容中与第一表单项对应的第二子内容。Here, the first form item may be any form item in the form filling page. The location 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 the sub-content that matches the first form item among the copied and input multiple contents. The first candidate information may include at least one of the following items: first subcontent corresponding to the first form item in the first content, and second subcontent corresponding to the first form item in the second content.
可以理解地是,当用户需要对表单填写页面的第一表单项进行填写时,用户将输入光标移动到第一表单项对应的区域内。电子设备在检测到输入光标的位置对应于第一表单项的情况下,从第一内容与第二内容中查找是否有与第一表单项匹配的子内容。当存在与第一表单项匹配的子内容时,电子设备将该子内容作为第一表单项的候选信息进行显示。It can be understood that when the user needs to fill in the first form item on the form filling page, the user moves the input cursor into 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 from the first content and the second content whether there is any sub-content matching the first form item. When there is sub-content matching the first form item, the electronic device displays the sub-content as candidate information of the first form item.
步骤S130,在第一表单项中显示有第一信息的情况下,获取输入光标的位置。Step S130, if the first information is displayed in the first form item, acquire the position of the input cursor.
这里,第一候选信息包括第一信息,也就是说,第一信息可以为从第一候选信息中选择的子内容。第一信息可以为第一子内容,或者第二子内容。Here, the first candidate information includes the first information, that is, the first information may be sub-content selected from the first candidate information. The first information may be the first sub-content or the second sub-content.
可以理解地是,在电子设备显示第一候选信息的情况下,用户对第一 候选信息进行输入操作。电子设备接收用户的输入操作,响应于该输入操作,从第一候选信息选择出第一信息,并将第一信息填写至第一表单项中,从而第一表单项显示有第一信息。至此,完成第一表单项填写。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 a user's input operation, and in response to the input operation, selects the first information from the first candidate information, 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 completed.
并且,电子设备在完成第一表单项填写后,继续监测输入光标,获取输入光标的位置。Moreover, after completing the filling of the first form item, the electronic device continues to monitor the input cursor to acquire the position of the input cursor.
步骤S140,在输入光标的位置对应于第二表单项的情况下,显示第二候选信息。Step S140, if the position of the input cursor corresponds to the second form item, display the second candidate information.
这里,第二表单项可以为表单填写页面的任意一项表单项,可以为与第一表单项相同或者不同的表单项。输入光标的位置对应于第二表单项可以是指输入光标位于第二表单项对应的区域内。第二候选信息为第二表单项对应的内容,且与第一信息匹配。也就是说,第二候选信息与第一信息属于同一个内容。Here, the second form item may be any form item on the form filling page, and may be the same as or different from the first form item. The location of the input cursor corresponding to the second form item may 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. That is to say, the second candidate information and the first information belong to the same content.
也就是说,在第一信息为第一子内容的情况下,第二候选信息为第一内容中与第二表单项对应的第三子内容。在第一信息为第二子内容的情况下,第二候选信息为第二内容中与第二表单项对应的第四子内容。That is to say, 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. In the case that 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.
可以理解地是,当用户在对第一表单项填写完成后,需要对表单填写页面的第二表单项进行填写时,用户将输入光标移动到第二表单项对应的区域内。电子设备检测到输入光标的位置位于第二表单项后,从第一信息对应的内容中查找与第二表单项匹配的子内容,并将该子内容作为第二表单项的候选信息进行显示。It can be understood that when the user needs to fill in the second form item on the form filling page 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 position of the input cursor is located on the second form item, it searches for subcontent matching the second form item from the content corresponding to the first information, and displays the subcontent as candidate information of the second form item.
在本申请实施例中,接收第一内容和第二内容的复制输入,在输入光标的位置对应于第一表单项时,从第一内容和第二内容得到与第一表单项匹配的第一候选信息,并在根据第一候选信息将第一信息填写至第一表单项后,输入光标的位置对应于第二表单项时,显示与第二表单项对应的第二候选信息。如此,通过接收对第一内容和第二内容的复制输入以及一次对第一信息的选择,即可自动显示与第二表单项匹配的第二候选信息。一方面,有利于用户从众多内容中快速查找表单填写页面所要填写的内容。另一方面,用户无需在多个表单填写过程中反复进行复制操作,简化了表单填写操作,从而提高了表单填写的效率,有助于快速完成多个表单填写 页面的填写。In the embodiment of the present application, the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, 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 one selection of the first information, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is beneficial for users to quickly find the content to be filled in the form filling page from among many contents. On the other hand, the user does not need to repeat the copy operation during the filling of 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 filling pages.
下面介绍上述各个步骤的及具体实现方式。The following introduces the above steps and specific implementation manners.
在一些实施例中,为了便于后续通过输入法进行表单填写的操作。电子设备接收对第一内容和第二内容的复制输入,响应于复制输入,将第一内容和第二内容复制至剪贴板中,形成剪贴文本。其中,该剪贴板与电子设备中输入法应用关联。剪贴文本可以包括一个内容或者多个内容。不同剪贴文本具有不同的标识。In some embodiments, in order to facilitate the subsequent operation of filling in the form through the input method. The electronic device receives a copy input of the first content and the second content, and in response to the copy input, copies the first content and the second content to a clipboard to form a clipping text. Wherein, the clipboard is associated with the input method application in the electronic device. Clipped text can include one content or multiple content. Different clippings have different identifiers.
本申请实施例所涉及的表单填写页面可以为能进行表单信息填写的页面。表单在页面中主要负责数据采集功能。表单填写页面可以包括表单项以及与表单项对应的字段。为了便于理解,该字段可以称为表头名称。表单项可以为输入栏。该输入栏可以为文本输入栏,用户可以在输入栏中填写表单信息。The form filling page involved in the embodiment of the present application may be a page capable of filling in form information. The form is mainly responsible for the data collection function in the page. The form filling page may include form items and fields corresponding to the form items. For ease of understanding, this field may be referred to as the header name. Form items can be input fields. The input field may be a text input field, and the user may fill in form information in the input field.
本申请实施例所涉及的“输入光标”为一种指示器,用于显示电子设备上用户交互的当前位置,这些位置将响应来自文本输入或定点设备输入。可以理解地是,输入光标可以是一个可以移动的图标,向用户显示将在电子设备上进行任何输入的位置或将发生操作的位置。输入光标的形式可以不限,例如输入光标可以显示光标,还可以为隐形光标。The "input cursor" involved in the embodiment of the present application is an indicator used to display the current position of user interaction on the electronic device, and these positions will respond to input from text input or pointing device. It can be understood that the input cursor can be a movable icon showing to the user where any input will be made or where an operation will take place on the electronic device. The form of the input cursor is not limited, for example, the input cursor may be a display cursor or an invisible cursor.
本申请实施例所涉及的“显示候选信息”可以是将候选信息显示在候选信息区域,或者显示在虚拟键盘区域上。这里,候选信息区域可以为输入法的输入栏。虚拟键盘区域可以为输入法的虚拟键盘区域。The "displaying candidate information" involved in the embodiment of the present application may be displaying the candidate information in the candidate information area, or displaying in the 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.
在一些实施例中,在步骤S110中,第一内容和第二内容均为信息的集合。该信息可以为纯文本信息,也可以为表格信息。信息内容可以不限,例如可以是短消息、即时通讯消息、资讯类信息、购物类信息、快递类信息等等。同时,第一内容与第二内容包含的信息不同。第一内容和第二内容来源可以不做限定。例如第一内容和第二内容可以是存储在电子设备上,也可以是通过应用程序获取,还可以通过识别图像信息形成的。In some embodiments, in step S110, both the first content and the second content are a collection of information. The information can be plain text information or form information. The content of the information can be unlimited, for example, it can be short message, instant messaging message, information information, shopping information, express delivery information and so on. Meanwhile, the first content and the second content contain different information. The source 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 also be acquired through an application program, or may be formed by identifying image information.
可以理解地是,用户对第一内容和第二内容进行复制输入。该复制输入的实现方式不限,可以是用户施加在显示屏的触控操作,还可以用户施加在电子设备其它部位的触控操作,等等。It can be understood that the user performs copy input on the first content and the second content. There is no limit to the implementation of the copy input, and it may be 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.
本申请实施例所涉及的“子内容”可以通过电子设备对复制输入的第一内容和第二内容进行文本分割后获取。例如,第一子内容和第三子内容可以为对第一内容进行文本分割得到的,第二子内容和第四子内容可以为对第二内容进行文本分割得到的。并且,每个子内容可以包括一个或者多个字符信息。The "sub-content" involved in the embodiment of the present application may be obtained by text-segmenting the copied and input first content and second content through an electronic device. For example, the first sub-content and the third sub-content may be obtained by text segmentation of the first content, and the second sub-content and fourth sub-content may be obtained by text segmentation of the second content. And, each sub-content may include one or more character information.
在一些实施例中,为便于快速查找表单项对应的子内容,在步骤S120在显示第一候选信息之前,所述方法还包括:In some embodiments, in order to quickly find the sub-content corresponding to the form item, before displaying the first candidate information in step S120, the method further includes:
电子设备分别对第一内容和第二内容进行文本分割,得到与第一内容和第二内容分别对应的字段信息以及与字段信息对应的字符信息;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 and character information corresponding to the field information;
将字段信息与字符信息以键值对的形式进行存储。Store field information and character information in the form of key-value pairs.
这里,字符信息可以为与表单项匹配的子内容。字段信息可以为与表单项名称匹配的子内容。字段信息可以为各种属性信息,例如姓名、性别和地址等等。字符信息可以为各种属性值,例如女、男和湖南省等等。Here, the character information may be sub-content matching the form item. The field information can be sub-content matching the name of the form item. The field information can be various attribute information, such as name, gender, address and so on. The character information can be various attribute values, such as female, male, Hunan province, and so on.
可以理解地是,电子设备以字段信息中的字段为键值对中的键,以字符信息的字符为键值,将分割后的内容进行存储。由于采用键值对形式存储的数据,可以通过查询键来快速查询到键值。因此,电子设备采用键值对的形式存储分割后得到的字段信息以及字符信息,可以根据字段信息快速查询到字符信息。It can be understood that the electronic device uses the field in the field information as the key in the key-value pair, and uses the characters in the character information as the key-value to store the divided content. Since the data is stored in the form of key-value pairs, the key-value can be quickly queried by querying the key. Therefore, the electronic device stores the segmented field information and character information in the form of key-value pairs, and the character information can be quickly queried according to the field information.
在一个示例中,第一内容为“我的姓名是AA”,电子设备利用文本分割方法对第一内容进行文本分割,得到键值对“姓名AA”,其中,“姓名”为键,“AA”为键值。In an example, the first content is "My name is AA", and the electronic device uses a text segmentation method to perform text segmentation on the first content to obtain a key-value pair "Name AA", wherein "Name" is the key, and "AA " is the key-value.
在一些实施例中,电子设备检测到一个键值对中,一个键对应的键值有多个,可以通过悬浮控件将多个键值进行悬浮显示,以便用户进行键值的选择。In some embodiments, the electronic device detects that in a key-value pair, one key corresponds to multiple key values, and the multiple key values can be displayed in a floating manner through the floating control, so that the user can select the key value.
在用户对第一候选信息进行选择后,电子设备检测到选中的子内容中包括多个字符,通过悬浮控件将多个字符进行悬浮显示。如此,电子设备悬浮显示多个字符能够将选中的子内容全部显示出来,解决了由于显示区域的范围不够,无法完全展示选中的子内容的问题,达到便于用户对第一信息的选择。After the user selects the first candidate information, the electronic device detects that the selected sub-content includes a plurality of characters, and displays the plurality of characters by floating control. In this way, the floating display of multiple characters on the electronic device can display all the selected sub-contents, which solves the problem that the selected sub-contents cannot be fully displayed due to insufficient range of the display area, and facilitates the user to select the first information.
此外,电子设备接收用户对悬浮显示的多个字符中目标字符的输入,响应于该输入,将目标字符作为第一信息,填写至第一表单项中。In addition, the electronic device receives a user's input of a target character among the floatingly displayed characters, and in response to the input, fills in the first form item with the target character as the first information.
相应地,当第一候选信息包含多个子内容时,电子设备可以利用悬浮控件对多个子内容进行显示,以便用户对第一候选信息进行选择。Correspondingly, when the first candidate information includes multiple sub-contents, the electronic device may use the floating control to display the multiple sub-contents, so that the user can select the first candidate information.
需要说明的是,当第二候选信息包括多个字符信息时,也可利用悬浮控件进行显示。It should be noted that when the second candidate information includes a plurality of character information, the floating control may also be used for display.
在一些实施例中,在步骤S120中,显示第一候选信息可以包括以下情况之一:显示第一子内容,显示第二子内容,以及显示第一子内容和第二子内容。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.
这里,当电子设备检测到第一内容中存在与第一表单项对应的第一子内容时,电子设备将第一子内容作为第一候选信息进行显示。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.
当电子设备检测到第二内容中存在与第一表单项对应的第二子内容时,电子设备将第二子内容作为第一候选信息进行显示。When the electronic device detects that there is a second sub-content corresponding to the first form item in the second content, the electronic device displays the second sub-content as the first candidate information.
当电子设备检测到第一内容中存在与第一表单项对应的第一子内容,以及第二内容中存在与第一表单项对应的第二子内容时,电子设备将第一子内容和第二子内容均作为第一候选信息进行显示。When the electronic device detects that there is a first sub-content corresponding to the first form item in the first content, and that there is a second sub-content corresponding to the first form item in the second content, the electronic device combines the first sub-content and the first form item. Both sub-contents are displayed as the first candidate information.
此外,当电子设备检测到第一内容和第二内容中不存在与第一表单项对应的子内容时,电子设备不显示第一表单项对应的候选信息。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.
在本申请实施例中,电子设备将复制输入的内容进行文本分割,得到字段信息以及与字段信息对应的字符信息。电子设备根据表单项对应的表单项名称,在复制输入的内容中查找与表单项名称对应的目标字段信息。在复制输入的内容中存在目标字段信息的情况下,将复制输入内容中与目标字段信息对应的字符信息作为与表单项对应的子内容。In the embodiment of the present application, the electronic device performs text segmentation on the copied and input content to obtain field information and character information corresponding to the field information. According to the form item name corresponding to the form item, the electronic device searches the copied input content for the target field information corresponding to the form item name. 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.
需要说明的是,本申请实施例中,基于上述方法,电子设备可以获取第二表单项对应的子内容,以及其它表单项对应的子内容。It should be noted that, in the embodiment of the present application, based on the above method, the electronic device can acquire the sub-content corresponding to the second form item and the sub-content corresponding to other form items.
在一些实施例中,电子设备获取第一子内容和/或第二子内容,具体可以执行为:In some embodiments, the electronic device obtains the first sub-content and/or the second sub-content, which may specifically be executed as follows:
在对第一内容和第二内容进行文本分割后,获取到得到与第一内容和第二内容分别对应的字段信息以及与字段信息对应的字符信息;After text segmentation is performed 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;
基于第一表单项对应的表单项名称,在第一内容和第二内容中查找与表单项名称对应的目标字段;Based on the form item name corresponding to the first form item, search for a target field corresponding to the form item name in the first content and the second content;
在第一内容存在目标字段信息时,将第一内容中目标字段信息对应的字符信息作为第一子内容;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;
在第二内容存在目标字段信息时,将第二内容中目标字段信息对应的字符信息作为第二子内容。When the target field information exists in the second content, the character information corresponding to the target field information in the second content is used as the second sub-content.
这里,电子设备分别对第一内容和第二内容进行文本分割,得到与第一内容对应的字段信息和与所述字段信息对应的字符信息,以及与第二内容对应的字段信息和与所述字段信息对应的字符信息。字段信息可以包括一个字段或者多个不同属性的字段。字符信息可以包括一个字符或者多个字符。第一子内容可以为对第一内容进行分割得到的与目标字段信息对应的字符信息。第二子内容可以为对第二内容进行分割得到的与目标字段信息对应的字符信息。如此,电子设备通过对复制输入的内容进行文本分割,可以快速地基于表单项名称查找到表单项对应的候选信息。Here, the electronic device performs text segmentation on the first content and the second content respectively to obtain 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 the character information corresponding to the The character information corresponding to the field information. Field information may include one field or multiple fields with different attributes. Character information may include one character or a plurality of characters. The first sub-content may be character information obtained by dividing the first content and corresponding to the target field information. The second sub-content may be character information obtained by dividing the second content and corresponding to the target field information. In this way, the electronic device can quickly find the candidate information corresponding to the form item based on the name of the form item by performing text segmentation on the copied input content.
为便于更好地描述方案,基于上述各种实施例,举一个具体实施例说明信息显示方法。以表单填写页面为快递填写页面,候选信息区域为输入法的候选栏例进行说明。电子设备接收到用户复制的多个数据(即第一内容和第二内容)。电子设备在显示快递填写页面时,在检测到输入光标所在的表单项对应的是“姓名”的情况下,输入法的候选栏显示两个姓名,分别为A和B(即第一候选信息)。用户对A(即第一信息)进行输入操作后,后续输入光标所在的表单项对应的是“快递地址”时,候选栏中自动显示出A的地址(即第二候选信息)。In order to better describe the solution, based on the above various embodiments, a specific embodiment is given to illustrate the information display method. Take the form filling page as the express filling page, and the candidate information area as the candidate column of the input method for illustration. The electronic device receives a plurality of data copied by the user (ie, first content and second content). When the electronic device displays the courier filling page, if it detects that the form item where the input cursor is located corresponds to "name", the candidate column of the input method displays two names, namely A and B (namely the first candidate information) . After the user performs an input operation on A (that is, the first information), when the form item where the subsequent input cursor is located corresponds to "express address", the address of A (that is, the second candidate information) is automatically displayed in the candidate column.
图2为本申请实施例所提供的另一种信息显示方法的流程示意图。如图2所示,该信息显示方法包括步骤S210至步骤S260。FIG. 2 is a schematic flowchart of another information display method provided by the embodiment of the present application. As shown in FIG. 2, the information display method includes step S210 to step S260.
步骤S210,电子设备接收到用户对第一内容和第二内容的多次复制输入后,对第一内容和第二内容进行分割。In step S210, the electronic device divides the first content and the second content after receiving multiple copies of the first content and the second content from the user.
步骤S220,电子设备检测当前页面是否为表单填写页面。如果是,执行步骤S230,如果不是,则结束。In step S220, the electronic device detects whether the current page is a form filling page. If yes, execute step S230; if no, end.
步骤S230,电子设备获取输入光标位置对应的表头名称。In step S230, the electronic device acquires the header name corresponding to the position of the input cursor.
这里,电子设备获取到表头名称后,可以在输入法候选栏(即候选信息区域)显示与该表头名称匹配的候选词(即候选信息)。Here, after the electronic device obtains the header name, it may display candidate words (ie, candidate information) matching the header name in the input method candidate column (ie, candidate information area).
步骤S240,电子设备检测第一内容和第二内容是否具有与该表头名称对应的分割字段。若有,执行步骤S250。若无,结束候选栏的候选词的显示。In step S240, the electronic device detects whether the first content and the second content have a division field corresponding to the header name. If yes, execute step S250. If not, end the display of the candidate words in the candidate column.
这里,在结束候选词的显示之后,接收对该表头名称对应的表单项的字符输入,从而完成表单项的填写。Here, after the display of the candidate words is finished, the character input of the form item corresponding to the header name is received, thereby completing the filling of the form item.
步骤S250,电子设备将第一内容和第二内容对应的分割字符分别作为第一候选词(即第一子内容)和第二候选词(即第二子内容),显示在候选栏上。该分割字段与该分割字符对应。In step S250, the electronic device displays the segmented characters corresponding to the first content and the second content as a first candidate word (ie, first sub-content) and a second candidate word (ie, second sub-content) on the candidate column. The split field corresponds to the split character.
步骤S260,电子设备接收用户对目标候选词(即第一信息)的输入,响应于所述输入,将目标候选词上屏。在目标候选词上屏之后,在该表单填写页面中,接收对输入光标的输入操作,获取输入光标位置对应的表头名称(即输入光标的位置对应于第二表单项)后,输入栏中显示的所有候选词(即第二候选信息)均为目标内容的分割字符。In step S260, the electronic device receives the user's input on the target candidate word (that is, the first information), and displays the target candidate word on the screen in response to the input. After the target candidate word is displayed on the screen, in the form filling page, the input operation to the input cursor is received, and after obtaining the header name corresponding to the position of the input cursor (that is, the position of the input cursor corresponds to the second form item), in the input column All the displayed candidate words (that is, the second candidate information) are segmentation characters of the target content.
例如,用户选择第一候选词上屏,在该表单填写页面中,用户通过输入光标在该表单填写页面点击后,输入栏显示的所有候选词均为第一内容的分割字符。用户选择第二候选词上屏,在该表单填写页面中,用户通过输入光标在该表单填写页面点击后,输入栏显示的所有候选词均为第二内容的分割字符。For example, the user selects the first candidate word on the screen. In the form filling page, after the user clicks on the form filling page through the input cursor, all the candidate words displayed in the input column are the separating characters of the first content. The user selects the second candidate word on the screen. In the form filling page, after the user clicks on the form filling page through the input cursor, all the candidate words displayed in the input column are the separating characters of the second content.
在上述实施例中,在接收对多个内容的复制后,对复制的内容进行文本分割,从而提取到分割字段以及分割字符。电子设备通过将表头名称与分割字段进行匹配,查找与表头名称对应的分割字符,将其显示在候选栏中,从而可以从众多内容中快速完成自动匹配填写操作以及建议填写操作。并经过一次选择后,可以快速显示该表单填写页面中每个表头名称对应的候选信息,从而缩短了表单填写页面填写时间,简化表单填写的步骤。In the above embodiment, after receiving copies of multiple contents, text segmentation is performed on the copied contents, so as to extract segmentation fields and segmentation characters. The electronic device matches the header name with the split field, finds the split character corresponding to the header name, and displays it in the candidate column, so that it can quickly complete the automatic matching filling operation and suggested filling operation from many contents. And after one selection, the candidate information corresponding to each header name in the form filling page can be quickly displayed, thereby shortening the filling time of the form filling page and simplifying the steps of form filling.
在一些实施例中,为了快速填写表单填写页面的表单项,在步骤130之后,该信息显示方法还包括:In some embodiments, in order to quickly fill in the form items on the form filling page, after step 130, the information display method further includes:
在第二表单项中显示第二候选信息。The second candidate information is displayed in the second form item.
这里,电子设备在获取第二候选信息后,将第二候选信息填写至第二表单项中。也就是说,电子设备在接收对第一信息的输入之后,在该表单填写页面的所有表单项或者部分表单项中,填写对与表单项匹配的候选信息。如此,通过将候选信息自动填写至所有或者部分表单项中,可以达到快速填写表单填写页面的目的,减少了用户对表单填写页面的输入操作,缩短了填写表单填写页面的时间,提高填写效率。Here, after acquiring the second candidate information, the electronic device fills the second candidate information into the second form item. That is to say, after receiving the input of the first information, the electronic device fills in candidate information matching the form items in all or some of the form items on the form filling page. In this way, by automatically filling candidate information into all or some form items, the purpose of quickly filling the form filling page can be achieved, reducing the user's input operations on the form filling page, shortening the time for filling the form filling page, and improving filling efficiency.
在一些实施例中,为了快速填写表单填写页面的表单项,在步骤130之后,该信息显示方法还包括:In some embodiments, in order to quickly fill in the form items on the form filling page, after step 130, the information display method further includes:
基于第二候选信息,在第二表单项中填写对应的信息。Based on the second candidate information, fill in the corresponding information in the second form item.
这里,电子设备可以将第二信息适应性填写至第二表单项中,从而可以快速准确地完成表单项的填写。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.
可以理解地是,为保证填写的表单信息正确,在第二表单项中填写对应的信息可以为第二候选信息、修改后的第二候选信息以及输入的字符信息中的之一。在显示第二候选信息后,需要用户判断第二候选信息是否正确,然后对第二候选信息执行不同的输入操作。响应于用户对第二候选信息的不同输入操作,电子设备将第二候选信息适应性填写至第二表单项中。It can be understood that, in order to ensure that the filled form information is correct, the corresponding information filled in the second form item may 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 judge whether the second candidate information is correct, and then perform different input operations on the second candidate information. In response to different input operations of the user on the second candidate information, the electronic device adaptively fills the second candidate information into the second form item.
这里,在用户判断第二候选信息正确的情况下,电子设备接收用户对第二候选信息的输入,响应于所述输入,在第二表单项中填写第二候选信息。Here, when the user judges that the second candidate information is correct, the electronic device receives the user's input on the second candidate information, and fills in the second candidate information in the second form item in response to the input.
在用户判断第二候选信息不正确的情况下,电子设备接收用户对第二候选信息的修改输入,响应于所述修改输入,在第二表单项中填写修改后的第二候选信息。或者,电子设备接收用户对第二表单项的字符输入,在第二表单项中填写字符。When the user judges that the second candidate information is incorrect, the electronic device receives the user's modification input on the second candidate information, and fills in the second form item with the modified second candidate information in response to the modification input. Alternatively, the electronic device receives character input from the user on the second form item, and fills in the characters in the second form item.
在本申请实施例中,通过显示的第二候选信息,完成第二表单项的表单信息填写,可以达到快速完成表单填写页面的自动匹配填写和建议填写操作的目的,简化了表单填写的流程,提高表单填写的效率。In the embodiment of the present application, the form information filling of the second form item is completed through the displayed second candidate information, which can achieve the purpose of quickly completing the automatic matching filling and suggested filling operations of the form filling page, and simplifies the process of form filling. Improve the efficiency of form filling.
在一些实施例中,为了便于校正表单项中的表单信息,在步骤S110之 后,该信息显示方法还包括: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:
在输入光标的位置对应于目标表单项,且目标表单项中显示有第二信息的情况下,获取目标候选信息;If the position of the input cursor corresponds to the target form item and the second information is displayed in the target form item, acquiring target candidate information;
在目标候选信息与第二信息存在差异的情况下,利用目标候选信息校正所述第二信息。If there is a difference between the target candidate information and the second information, the second information is corrected by using the target candidate information.
这里,目标表单项可以为该表单填写页面中任意一个表单项。目标候选信息为与目标表单项对应的信息。目标候选信息可以包括一个或者多个子内容。Here, the target form item can fill in any form item on the page for the form. The target candidate information is information corresponding to the target form item. Target candidate information may include one or more sub-contents.
例如,在目标表单项可以为第一表单项的情况下,目标候选信息可以为第一候选信息。在目标表单项可以为第二表单项的情况下,目标候选信息可以为第二候选信息。For example, in the case that the target form item may be the first form item, the target candidate information may be the first candidate information. In the case that the target form item may be the second form item, the target candidate information may be the second candidate information.
可以理解地是,当用户将输入光标的位置移动到某个表单项对应的区域内,电子设备可以从复制输入的多个内容中查找与该表单项对应的多个子内容,或者,在用户从多个内容中选定填入该表单填写页面的目标内容后,电子设备从目标内容中查找与该表单性对应的子内容。It can be understood that when the user moves the position of the input cursor to the area corresponding to a certain form item, the electronic device can search for multiple sub-contents corresponding to the form item from the copied and input multiple contents, or, when the user selects from After the target content to be filled in the form filling page is selected from the plurality of contents, the electronic device searches the target content for sub-content corresponding to the form.
例如,电子设备从第一内容和第二内容中查找到目标表单项对应的子内容分别为“1234”和“1235”,并将“1234”以及“1235”作为目标候选信息。For example, the electronic device finds from the first content and the second content that the subcontent corresponding to the target form item is "1234" and "1235", respectively, and uses "1234" and "1235" as target candidate information.
或者,在确认该表单填写页面中填写的内容属于目标内容的情况下,电子设备从目标内容中查找到目标表单项对应的子内容为“1234”,并将“1234”作为目标候选信息。Or, in the case of confirming that the content filled in the form filling page belongs to the target content, the electronic device finds from the target content that the sub-content corresponding to the target form item is "1234", and takes "1234" as the target candidate information.
需要说明地是,电子设备获取目标候选信息的方法与前述第一候选信息获取方法类似,为简要起见,这里不再赘述。It should be noted that the method for the electronic device to obtain target candidate information is similar to the method for obtaining the first candidate information, and for the sake of brevity, details are not repeated here.
本申请实施例中涉及地“第二信息”为目标表单项填写的信息。第二信息来源可以不限,例如第二信息可以通过用户的手动输入的信息,也可以是从候选信息中选择填入表单项的信息等等。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 may not be limited, for example, the second information may be information manually input by the user, or information selected from candidate information to be filled in a form item, and so on.
可以理解地是,当用户想对目标表单项进行校正时,用户将输入光标移动到目标表单项。电子设备检测到目标表单项填写有第二信息时,将第二信息与目标候选信息进行比对,确定第二信息与目标候选信息是否存在 差异部分。在目标候选信息与第二信息存在差异部分的情况下,电子设备可以根据目标候选信息校正第二信息。在不存在差异部分的情况下,电子设备可以不做任何操作。It can be understood 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, it compares the second information with the target candidate information to determine whether there is a difference between the second information and the target candidate information. In a case where there is a difference between the target candidate information and the second information, the electronic device may correct the second information according to the target candidate information. In the absence of the difference part, the electronic device may do nothing.
需要说明的是,电子设备比对目标候选信息与第二信息,具体可以通过匹配算法来实现,也可以利用其它比对算法来实现。在本申请实施例中,对于比对方法不做显示。It should be noted that, the comparison of the target candidate information and the second information by the electronic device may specifically be realized by a matching algorithm, or may be realized by using other comparison algorithms. In the embodiment of this application, the comparison method is not shown.
本申请实施例涉及的电子设备可以比对目标表单信息与第二信息是否存在差异,可以比对目标表单信息和第二信息的位数是否相同以及每个位上的字符是否相同,等等。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, can compare whether the target form information and the second information have the same number of digits and whether the characters on each digit are the same, and so on.
具体地,目标候选信息与第二信息存在差异,可以是以下至少一种情况:目标表单信息与第二信息的字符个数不同;目标表单信息与第二信息的字符存在差异。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 is different from that of the second information; the characters of the target form information and the second information are different.
在本申请实施例中,通过比对表单项已填入的信息和候选信息,得到两者的差异部分,便于用户通过候选信息,清楚了解已填入的信息可能存在问题的地方,有助于用户对已填入的信息进行修改。In the embodiment of this application, by comparing the information filled in the form item with the candidate information, the difference between the two is obtained, so that the user can clearly understand the possible problems of the filled information through the candidate information, which is helpful The user modifies the filled information.
在一些实施例中,在利用目标候选信息校正所述第二信息之前,该信息显示方法还包括:In some embodiments, before using the target candidate information to correct the second information, the information display method further includes:
显示目标候选信息或校正信息中的至少一项。At least one of target candidate information or correction information is displayed.
这里,校正信息可以为根据第二信息与目标候选信息的比对信息确定的信息。校正信息可以为第二信息中的第一字符,和/或,目标候选信息中的目标字符。目标字符可以为在目标候选信息中,第二信息和目标候选信息的差异部分。第一字符可以为在第二信息中,第二信息和目标候选信息的差异部分。Here, the correction information may be information determined according to 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 a difference between the second information and the target candidate information in the second information.
可以理解地是,电子设备在目标候选信息与第二信息存在差异的情况下,可以显示目标候选信息,也可以显示校正信息,还可以同时显示目标候选信息和校正信息。It can be understood that, when there is a difference between the target candidate information and the second information, the electronic device can display the target candidate information, can also display the correction information, and can also display the target candidate information and the correction information at the same time.
在上述实施例中,电子设备显示目标候选信息,有利于用户直观地比对目标候选信息与第二信息。电子设备显示校正信息,便于用户直观地观测到目标候选信息与第二信息的差异部分。In the above embodiment, the electronic device displays the target candidate information, which is beneficial for the user to intuitively compare the target candidate information with the second information. The electronic device displays the correction information, so that the user can intuitively observe the difference between the target candidate information and the second information.
在一个示例中,目标候选信息为abcdf,第二信息为abcde,将目标候选信息与第二信息进行比对,比对结果为第二信息中的第五位应该将f改为e。电子设备可以显示目标候选信息abcdf,也可以显示“e”(即目标字符)或者“f”(即第一字符),还可以同时显示以下字符至少之一:abcdf,f,e。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 shows that the fifth digit in the second information should be changed from f to e. The electronic device may display target candidate information abcdf, may also display "e" (namely the target character) or "f" (namely the first character), and may also display at least one of the following characters at the same time: abcdf, f, e.
为了便于区分有差异的部分,在一些实施例中,校正信息还可以为在第二信息中第一字符对应的位置处添加校正符号的信息,或者将多个字符以不同的参数区分显示,例如,以不同的颜色、字体显示。In order to facilitate the distinction of parts with differences, in some embodiments, the correction information can also be the information of adding a correction symbol at the position corresponding to the first character in the second information, or distinguishing and displaying multiple characters with different parameters, for example , displayed in different colors and fonts.
这里,在待校正字符的对应位置添加的校正符号可以用于标识待校正字符,从而可以区分第二信息与目标表单信息相同与不同的部分。并且根据校正符号的类型,可以确定待校正字符的类型,以及校正方法。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 that the part of the second information that is the same as or different from the target form information can be distinguished. And according to the type of the correction symbol, the type of the character to be corrected and the correction method can be determined.
在一个示例中,电子设备可以用半角符号“^”标识目标候选信息相对第二信息缺失的字符。也可以用括号符号“<>”标识目标候选信息相对于第二信息不同的字符。如<aaa,bbb>,aaa为目标表单信息,bbb为第二信息。在校正aaa时,可以用bbb来替换。还可以用删除线“aa”标识目标候选信息相对于第二信息多余的字符。当然电子设备还可以用其它的符号来标识待校正字符,如单引号、双引号等等。In an example, the electronic device may use a half-width symbol "^" to identify characters missing from the target candidate information relative to the second information. A bracket symbol "<>" may also be used to identify characters different from the target candidate information with respect to the second information. Such as <aaa, bbb>, aaa is the target form information, and bbb is the second information. When correcting aaa, it can be replaced by bbb. It is also possible to use a strikethrough "aa" to identify redundant characters of the target candidate information relative to the second information. Of course, the electronic device can also use other symbols to identify characters to be corrected, such as single quotes, double quotes, and so on.
为了进一步突出显示有差异的部分,在一些实施例中,电子设备可以对第一字符进行区别显示。In order to further highlight the parts with differences, in some embodiments, the electronic device may display the first characters differently.
这里,电子设备为了更好地将第二信息与目标候选信息中有差异部分与相同部分进行区分,可以对第二信息中的第一字符进行突出显示。Here, in order to better distinguish the difference between the second information and the target candidate information, the electronic device may highlight the first character in the second information.
本申请实施例对于突出显示的方式不做限制。例如,电子设备可以利用颜色、形状或者纹路等来进行突出显示,还可以采用通过标记等方式来进行突出显示。The embodiment of the present application does not limit the way of highlighting. For example, the electronic device may be highlighted by using color, shape or texture, etc., and may also be highlighted by marking or the like.
在一个示例中,第二信息为abcdfghjjkmlbopqx,目标候选信息为abcdefghijklmnopq,将目标候选信息与第二信息进行比对,比对结果为第二信息中的第五位需要增加e、第8位应该将j改为i、第11至13位应该改为lmn,电子设备显示的校正信息可以为abcd fghjjkml bopqx,也可以为abcd^efg h<j,i>jk<mlb,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 result of the comparison is that the fifth digit in the second information needs to be increased by e, and the eighth digit should be j is changed to i, and the 11th to 13th digits should be changed to lmn. The correction information displayed by the electronic device can be abcd fghjjkml bopqx, or abcd^efg h<j,i>jk<mlb,
lmn>opq,还可以为abcd^efgh<j,i>jk<mlb,lmn>opq。lmn>opq can also be abcd^efgh<j,i>jk<mlb,lmn>opq.
当然,电子设备也可以在校正信息中目标字符对应的位置处添加校正符号,和/或,对目标字符进行突出显示。该添加方法与突出显示方法与第一字符类似,这里不再赘述。Certainly, the electronic device may also add a correction symbol at a position corresponding to the target character in the correction information, and/or highlight the target character. The adding method and highlighting method are similar to the first character, and will not be repeated here.
在一些实施例中,显示校正信息,包括以下至少一种操作:In some embodiments, displaying the correction information includes at least one of the following operations:
在候选信息区域显示校正信息;Display correction information in the candidate information area;
在虚拟键盘存在目标字符或者第一字符对应的虚拟按键的情况下,在虚拟键盘上区别显示目标字符或者第一字符对应的虚拟按键。If there is a virtual key corresponding to the target character or the first character on the virtual keyboard, the virtual key corresponding to the target character or the first character is differentially displayed on the virtual keyboard.
这里,虚拟键盘可以为虚拟于显示屏的按键虚拟键盘。电子设备检测虚拟键盘是否存在目标字符或者第一字符对应的虚拟按键。在检测结果为虚拟按键存在的情况下,电子设备将目标字符或者第一字符对应的虚拟按键与其它虚拟按键进行区别显示。Here, the virtual keyboard may be a virtual keyboard with buttons virtualized on the display screen. The electronic device detects whether there is a target character or a virtual key corresponding to the first character on the virtual keyboard. If the detection result is that the virtual key exists, the electronic device displays the virtual key corresponding to the target character or the first character differently from other virtual keys.
可以理解地是,电子设备可以在候选信息区域显示校正信息,也可以在虚拟键盘显示校正信息,还以同时在候选信息区域显示校正信息。It can be understood that the electronic device may display the correction information in the candidate information area, or display the correction information on the virtual keyboard, and simultaneously display the correction information in the candidate information area.
在一些实施例中,为了使用户更方便了解需要校正的字符,电子设备可以在虚拟键盘显示第一字符,以及在候选信息区域对第一字符进行突出显示。In some embodiments, in order to make it easier for the user to understand the character to be corrected, the electronic device may display the first character on the virtual keyboard, and highlight the first character in the candidate information area.
为了使得用户更全面了解目标候选信息和校正信息,在一些实施例中,电子设备可以在候选信息区域显示目标候选信息,在虚拟键盘显示校正信息。也可以,在候选信息区域显示目标候选信息和校正信息,在虚拟键盘显示校正信息。还可以,在虚拟键盘显示目标候选信息。In order to make the user understand target candidate information and correction information more comprehensively, in some embodiments, the electronic device may display target candidate information in the candidate information area, and display correction information in the virtual keyboard. Alternatively, target candidate information and correction information may be displayed in the candidate information area, and correction information may be displayed in the virtual keyboard. Alternatively, target candidate information may be displayed on the virtual keyboard.
需要说明的是,在本申请实施例中,目标候选信息与校正信息的组合显示方式包括但不限于上述显示方式。It should be noted that, in the embodiment of the present application, the combined display manner of the target candidate information and the correction information includes but not limited to the above-mentioned display manners.
在一些实施例中,在显示目标候选信息的情况下,利用目标候选信息校正第二信息,包括:In some embodiments, when the target candidate information is displayed, using the target candidate information to correct the second information includes:
接收对目标候选信息的第一输入;receiving a first input of target candidate information;
响应于第一输入,将第二信息替换为目标候选信息,或者,根据目标候选信息中目标字符,对第二信息中的第一字符校正。In response to the first input, replace the second information with target candidate information, or correct the first character in the second information according to the target character in the target candidate information.
这里,第一输入可以为作用于目标候选信息的输入。在显示目标候选 信息的情况下,用户对目标候选信息进行第一输入操作。电子设备接收第一输入,响应于该第一输入,将目标表单项中的第二信息替换成目标候选信息。也就是说,在用户进行第一输入操作后,电子设备在目标表单项中显示目标候选信息。Here, the first input may be an input acting on 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 a first input, and in response to the first input, replaces the second information in the target form item with target candidate information. That is to say, after the user performs the first input operation, the electronic device displays target candidate information in the target form item.
在一些实施例中,在目标候选信息包括多个子内容的情况下,第一输入可以为作用于目标候选信息中的目标子内容的输入。用户对目标子内容进行第一输入,电子设备接收第一输入,响应于该第一输入,将目标表单项中的第二信息替换成目标子内容。In some embodiments, in the case that the target candidate information includes a plurality of sub-contents, the first input may be an input acting on the target sub-content in the target candidate information. The user performs a first input on 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.
在本申请实施例中,通过对目标候选信息的第一输入,完成第二信息的整体替换,可以达到一键校正的目的,从而快速完整已填写信息的整体校正,提高了校正效率。In the embodiment of the present application, through the first input of the target candidate information, the entire replacement of the second information can be completed, and the purpose of one-click correction can be achieved, so as to quickly complete the overall correction of the filled information and improve the correction efficiency.
在一个示例中,第二信息为abcdfghjjkmlb,目标候选信息为abcdefghijklmn,用户点击目标候选信息对应的区域,电子设备响应于点击操作,将第二信息替换成abcdefghijklmn。In an example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijklmn, the user clicks on the area corresponding to the target candidate information, and the electronic device replaces the second information with abcdefghijklmn in response to the click operation.
为了减少替换的字符量,在一些实施例中,在显示目标候选信息的情况下,利用目标候选信息校正第二信息,包括:In order to reduce the amount of replaced characters, in some embodiments, when the target candidate information is displayed, the target candidate information is used to correct the second information, including:
接收对目标候选信息的第一输入;receiving a first input of target candidate information;
响应于第一输入,根据目标候选信息中目标字符,对第二信息中的第一字符校正。In response to the first input, correct the first character in the second information according to the target character in the target candidate information.
这里,电子设备接收第一输入,响应于该第一输入,将目标表单项中的第二信息中的第一字符替换成目标候选信息中的目标字符。也就是说,在用户进行第一输入操作后,电子设备将第二信息中的第一字符替换成目标字符,从而在目标表单项中显示校正后的第二信息。Here, the electronic device receives a 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 to say, after the user performs the first input operation, the electronic device replaces the first character in the second information with the target character, so as to display the corrected second information in the target form item.
如此,电子设备可以通过一键输入,达到全部校正的效果,并且通过对差异部分进行替换,可以减少替换的字符量。In this way, the electronic device can achieve the effect of full correction through one-key input, and by replacing the difference, the amount of characters to be replaced can be reduced.
在一个示例中,第二信息为abcdfghjjkmlb,目标候选信息为abcdefghijklmn,用户点击目标候选信息对应的区域,电子设备响应于点击操作,确定第二信息中第一字符,利用目标字符“e”、“i”“lmn”分别校正第二信息中的第一字符。电子设备在第二表单项显示的校正后第二信 息为“abcdefghijklmn”。In an example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijklmn, the user clicks on the area corresponding to the target candidate information, and the electronic device determines the first character in the second information in response to the click operation, and uses the target characters "e", " i" and "lmn" respectively correct the first character in the second information. The corrected second information displayed by the electronic device in the second form item is "abcdefghijklmn".
为了达到精确校正的目的,在一些施例中,第一输入可以包括多个第一子输入,目标字符可以包括多个目标子字符,第一字符可以包括多个第一子字符。电子设备接收一个第一子输入,响应于该第一子输入,将第一字符中的一个第一子字符替换成目标字符中的一个目标子字符。如此,通过目标子字符逐个校正第一子字符,可以达到精确校正第二信息的目的。In order to achieve precise 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 characters. In this way, by correcting the first sub-characters one by one through the target sub-characters, the purpose of accurately correcting the second information can be achieved.
在一个示例中,第二信息为abcdfghjjkmlb,目标候选信息为abcdefghijklmn,用户点击目标候选信息对应的区域,电子设备响应于点击操作,确定需要校正的第二信息中的第一字符,利用目标字符“e”校正第二信息中的第一子字符。电子设备在第二表单项显示的校正后第二信息为“abcdefghjjkmlb”。In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijklmn, the user clicks on 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, using the target character " e" corrects the first subcharacter in the second information. The corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
在一些实施例中,在显示校正信息的情况下,利用目标候选信息校正第二信息,包括:In some embodiments, in the case of displaying the correction information, using the target candidate information to correct the second information includes:
接收对校正信息的第二输入;receiving a second input of correction information;
响应于第二输入,将第二信息的第一字符替换为目标候选信息的目标字符。In response to the second input, the first character of the second information is replaced with the target character of the target candidate information.
这里,第二输入可以为作用于校正信息的输入。在显示校正信息的情况下,用户对校正信息进行第二输入操作。电子设备接收第二输入,响应于该第二输入,利用目标候选信息中目标字符,校正第二信息中的第一字符,并将校正后的第二信息显示第二表单项中。Here, the second input may be an input acting on correction information. In the case where 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 by using the target character in the target candidate information, and displays the corrected second information in the second form item.
也就是说,用户对校正信息对应的区域进行点击,电子设备响应于点击操作,将目标表单项中第二信息中的第一字符替换为目标候选信息中的目标字符,并在目标表单项中显示校正后的第二信息。That is to say, the user clicks the area corresponding to the correction information, and the electronic device responds to the click operation, replacing the first character in the second information in the target form item with the target character in the target candidate information, and The corrected second message is displayed.
在上述实施例中,通过对校正信息的输入操作,完成对第二信息的校正,从到一键校正的目的,从而快速完整已填写信息的整体校正,提高了校正效率。In the above embodiment, the correction of the second information is completed through the input operation of the correction information, so as to achieve the purpose of one-key correction, thereby quickly completing the overall correction of the filled information, and improving the correction efficiency.
在一个示例中,第二信息为abcdfghjjkmlb,目标候选信息为abcdefghijklmn,用户点击校正信息对应的区域,确定第二信息中第一字符,利用目标字符“e”、“i”“lmn”分别校正第二信息中的第一字符。 电子设备在第二表单项显示的校正后第二信息为“abcdefghijklmn”。In one example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijklmn, the user clicks on 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 respectively. The first character in the second message. The corrected second information displayed by the electronic device in the second form item is "abcdefghijklmn".
为了达到精确校正的目的,在一些施例中,第二输入可以包括多个第二子输入,目标字符可以包括多个目标子字符,第一字符可以包括多个第一子字符。电子设备接收一个第二子输入,响应于该第二子输入,将第一字符中的一个第一子字符替换成目标字符中的一个目标子字符。如此,通过目标子字符校正第一子字符,可以达到精确校正第二信息的目的。In order to achieve precise 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 characters. In this way, by correcting the first sub-character through the target sub-character, the purpose of accurately correcting the second information can be achieved.
在一个示例中,第二信息为abcdfghjjkmlb,目标候选信息为abcdefghijklmn,用户点击校正信息中第一子字符或者目标子字符对应的区域,电子设备响应于点击操作,确定需要校正的第二信息中第一子字符,利用目标子字符“e”校正第二信息中的第一子字符。电子设备在第二表单项显示的校正后第二信息为“abcdefghjjkmlb”。In an example, the second information is abcdfghjjkmlb, the target candidate information is abcdefghijklmn, the user clicks on the area corresponding to the first sub-character or the target sub-character in the correction information, and the electronic device determines that the first sub-character in the second information needs to be corrected in response to the click operation. A subcharacter, using the target subcharacter "e" to correct the first subcharacter in the second information. The corrected second information displayed by the electronic device in the second form item is "abcdefghjjkmlb".
在一些实施例中,在显示校正信息的情况下,电子设备可以接收用户对校正信息的第三输入,响应于第三输入,将第二信息替换为目标候选信息。In some embodiments, when the correction information is displayed, the electronic device may receive a third input from the user on the correction information, and in response to the third input, replace the second information with target candidate information.
为了进一步理解对表单项中已填写的表单信息的校正,以第一内容和第二内容复制至剪贴板,候选信息区域为输入法的候选栏为例,对信息显示方法进行说明。图3是为本申请实施例所提供的一种信息校正方法的流程示意图。如图3所示,该信息校正方法,包括步骤S310至步骤S340。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 as the candidate column of the input method as an example. FIG. 3 is a schematic flowchart of an information correction method provided by an embodiment of the present application. As shown in FIG. 3 , the information correction method includes steps S310 to S340.
步骤S310,在电子设备显示表单填写页面的情况下,检测到输入光标聚焦到某个表单项(即目标表单项),且该表单项存在已填写的信息(即第二信息)时,在剪贴板中查找与该表头(即目标表单项名称)对应的预填信息(即目标候选信息)。Step S310, when the electronic device displays the form filling page, when it is detected that the input cursor is focused on a certain form item (i.e. the target form item), and there is already filled information (i.e. the second information) in the form item, the clipping Find the pre-filled information (ie, target candidate information) corresponding to the header (ie, the name of the target form item) in the board.
步骤S320,在查找到预填内容的情况下,检测预填信息与已填写的信息是否相同。在相同的情况下,结束流程。在不相同的情况下,执行步骤S330。Step S320, if the pre-filled content is found, check whether the pre-filled information is the same as the filled information. In the same case, end the process. If they are not the same, execute step S330.
步骤S330,在候选栏中显示校正信息,并在校正信息中利用校正符号标记差异部分,同时在虚拟键盘突出显示出第一字符或者目标字符。Step S330, displaying the correction information in the candidate column, marking the difference in the correction information with a correction symbol, and highlighting the first character or the target character on the virtual keyboard.
步骤S340,电子设备接收用户的校正输入,响应于所述校正输入,对已填写的信息进行校正。In step S340, the electronic device receives a correction input from the user, and corrects the filled information in response to the correction input.
这里,校正输入可以包括一键校正输入,也可以包括局部校正输入。一键校正输入可以是用户对校正信息中除第一字符,和/或目标字符外的区域进行的触控操作。局部输入校正输入可以是用户对校正信息中第一字符,和/或目标字符的触控操作。Here, the correction input may include one-key correction input, or local correction input. The one-key correction input may be a user's touch operation on an area in the correction information other than the first character and/or the target character. Partial input The correction input may be a user's touch operation on the first character and/or the target character in the correction information.
可以理解地是,电子设备在接收到一键校正输入后,响应于所述一键校正输入,对已填写的信息进行整体校正,或者整体替换。电子设备在接收到局部校正输入后,响应于所述局部校正输入,对已填写的信息进行局部修正。It can be understood that after the electronic device receives the one-key correction input, it responds to the one-key correction input to perform overall correction or overall replacement of the filled information. After receiving the partial correction input, the electronic device responds to the partial correction input to perform partial correction on the filled information.
为了提高后续表单填写的准确率,在一些实施例中,在步骤S110之后,信息显示方法还包括:In order to improve the accuracy of subsequent form filling, in some embodiments, after step S110, the information display method further includes:
在检测到所述表单填写页面中已填写的信息被修改时,根据修改后的信息更新目标内容。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.
这里,目标内容为第一信息所对应的内容。更新可以为对目标内容进行替换或者增加。电子设备在检测到已填写的信息被修改时,根据修改后的信息对应表单项,查找目标内容是否存在与该表单项对应的修改字段。如果存在,利用修改后的信息替换该修改字段对应的字符信息。如果不存在,将修改后的信息以及修改字段存储至目标内容中。Here, the target content is content corresponding to the first information. Updating can be replacing or adding to the target content. When the electronic device detects that the filled information has been modified, it searches whether there is a modification field corresponding to the form item in the target content according to the corresponding form item of the modified information. If it exists, replace the character information corresponding to the modified field with the modified information. If it does not exist, store the modified information and modified fields into the target content.
在上述实施例中,通过将修改的信息更新至目标内容中,使得目标内容中字段信息与字符信息得到更新,以便后续的匹配更加符合用户的期望,提高了表单项的候选信息的匹配率。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 the subsequent matching is more in line with the user's expectation, and the matching rate of the candidate information of the form item is improved.
在一些实施例中,分割后的目标内容采用键值对的形式存储数据,根据修改后的信息更新所述目标内容,包括:根据修改后的信息更新所述目标内容对应的键值对。In some embodiments, the divided 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.
这里,电子设备根据修改后的信息对应表单项,查找目标内容对应的键值对中是否存在与该表单项对应的修改字段。在存在的情况下,利用修改后的信息替换所述修改字段对应的键值。在不存在的情况下,将修改后的信息以及修改字段存储至目标内容中新增的键值对中。如此,使得目标内容中键值对得到更新,以便后续的匹配更加符合用户的期望,从而提高了表单项的候选信息的匹配率。Here, according to the modified information corresponding to the form item, the electronic device searches whether there is a modification field corresponding to the form item in the key-value pair corresponding to the target content. If it exists, the key value corresponding to the modified field is replaced with the modified information. If it does not exist, store the modified information and modified fields into the newly added key-value pairs in the target content. In this way, the key-value pairs in the target content are updated, so that the subsequent matching is more in line with the user's expectation, thereby improving the matching rate of the candidate information of the form item.
需要说明的是,本申请实施例提供的信息显示方法,执行主体可以为信息显示装置,或者该信息显示装置中的用于执行表单填写的方法的控制模块。本申请实施例中以信息显示装置执行信息显示的方法为例,说明本申请实施例提供的信息显示装置。It should be noted that, the information display method provided by the embodiment of the present application may be executed by an information display device, or a control module in the information display device for executing the method of filling in a form. In the embodiment of the present application, the method for displaying information performed by the information display device is taken as an example to describe the information display device provided in the embodiment of the present application.
图4是本申请实施例提供的一种信息显示装置的结构示意图。Fig. 4 is a schematic structural diagram of an information display device provided by an embodiment of the present application.
如图4所示,信息显示装置400包括:As shown in Figure 4, the information display device 400 includes:
第一获取模块410,用于在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;The first acquiring module 410 is configured to acquire the position of the input cursor in the form filling page when the copy input of the first content and the second content is received;
第一显示模块420,用于在输入光标的位置对应于第一表单项的情况下,显示第一候选信息;The first display module 420 is configured to display the first candidate information when the position of the input cursor corresponds to the first form item;
第一获取模块410,还用于在所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息;The first obtaining module 410 is further configured to obtain the position of the input cursor when the first information is displayed in the first form item, and the first candidate information includes the first information;
第一显示模块420,还用于在所述输入光标的位置对应于第二表单项的情况下,显示第二候选信息,其中,第一候选信息包括以下至少一项:第一内容中与第一表单项对应的第一子内容,第二内容中与所述第一表单项对应的第二子内容;第二候选信息为第二表单项对应的内容,且与第一信息匹配。The first display module 420 is further configured 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 items: The first sub-content corresponding to a form item, the second sub-content corresponding to the first form item in the second content; the second candidate information is the content corresponding to the second form item, and matches the first information.
在本申请实施例中,接收第一内容和第二内容的复制输入,在输入光标的位置对应于第一表单项时,从第一内容和第二内容得到与第一表单项匹配的第一候选信息,并在根据第一候选信息将第一信息填写至第一表单项后,输入光标的位置对应于第二表单项时,显示与第二表单项对应的第二候选信息。如此,通过接收对第一内容和第二内容的复制输入以及一次对第一信息的选择,即可自动显示与第二表单项匹配的第二候选信息。一方面,有利于用户从众多内容中快速查找表单填写页面所要填写的内容。另一方面,用户无需在多个表单填写过程中反复进行复制操作,简化了表单填写操作,从而提高了表单填写的效率,有助于快速完成多个表单填写页面的填写。In the embodiment of the present application, the copy input of the first content and the second content is received, and when the position of the input cursor corresponds to the first form item, the first content matching the first form item is obtained from the first content and the second content. candidate information, and when the position of the input cursor corresponds to the second form item after the first information is filled in the first form item according to the first candidate information, 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 one selection of the first information, the second candidate information matching the second form item can be automatically displayed. On the one hand, it is beneficial for users to quickly find the content to be filled in the form filling page from among many contents. On the other hand, the user does not need to repeatedly copy operations during the filling of 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 filling pages.
在一些实施例中,该装置400还包括:In some embodiments, the device 400 also includes:
信息获取模块,用于在输入光标的位置对应于目标表单项,且目标表 单项中显示有第二信息的情况下,获取目标候选信息;目标候选信息为与所述目标表单项对应的信息。The information acquisition module is used to obtain target candidate information when the position of the input cursor corresponds to the target form item and the second information is displayed in the target form item; the target candidate information is information corresponding to the target form item.
校正模块,可以用于在目标候选信息与第二信息存在差异的情况下,利用目标候选信息校正所述第二信息。The correction module may be configured to use the target candidate information to correct the second information when there is a difference between the target candidate information and the second information.
在一些实施例中,该装置400还包括:In some embodiments, the device 400 also includes:
第二显示模块,用于显示目标候选信息或校正信息中的至少一项。The second display module is used to display at least one item of target candidate information or correction information.
其中,校正信息可以包括:第二信息中的第一字符,和/或,目标候选项信息中的目标字符。所述目标字符为:目标候选信息中,第二信息和所述目标候选信息的差异部分。第一字符为:第二信息中,第二信息和所述目标候选信息的差异部分。Wherein, the correction information may include: the first character in the second information, and/or, the target character in the target candidate item information. The target character is: in the target candidate information, the difference between the second information and the target candidate information. The first character is: in the second information, the difference between the second information and the target candidate information.
在一些实施例中,在显示目标候选信息的情况下,该校正模块包括:In some embodiments, in the case of displaying target candidate information, the correction module includes:
第一接收子模块,用于接收对目标候选信息的第一输入;A first receiving submodule, configured to receive a first input of target candidate information;
第一校正子模块,用于响应于第一输入,将第二信息替换为目标候选信息;或者,根据目标候选信息中目标字符,对第二信息中的第一字符校正。The first corrector module is configured to replace the second information with target candidate information in response to the first input; or correct the first character in the second information according to the target character in the target candidate information.
在一些实施例中,在显示校正信息的情况下,该校正模块包括:In some embodiments, where correction information is displayed, the correction module includes:
第二接收子模块,接收对校正信息的第二输入;The second receiving submodule receives a second input of correction information;
第二校正子模块,用于响应于第二输入,将第二信息的第一字符替换为目标候选信息的所述目标字符。The second syndrome module 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.
在一些实施例中,第二显示模块,具体用于执行以下至少一种操作:In some embodiments, the second display module is specifically configured to perform at least one of the following operations:
在候选信息区域显示校正信息;Display correction information in the candidate information area;
在虚拟键盘存在所述目标字符或者所述第一字符对应的虚拟按键的情况下,在虚拟键盘上区别显示所述目标字符或者所述第一字符对应的虚拟按键。If there is a virtual key corresponding to the target character or the first character on the virtual keyboard, the virtual key corresponding to the target character or the first character is differentially displayed on the virtual keyboard.
本申请实施例中,信息显示装置400应用于电子设备,电子设备包括显示屏。In the embodiment of the present application, the information display apparatus 400 is applied to an electronic device, and the electronic device includes a display screen.
本申请实施例中的信息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、 掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The information display device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may 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 notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的信息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The information display device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的信息显示装置能够实现图1至图3的方法实施例实现的各个过程,为避免重复,这里不再赘述。The information display device provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.
本申请实施例还提供一种电子设备,被配置成用于执行上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。可选地,如图5所示,本申请实施例还提供一种电子设备500,包括处理器510,存储器502,存储在存储器502上并可在所述处理器510上运行的程序或指令,该程序或指令被处理器510执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides an electronic device configured to execute the processes of the above display method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here. Optionally, as shown in FIG. 5 , the embodiment of the present application further provides an electronic device 500, including a processor 510, a memory 502, and programs or instructions stored in the memory 502 and operable on the processor 510, When the program or instruction is executed by the processor 510, the various processes of the above-mentioned information display method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。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.
图6为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、以及处理器610等部件。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, etc. part.
本领域技术人员可以理解,电子设备600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置, 在此不再赘述。Those skilled in the art can understand that the electronic device 600 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 610 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,处理器610,用于:Wherein, the processor 610 is used for:
在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息。In the case of receiving the copy input of the first content and the second content, the position of the input cursor in the form filling page is obtained; in the case of the first information displayed in the first form item, the position of the input cursor is obtained, The first candidate information includes the first information.
显示单元606,用于:The display unit 606 is used for:
在输入光标的位置对应于第一表单项的情况下,显示第一候选信息;在所述输入光标的位置对应于第二表单项的情况下,显示第二候选信息,其中,第一候选信息包括以下至少一项:第一内容中与第一表单项对应的第一子内容,第二内容中与所述第一表单项对应的第二子内容;第二候选信息为第二表单项对应的内容,且与第一信息匹配。If the position of the input cursor corresponds to the first form item, display the first candidate information; if the position of the input cursor corresponds to the second form item, display the second candidate information, wherein the first candidate information Including at least one of the following items: the first sub-content corresponding to the first form item in the first content, the second sub-content corresponding to the first form item in the second content; the second candidate information is that the second form item corresponds to and match the first information.
处理器610,还用于:在第一信息为第一子内容的情况下,第二候选信息为第一内容中与第二表单项对应的第三子内容;或者,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 corresponding to the second form item in the first content; or,
在第一信息为第二子内容的情况下,第二候选信息为所述第二内容中与第二表单项对应的第四子内容。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.
可选地,处理器610,还用于:Optionally, the processor 610 is also used for:
在输入光标的位置对应于目标表单项,且目标表单项中显示有第二信息的情况下,获取目标候选信息;目标候选信息为与所述目标表单项对应的信息。When the position of the input cursor corresponds to the target form item and the second information is displayed in the target form item, target candidate information is acquired; the target candidate information is information corresponding to the target form item.
在目标候选信息与第二信息存在差异的情况下,利用目标候选信息校正所述第二信息。If there is a difference between the target candidate information and the second information, the second information is corrected by using the target candidate information.
可选地,显示单元606,还用于:显示所述目标候选信息,和/或显示校正信息。Optionally, the display unit 606 is further configured to: display the target candidate information, and/or display correction information.
其中,校正信息可以包括:第二信息中的第一字符,和/或,目标候选项信息中的目标字符。所述目标字符为:目标候选信息中,第二信息和所述目标候选信息的差异部分。第一字符为:第二信息中,第二信息和所述目标候选信息的差异部分。Wherein, the correction information may include: the first character in the second information, and/or, the target character in the target candidate item information. The target character is: in the target candidate information, the difference between the second information and the target candidate information. The first character is: in the second information, the difference between the second information and the target candidate information.
可选地,在显示目标候选信息的情况下,用户输入单元607,用于:Optionally, in the case of displaying target candidate information, the user input unit 607 is configured to:
接收对目标候选信息的第一输入。A first input of target candidate information is received.
处理器610,还可以用于:The processor 610 can also be used for:
响应于第一输入,将第二信息替换为目标候选信息,或者,根据目标候选信息中目标字符,对第二信息中的第一字符校正。In response to the first input, replace the second information with target candidate information, or correct the first character in the second information according to the target character in the target candidate information.
可选地,在显示校正信息的情况下,用户输入单元607,还用于:Optionally, in the case of displaying correction information, the user input unit 607 is also used to:
接收对校正信息的第二输入。A second input of correction information is received.
处理器610,还可以用于:The processor 610 can also be used for:
响应于第二输入,将第二信息的第一字符替换为目标候选信息的目标字符。In response to the second input, the first character of the second information is replaced with the target character of the target candidate information.
可选地,显示单元606,还用于:Optionally, the display unit 606 is also used to:
在候选信息区域显示校正信息;Display correction information in the candidate information area;
或者,在虚拟键盘包括目标字符或者第一字符对应的虚拟按键的情况下,在虚拟键盘上区别显示目标字符或者第一字符对应的虚拟按键。Alternatively, when the virtual keyboard includes virtual keys corresponding to the target character or the first character, the virtual key corresponding to the target character or the first character is displayed differently on the virtual keyboard.
应理解的是,本申请实施例中,输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元606可包括显示面板6061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板6061。用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器609可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。It should be understood that, in the embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. 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, or the like. 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, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 609 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 610 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above-mentioned information display method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等非暂态计算机可读存储介质。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc. Read storage media.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above information display method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例还提供一种计算机程序产品,包括有形地包含在计算机可读介质上的计算机程序,所述计算机程序包含用于执行上述显示方法的程序代码。该计算机程序被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program product, including a computer program tangibly contained on a computer-readable medium, where the computer program includes a program code for executing the above display method. When the computer program is executed by the processor, the various processes of the above-mentioned display method embodiments can be achieved, and the same technical effect can be achieved, so details are not repeated here to avoid repetition.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that 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. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软 件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (19)

  1. 一种信息显示方法,其特征在于,包括:An information display method, characterized by comprising:
    在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;Acquiring the position of the input cursor in the form filling page in the case of receiving the copy input of the first content and the second content;
    在所述输入光标的位置对应于第一表单项的情况下,显示第一候选信息,其中,所述第一候选信息包括以下至少一项:所述第一内容中与所述第一表单项对应的第一子内容,所述第二内容中与所述第一表单项对应的第二子内容;When the position of the input cursor corresponds to the first form item, display first candidate information, wherein the first candidate information includes at least one of the following: the first content in the first form item The corresponding first sub-content, the second sub-content corresponding to the first form item in the second content;
    在所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息;In the case where the first information is displayed in the first form item, acquire the position of the input cursor, the first candidate information includes the first information;
    在所述输入光标的位置对应于第二表单项的情况下,显示第二候选信息,所述第二候选信息为所述第二表单项对应的内容,且与所述第一信息匹配。If the position of the input cursor corresponds to the second form item, display second candidate information, the second candidate information is the content corresponding to the second form item and matches the first information.
  2. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    在所述第一信息为第一子内容的情况下,所述第二候选信息为所述第一内容中与所述第二表单项对应的第三子内容;或者,In the case where 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; or,
    在所述第一信息为第二子内容的情况下,所述第二候选信息为所述第二内容中与所述第二表单项对应的第四子内容。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.
  3. 根据权利要求1所述的方法,其特征在于,在所述在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置之后,所述方法还包括:The method according to claim 1, characterized in that, after obtaining the position of the input cursor in the form filling page in the case of receiving the copy input of the first content and the second content, the method further comprises :
    在所述输入光标的位置对应于目标表单项,且所述目标表单项中显示有第二信息的情况下,获取目标候选信息;所述目标候选信息为与所述目标表单项对应的信息;在所述目标候选信息与所述第二信息存在差异的情况下,利用所述目标候选信息校正所述第二信息。When the position of the input cursor corresponds to a target form item and second information is displayed in the target form item, acquiring target candidate information; the target candidate information is information corresponding to the target form item; If there is a difference between the target candidate information and the second information, the second information is corrected by using the target candidate information.
  4. 根据权利要求3所述的方法,其特征在于,在所述利用所述目标候选信息校正所述第二信息之前,所述方法还包括:The method according to claim 3, wherein before said correcting said second information by using said target candidate information, said method further comprises:
    显示目标候选信息或校正信息中的至少一项;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: in the target candidate information, the first The difference between the second information and the target candidate information; the first character is: in the second information, the difference between the second information and the target candidate information.
  5. 根据权利要求4所述的方法,其特征在于,在显示所述目标候选信息的情况下,所述利用所述目标候选信息校正所述第二信息,包括:The method according to claim 4, wherein when the target candidate information is displayed, correcting the second information by using the target candidate information comprises:
    接收对所述目标候选信息的第一输入;receiving a first input of the target candidate information;
    响应于所述第一输入,将所述第二信息替换为所述目标候选信息,或者,根据所述目标候选信息中目标字符,对所述第二信息中的第一字符校正。In response to the first input, replacing the second information with the target candidate information, or correcting the first character in the second information according to the target character in the target candidate information.
  6. 根据权利要求4所述的方法,其特征在于,在显示校正信息的情况下,所述利用所述目标候选信息校正所述第二信息,包括:The method according to claim 4, wherein, in the case of displaying correction information, said correcting said second information by using said target candidate information comprises:
    接收对所述校正信息的第二输入;receiving a second input of the correction information;
    响应于所述第二输入,将所述第二信息的第一字符替换为所述目标候选信息的所述目标字符。In response to the second input, replacing the first character of the second information with the target character of the target candidate information.
  7. 根据权利要求4所述的方法,其特征在于,所述显示校正信息,包括以下至少一种操作:The method according to claim 4, wherein the displaying correction information includes at least one of the following operations:
    在候选信息区域显示所述校正信息;displaying the correction information in the candidate information area;
    或者,在虚拟键盘包括所述目标字符或者所述第一字符对应的虚拟按键的情况下,在虚拟键盘上区别显示所述目标字符或者所述第一字符对应的虚拟按键。Or, in the case that the virtual keyboard includes virtual keys corresponding to the target character or the first character, the virtual key corresponding to the target character or the first character is differentially displayed on the virtual keyboard.
  8. 根据权利要求1所述的方法,其特征在于,各表单项包括表头名称和输入栏,且各候选信息为与所述表头名称匹配的候选词。The method according to claim 1, wherein each form item includes a header name and an input field, and each candidate information is a candidate word matching the header name.
  9. 一种信息显示的装置,其特征在于,所述装置包括:An information display device, characterized in that the device includes:
    第一获取模块,用于在接收到对第一内容和第二内容的复制输入的情况下,获取表单填写页面中输入光标的位置;The first obtaining module is used to obtain the position of the input cursor in the form filling page when the copy input of the first content and the second content is received;
    第一显示模块,用于在所述输入光标的位置对应于第一表单项的情况下,显示第一候选信息,其中,所述第一候选信息包括以下至少一项:所述第一内容中与所述第一表单项对应的第一子内容,所述第二内容中与所 述第一表单项对应的第二子内容;A first display module, configured to display first candidate information when the position of the input cursor corresponds to a first form item, wherein the first candidate information includes at least one of the following: in the first content the first sub-content corresponding to the first form item, and the second sub-content corresponding to the first form item in the second content;
    所述第一获取模块,还用于在所述第一表单项中显示有第一信息的情况下,获取输入光标的位置,所述第一候选信息包括所述第一信息;The first obtaining module is further configured to obtain the position of the input cursor when the 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, where the second candidate information is the content corresponding to the second form item, And match with the first information.
  10. 根据权利要求9所述的装置,其特征在于,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    信息获取模块,用于在所述输入光标的位置对应于目标表单项,且所述目标表单项中显示有第二信息的情况下,获取目标候选信息;所述目标候选信息为与所述目标表单项对应的信息;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 related to the target Information corresponding to the form item;
    校正模块,用于在所述目标候选信息与所述第二信息存在差异的情况下,利用所述目标候选信息校正所述第二信息。A correction module, configured to use the target candidate information to correct the second information when there is a difference between the target candidate information and the second information.
  11. 根据权利要求10所述的装置,其特征在于,所述装置还包括:The device according to claim 10, further comprising:
    第二显示模块,用于显示所述目标候选信息或校正信息中的至少一项;A second display module, configured to display at least one of the 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: in the target candidate information, the first The difference between the second information and the target candidate information; the first character is: in the second information, the difference between the second information and the target candidate information.
  12. 根据权利要求11所述的装置,其特征在于,在显示所述目标候选信息的情况下,所述校正模块包括:The device according to claim 11, wherein, in the case of displaying the target candidate information, the correction module comprises:
    第一接收子模块,用于接收对所述目标候选信息的第一输入;A first receiving submodule, configured to receive a first input of the target candidate information;
    第一校正子模块,用于响应于所述第一输入,将所述第二信息替换为所述目标候选信息;或者,根据所述目标候选信息中目标字符,对所述第二信息中的第一字符校正。The first syndrome module is configured to replace the second information with the target candidate information in response to the first input; or, according to the target character in the target candidate information, perform an operation on the target character in the second information First character correction.
  13. 根据权利要求11所述的装置,其特征在于,在显示校正信息的情况下,所述校正模块包括:The device according to claim 11, wherein, in the case of displaying correction information, the correction module includes:
    第二接收子模块,接收对所述校正信息的第二输入;The second receiving submodule receives a second input of the correction information;
    第二校正子模块,用于响应于所述第二输入,将所述第二信息的第一 字符替换为所述目标候选信息的所述目标字符。The second syndrome module 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.
  14. 根据权利要求12所述的装置,其特征在于,第二显示模块,具体用于执行以下至少一种操作:The device according to claim 12, wherein the second display module is specifically configured to perform at least one of the following operations:
    在候选信息区域显示所述校正信息;displaying the correction information in the candidate information area;
    或者,在虚拟键盘存在所述目标字符或者所述第一字符对应的虚拟按键的情况下,在虚拟键盘上区别显示所述目标字符或者所述第一字符对应的虚拟按键。Or, 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 differentially displayed on the virtual keyboard.
  15. 一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-8任一项所述的信息显示方法的步骤。An electronic device, characterized by comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, the The steps of the information display method described in any one of requirements 1-8.
  16. 一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-8任一项所述的信息显示方法的步骤。A readable storage medium, characterized in that a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the information display method according to any one of claims 1-8 is implemented. step.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至8中任一项所述的信息显示方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the information described in any one of claims 1 to 8 Shows the steps of the method.
  18. 一种计算机程序产品,包括有形地包含在计算机可读介质上的计算机程序,所述计算机程序包含用于执行权利要求1至8中任一项所述的信息显示方法的程序代码。A computer program product comprising a computer program tangibly contained on a computer readable medium, the computer program comprising program code for executing the information display method according to any one of claims 1 to 8.
  19. 一种电子设备,被配置成用于执行如权利要求1至8中任一项所述的信息显示方法的步骤。An electronic device configured to execute the steps of the information display method according to any one of claims 1 to 8.
PCT/CN2022/092028 2021-05-11 2022-05-10 Information display method and electronic device WO2022237795A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110512283.8 2021-05-11
CN202110512283.8A CN113407073A (en) 2021-05-11 2021-05-11 Information display method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022237795A1 true WO2022237795A1 (en) 2022-11-17

Family

ID=77678375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092028 WO2022237795A1 (en) 2021-05-11 2022-05-10 Information display method and electronic device

Country Status (2)

Country Link
CN (1) CN113407073A (en)
WO (1) WO2022237795A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407073A (en) * 2021-05-11 2021-09-17 维沃移动通信有限公司 Information display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008276766A (en) * 2007-04-26 2008-11-13 Xerox Corp Form automatic filling method and device
CN108108249A (en) * 2016-11-25 2018-06-01 北京嘀嘀无限科技发展有限公司 Data inputting method and device
CN109800352A (en) * 2018-12-30 2019-05-24 上海触乐信息科技有限公司 Method, system and the terminal device of information push are carried out based on clipbook
CN112765942A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN113407073A (en) * 2021-05-11 2021-09-17 维沃移动通信有限公司 Information display method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008276766A (en) * 2007-04-26 2008-11-13 Xerox Corp Form automatic filling method and device
CN108108249A (en) * 2016-11-25 2018-06-01 北京嘀嘀无限科技发展有限公司 Data inputting method and device
CN109800352A (en) * 2018-12-30 2019-05-24 上海触乐信息科技有限公司 Method, system and the terminal device of information push are carried out based on clipbook
CN112765942A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Text processing method and device, electronic equipment and readable storage medium
CN113407073A (en) * 2021-05-11 2021-09-17 维沃移动通信有限公司 Information display method and electronic equipment

Also Published As

Publication number Publication date
CN113407073A (en) 2021-09-17

Similar Documents

Publication Publication Date Title
US20150234938A1 (en) Method and electronic terminal for searching for contact in directory
US10810698B2 (en) Information processing method and client
CN113518026B (en) Message processing method and device and electronic equipment
AU2014312473A1 (en) Apparatus and method for displaying chart in electronic device
CN107765938B (en) Picture interaction method and device
WO2022083750A1 (en) Text display method and apparatus and electronic device
WO2022161431A1 (en) Display method, apparatus, and electronic device
WO2013177903A1 (en) Text input method and device
WO2022237795A1 (en) Information display method and electronic device
WO2022247789A1 (en) Candidate word update method and apparatus, and electronic device
CN113127432A (en) Operation execution method, device, electronic equipment and medium
WO2022233276A1 (en) Display method and apparatus, and electronic device
CN112333084B (en) File sending method and device and electronic equipment
US20240004541A1 (en) Content Extraction Method, Electronic Device and Medium
WO2023072265A1 (en) Message correcting method and apparatus, and electronic device
WO2023036115A1 (en) Text content selection method and apparatus
WO2022228433A1 (en) Information processing method and apparatus, and electronic device
WO2023005899A1 (en) Graphic identifier display method and electronic device
WO2022237877A1 (en) Information processing method and apparatus, and electronic device
WO2022222864A1 (en) Document processing method and apparatus, and electronic device
WO2022233275A1 (en) Input correction method and apparatus
WO2022156674A1 (en) Chat content processing method and apparatus, and electronic device
CN113342241A (en) Target character selection method and device, electronic equipment and storage medium
CN112684912A (en) Candidate information display method and device and electronic equipment
CN113162840B (en) Display method, display device, electronic apparatus, and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22806758

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE