Input method, device and device for input

In the input method application, when the input information meets the preset conditions, the name mode is triggered and the name panel is displayed, the problem of single candidates for the name in the existing input method is solved, and the efficiency and user experience of name input are improved.

CN112783333BActive Publication Date: 2024-11-26BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911077899.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-06
Publication Date
2024-11-26
Estimated Expiration
2040-05-23

AI Technical Summary

Technical Problem

When using the existing input method to enter a person's name, the candidate options are relatively single and cannot meet the user's needs, resulting in low input efficiency. Especially because there are many names with the same pronunciation, the user's input needs cannot be met under the personalized naming method.

Method used

When the input information meets the preset conditions, the identifier used to trigger the name mode is displayed. When the user triggers, the name panel is displayed and the name candidates matching the input information are displayed. Through the preset conditions and user interaction, more name candidates are provided. item for selection.

Benefits of technology

Improve the efficiency of user inputting personal names. By displaying more matching personal names candidates, users can find the personal names they need more quickly and improve the input experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112783333B_ABST
    Figure CN112783333B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an input method, device and device for input. The embodiment of the method includes: obtaining input information; when the input information meets the preset conditions, displaying an identifier for triggering a name mode, the name mode is an input mode with a name as a candidate; when a user triggers the identifier, displaying a name panel, and displaying name candidates matching the input information in the name panel. This implementation improves the efficiency of inputting names.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to an input method, device, and a device for input. Background Art

[0002] With the development of computer technology, the functions of input method applications are becoming more and more abundant. When a user uses an input method application to input content, the input method application can perform a term query, thereby displaying multiple candidate items for the user to choose from.

[0003] When a user wants to enter a name, existing input method applications usually only display the matched name as one of the candidate items when the input string matches a specific name (such as a public figure, a historical figure, a frequently used common name, etc.). However, due to the large number of names with the same pronunciation and the current naming method being more personalized, the name candidates displayed in this way are relatively simple and usually cannot meet the user's input needs for names. When the displayed name candidates do not meet the user's intention, the user needs to select the required text syllable by syllable (such as surname, first name in sequence) to get the correct name, which results in low efficiency in name input. Summary of the invention

[0004] The embodiments of the present application provide an input method, an apparatus and a device for input to improve the input efficiency of names.

[0005] In a first aspect, an embodiment of the present application provides an input method, the method comprising: obtaining input information; when the input information meets a preset condition, displaying an identifier for triggering a name mode, the name mode being an input mode with a name as a candidate; when a user triggers the identifier, displaying a name panel, and displaying name candidates matching the input information in the name panel.

[0006] In a second aspect, an embodiment of the present application provides an input device, comprising: an acquisition unit configured to acquire input information; a first display unit configured to display an identifier for triggering a name mode when the input information meets a preset condition, the name mode being an input mode with a name as a candidate; a second display unit configured to display a name panel when a user triggers the identifier, and to display name candidates matching the input information in the name panel.

[0007] In a third aspect, an embodiment of the present application provides a device for input, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: obtaining input information; when the input information meets a preset condition, displaying an identifier for triggering a name mode, wherein the name mode is an input mode that uses a name as a candidate; when a user triggers the identifier, displaying a name panel, and displaying name candidates that match the input information in the name panel.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect above.

[0009] The input method, device, and device for input provided by the embodiments of the present application display an identifier for triggering a name mode when the input information meets a preset condition, display a name panel when a user triggers the identifier, and display name candidates that match the input information in the name panel. Thus, the name mode can be triggered by the user when the input information meets the preset condition. Since the name mode is an input mode that uses a name as a candidate, more name candidates that match the input information can be displayed in the name panel for the user to select. Thus, the user's input efficiency for names is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0011] Figure 1 is a flow chart of an embodiment of an input method according to the present application;

[0012] Figure 2 It is a schematic diagram of the input interface after the input information meets the preset conditions;

[0013] Figure 3 It is a schematic diagram of another input interface after the input information meets the preset conditions;

[0014] Figure 4 is a schematic diagram of the display process of the name panel according to the present application;

[0015] Figure 5 is a flow chart of another embodiment of the input method according to the present application;

[0016] Figure 6 It is a schematic diagram of the triggering process of the single word screening function according to the present application;

[0017] Figure 7 is a schematic structural diagram of an embodiment of an input device according to the present application;

[0018] Figure 8 is a schematic structural diagram of a device for input according to the present application;

[0019] Fig. 9 It is a schematic diagram of the structure of the server in some embodiments of the present application. DETAILED DESCRIPTION

[0020] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0022] Please refer to Figure 1 , which shows a process 100 of an embodiment of the input method according to the present application. The above input method can be run on various electronic devices, including but not limited to: servers, smart phones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, car computers, desktop computers, set-top boxes, smart TVs, wearable devices, etc.

