WO2023040724A1 - 信息显示方法、装置、电子设备和存储介质 - Google Patents

信息显示方法、装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2023040724A1
WO2023040724A1 PCT/CN2022/117581 CN2022117581W WO2023040724A1 WO 2023040724 A1 WO2023040724 A1 WO 2023040724A1 CN 2022117581 W CN2022117581 W CN 2022117581W WO 2023040724 A1 WO2023040724 A1 WO 2023040724A1
Authority
WO
WIPO (PCT)
Prior art keywords
candidate
column
input
character string
target
Prior art date
Application number
PCT/CN2022/117581
Other languages
English (en)
French (fr)
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 WO2023040724A1 publication Critical patent/WO2023040724A1/zh

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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the technical field of data computers, and in particular relates to an information display method, device, electronic equipment and storage medium.
  • the purpose of the embodiments of the present application is to provide an information display method, device, electronic device and storage medium, which can solve the problems of frequent user operations and low input efficiency due to the input method in the related art.
  • the embodiment of the present application provides an information display method, the method includes:
  • the first candidate is a candidate corresponding to the first character string;
  • the second candidate is a first association candidate matching the first candidate;
  • the first candidate is a candidate corresponding to a first substring in the first character string
  • the second candidate is a candidate corresponding to a second substring in the first character string
  • the first character string includes the first substring and the second substring.
  • an information display device which includes:
  • a receiving module configured to receive the first character string input by the user
  • a display module configured to display a first candidate in a first candidate column, and a second candidate in a second candidate column; wherein, the first candidate is a candidate corresponding to the first character string; the The second candidate is a first association candidate matched with the first candidate; or, the first candidate is a candidate corresponding to the first substring in the first character string, and the The second candidate is a candidate corresponding to a second substring in the first character string; the first character string includes the first substring and the second substring.
  • 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.
  • the embodiment of the present application further provides an electronic device configured to execute the steps of the information display method described in the first aspect.
  • the 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 computer program product that can be executed by a processor to implement the steps of the information display method described in the first 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.
  • the first candidate corresponding to the first character string is displayed in the first candidate column, and the first candidate matching the first candidate is displayed in the second candidate column.
  • One association candidate item so not only provides the user with the first candidate item corresponding to the first string, but also provides the user with the first association candidate item matching the first candidate item, so that the user can directly select the It is enough to select the first candidate item and/or the first association candidate item to be selected in different candidate columns; or the candidate item corresponding to the first substring in the first character string can be displayed in the first candidate column, Candidates corresponding to the second substring in the first character string are displayed in the second candidate column, so that candidates corresponding to the first character string can be displayed in multiple candidate columns, and more candidates are displayed.
  • the user is provided with more candidates, and the user can directly select the desired candidate from multiple candidate columns. In this way, through the solution of the embodiment of the present application, the user can display more options through simple operation.
  • the candidate items may also display associated candidate items corresponding to the candidate items, providing more choices for the user and improving the input efficiency of the user.
  • Fig. 1 is one of the flowcharts of an information display method shown according to an exemplary embodiment
  • Fig. 2 is one of the schematic display diagrams of the display interface shown according to an exemplary embodiment
  • Fig. 3 is a second schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 4 is a third schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 5 is a fourth schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 6 is a fifth schematic diagram of a display interface shown according to an exemplary embodiment
  • Fig. 7 is a sixth schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 8 is a seventh schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 9 is an eighth schematic diagram of a display interface shown according to an exemplary embodiment.
  • Fig. 10 is a ninth schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 11 is a tenth schematic display diagram of a display interface shown according to an exemplary embodiment
  • Fig. 12 is an eleventh schematic diagram of a display interface shown according to an exemplary embodiment
  • Fig. 13 is the twelfth display schematic diagram of a display interface shown according to an exemplary embodiment
  • Fig. 14 is the second flowchart of an information display method according to an exemplary embodiment
  • Fig. 15 is the third flowchart of an information display method according to an exemplary embodiment
  • Fig. 16 is a structural block diagram of an information display device according to an exemplary embodiment
  • Fig. 17 is a structural block diagram of an electronic device according to an exemplary embodiment
  • FIG. 18 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • the current input method only has one candidate column after the user enters a character string, and the candidates corresponding to the input character string can be presented on the candidate column.
  • the association candidate associated with the candidate input into the information sending box can appear on the candidate bar originally displaying the candidate, and the user can click on the association candidate again. Items to determine the words the user chooses to send.
  • only one candidate column appears. After the user clicks on the candidate item in the candidate column, the associated candidate item corresponding to the candidate item input into the message sending box will appear, instead of directly appearing the input string.
  • the association candidates associated with the corresponding candidates cannot be provided to the user to predict the association candidates, resulting in frequent user operations and low input efficiency.
  • the embodiment of the present application provides an information display method, by receiving the first character string input by the user, displaying the first candidate item corresponding to the first character string in the first candidate column, and displaying the first candidate item corresponding to the first character string in the The second candidate column displays the first association candidate matched with the first candidate, which not only provides the user with the first candidate corresponding to the first character string, but also provides the user with the first candidate matched with the first candidate.
  • Associative candidates when selecting like this, the user can directly select the first candidate and/or the first association candidate to be selected in different candidate columns; For the candidate corresponding to the first substring in the string, the candidate corresponding to the second substring in the first character string is displayed in the second candidate column, so that the candidate corresponding to the first character can be displayed in multiple candidate columns Candidates corresponding to strings. There are more candidates displayed, and more candidates are provided to the user. The user can directly select the desired candidate from multiple candidate columns. In this way, through the solution of the embodiment of the application, the user can simply The operation mode displays more candidate items, and may also display associated candidate items corresponding to the candidate items, providing the user with more choices and improving the input efficiency of the user.
  • Fig. 1 is a schematic flowchart of an information display method provided by an embodiment of the present application, and the execution subject of the information display method may be an electronic device or a server. It should be noted that the above-mentioned executors do not constitute a limitation of the present application.
  • the electronic device may be, but not limited to, a personal computer (Personal Computer, PC), a smart phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA) and the like.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • the information processing method provided by the embodiment of the present application may include step 110 - step 120 .
  • Step 110 receiving the first character string input by the user
  • Step 120 display the first candidate item in the first candidate column, and display the second candidate item in the second candidate column; wherein, the first candidate item is the candidate item corresponding to the first character string; the second candidate item is the candidate item corresponding to the first character string; The first association candidate of a candidate match; or, the first candidate is the candidate corresponding to the first substring in the first character string, and the second candidate is the second substring in the first character string corresponding candidates.
  • the first character string may include a first substring and a second substring.
  • step 110 is introduced, receiving the first character string input by the user.
  • the first character string may be a character string input by the user on the input method interface.
  • the first character string may be, but not limited to, any one of the following types of character strings: a character string of Chinese pinyin, a character string of English letters, or a character string under other possible input method schemes.
  • the specific type of the first character string can be set by itself according to user requirements, and is not limited here.
  • the Chinese Pinyin character string when the first character string is a Chinese Pinyin character string, can be, but not limited to, a Quanpin character string, a simplified Pinyin character string, a fuzzy sound character string or a custom
  • the string specifically, can be set according to the user's needs, and there is no limitation here.
  • the input method keyboards corresponding to the input method interface may be different types of keyboards, which may be determined according to actual conditions, and are not limited here.
  • the input keyboard corresponding to the input method interface may be a 9-key keyboard or a 26-key keyboard.
  • step 120 display the first candidate item in the first candidate column, and display the second candidate item in the second candidate column, wherein the first candidate item is the candidate item corresponding to the first character string; the second candidate item is The first association candidate matching the first candidate; or, the first candidate is the candidate corresponding to the first substring in the first character string, and the second candidate is the candidate corresponding to the second substring in the first character string.
  • Candidates for strings are provided.
  • the first candidate column may be a preset candidate column.
  • the second candidate column may be another preset candidate column different from the first candidate column.
  • the input method keyboard corresponding to the input method interface is a 9-key keyboard
  • the first candidate column may be the area 21 in Figure 2
  • the second candidate column may be the area in Figure 2 twenty two.
  • first candidate item may be the candidate item displayed in the first candidate column.
  • the second candidate may be a candidate displayed in the second candidate column.
  • the input method interface may be displayed on the screen vertically (as shown in Fig. 2 and Fig. 3 ), or may be displayed on the screen horizontally (as shown in Fig. 4 and Fig. 5 ). Then, when the input method interface is displayed on the screen vertically, the first candidate column and the second candidate column are arranged along the first direction; when the input method interface is displayed on the screen horizontally, the first candidate column and the second candidate column Columns are arranged along the second direction.
  • the first direction may be a preset direction.
  • the second direction may be another direction preset.
  • the arrangement in the first direction may be arranged vertically, and the arrangement in the second direction may be arranged horizontally.
  • the first candidate column 21 and the second candidate column 22 are arranged vertically on the screen.
  • the first candidate column 41 and the second candidate column 42 are arranged horizontally on the screen.
  • the first candidate column and the second candidate column are arranged in different ways, so that the layout of the first candidate column and the second candidate column is consistent with the display of the electronic device
  • the display status of the screen is more matched, which is convenient for the user to watch and operate the input keyboard, thereby improving the user experience.
  • the candidate items corresponding to the first character string may be candidate words corresponding to the first character string.
  • the first associative candidate may be an associative word or an associative symbol of the first candidate.
  • the first candidate corresponding to the first character string “zhen” may be displayed on the first candidate column 21.
  • a candidate for association, specifically a candidate word corresponding to the first candidate for example: “de”, “good”, “beautiful”, “ok”, “pair”, "er”.
  • the first candidate column 31 may display the character string corresponding to the first character string "zhen'd".
  • the first candidate item “true”, “target”, “position”, “really many”, “really big”, on the second candidate column 32, the corresponding first candidate item displayed with the first candidate column 31 can be displayed.
  • the first association candidate item may specifically be a candidate word corresponding to the first candidate item, for example: “very good”, “great”, “very beautiful”, “you", “war”.
  • the first candidate item corresponding to the first character string “zhendehh” may be displayed on the first candidate column: “really Good”, “really ruthless”, “really very”, “really good”, the first association candidate corresponding to the first candidate displayed in the first candidate column can be displayed on the second candidate column, Specifically, it may be a candidate symbol corresponding to the first candidate item, for example: “*", "!, “ ⁇ ", "#”.
  • the first character string may include a first substring and a second substring.
  • the first substring may be a part of the first character string, and the second substring may be a part of the first character string other than the first substring.
  • the first substring may be the string “zhende”, and the second substring may be the string “haobang”.
  • the first substring when the user inputs the first character string "zhende”, the first substring may be the character string "zhen", and the second substring may be the character string "de” as
  • the candidate items corresponding to the first substring "zhen” are displayed: “true”, “needle”, “array”, “Zhen”, "vibration”, “shock”, and in the second candidate
  • the column displays the candidates corresponding to the second substring "de”: " ⁇ ", “ ⁇ ", “ ⁇ ”, “ ⁇ ”.
  • the first candidate corresponding to the first character string is displayed in the first candidate column, and the first candidate matching the first candidate is displayed in the second candidate column.
  • the first association candidate item not only provides the user with the first candidate item corresponding to the first string, but also provides the user with the first association candidate item matching the first candidate item, so that the user can directly Select the first candidate item and/or the first association candidate item to be selected in different candidate columns; or the candidate item corresponding to the first substring in the first character string can be displayed in the first candidate column , display the candidates corresponding to the second substring in the first string in the second candidate column, so that the candidates corresponding to the first string can be displayed in multiple candidate columns, and more candidates can be displayed , providing more candidates for the user, the user can directly select the desired candidate from multiple candidate columns, so, through the solution of the embodiment of the application, the user can display more Candidates can also be displayed associative candidates corresponding to the candidates, providing more choices for the user and improving the input efficiency of
  • the first candidate is a candidate corresponding to the first character string; the second candidate is a match with the first candidate The first association candidate.
  • the first candidate is the candidate corresponding to the first substring in the first character string
  • the second candidate is the candidate corresponding to the first character The candidate corresponding to the second substring in the string.
  • the preset division symbol may be a preset symbol for dividing the first character string into at least two sub-character strings in the first character string.
  • the preset segmentation symbol may be, but not limited to, ";", “'” or “,” etc. Specifically, it may be set according to user requirements, which is not limited here.
  • the first sub-string may be a character string before a preset segmentation symbol at a preset position in the first character string
  • the second sub-string may be a preset character string at a preset position. Set the string after the separator.
  • the preset location may be a preset location.
  • the preset position may be the position of any one of the three preset separation symbols "'”. If the preset position is the position of the first division symbol, the first substring may be the character string "zhen", and the second substring may be the character string "dehaobang”.
  • the candidates in the first candidate column and the second candidate column are displayed differently, so that the display of the candidate items is more in line with the user's preference. Operating habits have improved the user experience.
  • the first subcharacter is the character string before the preset division symbol
  • the second subcharacter is the character string after the preset division symbol. string.
  • the candidates corresponding to the first substring are displayed in the first candidate column
  • the candidates corresponding to the second substring are displayed in the second candidate column.
  • Secondary options may include:
  • the first candidate is displayed in the first candidate column, and the second candidate is displayed in the M sub-candidate columns respectively.
  • the first candidate may be a candidate corresponding to a character string located before the first preset segmentation symbol in the first character string.
  • the second candidate column may include M sub-candidate columns, and each sub-candidate column displays candidates corresponding to character strings between every two adjacent preset segmentation symbols.
  • the second candidate column 82 can include 2 sub-candidate columns, which are respectively sub-candidate column 821 and sub-candidate column 822, so it can be displayed on the first candidate column 81 and be located in the first character string
  • the first candidate item corresponding to the character string "zhen” before the first preset segmentation symbol: ""true", “needle”, “array”, “zhen", “vibration”, “shock", in the sub-candidate column 821 Can display the candidate items corresponding to the character string "de” between the first preset segmentation symbol and the second preset segmentation symbol: " ⁇ ", “ ⁇ ", “ ⁇ ”, “ ⁇ ”, in the sub-candidate column 822 Can display the candidates corresponding to the character string "h" after the last preset split
  • the combination of the sub-candidate column 821 and the sub-candidate column 822 can be regarded as the second candidate column 82 .
  • the preset segmentation symbols may be the same or different.
  • the first character string input by the user on the input method interface may be "zhen'de'h” or "zhen'de;h".
  • the preset dividing symbols may be set according to user requirements, which is not limited here.
  • the input method keyboard corresponding to the input method interface is a 9-key keyboard, and the vertical arrangement is taken as an example for illustration.
  • the input method keyboard corresponding to the input method interface can also be a 26-key keyboard or a 9-key keyboard, and the first candidate column and the second candidate column are arranged horizontally for display.
  • Fig. 4 and Fig. 5 are not repeated here.
  • the input method keyboard corresponding to the input method interface is a 9-key keyboard
  • the vertical arrangement is taken as an example for illustration, and the horizontal arrangement and vertical arrangement are only
  • the layout of the first candidate column and the second candidate column are different, and the other ways to realize the information display method are the same.
  • the implementation of the 26-key keyboard is the same as that of the 9-key keyboard, except that one is a 9-key keyboard, and the other is a 9-key keyboard.
  • the candidates displayed in the second candidate column are determined according to the number of preset dividing symbols, and when the number of preset dividing symbols is large, multiple sub-candidate columns are displayed in the second candidate column , to realize that the text corresponding to the string between each two separators can be operated independently, so that the selection accuracy of each character in the long string is higher, and the user experience is further improved.
  • step 120 in order to display the candidates more accurately, step 120 may specifically include:
  • a plurality of first candidates are displayed in the first candidate column according to weight levels, and a plurality of second candidates are displayed in the second candidate column.
  • the candidates corresponding to the first character string “zhen” may include: “true”, “needle”, “array”, “zhen” “, “Zhen”, “Zhen”, “Frame”, “ ⁇ ” and “ ⁇ ”, wherein “true” corresponds to the weight level of the first character string “zhen” can be 0.98, and “needle” corresponds to the first
  • the weight of the character string “zhen” may be 0.95, the weight level of “zhen” corresponding to the first character string “zhen” may be 0.8, and the weight level of "zhen” corresponding to the first character string “zhen” may be 0.7,”
  • the weight level corresponding to the first character string “zhen” may be 0.6, the weight level corresponding to the first character string “zhen” may be 0.5, and the weight level corresponding to the first character string “zhen” may be "frame”.
  • the weight level can be 0.4, the weight level of " ⁇ " corresponding to the first character string “zhen” can be 0.3, and the weight level of " ⁇ " corresponding to the first character string “zhen” can be 0.2, then according to the above candidates
  • the weight levels can be displayed in descending order of the weight levels, that is, the display results in the first candidate column as shown in FIG. 2 .
  • the second candidate column may display the first associated candidate item corresponding to the first candidate item, for example, the first candidate item corresponding to the first candidate item.
  • the corresponding first association candidates can include: “de”, “good”, “beauty”, “okay”, “right”, “children”, “live”, “cherish”, “heart”, because the second candidate
  • the first associative candidate displayed in the column is corresponding to the first candidate displayed in the first candidate column, which can form “true”, “really good”, “true beauty”, “true”, “for” and “array”.
  • the weight level corresponding to "true” can be 0.98
  • the weight level corresponding to "really good” can be 0.94
  • the weight level corresponding to "beautiful” can be It is 0.85
  • the weight level corresponding to "Zhen Xing” can be 0.8
  • the weight level corresponding to "target” can be 0.7
  • the weight level corresponding to "Zhener” can be 0.6
  • the weight level corresponding to "Zhenzhu” can be 0.5
  • the weight level corresponding to "cherish” can be 0.4
  • the weight level corresponding to "sincerity” can be 0.3, then according to the weight level of each candidate above, it can be displayed on the second candidate column in order of weight level from large to small.
  • the first association candidate corresponding to the first candidate is the display result in the second candidate column as shown in FIG. 2 .
  • the weight level is used as an example to display candidates in the first candidate column and the second candidate column.
  • the second candidate column displays the candidate items, for example, it can also be displayed according to the user's historical input records, for example, when the user input "zhen" before, the candidate words selected by the user include "needle", "frame”, "zhen", etc.
  • “, then "needle”, “frame” and “zhen” can be displayed on the first candidate column, and when “needle”, “frame” and “zhen” are displayed, they can be sorted according to the time when the user selects these candidate words , For example, if the candidate word selected by the user last time is “frame”, the candidate word selected last time before is “needle”, and the candidate word selected twice before the latest time is " ⁇ ", then in the first candidate column When the candidate words are displayed on the screen, the display order is: “frame”-"needle”-"zhen", that is, "frame” is at the first position of the first candidate column, and "zhen” is at the end of the first candidate column.
  • the candidates displayed in the first candidate column and the second candidate column item is more precise.
  • the candidate words displayed on the first candidate column and the second candidate column are limited, that is, no Completely display the candidate words, in order to display more candidate words for the user to choose, after step 120, the above-mentioned information display method may also include:
  • a fifth candidate is displayed in the target candidate column.
  • the target candidate column may be the first candidate column or the second candidate column.
  • the fourth input can be used to display the fifth candidate in the target candidate column, the fourth input can be but not limited to touch input, voice input, gesture input or other possible input, and can also be a combination of at least two of the above inputs Combination input, not limited here.
  • the fourth input when the fourth input is a touch input, it may specifically be, but not limited to, click input, double-click input, slide input, or fill-in input on the target candidate bar, or the above-mentioned Combination input of at least two types of input is not limited here.
  • the fifth candidate may be a candidate that is not identical to the first candidate or the second candidate.
  • the association candidates displayed in the corresponding second candidate column are also correspondingly updated, as shown in Figure 9, when the candidates displayed in the first candidate column are composed of "true”, “needle”, “array”, “zhen", When “Zhen” and “Zhen” are converted to “Zhen”, “Zhen”, “Zhen”, “Zhen”, “Frame”, and “Zhen”, the association candidates displayed in the second candidate column also correspond to the “de” , “good”, “beauty”, “line”, “right”, and “er” are converted into “er”, “wind”, “cherish” and "
  • the fifth candidate item is displayed in the target candidate column, so that more candidate items can be displayed for the user to choose, further Yes, after the candidates in the target candidate column are adjusted, the candidates in another candidate column other than the target candidate column will also be adjusted accordingly, which improves the user experience.
  • the above-mentioned information display method may further include:
  • a third candidate is displayed in the first candidate column, and a second association candidate corresponding to the third candidate is displayed in the second candidate column.
  • the first target candidate may be one of multiple second candidates in the second candidate column, for example, the first target candidate may be one of multiple second candidates in FIGS. 2-9 .
  • the first input may be used to display the third candidate in the first candidate column, and display the second association candidate corresponding to the third candidate in the second candidate column, the first input may be but not limited to touch Control input, voice input, gesture input or other possible inputs, or a combination of at least two of the above inputs, which is not limited here.
  • the first input when the first input is a touch input, it may be, but not limited to, click input, double-click input, slide input, or fill in the first target candidate in the second candidate column.
  • the input may also be a combined input of the above at least two types of input, which is not limited here.
  • the third candidate may be a candidate formed by combining the first target candidate and the first candidate.
  • the present application by receiving the user's first input on the first target candidate in the second candidate column, in response to the first input, displaying the third candidate in the first candidate column, and displaying the third candidate in the second candidate column
  • the second associative candidate corresponding to the third candidate is displayed in the column, so that by the user's first input to the first target candidate, the first target candidate can be compared with the first candidate in the first candidate column.
  • Combining to get the third candidate item so that when the user selects the candidate item, it is not necessary to select the first candidate item in the first candidate column one by one, and then select the second candidate item in the second candidate column, which is easy to operate and improves improved user input efficiency.
  • receiving the user's first input on the first target candidate in the second candidate column may include:
  • displaying a third candidate in the first candidate column may include:
  • candidates formed by combining the first target candidate and each first candidate are displayed in the first candidate column.
  • the selection input may be an input for selecting the first target candidate, for example, may be a click input.
  • the first candidate column can be The first candidate corresponding to the first character string can be displayed on 101: “true”, “for”, “position”, really many", “really big", and on the second candidate column 102, the first candidate corresponding to the first candidate is displayed.
  • the first association candidate corresponding to the item for example: “very good”, “great”, “beautiful", "you", “war”.
  • the input method keyboard corresponding to the input method interface is a 9-key keyboard, and the layout is arranged vertically.
  • the first candidate items corresponding to the first character string can be displayed on the first candidate column 111: “true”, “for", “position”, There are so many", “really big”, the first association candidate corresponding to the first candidate is displayed on the second candidate column 112, for example: “very good”, “great”, “beautiful", “you” , "war”.
  • “very good” i.e. the first target candidate item
  • “very good” that the user clicks is combined with each first candidate item in the first candidate column .
  • the first target candidate when the second input is a selected input, can be combined with the first first candidate, or the first target candidate can be combined with each first candidate Combine to form the third candidate, and display the third candidate in the first candidate column, so that the corresponding link word can be displayed in the second candidate column, so that the user can get different without continuing to input, And the associative words that are more in line with the user's needs improve the user's input efficiency.
  • receiving the user's first input on the first target candidate in the second candidate column may include:
  • third candidates are displayed in the first candidate column, including:
  • candidates formed by combining the second target candidate and the first target candidate are displayed in the first candidate column.
  • the drag input may be an input of dragging the first target candidate.
  • the first position is the position corresponding to the second target candidate in the first candidate column.
  • the first candidate column 121 the first candidate item corresponding to the first character string can be displayed on: “true”, “for”, “position”, “really many”, “really big”, and the second candidate column 122 is displayed on the second candidate column 122.
  • Corresponding first association candidate item for example: “ very good “, " great “, “ very beautiful “, “ you “, “ battle “.When the user is to “ very good “ in the second candidate column (being the first target candidate) to the first candidate "position" in the first candidate column ("position" is the second target candidate, and the position of the second target candidate is the first position), then the “ “very good” is combined with “position” in the first candidate column to form "position is very good”.
  • the first target candidate when the second input is a drag input, can be combined with any first candidate in the first candidate column, so that the user can, according to his own needs, Drag the first target candidate to any first candidate in the first candidate column to obtain the desired third candidate, which improves user experience.
  • the above-mentioned information display method may further include:
  • a third target candidate is displayed on the screen, a fourth candidate is displayed in the first candidate column, and a third association candidate corresponding to the fourth candidate is displayed in the second candidate column.
  • the third target candidate may be one of the first candidates.
  • the second input may be used to display the third target candidate on the screen, display the fourth candidate in the first candidate column, and display the third association candidate corresponding to the fourth candidate in the second candidate column.
  • the input may be, but not limited to, touch input, voice input, gesture input or other possible inputs, and may also be a combined input of at least two of the above inputs, which is not limited herein.
  • the second input when the second input is a touch input, it may be, but not limited to, click input, double-click input, slide input or fill in the first target candidate in the second candidate column.
  • the input may also be a combined input of the above at least two types of input, which is not limited here.
  • the fourth candidate may be a candidate formed by moving the second candidate to the first candidate column.
  • the third associative candidate may be an associative word or an associative symbol corresponding to the fourth candidate.
  • the first candidate corresponding to the first character string may be displayed on the first candidate column 131: “true” “, “for”, “position”, “really many”, “really big”, on the second candidate column 132, the first association candidate corresponding to the first candidate is displayed, for example: “very good”, “very Great”, “beautiful", "you", “war”.
  • the second input of the user on the third target candidate in the first candidate column is received, and in response to the second input, the third target candidate is displayed on the screen, and the first candidate column is displayed
  • the third association candidate corresponding to the fourth candidate is displayed in the second candidate column
  • the fourth candidate can also be displayed in the first candidate column
  • the fourth candidate can be displayed in the second candidate column.
  • the candidate column displays the third association candidate corresponding to the fourth candidate, and the user can directly select the candidate required by the user by clicking the fourth candidate and the third contact candidate without re-entering the character string, which is easy to operate and improves improved user input efficiency.
  • Fig. 14 is a schematic flow chart of an information display method provided by an embodiment of the present application, and the information display method is aimed at a scenario where the first character string does not include a preset segmentation symbol.
  • the information display method provided by the embodiment of the present application may include step 11-step 13.
  • Step 11 In response to the first character string input by the user, display the first candidate corresponding to the first character string in the first candidate column, and display the first association candidate corresponding to the first candidate in the second candidate column.
  • Step 12 In response to the first input of the first target candidate in the second candidate column, the third candidate is displayed in the first candidate column, and the second association candidate corresponding to the third candidate is displayed in the second candidate column item.
  • Step 13 In response to the second input of the third target candidate in the first candidate column, the third target candidate is displayed on the screen, the fourth candidate is displayed in the first candidate column, and the fourth candidate is displayed in the second candidate column.
  • the third association candidate corresponding to the candidate.
  • Fig. 15 is a schematic flowchart of an information display method provided by an embodiment of the present application, and the information display method is aimed at a scenario where the first character string includes a preset segmentation symbol.
  • the information display method provided by the embodiment of the present application may include step 21 - step 23 .
  • Step 21 In response to the first character string input by the user, the first candidate corresponding to the first substring in the first character string is displayed in the first candidate column, and the first candidate corresponding to the first substring in the first character string is displayed in the second candidate column. The second candidate for the second substring.
  • Step 22 In response to the first input of the first target candidate in the second candidate column, display the third candidate in the first candidate column, and display the second association candidate corresponding to the third candidate in the second candidate column item.
  • Step 23 In response to the second input of the third target candidate in the first candidate column, the third target candidate is displayed on the screen, the fourth candidate is displayed in the first candidate column, and the fourth candidate is displayed in the second candidate column.
  • the third association candidate corresponding to the candidate.
  • the information display method provided in 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 information display method.
  • the information display device provided in the embodiment of the present application is described by taking the information display device executing the information display method as an example.
  • the present application also provides an information display device, which is applied to electronic equipment.
  • the information display device provided by the embodiment of the present application will be described in detail below with reference to FIG. 16 .
  • Fig. 16 is a structural block diagram of an information display device according to an exemplary embodiment.
  • the information processing device may include:
  • a receiving module 1610 configured to receive the first character string input by the user
  • Display module 1620 for displaying the first candidate item in the first candidate column, and displaying the second candidate item in the second candidate column; wherein, the first candidate item is a candidate item corresponding to the first character string; the second candidate item is the first association candidate matched with the first candidate; or, the first candidate is the candidate corresponding to the first substring in the first character string, and the second candidate is the candidate corresponding to the second substring in the first character string.
  • Candidates corresponding to the substring; the first string includes the first substring and the second substring.
  • the display module displaying the first candidate corresponding to the first character string in the first candidate column, and displaying the first candidate corresponding to the first character string in the second candidate column column displays the first association candidate matched with the first candidate, thus not only providing the user with the first candidate corresponding to the first character string, but also providing the user with the first association candidate matching the first candidate , so that the user can directly select the first candidate item and/or the first association candidate item to be selected in different candidate columns when selecting; or it can be based on the display module in the first candidate column.
  • the candidate corresponding to the second substring in the first character string is displayed in the second candidate column, so that the candidate corresponding to the first character can be displayed in multiple candidate columns Candidates corresponding to strings, more candidates are displayed, and more candidates are provided to the user.
  • the user can directly select the required candidate from multiple candidate columns. In this way, through the solution of the embodiment of the present application , the user can display more candidate items through a simple operation mode, and can also display the associated candidate items corresponding to the candidate items, providing the user with more choices and improving the input efficiency of the user.
  • the first candidate when the first character string does not include a preset segmentation symbol, is a candidate corresponding to the first character string; the second candidate is a candidate corresponding to the first character string matching first association candidate;
  • the first candidate is the candidate corresponding to the first substring in the first character string
  • the second candidate is the candidate corresponding to the second substring in the first character string.
  • the number of preset segmentation symbols is M, and the display module 1620 is specifically used for:
  • the first candidate item is displayed in the first candidate column, and the first candidate item is the candidate item corresponding to the character string before the first preset segmentation symbol in the first character string;
  • the second candidate item is displayed respectively in the M sub-candidate columns, and the second candidate column includes M sub-candidate columns, and each sub-candidate column displays candidates corresponding to character strings between every adjacent two preset segmentation symbols; wherein, M is a positive integer greater than 1.
  • the receiving module 1610 may also be configured to: receive the user's first input to the first target candidate in the second candidate column; wherein, the first The target candidate is one of the second candidates.
  • the display module 1620 may also be configured to display a third candidate item in the first candidate column in response to the first input, and display a second associated candidate item corresponding to the third candidate item in the second candidate column; wherein, the first The three candidates are candidates formed by combining the first target candidate and the first candidate.
  • the receiving module 1610 may be specifically configured to: when the second input is a selection input, receive a user's selection input of the first target candidate in the second candidate column.
  • the display module 1620 can be specifically used for:
  • candidates formed by combining the first target candidate and each first candidate are displayed in the first candidate column.
  • the receiving module 1610 may be specifically configured to: when the second input is a drag input, receive the user's dragging of the first target candidate to the first position in the first candidate bar Manual input, wherein the first position is the position corresponding to the second target candidate in the first candidate column.
  • the display module 1620 can be specifically used for:
  • candidates formed by combining the second target candidate and the first target candidate are displayed in the first candidate column.
  • the receiving module 1610 mentioned above may also be used to: receive the user's second input on the third target candidate in the first candidate column, and the third The target candidate is one of the first candidates.
  • the display module 1620 may also be configured to display a third target candidate on the screen in response to the second input, display a fourth candidate in the first candidate column, and display a third target corresponding to the fourth candidate in the second candidate column.
  • Associative candidates wherein, the fourth candidate is a candidate formed by moving the second candidate to the first candidate column.
  • 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 may 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. 15 , and details are not repeated here to avoid repetition.
  • An embodiment of the present invention also provides an electronic device configured to execute the processes of the foregoing information display method embodiments, and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application further provides an electronic device 1700, including a processor 1701, a memory 1702, and programs or instructions stored in the memory 1702 and operable on the processor 1701,
  • an electronic device 1700 including a processor 1701, a memory 1702, and programs or instructions stored in the memory 1702 and operable on the processor 1701,
  • the program or instruction is executed by the processor 1701, each process of the above-mentioned information display method embodiment can be realized, 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. 18 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1800 includes, but is not limited to: a radio frequency unit 1801, a network module 1802, an audio output unit 1803, an input unit 1804, a sensor 1805, a display unit 1806, a user input unit 1807, an interface unit 1808, a memory 1809, and a processor 1810, etc. part.
  • the electronic device 1800 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 1810 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. 18 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 some components, or arrange different components, which will not be repeated here. .
  • the user input unit 1807 is configured to receive the first character string input by the user
  • the display unit 1806 is configured to display a first candidate item in a first candidate column, and display a second candidate item in a second candidate column, wherein the first candidate item is a candidate item corresponding to the first character string; the second candidate item It is the first association candidate matched with the first candidate; or, the first candidate is the candidate corresponding to the first substring in the first character string, and the second candidate is the candidate corresponding to the first substring. Candidates corresponding to the second substring in the first character string; the first character string includes the first substring and the second substring.
  • the candidate item corresponding to the first substring in the first character string can be displayed in the first candidate column, and the corresponding candidate item can be displayed in the second candidate column
  • Candidates corresponding to the second substring in the first character string are displayed in the first character string, so that the candidates corresponding to the first character string can be displayed in multiple candidate columns, and more candidates are displayed, providing users with more If there are many candidates, the user can directly select the desired candidate from multiple candidate columns.
  • the user can display more candidates through simple operations, and can also Displaying the associated candidate items corresponding to the candidate items provides more choices for the user and improves the input efficiency of the user.
  • the first candidate is a candidate corresponding to the first character string; the second candidate is a candidate corresponding to the first character string; The first association candidate matching the first candidate; or, in the case that the first character string includes a preset segmentation symbol, the first candidate is the first substring in the first character string A candidate item corresponding to a character string, the second candidate item is a candidate item corresponding to a second substring in the first character string; wherein, the first substring is located in the first character string The character string before the preset division symbol at the preset position, the second sub-character string is the character string after the preset division symbol at the preset position.
  • the display unit 1806 can also be used to: display a first candidate item in the first candidate column, and the first candidate item is located in the first character string Candidates corresponding to the character strings before the first preset segmentation symbol; the second candidate is displayed respectively in the M sub-candidate columns, and the second candidate column includes the M sub-candidate columns, and each sub-candidate column is displayed in each sub-candidate column Candidates corresponding to character strings between two adjacent preset division symbols; wherein, M is a positive integer greater than 1.
  • the user input unit 1807 may also be configured to receive a user's first input on the first target candidate in the second candidate column; wherein the first target candidate is one of the second candidates.
  • the display unit 1806 may also be configured to, in response to the first input, display a third candidate in the first candidate column, and display a second association candidate corresponding to the third candidate in the second candidate column ;
  • the third candidate is a candidate formed by combining the first target candidate and the first candidate.
  • the third candidate is displayed in the first candidate column, and the third candidate is displayed in the second candidate column.
  • the second association candidate corresponding to the candidate so that through the user's first input to the first target candidate, the first target candidate can be combined with the first candidate in the first candidate column to obtain the third candidate.
  • the user input unit 1807 may also be configured to receive a user's selection input of the first target candidate in the second candidate column.
  • the display unit 1806 may also be configured to display, in the first candidate column, candidates formed by combining the first target candidate and the first first candidate in response to the selection input. or, in response to the selection input, displaying candidates formed by combining the first target candidate and each of the first candidate items in the first candidate column.
  • the first target candidate and the first first target candidate can be displayed in the first candidate column in response to the user's selection input of the first target candidate in the second candidate column. or, in response to selecting the input, display the candidates formed by combining the first target candidate and each first candidate in the first candidate column, so that the first target candidate item selection input, the first target candidate can be combined with the first first candidate, or the first target candidate can be combined with each first candidate, without requiring the user to select the first target candidate one by one and the first first candidate to get the combination of the first target candidate and the first first candidate (or select the first target candidate and each first candidate one by one to get the first target candidate and each first candidate A combination of candidates), the operation is simple, and the input efficiency of the user is improved.
  • the user input unit 1807 may also be configured to receive a user's dragging of the first target candidate to the first position in the first candidate bar. input manually, wherein the first position is the position corresponding to the second target candidate in the first candidate column.
  • the display unit 1806 may also be configured to, in response to the drag input, display in the first candidate column candidates formed by combining the second target candidate and the first target candidate.
  • the second target candidate can be displayed in the first candidate column by responding to the drag input of the user dragging the first target candidate to the first position in the first candidate column.
  • the first target candidate and the first candidate can be combined to obtain the first target candidate and the first candidate, which is easy to operate and improves the user's input efficiency.
  • the user input unit 1807 may also be configured to receive a second input from the user on a third target candidate in the first candidate column, where the third target candidate is one of the first candidates.
  • the display unit 1806 may also be configured to display the third target candidate on the screen in response to the second input, and display the fourth candidate in the first candidate column, and display the fourth candidate in the second candidate column.
  • the third target candidate in the first candidate column by receiving the user's second input on the third target candidate in the first candidate column, responding to the second input, bringing the third target candidate on the screen, and displaying the fourth candidate in the first candidate column, the The second candidate bar shows the third association candidate corresponding to the fourth candidate, so after the third target candidate is screened, the fourth candidate can also be displayed in the first candidate bar, and the second candidate bar shows the same as the first candidate item.
  • the third association candidate corresponding to the four candidates the user can directly select the candidate required by the user by clicking the fourth candidate and the third contact candidate, without re-entering the string, the operation is simple, and the input efficiency of the user is improved. .
  • the input unit 1804 may include a graphics processor (Graphics Processing Unit, GPU) 18041 and a microphone 18042, and the graphics processor 18041 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 1806 may include a display panel 18061, and the display panel 18061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1807 includes a touch panel 18071 and other input devices 18072 . Touch panel 18071, also called touch screen.
  • the touch panel 18071 can include two parts: a touch detection device and a touch controller.
  • Other input devices 18072 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.
  • the memory 1809 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1810 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 1810 .
  • 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.
  • the embodiment of the present invention also provides a computer program product, which can be executed by a processor to implement each process of the above information display method embodiment, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • 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.
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请属于计算机技术领域,具体涉及一种信息显示方法、装置、电子设备和存储介质,该信息显示方法包括:接收用户输入的第一字符串;在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;其中,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;或者,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项,所述第一字符串包括所述第一子字符串和所述第二子字符串。

