CN112783333B - Input method, device and device for input - Google Patents

Input method, device and device for input Download PDF

Info

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
Application number
CN201911077899.6A
Other languages
Chinese (zh)
Other versions
CN112783333A (en
Inventor
裘雅婷
韩秦
李艳梅
翟国腾
王玉
李晓帆
刘丹丹
李春雨
杜玮
王逢宝
刘世军
左士刚
赵涵思
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201911077899.6A priority Critical patent/CN112783333B/en
Publication of CN112783333A publication Critical patent/CN112783333A/en
Application granted granted Critical
Publication of CN112783333B publication Critical patent/CN112783333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

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

Input method, device and device for inputting
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)

1.一种输入方法,其特征在于,所述方法包括: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.根据权利要求1所述的方法,其特征在于,所述输入信息为以下任意一项:通过字符输入方式输入的输入串、通过语音输入方式输入的语音。2. The method according to claim 1 is characterized in that 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. 3.根据权利要求1所述的方法,其特征在于,所述当所述输入信息满足预设条件时,展现用于触发人名模式的标识,包括:3. The method according to claim 1, characterized in that when the input information meets a preset condition, displaying an identifier for triggering a name mode comprises: 当所述输入信息为包含至少两个音节的拼音串,且首屏候选项或候选项展开首页中包含与所述输入信息匹配的至少一个人名时,展现用于触发人名模式的标识;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.根据权利要求1所述的方法,其特征在于,所述在所述人名面板中展现与所述输入信息匹配的人名候选项,包括:4. The method according to claim 1, wherein presenting candidate names matching the input information in the name panel comprises: 当所述输入信息包含已上屏内容和至少一个音节的拼音串时,执行如下步骤: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.根据权利要求1所述的方法,其特征在于,所述在所述人名面板中展现与所述输入信息匹配的人名候选项之后,所述方法还包括:5. The method according to claim 1, characterized in that after displaying the name candidate items matching the input information in the name panel, the method further comprises: 当检测到所述用户对所述人名面板的翻页次数大于或等于预设次数,或者,人名候选项的展现数量大于或等于预设数量时,呈现单字筛选提示,其中,所述单字筛选提示用于提示用户触发单字筛选功能,所述单字筛选功能用于按音节匹配人名候选项;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.根据权利要求1所述的方法,其特征在于,所述在所述人名面板中展现与所述输入信息匹配的人名候选项之后,所述方法还包括:6. The method according to claim 1, characterized in that after displaying the name candidate items matching the input information in the name panel, the method further comprises: 当检测到所述用户触发所述人名面板中的任一人名候选项时,对所述用户触发的人名候选项进行上屏,退出所述人名模式,并将上屏的人名候选项加入至用户词库,或者,增高上屏的人名候选项的词频;或者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.一种输入装置,其特征在于,所述装置包括: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.根据权利要求7所述的装置,其特征在于,所述输入信息为以下任意一项:通过字符输入方式输入的输入串、通过语音输入方式输入的语音。8. The device according to claim 7 is characterized in that 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. 9.根据权利要求7所述的装置,其特征在于,所述第一展现单元,进一步被配置成:9. The device according to claim 7, wherein 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.根据权利要求7所述的装置,其特征在于,所述第二展现单元,进一步被配置成:10. The device according to claim 7, wherein 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 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.根据权利要求7所述的装置,其特征在于,所述装置还包括:11. The device according to claim 7, characterized in that the device further comprises: 呈现单元,被配置成当检测到所述用户对所述人名面板的翻页次数大于或等于预设次数,或者,人名候选项的展现数量大于或等于预设数量时,呈现单字筛选提示,其中,所述单字筛选提示用于提示用户触发单字筛选功能,所述单字筛选功能用于按音节匹配人名候选项;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.根据权利要求7所述的装置,其特征在于,所述装置还包括:12. The device according to claim 7, characterized in that the device further comprises: 第一退出单元,被配置成当检测到所述用户触发所述人名面板中的任一人名候选项时,对所述用户触发的人名候选项进行上屏,退出所述人名模式,并将上屏的人名候选项加入至用户词库,或者,增高上屏的人名候选项的词频;或者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.一种用于输入的装置,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,所述程序被一个或者一个以上处理器执行时,实现权利要求1-6中任一所述方法的步骤。13. A device for input, characterized in that it 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 any method described in claims 1-6 are implemented. 14.一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6任一所述的方法。14. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
CN201911077899.6A 2019-11-06 2019-11-06 Input method, device and device for input Active CN112783333B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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