[0023] The above-mentioned electronic device may be installed with an input method application. The input method application mentioned in the embodiment of the present application can support multiple input methods. The input method application mentioned in the embodiment of the present application can support multiple input methods. Among them, the input method can be a coding method used to input various symbols into electronic devices such as computers and mobile phones, and the user can use the input method application to conveniently input the required characters or strings into the electronic device. It should be noted that in the embodiment of the present application, in addition to supporting common Chinese input methods (such as pinyin input method, Wubi input method, Zhuyin input method, voice input method, handwriting input method, etc.), the input method can also support input methods of other languages ​​(such as Japanese Hiragana input method, Korean input method, etc.), and no limitation is made on the input method and the language type of the input method.

[0024] The input method in this embodiment may include the following steps:

[0025] Step 101, obtain input information.

[0026] In this embodiment, the execution subject of the input method (such as the above-mentioned electronic device) may obtain input information. Among them, the input information may be information input by the user in various ways. As an example, it may be an input string input by the user in a character input manner. The input string may be an encoded string. For example, if the user wants to input "Li Xiaoming", the encoded string "lixiaoming" may be input using the pinyin input method. As another example, the input string may also be the voice input by the user in a voice input manner. It should be noted that the input information may also be other forms of information, which are not limited here.

[0027] Step 102, when the input information meets a preset condition, display an identifier for triggering the name mode, where the name mode is an input mode with names as candidate items.

[0028] In this embodiment, the above-mentioned execution subject may perform real-time detection on the obtained input information to determine whether the input information meets the preset condition. When the input information meets the preset condition, an identifier for triggering the name mode may be displayed.

[0029] Here, the name mode may be an input mode with names as candidate items. When entering the name mode, the candidate items corresponding to the input information are all name candidate items. The above-mentioned identifier for triggering the name mode may be any one of the following: text, symbol, icon, button. The identifier of the above-mentioned name mode may be used to guide the user to trigger and enter the name mode. As an example, when the identifier for triggering the name mode is represented in text form, it may be "Are you looking for a name?" or "Click to get more names", etc.

[0030] In addition, in this embodiment, the above-mentioned preset condition may be preset based on the characteristics of names. As an example, since a name usually has no less than two characters, the preset condition may be set to that the input information is a pinyin string containing at least two syllables. As another example, since the surnames of names are limited, and when the surname is a single surname, the surname is located at the first character of the name, and when the surname is a compound surname, the surname is located at the first two characters of the name. Therefore, the preset condition may be set to: the input information is a pinyin string containing at least two syllables, and the first syllable of the input information matches a certain single surname or the first two syllables in the input information match a certain compound surname. As still another example, if the input information is voice, the voice may first be converted into a pinyin string. Then, the above-mentioned example of the preset condition is used to detect the pinyin string.

[0031] It should be noted that the above preset conditions can be preset based on a large amount of data statistics or experiments, and the embodiments of the present application do not limit this.

[0032] In some alternative implementation manners of this embodiment, when the above input information is a pinyin string containing at least two syllables (such as "lixiaoming"), and at least one person name (such as "Li Xiaoming") that matches the above input information is included in the first-screen candidate items or the home page of the expanded candidate items, it can be regarded as meeting the preset conditions. At this time, an identifier for triggering the person name mode can be displayed. Among them, the first-screen candidate items can be the candidate items presented without the user performing any other operations after inputting the input information; or they can be the first several items (such as the first 5 items) among the candidate items found after the user inputs the input information. The above-mentioned home page of the expanded candidate items can be the home page of the candidate item expansion page; or it can be the first several items (such as the first 15 items) among the candidate items found after the user inputs the input information. Multiple candidate items including the first-screen candidate items are presented on the candidate item expansion page.

[0033] As an example, Figure 2 shows a schematic diagram of the input interface after the input information meets the preset conditions. As Figure 2 shown, the above input information is the pinyin string "lixiaoming" containing three syllables (which are "li", "xiao", and "ming" respectively), and the person names "Li Xiaoming" and "Li Xiaoming" that match the above input information are included in the first-screen candidate items. At this time, an identifier for triggering the person name mode (such as Figure 2 "Are you looking for a person name?") can be presented on the input method interface.

[0034] In some alternative implementation manners of this embodiment, when the above input information is a pinyin string containing at least two syllables (such as "lixiaoming"), and no person name that matches the above input information is included in the first-screen candidate items or the home page of the expanded candidate items, the above execution entity can also detect the user's selection operation on the syllables in the input information. For example, the input method keyboard can include syllable options in the input information. When it is detected that the user triggers the syllable option, it can be considered that the syllable is selected. When it is detected that the user selects a syllable, the first-screen candidate items or the home page of the expanded candidate items can be updated. If at least one person name that matches the above input information is included in the updated first-screen candidate items or the home page of the expanded candidate items, it can also be considered that the input information meets the preset conditions. At this time, an identifier for triggering the person name mode can be displayed.