Description

信息显示方法、装置、电子设备和存储介质
相关申请的交叉引用
本申请要求享有于2021年09月14日提交的名称为“信息显示方法、装置、电子设备和存储介质”的中国专利申请202111072731.3的优先权,该申请的全部内容通过引用并入本文中。
技术领域
本申请属于数据计算机技术领域,尤其涉及一种信息显示方法、装置、电子设备和存储介质。
背景技术
随着电子设备的飞速发展,人们可以利用电子设备进行聊天和记录等,在利用电子设备进行聊天和记录时,输入法起到了很重要的作用。目前的输入法,用户操作频繁,输入效率低。
发明内容
本申请实施例的目的是提供一种信息显示方法、装置、电子设备和存储介质,能够解决由于相关技术中的输入法,用户操作频繁,输入效率低的问题。
第一方面,本申请实施例提供了一种信息显示方法,该方法包括:
接收用户输入的第一字符串;
在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;
其中,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;
或者,
所述第一候选项为与所述第一字符串中第一子字符串对应的候选项, 所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;所述第一字符串包括所述第一子符串和所述第二子字符串。
第二方面,本申请实施例提供了一种信息显示装置,该装置包括:
接收模块,用于接收用户输入的第一字符串;
显示模块,用于在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;其中,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;或者,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;所述第一字符串包括所述第一子符串和所述第二子字符串。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的信息显示方法的步骤。
第四方面,本申请实施例还提供一种电子设备,被配置成用于执行如第一方面所述的信息显示方法的步骤。
第五方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的信息显示方法的步骤。
第六方面,本申请实施例提供了一种计算机程序产品,可被处理器执行以实现如第一方面所述的信息显示方法的步骤。
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的信息显示方法。
在本申请实施例中,通过接收用户输入的第一字符串,在第一候选栏显示与第一字符串对应的第一候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项,这样不仅给用户提供了与第一字符串对应的第一候选项,还给用户提供了与第一候选项匹配的第一联想候选项,这样用户在选择时,可直接在不同的候选栏内选择所要选择的第一候选项和/或第 一联想候选项即可;或者是可以在第一候选栏内显示与第一字符串中第一子字符串对应的候选项,在第二候选栏内显示与第一字符串中第二子字符串对应的候选项,这样可以在多个候选栏内分别显示与第一字符串对应的候选项,显示的候选项更多,给用户提供了更多的候选项,用户可直接从多个候选栏内选择所需的候选项即可,如此,通过本申请实施例的方案,用户可通过简单的操作方式显示出更多的候选项,还可显示出与候选项对应的联想候选项,给用户提供了更多的选择,提高了用户的输入效率。
附图说明
为了更清楚地说明本申请实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据一示例性实施例示出的信息显示方法的流程图之一;
图2是根据一示例性实施例示出的显示界面的显示示意图之一;
图3是根据一示例性实施例示出的显示界面的显示示意图之二;
图4是根据一示例性实施例示出的显示界面的显示示意图之三;
图5是根据一示例性实施例示出的显示界面的显示示意图之四;
图6是根据一示例性实施例示出的显示界面的显示示意图之五;
图7是根据一示例性实施例示出的显示界面的显示示意图之六;
图8是根据一示例性实施例示出的显示界面的显示示意图之七;
图9是根据一示例性实施例示出的显示界面的显示示意图之八;
图10是根据一示例性实施例示出的显示界面的显示示意图之九;
图11是根据一示例性实施例示出的显示界面的显示示意图之十;
图12是根据一示例性实施例示出的显示界面的显示示意图之十一;
图13是根据一示例性实施例示出的显示界面的显示示意图之十二;
图14是根据一示例性实施例示出的信息显示方法的流程图之二;
图15是根据一示例性实施例示出的信息显示方法的流程图之三;
图16是根据一示例性实施例示出的一种信息显示装置的结构框图;
图17是根据一示例性实施例示出的一种电子设备的结构框图;
图18是本申请实施例的一种电子设备的硬件结构示意图。
具体实施方式
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及具体实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅意在解释本申请,而不是限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
如背景技术,在相关技术中,目前的输入法,在用户输入字符串后,只有一个候选栏,在该候选栏上可呈现出与输入的字符串对应的候选项,当用户点击候选栏上的候选项,该候选项输入到信息发送框后,才可在原先显示候选项的候选栏上出现与输入到信息发送给框的候选项相关联的联想候选项,用户可再次通过点击联想候选项来确定用户所要选择发送的词语。目前的输入法,仅出现一个候选栏,用户点击候选栏中的候选项后,才会出现与输入到信息发送框的候选项对应的联想候选项,而不是直接就会出现与输入的字符串对应的候选项相关联的联想候选项,无法提供给用户预测的联想候选项,导致用户操作频繁,输入效率低。
针对相关技术中出现的问题,本申请实施例提供了一种信息显示方法,通过接收用户输入的第一字符串,在第一候选栏显示与第一字符串对应的第一候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项,这样不仅给用户提供了与第一字符串对应的第一候选项,还给用户提供了与第一候选项匹配的第一联想候选项,这样用户在选择时,可直接在不同的候选栏内选择所要选择的第一候选项和/或第一联想候选项即可;或者是可以在第一候选栏内显示与第一字符串中第一子字符串对应的候选项,在第二候选栏内显示与第一字符串中第二子字符串对应的候选项,这样可以在多个候选栏内分别显示与第一字符串对应的候选项。显示的候选项更多,给用户提供了更多的候选项,用户可直接从多个候选栏内选择所需的候选项即可,如此,通过本申请实施例的方案,用户可通过简单的操作方式显示出更多的候选项,还可显示出与候选项对应的联想候选项,给用户提供了更多的选择,提高了用户的输入效率。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的信息显示方法进行详细地说明。
图1是本申请实施例所提供的一种信息显示方法的流程示意图,该信息显示方法的执行主体可以为电子设备或服务器。需要说明的是,上述执行主体并不构成对本申请的限定。
在本申请的一些实施例中,电子设备可以但不限于是个人电脑电脑(Personal Computer,PC)、智能手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等。
如图1所示,本申请实施例提供的信息处理方法可以包括步骤110-步骤120。
步骤110、接收用户输入的第一字符串;
步骤120、在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;其中,第一候选项为与第一字符串对应的候选项;第二候选项为与第一候选项匹配的第一联想候选项;或者,第一候选项为与第一字符串中第一子字符串对应的候选项,第二候选项为与第一字符串中第二子字符串对应的候选项。
其中,第一字符串可以包括第一子符串和第二子字符串。
下面将对本申请实施例提供的信息显示方法进行详细说明。
首先介绍步骤110,接收用户输入的第一字符串。
其中,第一字符串可以是用户在输入法界面输入的字符串。
在本申请的一些实施例中,第一字符串可以但不限于是以下任意一种类型的字符串:汉语拼音字符串、英文字母字符串或其他可能的输入法方案下的字符串。具体的第一字符串的类型可以根据用户需求,自行设置,这里不做限定。
在本申请的一些实施例中,在第一字符串为汉语拼音字符串的情况下,该汉语拼音字符串可以但不限于是全拼字符串、简拼字符串、模糊音字符串或自定义字符串,具体的可以是根据用户需求自行设置,这里不做限定。
在本申请的一些实施例中,输入法界面所对应的输入法键盘可以是不同类型的键盘,具体的可以是根据实际情况来确定,在此不做限定。
在一个示例中,输入法界面所对应的输入键盘可以是9键的键盘,还可以是26键的键盘。
接着介绍步骤120,在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项,其中,第一候选项为与第一字符串对应的候选项;第二候选项为与第一候选项匹配的第一联想候选项;或者,第一候选项为与第一字符串中第一子字符串对应的候选项,第二候选项为与第一字符串中第二子字符串对应的候选项。
其中,第一候选栏可以是预先设置的一个候选栏。
第二候选栏可以是预先设置的不同于第一候选栏的另一候选栏。
在一个示例中,如图2所示,输入法界面所对应的输入法键盘为9键的键盘,第一候选栏可以是图2中的区域21,第二候选栏可以是图2中的区域22。
可以理解的,第一候选项可以是在第一候选栏所显示的候选项。第二候选项可以是在第二候选栏所显示的候选项。
在本申请的一些实施例中,输入法界面可以是竖屏显示在屏幕上的(如图2、图3),也可以是横屏显示在屏幕上的(如图4、图5)。那么 在输入法界面竖屏显示在屏幕的情况下,第一候选栏和第二候选栏沿第一方向排列;在输入法界面横屏显示在屏幕的情况下,第一候选栏和第二候选栏沿第二方向排列。
其中,第一方向可以是预先设置的一种方向。第二方向可以是预先设置另一种方向。
可以理解的,在屏幕横屏显示界面的时候,横向空间更加充足,在屏幕竖屏显示界面的时候,纵向空间更加充足。
因此,示例性的,第一方向排列可以是纵向排列,第二方向排列可以是横向排列,如图2所示,第一候选栏21和第二候选栏22在屏幕上纵向排列。如图4所示,第一候选栏41和第二候选栏42在屏幕上横向排列。
在本申请的实施例中,根据显示屏幕的显示状况,将第一候选栏和第二候选栏按照不同的方式进行排列,如此,第一候选栏和第二候选栏的布局与电子设备的显示屏幕的显示状况更加匹配,便于用户观看以及操作输入键盘,提高了用户体验。
在本申请的一些实施例中,在接收了用户输入的第一字符串后,可以有两种显示方式,具体如下:
(1)在第一候选栏显示与第一字符串对应的候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项。
在本申请的一些实施例中,与第一字符串对应的候选项可以是与第一字符串对应的候选词语。
在本申请的一些实施例中,第一联想候选项可以是第一候选项的联想词或联想符号。
在一个示例中,如图2所示,当用户在输入法界面输入第一字符串“zhen”时,则在第一候选栏21上可以显示与第一字符串“zhen”对应的第一候选项:“真”、“针”、“阵”、“珍”、“振”、“震”,在第二候选栏22上可以显示与第一候选栏21显示的第一候选项对应的第一联想候选项,具体的可以是与第一候选项对应的候选词,例如:“的”、“好”、“美”、“行”、“对”、“儿”。
在另一示例中,如图3所示,当用户在输入法界面输入第一字符串 “zhend”时,则在第一候选栏31上可以显示与第一字符串“zhen’d”对应的第一候选项:“真的”、“针对”、“阵地”、真多”、“真大”,在第二候选栏32上可以显示与第一候选栏31显示的第一候选项对应的第一联想候选项,具体的可以是与第一候选项对应的候选词,例如:“很好”、“很棒”、“很美”、“你”、“战”。
在另一示例中,当用户在输入法界面输入第一字符串“zhendehh”时,则在第一候选栏上可以显示与第一字符串“zhendehh”对应的第一候选项:“真的很好”、“真的好狠”、“真的很很”、“真的好好”,在第二候选栏上可以显示与第一候选栏显示的第一候选项对应的第一联想候选项,具体的可以是与第一候选项对应的候选符号,例如:“*”、“!”、“~”、“#”。
(2)在第一候选栏显示与第一字符串中第一子字符串对应的候选项,在第二候选栏显示与第一字符串中第二子字符串对应的候选项。
其中,第一字符串可以包括第一子字符串和第二子字符串。
第一子字符串可以是第一字符串中的部分字符串,第二子字符串可以是第一字符串中除第一子字符串外的部分字符串。
在一个示例中,以第一字符串为“zhendehaobang”为例,则第一子字符串可以是字符串“zhende”,第二子字符串可以是字符串“haobang”。
继续参考上述示例,如图6所示,当用户输入第一字符串“zhende”时,以第一子字符串可以是字符串“zhen”,第二子字符串可以是字符串“de”为例,在第一候选栏中显示第一子字符串“zhen”对应的候选项:“真”、“针”、“阵”、“珍”、“振”、“震”,在第二候选栏显示第二子字符串“de”对应的候选项:“的”、“得”、“德”、“地”。
在本申请的实施例中,通过接收用户输入的第一字符串,在第一候选栏显示与第一字符串对应的第一候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项,这样不仅给用户提供了与第一字符串对应的第一候选项,还给用户提供了与第一候选项匹配的第一联想候选项,这样用户在选择时,可直接在不同的候选栏内选择所要选择的第一候选项和/或第一联想候选项即可;或者是可以在第一候选栏内显示与第一字符串中第 一子字符串对应的候选项,在第二候选栏内显示与第一字符串中第二子字符串对应的候选项,这样可以在多个候选栏内分别显示与第一字符串对应的候选项,显示的候选项更多,给用户提供了更多的候选项,用户可直接从多个候选栏内选择所需的候选项即可,如此,通过本申请实施例的方案,用户可通过简单的操作方式显示出更多的候选项,还可显示出与候选项对应的联想候选项,给用户提供了更多的选择,提高了用户的输入效率。
在本申请的一些实施例中,在上述接收用于输入的第一字符串后,可以具有两种显示情况,具体的针对这两种情况可以是:
(1)在第一字符串中不包括预设分割符号的情况下,第一候选项为与所述第一字符串对应的候选项;第二候选项为与所述第一候选项匹配的第一联想候选项。
(2)在第一字符串中包括预设分割符号的情况下,第一候选项为与第一字符串中第一子字符串对应的候选项,第二候选项为与所述第一字符串中第二子字符串对应的候选项。
其中,预设分割符号可以是预先设置的在第一字符串中,将第一字符串分割成至少两个子字符串的符号。
在一个示例中,预设分割符号可以但不限于是“;”、“’”或“,”等,具体的可以是根据用户需求自行设置,这里不做限定。
在本申请的一些实施例中,第一子字符串可以为位于第一字符串中预设位置处的预设分割符号之前的字符串,第二子字符串可以为位于预设位置处的预设分割符号之后的字符串。
预设位置可以是预先设置的位置。
在一个示例中,以第一字符串为“zhende’hao’bang”为例,预设位置可以是3个预设分割符号“’”中的任一一个所在位置。若预设位置为第一个分割符号所在的位置,则第一子字符串可以是字符串“zhen”,第二子字符串可以是字符串“dehaobang”。
在本申请的实施例中,通过第一字符串中是否包含有预设分割符号,对于第一候选栏和第二候选栏中的候选项进行区别显示,从而使得候选项的显示更符合用户的操作习惯,提高了用户体验。
在本申请的一些实施例中,在预设分割符号的数量为1个的情况下,则第一子字符为预设分割符号之前的字符串,第二子字符串为预设分割符号之后的字符串。对应的,在第一候选栏则显示第一子字符串对应的候选项,在第二候选栏显示第二子字符串对应的候选项。
在一个示例中,如图7所示,当用户在输入法界面输入第一字符串“zhen’d”时,由于用户输入的第一字符串中包括预设分割符号“’”,因此可以在第一候选栏71上显示与位于最后一个预设分割符号之前的字符串“zhen”对应的第一候选项:“真”、“针”、“阵”、“珍”、“振”、“震”,在第二候选栏72上显示与位于最后一个预设分割符号之后的字符串“d”对应的第二候选项:“的”、“第”、“待”、“地”、“对”、“递”。
在本申请的一些实施例中,在预设分割符号的数量为M个的情况下,M为大于1的正整数,在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项,具体可以包括:
在第一候选栏显示第一候选项,在M个子候选栏分别显示第二候选项。
其中,第一候选项可以为位于第一字符串中首个预设分割符号之前的字符串对应的候选项。
第二候选栏可以包括M个子候选栏,每个子候选栏中显示有每相邻两个预设分割符号之间的字符串对应的候选项。
在一个示例中,如图8所示,当用户在输入法界面输入第一字符串“zhen’de’h”时,由于用户输入的第一字符串中包括预设分割符号“’”,预设分割符号的数量为2个,第二候选栏82可以包括2个子候选栏,分别为子候选栏821和子候选栏822,因此可以在第一候选栏81上可以显示与位于第一字符串中首个预设分割符号之前的字符串“zhen”对应的第一候选项:““真”、“针”、“阵”、“珍”、“振”、“震”,在子候选栏821上可以显示第一预设分割符号和第二预设分割符号之间的字符串“de”对应的候选项:“的”、“得”、“德”、“地”,在子候选栏822上可以显示最后一个预设分割符号之后的字符串“h”对应的候选项:“很”、“好”、“和”、“后”。
可以理解的,子候选栏821和子候选栏822的组合可以被看做第二候选栏82。
需要说明的是,在用户输入的第一字符串中包括预设分割符号的情况下,若预设分割符号的数量为多个,则各预设分割符号可以相同,也可以不同。例如,用户在输入法界面输入的第一字符串可以是“zhen’de’h”,也可以是“zhen’de;h”。具体的在预设分割符号的数量为多个的情况下,各预设分割符号是否相同可以是根据用户需求自行设置,这里不做限定。
需要说明的是,在上述图7和图8的示例中,是以输入法界面所对应的输入法键盘为9键的键盘,且竖向排序为例来进行说明的,本领域技术人员应该知道显示屏幕横向显示的情况下,该输入法界面所对应的输入法键盘也可以是26键的键盘或9键键盘,且第一候选栏和第二候选栏横向排列来进行显示,具体的可以参考图4和图5,在此不再赘述。
需要说明的是,在本申请的以下实施例中,均以输入法界面所对应的输入法键盘为9键的键盘,且竖向排列为例来进行说明的,横向排列与竖向排列仅为第一候选栏和第二候选栏的布局方式的不同,其他的实现信息显示方法的方式是相同的,26键键盘的实现方式与9键键盘是一样的,只不过一个是9键键盘,另一个是26键键盘而已,在下面的实施例中不再赘述。
在本申请的实施例中,根据预设分割符号的数量来确定在第二候选栏显示的候选项,在预设分割符号数量较多的情况下,在第二候选栏中显示多个子候选栏,实现对于每两个分割符之间的字符串对应的文字都可以单独操作,使得长字符串中每个字符的选择准确性更高,进一步提高了用户体验。
在本申请的一些实施例中,为了更加精确的显示候选项,步骤120具体可以包括:
按照权重级别在第一候选栏显示多个第一候选项,以及在第二候选栏显示多个第二候选项。
在一个示例中,当用户在输入法界面输入第一字符串“zhen”时,则对应第一字符串“zhen”的候选项可以有:“真”、“针”、“阵”、 “珍”、“振”、“震”、“帧”、“朕”和“镇”,其中,“真”对应于第一字符串“zhen”的权重级别可以是0.98,“针”对应于第一字符串“zhen”的权重可以是0.95,“阵”对应于第一字符串“zhen”的权重级别可以是0.8,“珍”对应于第一字符串“zhen”的权重级别可以是0.7,“振”对应于第一字符串“zhen”的权重级别可以是0.6,“震”对应于第一字符串“zhen”的权重级别可以是0.5,“帧”对应于第一字符串“zhen”的权重级别可以是0.4,“朕”对应于第一字符串“zhen”的权重级别可以是0.3,“镇”对应于第一字符串“zhen”的权重级别可以是0.2,则根据上述各候选项的权重级别大小,可以按权重级别从大到小的顺序进行显示,即如图2所示的第一候选栏内的显示结果。
继续参考上述示例,在第一候选栏显示“zhen”对应的第一候选项的情况下,第二候选栏可显示与第一候选项对应的第一联想候选项,例如,与第一候选项对应的第一联想候选项可以有:“的”、“好”、“美”、“行”、“对”、“儿”、“住”、“惜”、“心”,由于第二候选栏显示的第一联想候选项是与第一候选栏显示的第一候选项对应的,即可组成“真的”、“真好”、“真美”、“真行”、“针对”、“阵儿”、“镇住”、“珍惜”和“真心”,其中,“真的”对应的权重级别可以是0.98,“真好”对应的权重级别可以是0.94,“真美”对应的权重级别可以是0.85,“真行”对应的权重级别可以是0.8,“针对”对应的权重级别可以是0.7,“阵儿”对应的权重级别可以是0.6,“镇住”对应的权重级别可以是0.5,“珍惜”对应的权重级别可以是0.4,“真心”对应的权重级别可以是0.3,则根据上述各候选项的权重级别大小,可以按权重级别从大到小的顺序在第二候选栏上显示与第一候选项对应的第一联想候选项,即如图2所示的第二候选栏内的显示结果。
需要说明的是,上述示例中是以权重级别为例在第一候选栏和第二候选栏显示候选项的,本领域技术人员应该知道还可以是按照其他的方式来在第一候选栏和第二候选栏显示候选项,例如,还可以是根据用户的历史输入记录来进行显示,比如,用户之前在输入“zhen”时,用户所选择的候选词有“针”、“帧”、“朕”,则在第一候选栏上可显示“针”、 “帧”、“朕”,在显示“针”、“帧”、“朕”时,可以按照用户选择这些候选词的时间来进行排序,比如,用户最近一次选择的候选词为“帧”,最近一次的前一次选择的候选词为“针”,最近一次的前两次选择的候选词为“朕”,则在第一候选栏上显示候选词时,显示顺序是:“帧”-“针”-“朕”,即“帧”在第一候选栏的首位,“朕”在第一候选栏的末位。
在本申请的实施例中,通过根据权重级别在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项,这样在第一候选栏和第二候选栏内显示的候选项更加精确。
在本申请的一些实施例中,如图2-图8所示,在第一候选栏和第二候选栏上显示的候选词是有限的,即在第一候选栏和第二候选栏中不能完全将候选词显示出来,为了显示更多的候选词,以供用户选择,在步骤120之后,上述涉及的信息显示方法还可以包括:
接收用户对目标候选栏的第四输入;
响应于第四输入,在目标候选栏显示第五候选项。
其中,目标候选栏可以是第一候选栏或第二候选栏。
第四输入可以是用于在目标候选栏显示第五候选项,该第四输入可以但不限于是触控输入、语音输入、手势输入或其他可能的输入,还可以是上述至少两种输入的组合输入,在此不做限定。
在本申请的一些实施例中,在第四输入为触控输入的情况下,具体的可以但不限于是在目标候选栏上的点击输入、双击输入、滑动输入或填写输入,还可以是上述至少两种输入的组合输入,在此不做限定。
第五候选项可以是与第一候选项或第二候选项不完全相同的候选项。
在一个示例中,如图9所示,当用户在输入法界面输入第一字符串“zhen”时,在第一候选栏91显示与“zhen”对应的第一候选项:“真”、“针”、“阵”、“珍”、“振”、“震”,在用户对第一候选栏向左滑动,在第一候选栏中会显示第五候选项“帧”和“朕”,进一步的,对应的第二候选栏显示的联想候选项也对应更新,如图9所示,当第一候选栏显示的候选项由“真”、“针”、“阵”、“珍”、“振”、“震”转换 为“阵”、“珍”、“振”、“震”、“帧”、“朕”时,第二候选栏显示的联想候选项也对应的由“的”、“好”、“美”、“行”、“对”、“儿”转换为“儿”、“风”、“惜”和“动”。
在本申请实施例中,通过接收用户对目标候选栏的第四输入,响应于第四输入,在目标候选栏显示第五候选项,这样可显示更多的候选项,以供用户选择,进一步的,在目标候选栏中的候选项调整了之后,除了目标候选栏之外的另一个候选栏中的候选项也会相应调整,提高了用户体验。
在本申请的一些实施例中,为了进一步的方便用户操作,提高用户体验,在步骤120之后,上述涉及的信息显示方法还可以包括:
接收用户对第二候选栏中第一目标候选项的第一输入;
响应于第一输入,在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项。
其中,第一目标候选项可以为第二候选栏中多个第二候选项中的一个,例如,第一目标候选项可以是图2-图9中多个第二候选项中的一个。
第一输入可以是用于在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项,该第一输入可以但不限于是触控输入、语音输入、手势输入或其他可能的输入,还可以是上述至少两种输入的组合输入,在此不做限定。
在本申请的一些实施例中,在第一输入为触控输入的情况下,具体的可以但不限于是在第二候选栏中第一目标候选项的点击输入、双击输入、滑动输入或填写输入,还可以是上述至少两种输入的组合输入,在此不做限定。
第三候选项可以为第一目标候选项与第一候选项进行组合所形成的候选项。
在本申请的实施例中,通过接收用户对第二候选栏中第一目标候选项的第一输入,响应于第一输入,在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项,这样通过用户对第一目标候选项的第一输入,即可将第一目标候选项与第一候选栏内的第一候选项进行组合,得到第三候选项,如此,用户在选择候选项时,就无 需逐个选择第一候选栏内的第一候选项,然后再选择第二候选栏内的第二候选项,操作简单,提高了用户的输入效率。
在本申请的一些实施例中,在第一输入为选中输入的情况下,接收用户对第二候选栏中第一目标候选项的第一输入,可以包括:
接收用户对第二候选栏中第一目标候选项的选中输入;
响应于第一输入,在第一候选栏中显示第三候选项,可以包括:
响应于选中输入,在第一候选栏中显示第一目标候选项与首个第一候选项进行组合所形成的候选项;
或者,
响应于选中输入,在第一候选栏中显示第一目标候选项与各第一候选项进行组合所形成的候选项。
其中,选中输入可以是对第一目标候选项的进行选择的输入,例如,可以是点击输入。
在本申请的一些实施例中,在接收用户对第二候选栏中第一目标候选项的选中输入后,响应于选择输入,可以有如下两种显示情况:
(i)在第一候选栏中显示第一目标候选项与首个第一候选项进行组合所形成的候选项。
在一个示例中,如图10所示,当用户在输入法界面输入第一字符串“zhend”时,由于用户输入的第一字符串中不包括预设分割符号,因此可以在第一候选栏101上可以显示与第一字符串对应的第一候选项:“真的”、“针对”、“阵地”、真多”、“真大”,在第二候选栏102上显示与第一候选项对应的第一联想候选项,例如:“很好”、“很棒”、“很美”、“你”、“战”。当用户点击第二候选栏中的“很好”(即第一目标候选项)时,则将用户点击的“很好”与第一候选栏中的首个第一候选项“真的”组合,形成“真的很好”(第三候选项)。
(ii)在第一候选栏中显示第一目标候选项与各第一候选项进行组合所形成的候选项。
在一个示例中,如图11所示,输入法界面所对应的输入法键盘为9键的键盘,布局方式为竖向排序,当用户在输入法界面输入第一字符串 “zhend”时,由于用户输入的第一字符串中不包括预设分割符号,则在第一候选栏111上可以显示与第一字符串对应的第一候选项:“真的”、“针对”、“阵地”、真多”、“真大”,在第二候选栏112上显示与第一候选项对应的第一联想候选项,例如:“很好”、“很棒”、“很美”、“你”、“战”。当用户点击第二候选栏中的“很好”(即第一目标候选项)时,则将用户点击的“很好”与第一候选栏中的各第一候选项组合。
在本申请的实施例中,在第二输入为选中输入的情况下,可以将第一目标候选项与首个第一候选项进行组合,或者是将第一目标候选项与各第一候选项进行组合,以形成第三候选项,并将该第三候选项显示在第一候选栏中,从而在第二候选栏中可以显示对应的联系词,使得用户无需继续输入即可得到不同的,且更符合用户需求的联想词,提高了用户的输入效率。
在本申请的一些实施例中,在第二输入为拖动输入的情况下,接收用户对第二候选栏中第一目标候选项的第一输入,可以包括:
接收用户对第一目标候选项拖动至第一候选栏中第一位置的拖动输入;
响应于第一输入,在第一候选栏中显示第三候选项,包括:
响应于拖动输入,在第一候选栏中显示第二目标候选项与第一目标候选项组合所形成的候选项。
其中,拖动输入可以是对第一目标候选项进行拖动的输入。
可以理解的,第一位置是第一候选栏中第二目标候选项对应的位置。
在一个示例中,如图12所示,当用户在输入法界面输入第一字符串“zhend”时,由于用户输入的第一字符串中不包括预设分割符号,则在第一候选栏121上可以显示与第一字符串对应的第一候选项:“真的”、“针对”、“阵地”、真多”、“真大”,在第二候选栏122上显示与第一候选项对应的第一联想候选项,例如:“很好”、“很棒”、“很美”、“你”、“战”。当用户对第二候选栏中的“很好”(即第一目标候选项)拖动到第一候选栏中的第一候选项“阵地”处时(“阵地”即为第二目标候选项,第二目标候选项所在位置为第一位置),则将“很好”与第一候选栏中的“阵地”组合,形成“阵地很好”。
在本申请的实施例中,在第二输入为拖动输入的情况下,可以将第一目标候选项与第一候选栏内的任意第一候选项进行组合,这样用户可根据自己的需求,拖动第一目标候选项至第一候选栏内的任意第一候选项处,得到所需的第三候选项,提高了用户体验。
在本申请的一些实施例中,为了进一步的提高用户的输入效率,在步骤120之后,上述涉及的信息显示方法还可以包括:
接收用户对第一候选栏中的第三目标候选项的第二输入;
响应于第二输入,将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项。
其中,第三目标候选项可以为第一候选项中的一个。
第二输入可以是用于将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项,该第二输入可以是但不限于是触控输入、语音输入、手势输入或其他可能的输入,还可以是上述至少两种输入的组合输入,在此不做限定。
在本申请的一些实施例中,在第二输入为触控输入的情况下,具体的可以但不限于是在第二候选栏中第一目标候选项的点击输入、双击输入、滑动输入或填写输入,还可以是上述至少两种输入的组合输入,在此不做限定。
第四候选项可以为将第二候选项移动至第一候选栏所形成的候选项。
第三联想候选项可以是与第四候选项对应的联想词或联想符号。
在一个示例中,如图13所示,当用户在输入法界面输入第一字符串“zhend”时,在第一候选栏131上可以显示与第一字符串对应的第一候选项:“真的”、“针对”、“阵地”、真多”、“真大”,在第二候选栏132上显示与第一候选项对应的第一联想候选项,例如:“很好”、“很棒”、“很美”、“你”、“战”。当用户点击第一候选栏中的“真的”时(“真的”即为第三目标候选项),则可将“真的”上屏,然后将之前显示在第二候选栏中的第一联想候选项“很好”、“很棒”、“很美”、“你”、“战”移动至第一候选栏,然后在第二候选栏内显示第一联想候选项“很好”、“很棒”、“很美”、“你”、“战”的第三联系候选项 “!”、“*”。
在本申请的实施例中,接收用户对第一候选栏中的第三目标候选项的第二输入,响应于第二输入,将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项,这样在第三目标候选项上屏后,还可在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项,用户可直接通过点击第四候选项以及第三联系候选项来选择用户所需的候选项,不用重新输入字符串,操作简单,提高了用户的输入效率。
需要说明的是,上述本申请实施例描述的应用场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面结合具体场景来对本申请实施例提供的信息显示方法进行详细描述。图14是本申请实施例提供的一种信息显示方法的流程示意图,该信息显示方法针对的是第一字符串中不包括预设分割符号的场景。
如图14所示,本申请实施例提供的信息显示方法可以包括步骤11-步骤13。
步骤11、响应于用户输入的第一字符串,在第一候选栏显示与第一字符串对应的第一候选项,在第二候选栏显示与第一候选项对应的第一联想候选项。
步骤12、响应于对第二候选栏中的第一目标候选项的第一输入,在第一候选栏显示第三候选项,在第二候选栏显示与第三候选项对应的第二联想候选项。
步骤13、响应于对第一候选栏的第三目标候选项的第二输入,将第三目标候选项上屏,在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项。
下面结合具体场景来对本申请实施例提供的信息显示方法进行详细描述。图15是本申请实施例提供的一种信息显示方法的流程示意图,该信息显示方法针对的是第一字符串中包括预设分割符号的场景。
如图15所示,本申请实施例提供的信息显示方法可以包括步骤21-步骤23。
步骤21、响应于用户输入的第一字符串,在第一候选栏显示与第一字符串中第一子字符串对应的第一候选项,在第二候选栏显示与第一字符串中第二子字符串对应的第二候选项。
步骤22、响应于对第二候选栏中的第一目标候选项的第一输入,在第一候选栏显示第三候选项,在第二候选栏显示与第三候选项对应的第二联想候选项。
步骤23、响应于对第一候选栏的第三目标候选项的第二输入,将第三目标候选项上屏,在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项。
需要说明的是,本申请实施例提供的信息显示方法,执行主体可以为信息显示装置,或者该信息显示装置中的用于执行信息显示方法的控制模块。本申请实施例中以信息显示装置执行信息显示方法为例,说明本申请实施例提供的信息显示装置。
基于与上述的信息显示方法相同的发明构思,本申请还提供了一种信息显示装置,该信息显示装置应用于电子设备。下面结合图16对本申请实施例提供的信息显示装置进行详细说明。
图16是根据一示例性实施例示出的一种信息显示装置的结构框图。
如图16所示,信息处理装置可以包括:
接收模块1610,用于接收用户输入的第一字符串;
显示模块1620,用于在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;其中,第一候选项为与第一字符串对应的候选项;第二候选项为与第一候选项匹配的第一联想候选项;或者,第一候选项为与第一字符串中第一子字符串对应的候选项,第二候选项为与第一字符串中第二子字符串对应的候选项;第一字符串包括第一子符串和第二子字符串。
在本申请的实施例中,基于第一字符串接收模块接收用户输入的第一字符串,基于显示模块在第一候选栏显示与第一字符串对应的第一候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项,这样不仅给 用户提供了与第一字符串对应的第一候选项,还给用户提供了与第一候选项匹配的第一联想候选项,这样用户在选择时,可直接在不同的候选栏内选择所要选择的第一候选项和/或第一联想候选项即可;或者是可以基于显示模块在第一候选栏内显示与第一字符串中第一子字符串对应的候选项,在第二候选栏内显示与第一字符串中第二子字符串对应的候选项,这样可以在多个候选栏内分别显示与第一字符串对应的候选项,显示的候选项更多,给用户提供了更多的候选项,用户可直接从多个候选栏内选择所需的候选项即可,如此,通过本申请实施例的方案,用户可通过简单的操作方式显示出更多的候选项,还可显示出与候选项对应的联想候选项,给用户提供了更多的选择,提高了用户的输入效率。
在本申请的一些实施例中,在第一字符串中不包括预设分割符号的情况下,第一候选项为与第一字符串对应的候选项;第二候选项为与第一候选项匹配的第一联想候选项;
或者,
在第一字符串中包括预设分割符号的情况下,第一候选项为与第一字符串中第一子字符串对应的候选项,第二候选项为与第一字符串中第二子字符串对应的候选项;其中,第一子字符串为位于第一字符串中预设位置处的预设分割符号之前的字符串,第二子字符串为位于预设位置处的预设分割符号之后的字符串。
在本申请的一些实施例中,为了进一步提升用户体验,预设分割符号的数量为M个,显示模块1620具体用于:
在第一候选栏显示第一候选项,第一候选项为位于第一字符串中首个预设分割符号之前的字符串对应的候选项;
在M个子候选栏分别显示第二候选项,第二候选栏包括M个子候选栏,每个子候选栏中显示有每相邻两个预设分割符号之间的字符串对应的候选项;其中,M为大于1的正整数。
在本申请的一些实施例中,为了进一步的方便用户操作,提高用户体验,接收模块1610还可以用于:接收用户对第二候选栏中第一目标候选项的第一输入;其中,第一目标候选项为第二候选项中的一个。
显示模块1620,还可以用于响应于第一输入,在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项;其中,第三候选项为第一目标候选项与第一候选项进行组合所形成的候选项。
在本申请的一些实施例中,接收模块1610可以具体用于:在第二输入为选中输入的情况下,接收用户对第二候选栏中第一目标候选项的选中输入。
显示模块1620,可以具体用于:
响应于选中输入,在第一候选栏中显示第一目标候选项与首个第一候选项进行组合所形成的候选项;
或者,
响应于选中输入,在第一候选栏中显示第一目标候选项与各第一候选项进行组合所形成的候选项。
在本申请的一些实施例中,接收模块1610可以具体用于:在第二输入为拖动输入的情况下,接收用户对第一目标候选项拖动至第一候选栏中第一位置的拖动输入,其中,第一位置是第一候选栏中第二目标候选项对应的位置。
显示模块1620,可以具体用于:
响应于拖动输入,在第一候选栏中显示第二目标候选项与第一目标候选项组合所形成的候选项。在本申请的一些实施例中,为了进一步的提高用户的输入效率,上述涉及的接收模块1610还可以用于:接收用户对第一候选栏中的第三目标候选项的第二输入,第三目标候选项为第一候选项中的一个。
显示模块1620,还可以用于响应于第二输入,将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项;其中,第四候选项为将第二候选项移动至第一候选栏所形成的候选项。
本申请实施例中的信息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设 备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的信息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的信息显示装置能够实现图1至图15的方法实施例实现的各个过程,为避免重复,这里不再赘述。
本发明实施例还提供一种电子设备,被配置成用于执行上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
可选地,如图17所示,本申请实施例还提供一种电子设备1700,包括处理器1701,存储器1702,存储在存储器1702上并可在所述处理器1701上运行的程序或指令,该程序或指令被处理器1701执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图18为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1800包括但不限于:射频单元1801、网络模块1802、音频输出单元1803、输入单元1804、传感器1805、显示单元1806、用户输入单元1807、接口单元1808、存储器1809、以及处理器1810等部件。
本领域技术人员可以理解,电子设备1800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图18 中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元1807,用于接收用户输入的第一字符串;
显示单元1806,用于在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项,其中,第一候选项为与第一字符串对应的候选项;第二候选项为与第一候选项匹配的第一联想候选项;或者,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;所述第一字符串包括所述第一子符串和所述第二子字符串。
如此,通过接收用户输入的第一字符串,在第一候选栏显示与第一字符串对应的第一候选项,以及在第二候选栏显示与第一候选项匹配的第一联想候选项,这样不仅给用户提供了与第一字符串对应的第一候选项,还给用户提供了与第一候选项匹配的第一联想候选项,这样用户在选择时,可直接在不同的候选栏内选择所要选择的第一候选项和/或第一联想候选项即可;或者是可以在第一候选栏内显示与第一字符串中第一子字符串对应的候选项,在第二候选栏内显示与第一字符串中第二子字符串对应的候选项,这样可以在多个候选栏内分别显示与第一字符串对应的候选项,显示的候选项更多,给用户提供了更多的候选项,用户可直接从多个候选栏内选择所需的候选项即可,如此,通过本申请实施例的方案,用户可通过简单的操作方式显示出更多的候选项,还可显示出与候选项对应的联想候选项,给用户提供了更多的选择,提高了用户的输入效率。
可选地,在所述第一字符串中不包括预设分割符号的情况下,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;或者,在所述第一字符串中包括预设分割符号的情况下,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;其中,所述第一子字符串为位于所述第一字符串中预设位置处的预设分割符号之前的字符串,所述第二子字符串为位于所述预设位置处的 预设分割符号之后的字符串。
可选地,所述预设分割符号的数量为M个,显示单元1806,还可以用于:在第一候选栏显示第一候选项,所述第一候选项为位于所述第一字符串中首个预设分割符号之前的字符串对应的候选项;在M个子候选栏分别显示第二候选项,所述第二候选栏包括所述M个子候选栏,每个子候选栏中显示有每相邻两个预设分割符号之间的字符串对应的候选项;其中,M为大于1的正整数。
可选地,用户输入单元1807,还可以用于接收用户对第二候选栏中第一目标候选项的第一输入;其中,所述第一目标候选项为第二候选项中的一个。
可选地,显示单元1806,还可以用于响应于第一输入,在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项;其中,第三候选项为第一目标候选项与第一候选项进行组合所形成的候选项。
如此,通过接收用户对第二候选栏中第一目标候选项的第一输入,响应于第一输入,在第一候选栏中显示第三候选项,以及在第二候选栏中显示与第三候选项对应的第二联想候选项,这样通过用户对第一目标候选项的第一输入,即可将第一目标候选项与第一候选栏内的第一候选项进行组合,得到第三候选项,如此,用户在选择候选项时,就无需逐个选择第一候选栏内的第一候选项,然后再选择第二候选栏内的第二候选项,操作简单,提高了用户的输入效率。
可选地,在第二输入为选中输入的情况下,用户输入单元1807,还可以用于接收用户对所述第二候选栏中第一目标候选项的选中输入。
对应的,显示单元1806,还可以用于响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与首个所述第一候选项进行组合所形成的候选项;或者,响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与各所述第一候选项进行组合所形成的候选项。
如此,在第二输入为选中输入的情况下,可以通过响应于用户对第二候选栏中第一目标候选项的选中输入,在第一候选栏中显示第一目标候选 项与首个第一候选项进行组合所形成的候选项;或者,响应于选中输入,在第一候选栏中显示第一目标候选项与各第一候选项进行组合所形成的候选项,这样通过对第一目标候选项的选中输入,则可将第一目标候选项与首个第一候选项进行组合,或者是将第一目标候选项与各第一候选项进行组合,而无需用户逐个选择第一目标候选项和首个第一候选项即可得到第一目标候选项与首个第一候选项的组合(或逐个选择第一目标候选项和各第一候选项即可得到第一目标候选项与各第一候选项的组合),操作简单,提高了用户的输入效率。
可选地,在所述第二输入为拖动输入的情况下,用户输入单元1807,还可以用于接收用户对第一目标候选项拖动至所述第一候选栏中第一位置的拖动输入,其中,所述第一位置是第一候选栏中第二目标候选项对应的位置。
对应的,显示单元1806,还可以用于响应于所述拖动输入,在所述第一候选栏中显示第二目标候选项与所述第一目标候选项组合所形成的候选项。
如此,在第二输入为拖动输入的情况下,可以通过响应于用户对第一目标候选项拖动至第一候选栏中第一位置的拖动输入,在第一候选栏中显示第二目标候选项与第一目标候选项组合所形成的候选项,这样通过对第一目标候选项的拖动输入,可将第一目标候选项与第一候选栏内的任意第一候选项进行组合,这样用户可根据自己的需求,拖动第一目标候选项至第一候选栏内的任意第一候选项出,得到所需的第三候选项,提高了用户体验,且不需用户逐个选择第一目标候选项和第一候选项即可得到第一目标候选项与第一候选项的组合,操作简单,提高了用户的输入效率。
可选地,用户输入单元1807,还可以用于接收用户对第一候选栏中的第三目标候选项的第二输入,第三目标候选项为第一候选项中的一个。
可选地,显示单元1806,还可以用于响应于第二输入,将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项;其中,第四候选项为将第二候选项移动至第一候选栏所形成的候选项。
如此,通过接收用户对第一候选栏中的第三目标候选项的第二输入,响应于第二输入,将第三目标候选项上屏,以及在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项,这样在第三目标候选项上屏后,还可在第一候选栏显示第四候选项,在第二候选栏显示与第四候选项对应的第三联想候选项,用户可直接通过点击第四候选项以及第三联系候选项来选择用户所需的候选项,不用重新输入字符串,操作简单,提高了用户的输入效率。
应理解的是,本申请实施例中,输入单元1804可以包括图形处理器(Graphics Processing Unit,GPU)18041和麦克风18042,图形处理器18041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1806可包括显示面板18061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板18061。用户输入单元1807包括触控面板18071以及其他输入设备18072。触控面板18071,也称为触摸屏。触控面板18071可包括触摸检测装置和触摸控制器两个部分。其他输入设备18072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1809可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1810中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本发明实施例还提供一种计算机程序产品,计算机程序产品可被处理 器执行以实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述信息显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器或者网络设备等)执行本申请各个实施例所述的方法。
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请实施例可以有各种更改和变化。凡在本申 请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内
本领域技术人员应能理解,上述实施例均是示例性而非限制性的。在不同实施例中出现的不同技术特征可以进行组合,以取得有益效果。本领域技术人员在研究附图、说明书及权利要求书的基础上,应能理解并实现所揭示的实施例的其他变化的实施例。在权利要求书中,术语“包括”并不排除其他装置或步骤;物品没有使用数量词修饰时旨在包括一个/种或多个/种物品,并可以与“一个/种或多个/种物品”互换使用”;术语“第一”、“第二”用于标示名称而非用于表示任何特定的顺序。权利要求中的任何附图标记均不应被理解为对保护范围的限制。权利要求中出现的多个部分的功能可以由一个单独的硬件或软件模块来实现。某些技术特征出现在不同的从属权利要求中并不意味着不能将这些技术特征进行组合以取得有益效果。

