CN112783333B - Input method, device and device for input - Google Patents
Input method, device and device for input Download PDFInfo
- Publication number
- CN112783333B CN112783333B CN201911077899.6A CN201911077899A CN112783333B CN 112783333 B CN112783333 B CN 112783333B CN 201911077899 A CN201911077899 A CN 201911077899A CN 112783333 B CN112783333 B CN 112783333B
- Authority
- CN
- China
- Prior art keywords
- name
- word
- input information
- input
- user
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0236—Character input methods using selection techniques to select from displayed items
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements 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/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The embodiment of the application discloses an input method, an input device and an input device. An embodiment of the method comprises: acquiring input information; when the input information meets preset conditions, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidate items; and when the user trigger mark is detected, displaying a name panel, and displaying name candidates matched with the input information in the name panel. This embodiment improves the efficiency of inputting names of persons.
Description
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an input method, an input device and an input device.
Background
With the development of computer technology, the functions of input method application are becoming more and more abundant. When the user inputs the content by using the input method application, the input method application can perform entry query so as to display a plurality of candidate items for the user to select.
When a user wants to input a certain name, the existing input method application can only display the matched name as one of candidate items when an input string is matched with a specific name (such as a public character, a history character, a common name with high use frequency, and the like). However, because the names of the same pronunciation are numerous, and the current naming mode is more personalized, the name candidates displayed in the mode are single, and the input requirement of the user on the names cannot be met. When the displayed name candidates do not accord with the user intention, the user needs to select the required characters (such as surnames and first names in sequence) syllable by syllable to obtain the correct name, so that the input efficiency of the name is lower.
Disclosure of Invention
The embodiment of the application provides an input method, an input device and an input device for inputting, so as to improve the input efficiency of names.
In a first aspect, an embodiment of the present application provides an input method, including: acquiring input information; when the input information meets preset conditions, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidate items; and when the user trigger mark is detected, displaying a name panel, and displaying name candidates matched with the input information in the name panel.
In a second aspect, an embodiment of the present application provides an input device, including: an acquisition unit configured to acquire input information; the 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 taking names as candidate items; and the second display unit is configured to display a name panel when the user trigger mark is detected, and display name candidates matched with the input information in the name panel.
In a third aspect, embodiments of the present application provide an apparatus for input comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors, the one or more programs comprising instructions for: acquiring input information; when the input information meets preset conditions, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidate items; and when the user trigger mark is detected, displaying a name panel, and displaying name candidates matched with the input information in the name panel.
In a fourth aspect, embodiments of the present application provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in the first aspect above.
According to the input method, the input device and the input device provided by the embodiment of the application, when the input information meets the preset condition, the identifier for triggering the name mode is displayed, when the user triggering identifier is detected, the name panel is displayed, and the name candidate item matched with the input information is displayed in the name panel. Therefore, when the input information meets the preset condition, the user can trigger the name mode. Because the name mode is an input mode taking names as candidates, more names of candidates matched with the input information can be displayed in the name panel for selection by a user. Therefore, the input efficiency of the user to the name is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of one embodiment of an input method according to the present application;
FIG. 2 is a schematic diagram of an input interface after input information satisfies a preset condition;
FIG. 3 is a schematic diagram of yet another input interface after the input information satisfies a preset condition;
FIG. 4 is a schematic diagram of a presentation process of a name panel according to the present application;
FIG. 5 is a flow chart of yet another embodiment of an input method according to the present application;
FIG. 6 is a schematic diagram of a single word screening function triggering process according to the present application;
FIG. 7 is a schematic diagram of an embodiment of an input device according to the present application;
FIG. 8 is a schematic diagram of an apparatus for inputting according to the present application;
Fig. 9 is a schematic diagram of a server in some embodiments according to the application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the present application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
Referring to FIG. 1, a flow 100 of one embodiment of an input method according to the present application is shown. The input method may be operable on a variety of electronic devices including, but not limited to: servers, smartphones, tablet computers, electronic book readers, MP3 (moving picture experts compression standard audio layer 3,Moving Picture Experts Group Audio Layer III) players, MP4 (moving picture experts compression standard audio layer 4,Moving Picture Experts Group Audio Layer IV) players, laptop computers, car computers, desktop computers, set top boxes, smart televisions, wearable devices, and the like.
The electronic device can be provided with an input method application. The input method application mentioned in the embodiment of the application can support a plurality of input methods. The input method application mentioned in the embodiment of the application can support a plurality of input methods. The input method may be an encoding method employed for inputting various symbols into electronic devices such as computers, mobile phones, etc., and a user may conveniently input a desired character or character string into the electronic device using an input method application. It should be noted that, in the embodiment of the present application, the input method may support other language input methods (such as japanese hiragana input method, korean input method, etc.) in addition to the common chinese input method (such as pinyin input method, wubi input method, zhuyin input method, voice input method, handwriting input method, etc.), and the input method and the language type of the input method are not limited.
The input method in this embodiment may include the following steps:
Step 101, obtaining input information.
In the present embodiment, the execution subject of the input method (e.g., the electronic device described above) may acquire the input information. The input information may be information input by a user in various ways. As an example, an input string input by a user by a character input manner may be mentioned. The input string may be a coded string. For example, if the user wants to input "Li Xiaoming", the encoding string "lixiaoming" may be entered using a pinyin input method. As yet another example, the input string may also be a voice input by a user through a voice input manner. It should be noted that the input information may be other information, which is not limited herein.
And 102, when the input information meets the preset condition, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidates.
In this embodiment, the executing body may detect the acquired input information in real time, and determine whether the input information meets a preset condition. When the input information meets the preset condition, the identification for triggering the name mode can be displayed.
Here, the name mode may be an input mode having names as candidates. When the name mode is entered, the candidates corresponding to the input information are name candidates. The identifier for triggering the name mode may be any one of the following: text, symbols, icons, keys. The identification of the name mode can be used for guiding the user to trigger entering the name mode. As an example, when the identification for triggering the name mode is expressed in text form, it may be "do you find a name? "or" click get more names "etc.
In addition, in the present embodiment, the above-described preset condition may be preset based on the characteristics of the name of the person. As one example, since the name of a person is generally not less than two words, the preset condition may be set to input information as a pinyin string containing at least two syllables. As yet another example, since the surname of the person's first name is limited, and when the surname is monosyllabic name, the surname is located at the first word of the person's first name, and when the surname is a compound surname, the surname is located at the first two words of the person's first name. Thereby, it is possible to set the preset condition as: the input information is a pinyin string containing at least two syllables, and the first syllable of the input information matches a monosyllabic name or the first two syllables of the input information match a compound name. As yet another example, if the input information is speech, the speech may first be converted to a pinyin string. The pinyin string is thus detected using the preset conditions in the example above.
It should be noted that the above-mentioned preset conditions may be preset based on a large number of data statistics or experiments, which are not limited in the embodiment of the present application.
In some optional implementations of this embodiment, the preset condition may be considered to be satisfied when the input information is a pinyin string (e.g., "lixiaoming") including at least two syllables, and the first screen candidate or the candidate expansion home page includes at least one name (e.g., "Li Xiaoming") matching the input information. At this time, an identification for triggering the name mode may be presented. The first screen candidate item can be a candidate item presented by a user under the condition that no other operation is performed after the user inputs the input information; the first several items (such as the first 5 items) among the searched candidates may be obtained after the user inputs the input information. The candidate expansion home page may be a home page of the candidate expansion page; the first several items (e.g., the first 15 items) among the searched candidates may be obtained after the user inputs the input information. The candidate expanded page has a plurality of candidates including the first screen candidate presented therein.
As an example, fig. 2 shows a schematic diagram of an input interface after input information satisfies a preset condition. As shown in fig. 2, the input information is a pinyin string "lixiaoming" including three syllables (i "," xiao "," ming ", respectively), and the first screen candidate includes a name" Li Xiaoming "and" Li Xiaoming "that match the input information. At this point, the identity for triggering the name mode (e.g. "do you find a name.
In some optional implementations of this embodiment, when the input information is a pinyin string (e.g., "lixiaoming") including at least two syllables, and neither the first screen candidate nor the candidate expansion home page includes a name matching the input information, the execution body may further detect a user selection operation of a syllable in the input information. For example, syllable options in the input information may be included in the input method keyboard. When the user is detected to trigger the syllable option, the syllable can be considered to be selected. When the syllable selected by the user is detected, the first screen candidate item or the candidate item expansion first page can be updated. If the updated first screen candidate item or the candidate item expansion first page contains at least one name matched with the input information, the input information can be considered to meet the preset condition. At this time, an identification for triggering the name mode may be presented.
In some alternative implementations of the present embodiment, the predetermined condition may be considered to be satisfied when the input information (e.g., "plum xiaoming") includes on-screen content and a pinyin string of at least one syllable, and the on-screen content is a surname. At this time, an identification for triggering the name mode may be presented.
As an example, fig. 3 shows a schematic diagram of still another input interface after the input information satisfies the preset condition. As shown in fig. 3, the input information "plum xiaoming" includes the on-screen content "plum" and a pinyin string ("xiaoming") composed of two syllables (xiao "," mini ", respectively). And, the above-mentioned screen content "Li" is surname. At this point, the identity for triggering the name mode (e.g. "do you find a name.
It should be noted that, the input interfaces shown in fig. 2 and fig. 3 are all examples of the input method keyboard using a full keyboard. However, the embodiment of the application is not limited to the state of the keyboard of the input method, and is also applicable to other keyboards such as nine keyboards and the like.
And 103, when the user trigger mark is detected, displaying a name panel, and displaying name candidates matched with the input information in the name panel.
In this embodiment, when the user trigger is detected, the execution body may display a name panel, and display name candidates matching with the input information in the name panel. Here, the name panel may be a candidate panel in the name mode, and the candidate panel may display a plurality of candidates. Here, the candidates presented in the name panel may be name candidates. For example, for the input information "jintaiheng," a person name panel may be presented with "Jin Taiheng," "Jin Taiheng," "Jin Taiheng," "Jin Taiheng," and so forth.
As an example, fig. 4 shows a schematic diagram of a presentation process of a name panel. As shown in fig. 4, after the user inputs the input information "jintaiheng", the identification "do you find a person's name? ". At this time, a name panel in which "Jin Taiheng", "Jin Taiheng", "Jin Taiheng", and the like name candidates are presented.
In this embodiment, the executing body may perform the selection of the name candidates in various manners. As one example, a list of names of persons may be preset. The person name list may include commonly used person names. At this time, the person name matched with the input information may be queried from the person name list, and the queried person name may be used as a person name candidate. As yet another example, a surname list, a first name list, and a full name list may be preset. The surname list may contain a full number of surnames. The list of names may contain commonly used names. The full name list may include a common full name. At this time, the full name matched with the input information may be queried from the full name list, and the queried full name may be used as a person name candidate. Meanwhile, the combination corresponding to the input information can be searched for as a name candidate by combining the surnames in the surname list and the first names in the first name list.
It should be noted that before the name candidates matching with the input information are presented in the name panel, the name candidates may be ranked. Therefore, the display of the name candidates can be performed in the arranged order. In practice, the ranking may be performed in order of the word frequency of the person name candidates from large to small, or in order of the acquisition sources of the person name candidates, or the like. Here, the sorting rule for the name candidates may be preset as required, which is not limited in the embodiment of the present application.
In some alternative implementations of the present embodiment, when the input information is a pinyin string (e.g., "lixiaoming", "liwei", etc.) including at least two syllables, the execution body may execute the following sub-steps S11 to S16.
And S11, acquiring a preset surname vocabulary, a preset first name vocabulary and a preset full name vocabulary.
Here, the surname vocabulary may include the full amount of surnames. Each surname may correspond to a pre-counted probability of last name formation. The probability of a given name for each surname may indicate the probability of that surname being the surname in the person's first name. The probability of surname formation may be based on statistics of surnames of a certain population (e.g., a certain city, a certain region, nationwide, etc.).
In addition, a large number of names may be included in the name vocabulary. Each name may correspond to a probability of being named. The probability of forming each name may indicate the probability of having that name as a name in the person's name. The probability of last names may also be based on statistics of the first names of a certain population (e.g., a certain city, a certain region, nationally, etc.).
In addition, a large number of full names may be contained in the full name vocabulary. The full name is a person's name formed by combining surname and first name.
And S12, combining surnames in the surname word list and the first names in the first name word list to obtain a first group of word sets, and combining surnames in the surname word list and at least one single word in a preset single word library to obtain a second group of word sets.
Here, each word in the first set of words may be formed by combining one surname in the surname vocabulary and one first name in the first name vocabulary. Each word in the second set of words may be formed by combining one surname in the surname vocabulary with at least one single word in the single word stock.
And S13, searching words matched with the input information from a user word stock and/or an address book.
Here, the user thesaurus may be a thesaurus constituted by history input words input by the user. The address book may be an address book in a device used by the user.
And S14, selecting words in at least one of the full name vocabulary, the first group of word sets and the second group of word sets from the searched words, and determining the selected words as candidates of the human names.
As an example, the input information is "lixiaoming". Words queried from the user lexicon and/or address book are "Li Xiaoming", "Li Xiaoming" and "Li Xiaoming".
For the word "Li Xiaoming", a full noun table, the first set of words, and the second set of words may be searched for the presence of "Li Xiaoming" respectively. If any of the full noun table, the first set of words, and the second set of words includes "Li Xiaoming", then "Li Xiaoming" may be used as a person name candidate. Similar steps may be performed for the target words "Li Xiaoming" and "Li Xiaoming". And will not be described in detail herein.
And a substep S15, wherein the first set of words and the words in the first set of words that match the input information are respectively determined as candidates of names of people.
Here, the user word stock and/or address book, the first set of words, and the second set of words may be used as name sources to find name candidates. It should be noted that, since the first word set is formed by combining surnames in the surname word list and the first names in the above-mentioned first name word list, the words in the first word set may include words in the full noun list. Thus, the person name candidates may no longer be looked up from the person name vocabulary here.
And a substep S16, displaying the determined name candidates in the name panel.
Here, the priority of the name source may be set in advance. For example, the first set of word sets and the second set of word sets may be sequentially set as a user word stock, an address book, and a first set of word sets in order of priority from high to low. At this time, name candidates can be displayed in the order of the high-to-low name sources. When two or more of the name candidates belong to the same name source, such as from a user lexicon, the ranking may be performed in order of input time from the last to the first. When two or more of the person name candidates belong to the same person name source, such as the first word set, the ranking may be performed based on the probability of the first name of the surname of the person name candidate and the probability of the first name of the surname (such as the way of calculating the product of the first name and the last name).
In some alternative implementations of the present embodiment, when the input information includes the on-screen content and the pinyin string of at least one syllable (e.g., "li xiaoming", "wang wei", etc.), the execution body may execute the following sub-steps S21 to S27.
In the substep S21, a preset name vocabulary is obtained.
And S22, summarizing the single characters in the preset single character library and the combination of at least two single characters in the single character library into a third word set.
In practice, since only two words, three words or four words are typically included in a person's name. Thus, the number of combinations of the individual words in the individual word stock may be set to not more than three words. At this time, the words in the third set of words may include the single words in the single word stock, a combination of any two single words in the single word stock, and a combination of any three single words in the single word stock.
In the substep S23, the non-screen pinyin string in the input information is used as the target pinyin string (e.g. the pinyin string "xiaoming" in the input information "li xiaoming"), and the word matching with the target pinyin string is searched from the user word stock and/or address book.
And a substep S24, selecting the word in at least one of the name vocabulary and the third group of word sets from the searched words as a target word.
And a substep S25, determining the word matching the target pinyin string in the name vocabulary and the third set of words as a target word.
And a substep S26, wherein the on-screen content in the input information is taken as a target surname, and the combination of the target surname and each target word is respectively determined as a person name candidate matched with the input information.
For example, the target words are "Xiaoming", "Xiaoming" and the like. Then the combined "Li Xiaoming", "Li Xiaoming", "Li Xiaoming" etc. may be used as person name candidates, respectively.
Substep S27, presenting the determined name candidates in the name panel.
In some optional implementations of this embodiment, after presenting the name candidates matched with the input information, when detecting that the user triggers any one of the name candidates in the name panel, the name candidates triggered by the user may be displayed on the screen, and the name mode may be exited. After the screen is performed on the person name candidates triggered by the user, the person name candidates on the screen can be added to a user word stock, or the word frequency of the person name candidates on the screen can be increased.
In some optional implementations of this embodiment, after presenting the name candidates matching the input information, the name mode may be exited when detecting that the user deletes all characters in the input information.
In some optional implementations of this embodiment, after presenting the name candidate item matched with the input information, when detecting that the user triggers the exit key in the name panel or triggers the return key of the device, the name mode may be switched to a normal mode, and the normal candidate item corresponding to the input information is presented.
According to the method provided by the embodiment of the application, when the input information meets the preset condition, the identifier for triggering the name mode is displayed, when the user triggering identifier is detected, the name panel is displayed, and the name candidate item matched with the input information is displayed in the name panel. Therefore, when the input information meets the preset condition, the user can trigger the name mode. Because the name mode is an input mode taking names as candidates, more names of candidates matched with the input information can be displayed in the name panel for selection by a user. Therefore, the input efficiency of the user to the name is improved.
With further reference to fig. 5, a flow 500 of yet another embodiment of an input method is shown. The process 500 of the input method includes the steps of:
step 501, input information is acquired.
Step 502, when the input information meets the preset condition, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidates.
Step 503, when the user trigger is detected, a name panel is displayed, and name candidates matched with the input information are displayed in the name panel.
In the steps 501-503 of the present embodiment, refer to the steps 101-103 of the corresponding embodiment in fig. 1, and are not described herein.
And 504, when the page turning times of the user on the name panel are detected to be larger than or equal to the preset times or the display quantity of name candidates is detected to be larger than or equal to the preset quantity, a single-word screening prompt is presented.
In this embodiment, when it is detected that the number of times of turning the page of the name panel by the user is greater than or equal to a preset number of times (for example, 5 times, 6 times, etc.), or the number of the name candidates displayed is greater than or equal to a preset number (for example, 33), a single word screening prompt is presented.
Here, the word screening prompt is used to prompt the user to trigger a word screening function for syllable-by-syllable matching of name candidates. For example, the word candidate hint may be a hint message "click this word lookup" or the like.
In practice, the name panel may include a single-word screening function key. When the user triggers the single word screening function key, the single word screening function can be triggered. The word candidate prompt may be directed to the word screening function key.
Step 505, when detecting that the user triggers the single word screening function, selecting a target syllable in the input information, and displaying single word candidates corresponding to the target syllable in the name panel.
In this embodiment, when the execution body detects that the user triggers the single word screening function, the execution body may select a target syllable (e.g., a first syllable in a pinyin string that is not displayed on the screen) in the input information, and display a single word candidate corresponding to the target syllable in the name panel.
As an example, as shown in fig. 6, fig. 6 shows a schematic diagram of a single word screening function triggering process. When the user clicks the word screening function key (such as the "all/word" key) pointed by the word screening prompt (such as "click this word search" in fig. 6), the word search can be performed on the current target syllable "jin" and word candidates such as "gold", "long" are presented.
In practice, when any one of the pinyin syllables, name candidates, return keys, delete keys, re-input keys, and single-word screening function keys is clicked, the single-word screening prompt can disappear. In addition, when the display time of the word screening prompt exceeds a preset duration (such as 3 seconds), the word screening prompt can also disappear, so that the influence on the user's selection of name candidates is avoided.
As can be seen from fig. 5, compared with the embodiment corresponding to fig. 1, the flow 500 of the input method in this embodiment involves an operation of presenting word candidates when it is detected that the user triggers the word screening function. Therefore, the input efficiency of the user on the personal names can be improved under the condition that the personal names required to be input by the user are not available in the personal name candidates or under the condition that the personal names required to be input by the user are behind a plurality of pages.
With further reference to fig. 7, as an implementation of the method shown in the above figures, the present application provides an embodiment of an input device, which corresponds to the method embodiment shown in fig. 1, and which is particularly applicable to various electronic apparatuses.
As shown in fig. 7, an input device 700 according to the present embodiment includes: an acquisition unit 701 configured to acquire input information; a first presentation unit 702 configured to present an identifier for triggering a name mode when the input information satisfies a preset condition, where the name mode is an input mode in which names are candidates; the second presentation unit 703 is configured to present a name panel when it is detected that the user triggers the above-mentioned identification, and present name candidates matching the above-mentioned input information in the above-mentioned name panel.
In some optional implementations of this embodiment, the 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.
In some optional implementations of this embodiment, the first presentation unit 702 is further configured to: when the input information is a pinyin string containing at least two syllables and the first screen candidate item or the candidate item expansion page contains at least one personal name matched with the input information, the identification for triggering the personal name mode is displayed.
In some optional implementations of this embodiment, the first presentation unit 702 is further configured to: when the input information comprises on-screen content and at least one syllable pinyin string, and the on-screen content is a surname, displaying an identifier for triggering a name mode.
In some optional implementations of this embodiment, the second presenting unit 703 is further configured to: when the input information is a pinyin string containing at least two syllables, the following steps are executed: acquiring a preset surname word list, a preset first name word list and a preset full name word list; combining surnames in the surname word list and the first names in the first name word list to obtain a first group of word sets, and combining surnames in the surname word list and at least one single word in a preset single word library to obtain a second group of word sets; searching words matched with the input information from a user word stock and/or an address book; selecting words in at least one of the full name vocabulary, the first group of word sets and the second group of word sets from the searched words, and determining the selected words as candidates of the human names; the first group of word sets and the words matched with the input information in the first group of word sets are respectively determined to be candidates of names; and displaying the determined name candidates in the name panel.
In some optional implementations of this embodiment, the second presenting unit 703 is further configured to: when the input information contains the on-screen content and the pinyin string of at least one syllable, the following steps are executed: acquiring a preset name vocabulary; summarizing 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; taking the non-screen pinyin string in the input information as a target pinyin string, and searching words matched with the target pinyin string from a user word stock and/or an address book; selecting a word located in at least one of the name vocabulary and the third group of word sets from the searched words, and taking the word as a target word; respectively determining the words matched with the target pinyin strings in the name vocabulary and the third group of word sets as target words; taking the on-screen content in the input information as a target surname, and respectively determining the combination of the target surname and each target word as a person's first name candidate matched with the input information; and displaying the determined name candidates in the name panel.
In some optional implementations of this embodiment, the apparatus further includes: a presentation unit configured to present a single word screening prompt when it is detected that the number of times of page turning of the name panel by the user is greater than or equal to a preset number, or the number of presentation of name candidates is greater than or equal to a preset number, where 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 according to syllables; and a selection unit configured to select a target syllable in the input information when the user triggering the single word screening function is detected, and to display a single word candidate item corresponding to the target syllable in the name panel.
In some optional implementations of this embodiment, the apparatus further includes a first exit unit configured to, when detecting that the user triggers any one of the name candidates in the name panel, screen the name candidates triggered by the user, exit the name mode, and add the screen-up name candidates to a user word stock, or increase a word frequency of the screen-up name candidates.
In some optional implementations of this embodiment, the apparatus further includes a second exit unit configured to exit the name mode when detecting that the user deletes all characters in the input information.
In some optional implementations of this embodiment, the apparatus further includes a switching unit configured to switch the name mode to a normal mode and display a normal candidate corresponding to the input information when detecting that the user triggers an exit key in the name panel or triggers a return key of the device.
According to the device provided by the embodiment of the application, when the input information meets the preset condition, the identifier for triggering the name mode is displayed, when the user triggering identifier is detected, the name panel is displayed, and the name candidate item matched with the input information is displayed in the name panel. Therefore, when the input information meets the preset condition, the user can trigger the name mode. Because the name mode is an input mode taking names as candidates, more names of candidates matched with the input information can be displayed in the name panel for selection by a user. Therefore, the input efficiency of the user to the name is improved.
Fig. 8 is a block diagram illustrating an apparatus 800 for input, which apparatus 800 may be a smart terminal or a server, according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 8, apparatus 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.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing element 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices 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 or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the 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 a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only a boundary of a touch or a sliding action but also a duration and a pressure related to the touch or the sliding operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the assemblies, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or one of the assemblies of the apparatus 800, the presence or absence of user contact with the apparatus 800, an orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 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 a light 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 acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 described above further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
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 elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 9 is a schematic diagram of a server in some embodiments of the application. The server 900 may vary considerably in configuration or performance and may include one or more central processing units (central processing units, CPU) 922 (e.g., one or more processors) and memory 932, one or more storage mediums 930 (e.g., one or more mass storage devices) storing applications 942 or data 944. Wherein the memory 932 and the storage medium 930 may be transitory or persistent. The program stored in the storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Still further, the central processor 922 may be arranged to communicate with a storage medium 930 to execute a series of instruction operations in the storage medium 930 on the server 900.
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/output interfaces 958, one or more keyboards 956, and/or one or more operating systems 941, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
A non-transitory computer readable medium, which when executed by a processor of an apparatus (smart terminal or server) causes the apparatus to perform an input method, the method comprising: acquiring input information; when the input information meets preset conditions, displaying an identifier for triggering a name mode, wherein the name mode is an input mode taking names as candidates; and when the user triggering the identification is detected, displaying a name panel, and displaying name candidates matched with the input information in the name panel.
In some optional implementations of this embodiment, the 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.
Optionally, when the input information meets a preset condition, displaying an identifier for triggering a name mode includes: and when the input information is a pinyin string containing at least two syllables and the first screen candidate item or the candidate item expansion page contains at least one personal name matched with the input information, displaying an identifier for triggering a personal name mode.
Optionally, when the input information meets a preset condition, displaying an identifier for triggering a name mode includes: and when the input information comprises on-screen content and a pinyin string of at least one syllable, and the on-screen content is a surname, displaying an identifier for triggering a name mode.
Optionally, the displaying, in the name panel, name candidates matched with the input information includes: when the input information is a pinyin string containing at least two syllables, the following steps are executed: acquiring a preset surname word list, a preset first name word list and a preset full name word list; combining surnames in the surname word list and the first names in the first name word list to obtain a first group of word sets, and combining surnames in the surname word list and at least one single word in a preset single word library to obtain a second group of word sets; searching words matched with the input information from a user word stock and/or an address book; selecting words in at least one of the full name vocabulary, the first group of word sets and the second group of word sets from the searched words, and determining the selected words as candidates of the human names; the first group of word sets and the words matched with the input information in the first group of word sets are respectively determined to be name candidates; the determined person name candidates are presented in the person name panel.
Optionally, the displaying, in the name panel, name candidates matched with the input information includes: when the input information contains on-screen content and a pinyin string of at least one syllable, the following steps are executed: acquiring a preset name vocabulary; summarizing 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; taking the non-screen pinyin string in the input information as a target pinyin string, and searching words matched with the target pinyin string from a user word stock and/or an address book; selecting words in at least one of the name vocabulary and the third group of word sets from the searched words, and taking the words as target words; respectively determining the words matched with the target pinyin strings in the name vocabulary and the third group of word sets as target words; taking the on-screen content in the input information as a target surname, and respectively determining the combination of the target surname and each target word as a person's first name candidate matched with the input information; the determined person name candidates are presented in the person name panel.
Optionally, the device is configured to execute the one or more programs by one or more processors including instructions for: when the page turning times of the user on the name panel are detected to be greater than or equal to preset times or the display quantity of name candidates is detected to be greater than or equal to preset quantity, a single word screening prompt is presented, wherein the single word screening prompt is used for prompting the user to trigger a single word screening function, and the single word screening function is used for matching the name candidates according to syllables; when the user is detected to trigger a single word screening function, selecting a target syllable in the input information, and displaying single word candidate items corresponding to the target syllable in the name panel.
Optionally, the device is configured to execute the one or more programs by one or more processors including instructions for: when any person name candidate item triggered by the user in the person name panel is detected, the person name candidate item triggered by the user is subjected to screen-up, the person name mode is exited, the screen-up person name candidate item is added to a user word stock, or the word frequency of the screen-up person name candidate item is increased; or when detecting that the user deletes all characters in the input information, exiting the name mode; or when the user is detected to trigger an exit key in the name panel or trigger a return key of the equipment, switching the name mode into a normal mode, and displaying normal candidates corresponding to the input information.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the application.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards of the related country and region, and provide corresponding operation entries for the user to select authorization or rejection.
The above description of the method and the device for displaying an interface provided by the present application has been provided in detail, and specific examples are applied to illustrate the principles and embodiments of the present application, and the above examples are only used to help understand the method and the core idea of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911077899.6A CN112783333B (en) | 2019-11-06 | 2019-11-06 | Input method, device and device for input |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911077899.6A CN112783333B (en) | 2019-11-06 | 2019-11-06 | Input method, device and device for input |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112783333A CN112783333A (en) | 2021-05-11 |
| CN112783333B true CN112783333B (en) | 2024-11-26 |
Family
ID=75747535
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911077899.6A Active CN112783333B (en) | 2019-11-06 | 2019-11-06 | Input method, device and device for input |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112783333B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101634927A (en) * | 2008-12-04 | 2010-01-27 | 北京搜狗科技发展有限公司 | Method and device for displaying candidate items in character input |
| CN102193646A (en) * | 2010-03-18 | 2011-09-21 | 腾讯科技(深圳)有限公司 | Method and device for generating personal name candidate words |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4227891B2 (en) * | 2003-12-22 | 2009-02-18 | Necディスプレイソリューションズ株式会社 | Document input system using keyboard and electronic device equipped with the system |
| CN1755669A (en) * | 2004-09-29 | 2006-04-05 | 松下电器产业株式会社 | Name input processing method and system |
| JP2009003904A (en) * | 2007-06-25 | 2009-01-08 | Tokyo It Consulting Ltd | Portable information terminal |
| CN101359254B (en) * | 2007-08-03 | 2011-06-15 | 北京搜狗科技发展有限公司 | Character input method and system for enhancing input efficiency of name entry |
| CN102193709B (en) * | 2010-03-01 | 2015-05-13 | 深圳市世纪光速信息技术有限公司 | Character input method and device |
| CN106227364A (en) * | 2016-07-28 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | For determining the method and apparatus representing order of name result |
| CN109814732A (en) * | 2018-12-29 | 2019-05-28 | 平安科技(深圳)有限公司 | Method and device for processing thesaurus, and method and device for processing a contact list |
-
2019
- 2019-11-06 CN CN201911077899.6A patent/CN112783333B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101634927A (en) * | 2008-12-04 | 2010-01-27 | 北京搜狗科技发展有限公司 | Method and device for displaying candidate items in character input |
| CN102193646A (en) * | 2010-03-18 | 2011-09-21 | 腾讯科技(深圳)有限公司 | Method and device for generating personal name candidate words |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112783333A (en) | 2021-05-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109144285B (en) | Input method and device | |
| CN113987128B (en) | Related Articles Search Method, Device, Electronic Device and Storage Medium | |
| CN110633017A (en) | Input method, input device and input device | |
| CN109783244B (en) | Processing method and device for processing | |
| CN108628461B (en) | Input method and device and method and device for updating word stock | |
| CN112486362A (en) | Font setting method and device for setting fonts | |
| CN112837668B (en) | Voice processing method and device for processing voice | |
| CN112783333B (en) | Input method, device and device for input | |
| CN110780749B (en) | Character string error correction method and device | |
| CN114510154B (en) | Input method, device and device for input | |
| CN108108356A (en) | A kind of character translation method, apparatus and equipment | |
| CN113918029B (en) | Input method and device | |
| CN112363631A (en) | Input method, input device and input device | |
| CN112528129B (en) | Language searching method and device for multilingual translation system | |
| CN113807082B (en) | Target user determining method and device for determining target user | |
| CN112905023B (en) | Input error correction method, device and device for input error correction | |
| CN113010768B (en) | Data processing method and device for data processing | |
| CN114967939B (en) | Input method, device and medium | |
| CN109933213A (en) | Input method and device | |
| CN113625885B (en) | Input method, device and device for inputting | |
| CN113703590A (en) | Input method, input device and input device | |
| CN113534972B (en) | A method and device for prompting an entry and a device for prompting an entry | |
| CN109558017B (en) | Input method and device and electronic equipment | |
| CN107015736B (en) | Key processing method and device for key processing | |
| CN115373523B (en) | Input method, device and device for input |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TG01 | Patent term adjustment | ||
| TG01 | Patent term adjustment |