[0035] In some alternative implementation manners of this embodiment, when the above input information (such as "Li Xiaoming") contains the content that has been displayed on the screen and a pinyin string of at least one syllable, and the content that has been displayed on the screen is a surname, it can be regarded as meeting the preset condition. At this time, an identifier for triggering the person name mode can be presented.

[0036] As an example, Figure 3 shows a schematic diagram of another input interface after the input information meets the preset condition. As Figure 3 shown, the above input information "Li Xiaoming" contains the content "Li" that has been displayed on the screen and a pinyin string ("xiaoming") composed of two syllables (respectively "xiao" and "ming"). And, the above content "Li" that has been displayed on the screen is a surname. At this time, an identifier for triggering the person name mode (such as Figure 3 "Are you looking for a person name?") can be presented in the input method interface.

[0037] It should be noted that, Figure 2 and Figure 3 the shown input interfaces both take the full keyboard of the input method keyboard as an example. However, the embodiments of the present application are not limited to the state of the input method keyboard, and are equally applicable to other forms of keyboards such as the nine-keyboard.

[0038] Step 103, when it is detected that the user triggers the identifier, present a person name panel, and present person name candidates that match the input information in the person name panel.

[0039] In this embodiment, when it is detected that the user triggers the identifier, the above execution entity can present a person name panel, and present person name candidates that match the input information in the person name panel. Here, the person name panel can be a candidate panel in the person name mode, and the candidate panel can display multiple candidates. Here, all the candidates presented in the person name panel can be person name candidates. For example, for the input information "jintaiheng", "Kim Tae-hyung", "Kim Tae-heng", "Kim Tae-hyung", "Kim Tae-hyung" and so on can be presented in the person name panel.

[0040] As an example, Figure 4 shows a schematic diagram of the process of presenting the person name panel. As Figure 4 shown, after the user inputs the input information "jintaiheng", the identifier "Are you looking for a person name?" is triggered. At this time, a person name panel is presented, and person name candidates such as "Kim Tae-hyung", "Kim Tae-heng", "Kim Tae-hyung" are presented in the person name panel.

[0041] In this embodiment, the above-mentioned execution subject can select the name candidates in a variety of ways. As an example, a name list can be preset. The name list can contain commonly used names. At this time, the name list can be queried for the name that matches the input information, and the queried name can be used as a name candidate. As another example, a surname list, a first name list and a full name list can be preset. The surname list can contain a full range of surnames. The first name list can contain commonly used names. The full name list can contain commonly used full names. At this time, the full name list can be queried for the full name that matches the input information, and the queried full name can be used as a name candidate. At the same time, by combining the surnames in the surname list and the names in the first name list, the combination corresponding to the input information can also be found as a name candidate.

[0042] It should be noted that before displaying the name candidates that match the input information in the name panel, the name candidates can be sorted. Thus, the name candidates can be displayed in the sorted order. In practice, the name candidates can be sorted in descending order of word frequency, or sorted according to the acquisition source of the name candidates. Here, the sorting rules for the name candidates can be pre-set as needed, and the embodiments of the present application do not limit this.

[0043] In some optional implementations of this embodiment, when the input information is a pinyin string containing at least two syllables (such as "lixiaoming", "liwei", etc.), the execution entity may execute the following sub-steps S11 to S16.

[0044] Sub-step S11, obtaining a preset surname word list, a given name word list and a full noun list.

[0045] Here, the surname word list may include all surnames. Each surname may correspond to a pre-stated surname probability. The surname probability of each surname may indicate the probability of using the surname as a surname in a person's name. The surname probability may be obtained based on statistics of surnames of a certain group of people (such as a certain city, a certain region, the whole country, etc.).

[0046] In addition, the name word list may contain a large number of names. Each name may be associated with a probability of becoming famous. The probability of becoming famous for each name may indicate the probability of using the name as a person's name. The probability of becoming a surname may also be obtained based on statistics of the names of a certain group of people (such as a certain city, a certain region, the whole country, etc.).

[0047] In addition, the full noun list can contain a large number of full names. A full name is a person's name composed of a surname and a given name.

[0048] Sub-step S12: Combine the surnames in the above surname vocabulary and the names in the above name vocabulary to obtain a first set of word groups, and combine the surnames in the above surname vocabulary and at least one single character in the preset single-character library to obtain a second set of word groups.

[0049] Here, each word in the first set of word groups can be formed by combining a surname from the surname vocabulary and a name from the name vocabulary. Each word in the second set of word groups can be formed by combining a surname from the surname vocabulary and at least one single character from the single-character library.

[0050] Sub-step S13: Search for words that match the above input information in the user vocabulary and / or the address book.

[0051] Here, the user vocabulary can be a vocabulary composed of historical input words entered by the user. The address book can be the address book in the device used by the user.

[0052] Sub-step S14: Select words from the found words that are located in at least one of the above full-name vocabulary, the above first set of word groups, and the above second set of word groups, and determine the selected words as candidate names.