Claims (19)

  1. 一种信息显示方法,包括:
    接收用户输入的第一字符串;
    在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;
    其中,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;
    或者,
    所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;所述第一字符串包括所述第一子符串和所述第二子字符串。
  2. 根据权利要求1所述的方法,其中,
    在所述第一字符串中不包括预设分割符号的情况下,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;
    或者,
    在所述第一字符串中包括预设分割符号的情况下,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;其中,所述第一子字符串为位于所述第一字符串中预设位置处的预设分割符号之前的字符串,所述第二子字符串为位于所述预设位置处的预设分割符号之后的字符串。
  3. 根据权利要求2所述的方法,其中,所述预设分割符号的数量为M个,所述在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项,包括:
    在第一候选栏显示第一候选项,所述第一候选项为位于所述第一字符串中首个预设分割符号之前的字符串对应的候选项;
    在M个子候选栏中分别显示第二候选项,所述第二候选栏包括所述M个子候选栏,每个子候选栏中显示有每相邻两个预设分割符号之间的字符串对应的候选项;
    其中,M为大于1的正整数。
  4. 根据权利要求1所述的方法,在所述在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项之后,所述方法还包括:
    接收用户对所述第二候选栏中第一目标候选项的第一输入;其中,所述第一目标候选项为所述第二候选项中的一个;
    响应于所述第一输入,在所述第一候选栏中显示第三候选项,以及在所述第二候选栏中显示与所述第三候选项对应的第二联想候选项;
    其中,所述第三候选项为所述第一目标候选项与所述第一候选项进行组合所形成的候选项。
  5. 根据权利要求4所述的方法,其中,在所述第一输入为选中输入的情况下,所述接收用户对所述第二候选栏中第一目标候选项的第一输入,包括:
    接收用户对所述第二候选栏中第一目标候选项的选中输入;
    所述响应于所述第一输入,在所述第一候选栏中显示第三候选项,包括:
    响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与首个所述第一候选项进行组合所形成的候选项;
    或者,
    响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与各所述第一候选项进行组合所形成的候选项。
  6. 根据权利要求4所述的方法,其中,在所述第一输入为拖动输入的情况下,所述接收用户对所述第二候选栏中第一目标候选项的第一输入,包括:
    接收用户对第一目标候选项拖动至所述第一候选栏中第一位置的拖动输入,其中,所述第一位置是第一候选栏中第二目标候选项对应的位置;
    所述响应于所述第一输入,在所述第一候选栏中显示第三候选项,包括:
    响应于所述拖动输入,在所述第一候选栏中显示第二目标候选项与所述第一目标候选项组合所形成的候选项。
  7. 根据权利要求1-3任一所述的方法,在所述在第一候选栏显示第一候 选项,以及在第二候选栏显示第二候选项之后,所述方法还包括:
    接收用户对所述第一候选栏中的第三目标候选项的第二输入,所述第三目标候选项为所述第一候选项中的一个;
    响应于所述第二输入,将所述第三目标候选项上屏,以及在所述第一候选栏显示第四候选项,在所述第二候选栏显示与所述第四候选项对应的第三联想候选项;
    其中,所述第四候选项为将所述第二候选项移动至所述第一候选栏所形成的候选项。
  8. 一种信息显示装置,包括:
    接收模块,用于接收用户输入的第一字符串;
    显示模块,用于在第一候选栏显示第一候选项,以及在第二候选栏显示第二候选项;其中,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;或者,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;所述第一字符串包括所述第一子符串和所述第二子字符串。
  9. 根据权利要求8所述的装置,其中,
    在所述第一字符串中不包括预设分割符号的情况下,所述第一候选项为与所述第一字符串对应的候选项;所述第二候选项为与所述第一候选项匹配的第一联想候选项;
    或者,
    在所述第一字符串中包括预设分割符号的情况下,所述第一候选项为与所述第一字符串中第一子字符串对应的候选项,所述第二候选项为与所述第一字符串中第二子字符串对应的候选项;其中,所述第一子字符串为位于所述第一字符串中预设位置处的预设分割符号之前的字符串,所述第二子字符串为位于所述预设位置处的预设分割符号之后的字符串。
  10. 根据权利要求9所述的装置,其中,所述预设分割符号的数量为M个,所述显示模块具体用于:
    在第一候选栏显示第一候选项,所述第一候选项为位于所述第一字符 串中首个预设分割符号之前的字符串对应的候选项;
    在M个子候选栏分别显示第二候选项,所述第二候选栏包括所述M个子候选栏,每个子候选栏中显示有每相邻两个预设分割符号之间的字符串对应的候选项;其中,M为大于1的正整数。
  11. 根据权利要求8所述的装置,其中,
    所述接收模块还用于:接收用户对所述第二候选栏中第一目标候选项的第一输入;其中,所述第一目标候选项为所述第二候选项中的一个;
    所述显示模块,还用于响应于所述第一输入,在所述第一候选栏中显示第三候选项,以及在所述第二候选栏中显示与所述第三候选项对应的第二联想候选项;其中,所述第三候选项为所述第一目标候选项与所述第一候选项进行组合所形成的候选项。
  12. 根据权利要求11所述的装置,其中,
    所述接收模块具体用于:在所述第二输入为选中输入的情况下,接收用户对所述第二候选栏中第一目标候选项的选中输入;
    所述显示模块,具体用于:
    响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与首个所述第一候选项进行组合所形成的候选项;
    或者,
    响应于所述选中输入,在所述第一候选栏中显示所述第一目标候选项与各所述第一候选项进行组合所形成的候选项。
  13. 根据权利要求11所述的装置,其中,
    所述接收模块具体用于:在所述第二输入为拖动输入的情况下,接收用户对第一目标候选项拖动至所述第一候选栏中第一位置的拖动输入,其中,所述第一位置是第一候选栏中第二目标候选项对应的位置;
    所述显示模块,具体用于:
    响应于所述拖动输入,在所述第一候选栏中显示第二目标候选项与所述第一目标候选项组合所形成的候选项。
  14. 根据权利要求8-10任一所述的装置,其中,
    所述接收模块还用于:接收用户对所述第一候选栏中的第三目标候选 项的第二输入,所述第三目标候选项为所述第一候选项中的一个;
    所述显示模块,用于响应于所述第二输入,将所述第三目标候选项上屏,以及在所述第一候选栏显示第四候选项,在所述第二候选栏显示与所述第四候选项对应的第三联想候选项;其中,所述第四候选项为将所述第二候选项移动至所述第一候选栏所形成的候选项。
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的信息显示方法的步骤。
  16. 一种电子设备,被配置成用于执行如权利要求1-7中任一项的信息显示方法的步骤。
  17. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的信息显示方法的步骤。
  18. 一种计算机程序产品,计算机程序产品可被处理器执行以实现如权利要求1-7中任一项的信息显示方法的步骤。
  19. 一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,程序或指令被处理器执行时实现如权利要求1-7中任一项的信息显示方法的步骤。