[0053] As an example, the input information is "lixiaoming". The words found from the user vocabulary and / or the address book are "李小茗" (Li Xiaoming), "李小明" (Li Xiaoming), and "黎晓明" (Li Xiaoming).

[0054] For the word "李小茗" (Li Xiaoming), check whether "李小茗" (Li Xiaoming) exists in the full-name vocabulary, the above first set of word groups, and the above second set of word groups respectively. If "李小茗" (Li Xiaoming) exists in any one of the full-name vocabulary, the above first set of word groups, and the above second set of word groups, then "李小茗" (Li Xiaoming) can be determined as a candidate name. Similar steps can be performed for the target words "李小明" (Li Xiaoming) and "黎晓明" (Li Xiaoming). Details are not elaborated here.

[0055] Sub-step S15: Determine the words in the above first set of word groups and the above first set of word groups that match the above input information as candidate names respectively.

[0056] Here, the user vocabulary and / or the address book, the first set of word groups, and the second set of word groups can all be used as sources of candidate names to search for candidate names. It should be noted that since the first set of word groups is formed by combining the surnames in the surname vocabulary and the names in the above name vocabulary, the words in the first set of word groups can include the words in the full-name vocabulary. Therefore, it is not necessary to search for candidate names from the name vocabulary here.

[0057] Sub-step S16: Display the determined candidate names in the above name panel.

[0058] Here, the priority of the source of personal names can be preset. For example, in the order of decreasing priority, it can be set as the user's word library, the address book, the first group of word sets, and the second group of word sets in turn. At this time, the personal name candidates can be displayed in the order of decreasing source of personal names. When two or more of the personal name candidates belong to the same source of personal names, such as all from the user's word library, they can be sorted in the order from the latest to the earliest input time. When two or more of the personal name candidates belong to the same source of personal names, such as the first group of word sets, they can be sorted based on the surname formation probability and the name formation probability in the personal name candidates (such as calculating the product of the two, etc.).

[0059] In some alternative implementation manners of this embodiment, when the above input information includes the content that has been displayed on the screen and a pinyin string of at least one syllable (such as "Li xiaoming", "Wang wei", etc.), the above execution entity may perform the following sub-steps S21 to sub-step S27.

[0060] Sub-step S21, obtain a preset name word list.

[0061] Sub-step S22, summarize the single characters in the preset single-character library and the combinations of at least two single characters in the above single-character library into a third group of word sets.

[0062] In practice, since personal names usually contain only two characters, three characters, or four characters. Therefore, it can be set that the combination number of single characters in the single-character library does not exceed three characters. At this time, the words in the third group of word sets may include the single characters in the single-character library, the combinations of any two single characters in the single-character library, and the combinations of any three single characters in the single-character library.

[0063] Sub-step S23, use the pinyin string that has not been displayed on the screen in the above input information as the target pinyin string (such as the pinyin string "xiaoming" in the input information "Li xiaoming"), and search for the words that match the above target pinyin string in the user's word library and / or the address book.

[0064] Sub-step S24, select the words that are located in at least one of the above name word list and the above third group of word sets from the found words as the target words.

[0065] Sub-step S25, respectively determine the words that match the above target pinyin string in the above name word list and the above third group of word sets as the target words.

[0066] Sub-step S26, use the content that has been displayed on the screen in the above input information as the target surname, and respectively determine the combinations of the above target surname and each target word as the personal name candidates that match the above input information.

[0067] For example, the target words include "Xiao Ming", "Xiao Ming", "Xiao Ming", etc. Then the combined words "Li Xiao Ming", "Li Xiao Ming", "Li Xiao Ming", etc. can be used as candidate names.

[0068] Sub-step S27, displaying the determined name candidates in the name panel.

[0069] In some optional implementations of this embodiment, after displaying the name candidate items matching the input information, when it is detected that the user triggers any name candidate item in the name panel, the name candidate item triggered by the user can be displayed on the screen, and the name mode can be exited. After the name candidate item triggered by the user is displayed on the screen, the name candidate item on the screen can be added to the user's word library, or the word frequency of the name candidate item on the screen can be increased.

[0070] In some optional implementations of this embodiment, after the name candidates matching the input information are displayed, when it is detected that the user deletes all the characters in the input information, the name mode may be exited.

[0071] In some optional implementations of this embodiment, after displaying the name candidate items matching the above input information, when it is detected that the above user triggers the exit key in the above name panel, or triggers the return key of the device, the above name mode can be switched to the normal mode, and the normal candidate items corresponding to the above input information can be displayed.

[0072] The method provided by the above-mentioned embodiment of the present application displays an identifier for triggering the name mode when the input information meets the preset conditions, displays a name panel when the user triggers the identifier, and displays name candidates matching the input information in the name panel. Thus, the name mode can be triggered by the user when the input information meets the preset conditions. Since the name mode is an input mode that uses the name as a candidate, more name candidates matching the input information can be displayed in the name panel for the user to select. Thus, the user's input efficiency of the name is improved.

[0073] Further references Figure 5 , which shows a process 500 of another embodiment of an input method. The process 500 of the input method includes the following steps:

[0074] Step 501, obtaining input information.

[0075] Step 502: When the input information meets the preset conditions, an identifier for triggering the name mode is displayed. The name mode is an input mode that uses a person's name as a candidate item.

[0076] Step 503: When the user trigger identifier is detected, present the name panel and present name candidates that match the input information in the name panel.

[0077] For steps 501 - 503 in this embodiment, reference can be made to Figure 1 steps 101 - 103 in the corresponding embodiment, which will not be elaborated here.

[0078] Step 504: When it is detected that the number of page turns of the user on the name panel is greater than or equal to the preset number, or the number of displayed name candidates is greater than or equal to the preset number, present a single - character screening prompt.

[0079] In this embodiment, when it is detected that the number of page turns of the user on the above - mentioned name panel is greater than or equal to the preset number (such as 5 times, 6 times, etc.), or the number of displayed name candidates is greater than or equal to the preset number (such as 33), present a single - character screening prompt.

[0080] Here, the single - character screening prompt is used to prompt the user to trigger the single - character screening function, and the single - character screening function is used to match name candidates by syllable. For example, the single - character candidate prompt can be a prompt message such as "Click here to search by single character".

[0081] In practice, the name panel can include a single - character screening function button. When the user triggers this single - character screening function button, the single - character screening function can be triggered. The above - mentioned single - character candidate prompt can point to this single - character screening function button.

[0082] Step 505: When it is detected that the user triggers the single - character screening function, select the target syllable in the input information and present single - character candidates corresponding to the target syllable in the name panel.

[0083] In this embodiment, when the above - mentioned execution entity detects that the user triggers the single - character screening function, it can select the target syllable (such as the first syllable in the un - entered - screen pinyin string) in the above - mentioned input information and present single - character candidates corresponding to the above - mentioned target syllable in the above - mentioned name panel.

[0084] As an example, as Figure 6 shown, Figure 6 shows a schematic diagram of the single - character screening function triggering process. When the user clicks the single - character screening function button (such as the "All / Single Character" button) pointed to by the single - character screening prompt (such as "Click here to search by single character" in Figure 6 ), single - character search for the current target syllable "jin" can be performed, and single - character candidates such as "Jin" and "Jin" are presented.

[0085] In practice, when you click any of the pinyin syllables, name candidates, return button, delete button, re-enter button, and single-word filter function button, the single-word filter prompt will disappear. In addition, when the display time of the single-word filter prompt exceeds the preset time (such as 3 seconds), the single-word filter prompt can also disappear to avoid affecting the user's selection of name candidates.

[0086] from Figure 5 It can be seen that Figure 1 Compared with the corresponding embodiment, the process 500 of the input method in this embodiment involves the operation of presenting single word candidate items when it is detected that the user triggers the single word screening function. Thus, when there is no name required by the user in the name candidate items, or when the name required by the user is behind multiple pages, the user's input efficiency of the name can be improved.

[0087] Further references Figure 7 As an implementation of the methods shown in the above figures, the present application provides an embodiment of an input device, and the device embodiment is Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0088] like Figure 7 As shown, the input device 700 described in this embodiment includes: an acquisition unit 701, configured to acquire input information; a first display unit 702, configured to display an identifier for triggering a name mode when the above-mentioned input information meets a preset condition, and the above-mentioned name mode is an input mode with a name as a candidate item; a second display unit 703, configured to display a name panel when it is detected that a user triggers the above-mentioned identifier, and display name candidates matching the above-mentioned input information in the above-mentioned name panel.

[0089] In some optional implementations of this embodiment, the above-mentioned input information is any one of the following: an input string input by a character input method, and a voice input by a voice input method.

[0090] In some optional implementations of the present embodiment, the first display unit 702 is further configured to: when the input information is a pinyin string containing at least two syllables, and the first-screen candidate items or the expanded homepage of the candidate items contains at least one name matching the input information, display an identifier for triggering the name mode.

[0091] In some optional implementations of this embodiment, the first display unit 702 is further configured to: when the input information contains on-screen content and a pinyin string of at least one syllable, and the on-screen content is a surname, display an identifier for triggering the name mode.

[0092] In some optional implementations of the present embodiment, the second display unit 703 is further configured to: when the input information is a pinyin string containing at least two syllables, perform the following steps: obtain a preset surname word list, a name word list and a full noun list; combine the surnames in the surname word list with the names in the name word list to obtain a first word set, and combine the surnames in the surname word list with at least one single word in a preset single word library to obtain a second word set; search for words matching the input information from the user word library and / or address book; select words located in at least one of the full noun list, the first word set and the second word set from the words found, and determine the selected words as name candidates; determine the words in the first word set and the second word set that match the input information as name candidates; and display the determined name candidates in the name panel.