PCT/CN2022/117581 2021-09-14 2022-09-07 信息显示方法、装置、电子设备和存储介质 WO2023040724A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111072731.3 2021-09-14
CN202111072731.3A CN113805708B (zh) 2021-09-14 2021-09-14 信息显示方法、装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2023040724A1 true WO2023040724A1 (zh) 2023-03-23

Family

ID=78895264

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/117581 WO2023040724A1 (zh) 2021-09-14 2022-09-07 信息显示方法、装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN113805708B (zh)
WO (1) WO2023040724A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805708B (zh) * 2021-09-14 2024-01-23 维沃移动通信有限公司 信息显示方法、装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080111716A1 (en) * 2006-10-26 2008-05-15 Artan Nabi S Detecting whether an arbitrary-length bit string input matches one of a plurality of known arbitrary-length bit strings using a hierarchical data structure
CN107665046A (zh) * 2016-07-29 2018-02-06 北京搜狗科技发展有限公司 一种输入方法和装置、一种用于输入的装置
CN109144285A (zh) * 2017-06-16 2019-01-04 北京搜狗科技发展有限公司 一种输入方法和装置
CN112698735A (zh) * 2020-12-24 2021-04-23 维沃移动通信有限公司 信息输入方法、装置和电子设备
CN113805708A (zh) * 2021-09-14 2021-12-17 维沃移动通信有限公司 信息显示方法、装置、电子设备和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908866A (zh) * 2005-08-07 2007-02-07 黄金富 可进行句子联想的输入方法
CN103092969A (zh) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 对输入法候选项进行流媒体检索的方法、客户端及系统
JP6409165B2 (ja) * 2014-12-08 2018-10-24 富士通コネクテッドテクノロジーズ株式会社 電子機器、及び、手書き文字入力プログラム
CN104503597B (zh) * 2014-12-19 2017-12-12 北京奇虎科技有限公司 笔画输入方法、装置和系统
CN109799916B (zh) * 2017-11-16 2021-08-13 北京搜狗科技发展有限公司 一种候选项联想方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080111716A1 (en) * 2006-10-26 2008-05-15 Artan Nabi S Detecting whether an arbitrary-length bit string input matches one of a plurality of known arbitrary-length bit strings using a hierarchical data structure
CN107665046A (zh) * 2016-07-29 2018-02-06 北京搜狗科技发展有限公司 一种输入方法和装置、一种用于输入的装置
CN109144285A (zh) * 2017-06-16 2019-01-04 北京搜狗科技发展有限公司 一种输入方法和装置
CN112698735A (zh) * 2020-12-24 2021-04-23 维沃移动通信有限公司 信息输入方法、装置和电子设备
CN113805708A (zh) * 2021-09-14 2021-12-17 维沃移动通信有限公司 信息显示方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN113805708B (zh) 2024-01-23
CN113805708A (zh) 2021-12-17