[0093] In some optional implementations of the present embodiment, the second display unit 703 is further configured to: when the input information contains content that has been displayed on the screen and a pinyin string of at least one syllable, perform the following steps: obtain a preset name word list; summarize the combination of the single words in the preset single word library and at least two single words in the single word library into a third word set; use the pinyin string that has not been displayed on the screen in the input information as the target pinyin string, and search for words matching the target pinyin string from the user word library and / or address book; from the words found, select words located in at least one of the name word list and the third word set as target words; respectively determine the words in the name word list and the third word set that match the target pinyin string as target words; use the content that has been displayed on the screen in the input information as the target surname, and respectively determine the combination of the target surname and each target word as a candidate name that matches the input information; and display the determined candidate name in the name panel.

[0094] In some optional implementations of the present embodiment, the device further includes: a presentation unit, configured to present a single-word screening prompt when it is detected that the number of times the user turns the pages of the name panel is greater than or equal to a preset number, or the number of displayed name candidates is greater than or equal to a preset number, wherein the single-word screening prompt is used to prompt the user to trigger a single-word screening function, and the single-word screening function is used to match name candidates by syllables; a selection unit, configured to select a target syllable in the input information when it is detected that the user triggers the single-word screening function, and display the single-word candidate corresponding to the target syllable in the name panel.

[0095] In some optional implementations of this embodiment, the above-mentioned device also includes a first exit unit, which is configured to, when it is detected that the user triggers any name candidate item in the name panel, display the name candidate item triggered by the user on the screen, exit the name mode, and add the name candidate item on the screen to the user vocabulary, or increase the word frequency of the name candidate item on the screen.

[0096] In some optional implementations of this embodiment, the apparatus further includes a second exit unit configured to exit the name mode when it is detected that the user deletes all characters in the input information.

[0097] In some optional implementations of this embodiment, the above-mentioned device also includes a switching unit, which is configured to switch the above-mentioned name mode to the normal mode and display the normal candidate items corresponding to the above-mentioned input information when it is detected that the above-mentioned user triggers the exit key in the above-mentioned name panel, or triggers the return key of the device.

[0098] The device provided by the above-mentioned embodiment of the present application displays an identifier for triggering a name mode when the input information meets a preset condition, displays a name panel when a user triggers the identifier, and displays name candidates matching the input information in the name panel. Thus, the name mode can be triggered by the user when the input information meets the preset condition. Since the name mode is an input mode that uses a name as a candidate, more name candidates matching the input information can be displayed in the name panel for the user to select. Thus, the user's input efficiency of names is improved.

[0099] Figure 8 8 is a block diagram of an input device 800 according to an exemplary embodiment, and the device 800 may be a smart terminal or a server. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0100] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0101] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0102] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0103] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

[0104] The multimedia component 808 includes a screen that provides an output interface between the above-mentioned device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The above-mentioned touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the above-mentioned touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0105] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0106] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0107] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of the components, such as the display and keypad of the device 800, the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800 and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0108] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0109] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0110] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to complete the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0111] Fig. 9 9 is a schematic diagram of the structure of the server in some embodiments of the present application. The server 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 922 (for example, one or more processors) and memory 932, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 942 or data 944. Among them, the memory 932 and the storage medium 930 can be short-term storage or permanent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 922 can be configured to communicate with the storage medium 930 to execute a series of instruction operations in the storage medium 930 on the server 900.

[0112] The server 900 may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input and output interfaces 958, one or more keyboards 956, and / or one or more operating systems 941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0113] A non-transitory computer-readable medium, when the instructions in the medium are executed by a processor of a device (smart terminal or server), enables the device to execute an input method, the method comprising: obtaining input information; when the input information meets a preset condition, displaying an identifier for triggering a name mode, the name mode being an input mode with a name as a candidate; when it is detected that a user triggers the identifier, displaying a name panel, and displaying name candidates matching the input information in the name panel.

[0114] In some optional implementations of this embodiment, the above-mentioned input information is any one of the following: an input string input by a character input method, and a voice input by a voice input method.

[0115] Optionally, when the input information meets preset conditions, an identifier for triggering the name mode is displayed, including: when the input information is a pinyin string containing at least two syllables, and the first-screen candidates or the first page of the expanded candidates contains at least one name that matches the input information, an identifier for triggering the name mode is displayed.

[0116] Optionally, when the input information meets a preset condition, an identifier for triggering the name mode is displayed, including: when the input information contains content that has been displayed on the screen and a pinyin string of at least one syllable, and the content that has been displayed on the screen is a surname, an identifier for triggering the name mode is displayed.

[0117] Optionally, the displaying of name candidates matching the input information in the name panel comprises: when the input information is a pinyin string containing at least two syllables, executing the following steps: obtaining a preset surname word list, a given name word list and a full noun list; combining the surnames in the surname word list with the given names in the given name word list to obtain a first word set, and combining the surnames in the surname word list with at least one single word in a preset single word library to obtain a second word set; searching for words matching the input information from a user word library and / or an address book; selecting from the searched words a word in at least one of the full noun list, the first word set and the second word set, and determining the selected word as a name candidate; determining the words in the first word set and the first word set that match the input information as name candidates, respectively; and displaying the determined name candidates in the name panel.