Similar Documents

Publication Publication Date Title
US9383827B1 (en) Multi-modal command display
US11327652B2 (en) Keyboard automatic language identification and reconfiguration
US20180196854A1 (en) Application extension for generating automatic search queries
CN102141889B (zh) 用于编辑的打字辅助
KR101633842B1 (ko) 연속적인 제스쳐 입력을 위한 복수의 그래픽 키보드들
CN105122185A (zh) 使用过去交互数据的文本建议输出
CN104035712B (zh) 用于基于姿势的键盘的姿势完成路径显示
US20130120271A1 (en) Data input method and apparatus for mobile terminal having touchscreen
US10901614B2 (en) Method and terminal for determining operation object
US9292203B2 (en) Providing a vertical candidate bar with an on-screen keyboard
KR20150143774A (ko) 일관된 텍스트 제안 출력
US10175883B2 (en) Techniques for predicting user input on touch screen devices
CN105929975A (zh) 使用替代评分的非字典字符串的姿态键盘输入
CN106325488A (zh) 一种输入方法、输入装置、服务器和输入系统
WO2023284799A1 (zh) 搜索方法、装置及电子设备
US20210096814A1 (en) Speech control method, speech control device, electronic device, and readable storage medium
WO2022143341A1 (zh) 输入法候选词显示方法、装置及电子设备
WO2023040724A1 (zh) 信息显示方法、装置、电子设备和存储介质
CN108292324A (zh) 内容创作内联命令
CN104756062A (zh) 解码用于图形键盘的不准确手势
WO2023040710A1 (zh) 信息显示方法、装置、电子设备和存储介质
CN104424324B (zh) 列表组件中定位列表项的方法及装置
WO2022135294A1 (zh) 候选词显示方法及装置、电子设备
WO2023274171A1 (zh) 应用运行方法和装置
WO2022228433A1 (zh) 信息处理方法、装置以及电子设备

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: 22869094

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022869094

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022869094

Country of ref document: EP

Effective date: 20240415