[0118] Optionally, the displaying of name candidates matching the input information in the name panel comprises: when the input information contains content that has been displayed on the screen and a pinyin string of at least one syllable, executing the following steps: obtaining a preset name word list; summarizing a combination of single characters in a preset single character library and at least two single characters in the single character library into a third word set; taking the pinyin string that has not been displayed on the screen in the input information as a target pinyin string, and searching for words matching the target pinyin string from a user word library and / or an address book; selecting a word located in at least one of the name word list and the third word set as a target word from the words found; respectively determining the words matching the target pinyin string in the name word list and the third word set as target words; taking the content that has been displayed on the screen in the input information as a target surname, and respectively determining the combination of the target surname and each target word as a name candidate matching the input information; and displaying the determined name candidate in the name panel.

[0119] Optionally, the device is configured to execute the one or more programs including instructions for performing the following operations by one or more processors: when it is detected that the number of times the user turns the pages of the name panel is greater than or equal to a preset number, or the number of displayed name candidates is greater than or equal to a preset number, presenting a single-word filtering prompt, wherein the single-word filtering prompt is used to prompt the user to trigger a single-word filtering function, and the single-word filtering function is used to match name candidates by syllables; when it is detected that the user triggers the single-word filtering function, selecting a target syllable in the input information, and displaying single-word candidates corresponding to the target syllable in the name panel.

[0120] Optionally, the device is configured to execute the one or more programs including instructions for performing the following operations by one or more processors: when it is detected that the user triggers any name candidate item in the name panel, the name candidate item triggered by the user is displayed on the screen, the name mode is exited, and the name candidate item on the screen is added to the user vocabulary, or the word frequency of the name candidate item on the screen is increased; or when it is detected that the user deletes all characters in the input information, the name mode is exited; or when it is detected that the user triggers the exit key in the name panel, or triggers the return key of the device, the name mode is switched to the normal mode, and the normal candidates corresponding to the input information are displayed.

[0121] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0122] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

[0123] The above is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0125] The above is a detailed introduction to an interface display method, device and a device for displaying an interface provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An input method, characterized in that: The method comprises: Get input information; When the input information meets the preset conditions, an identifier for triggering a name mode is displayed, wherein the name mode is an input mode that uses a name as a candidate item; When it is detected that the user triggers the mark, a name panel is displayed, and candidate names matching the input information are displayed in the name panel; The displaying of candidate names matching the input information in the name panel includes: When the input information is a pinyin string containing at least two syllables, the following steps are performed: Get the preset surname word list, first name word list and full noun list; Combining the surnames in the surname vocabulary with the given names in the given name vocabulary to obtain a first set of words, and combining the surnames in the surname vocabulary with at least one single word in a preset single word library to obtain a second set of words; Searching for a word matching the input information from a user word library and / or address book; Selecting a word in at least one of the full noun list, the first word set, and the second word set from the words found, and determining the selected word as a candidate for a person's name; respectively determining the first word set and the words in the first word set that match the input information as candidate names; Displaying the determined name candidates in the name panel; The displaying of the determined name candidates in the name panel includes: The priority of the name source is preset, and the name candidates are displayed in descending order of priority of the name source, wherein the priority of the name source is user word library, address book, first word set, and second word set.

2. The method according to claim 1, characterized in that The input information is any one of the following: an input string input by a character input method, or a voice input by a voice input method.

3. The method according to claim 1, characterized in that: When the input information meets the preset condition, displaying an identifier for triggering the name mode includes: When the input information is a pinyin string containing at least two syllables, and the first screen candidate items or the first page of the expanded candidate items contain at least one name matching the input information, displaying an identifier for triggering the name mode; When the input information includes the on-screen content and a pinyin string of at least one syllable, and the on-screen content is a surname, an identifier for triggering the name mode is displayed.

4. The method according to claim 1, characterized in that: The displaying of candidate names matching the input information in the name panel includes: When the input information includes the content on the screen and a pinyin string of at least one syllable, the following steps are performed: Get the preset name word list; The single words in the preset single word library and the combination of at least two single words in the single word library are summarized into a third word set; Taking the Pinyin string in the input information that is not displayed on the screen as the target Pinyin string, searching for words matching the target Pinyin string from the user word library and / or the address book; From the words found, select a word in at least one of the name word list and the third word set as a target word; respectively determining the words in the name word list and the third word set that match the target pinyin string as target words; Taking the on-screen content in the input information as the target surname, and respectively determining the combination of the target surname and each target word as a candidate of a person's name matching the input information; The determined name candidates are presented in the name panel.

5. The method according to claim 1, characterized in that After displaying candidate names matching the input information in the name panel, the method further includes: When it is detected that the number of times the user has turned pages of the name panel is greater than or equal to a preset number, or the number of displayed name candidates is greater than or equal to a preset number, a single-word screening prompt is presented, wherein the single-word screening prompt is used to prompt the user to trigger a single-word screening function, and the single-word screening function is used to match the name candidates by syllable; When it is detected that the user triggers the single word screening function, a target syllable in the input information is selected, and single word candidates corresponding to the target syllable are displayed in the name panel.

6. The method according to claim 1, characterized in that After displaying candidate names matching the input information in the name panel, the method further includes: When it is detected that the user triggers any name candidate item in the name panel, the name candidate item triggered by the user is put on the screen, the name mode is exited, and the name candidate item on the screen is added to the user vocabulary, or the word frequency of the name candidate item on the screen is increased; or When it is detected that the user deletes all characters in the input information, exit the name mode; or When it is detected that the user triggers the exit key in the name panel, or triggers the return key of the device, the name mode is switched to the normal mode, and normal candidate items corresponding to the input information are displayed.

7. An input device, characterized in that: The device comprises: an acquisition unit, configured to acquire input information; A first display unit is configured to display an identifier for triggering a name mode when the input information meets a preset condition, wherein the name mode is an input mode using a name as a candidate item; A second display unit is configured to display a name panel when detecting that the user triggers the identifier, and display name candidates matching the input information in the name panel; The second presentation unit is further configured to: When the input information is a pinyin string containing at least two syllables, the following steps are performed: Get the preset surname word list, first name word list and full noun list; Combining the surnames in the surname vocabulary with the given names in the given name vocabulary to obtain a first set of words, and combining the surnames in the surname vocabulary with at least one single word in a preset single word library to obtain a second set of words; Searching for a word matching the input information from a user word library and / or address book; Selecting a word in at least one of the full noun list, the first word set, and the second word set from the words found, and determining the selected word as a candidate for a person's name; respectively determining the first word set and the words in the first word set that match the input information as candidate names; Displaying the determined name candidates in the name panel; Displaying the determined name candidates in the name panel; The displaying of the determined name candidates in the name panel includes: The priority of the name source is preset, and the name candidates are displayed in descending order of priority of the name source, wherein the priority of the name source is user word library, address book, first word set, and second word set.

8. The device according to claim 7, characterized in that The input information is any one of the following: an input string input by a character input method, or a voice input by a voice input method.

9. The device according to claim 7, characterized in that The first presentation unit is further configured to: When the input information is a pinyin string containing at least two syllables, and the first screen candidate items or the first page of the expanded candidate items contain at least one name matching the input information, displaying an identifier for triggering the name mode; When the input information includes the on-screen content and a pinyin string of at least one syllable, and the on-screen content is a surname, an identifier for triggering the name mode is displayed.

10. The device according to claim 7, characterized in that The second presentation unit is further configured to: When the input information includes the content on the screen and a pinyin string of at least one syllable, the following steps are performed: Get the preset name word list; The single words in the preset single word library and the combination of at least two single words in the single word library are summarized into a third word set; Taking the Pinyin string in the input information that is not displayed on the screen as the target Pinyin string, searching for words matching the target Pinyin string from the user word library and / or the address book; From the words found, select a word in at least one of the name word list and the third word set as a target word; respectively determining the words in the name word list and the third word set that match the target pinyin string as target words; Taking the on-screen content in the input information as the target surname, and respectively determining the combination of the target surname and each target word as a candidate of a person's name matching the input information; The determined name candidates are presented in the name panel.

11. The device according to claim 7, characterized in that The device also includes: A presentation unit is configured to present a single-word screening prompt when it is detected that the number of times the user turns pages of the name panel is greater than or equal to a preset number, or the number of displayed name candidates is greater than or equal to a preset number, wherein the single-word screening prompt is used to prompt the user to trigger a single-word screening function, and the single-word screening function is used to match the name candidates by syllables; The selection unit is configured to select a target syllable in the input information and display single word candidates corresponding to the target syllable in the name panel when detecting that the user triggers a single word screening function.

12. The device according to claim 7, characterized in that The device also includes: A first exit unit is configured to, when detecting that the user triggers any of the name candidate items in the name panel, put the name candidate item triggered by the user on the screen, exit the name mode, and add the name candidate item on the screen to the user vocabulary, or increase the word frequency of the name candidate item on the screen; or A second exit unit is configured to exit the name mode when detecting that the user deletes all characters in the input information; or The switching unit is configured to switch the name mode to the normal mode and display the normal candidate items corresponding to the input information when it is detected that the user triggers the exit key in the name panel or the return key of the device.

13. A device for input, characterized in that The invention comprises a memory and one or more programs, wherein the one or more programs are stored in the memory, and when the programs are executed by one or more processors, the steps of the method described in any one of claims 1 to 6 are implemented.

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