Input method, device and device for input
Through the input interface design of the initial consonant region and final consonant region, users can complete the Chinese character pinyin input through a small number of keys, solving the problems of low input efficiency and inaccurate final consonant operation in the existing technology, and achieving a more efficient and accurate input experience.
Patent Information
- Application Number
- CN202010289247.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-09
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2040-06-24
AI Technical Summary
During the keyboard input process, the user needs to press multiple keys one by one, resulting in low input efficiency and inaccurate final operation.
The input interface design of the initial consonant area and final vowel area is adopted. The user first triggers the initial consonant and then triggers the final to reduce the number of key presses, and improves the accuracy of the final operation through graying processing.
Improve input efficiency and intuitiveness, reduce user misoperation of the final vowel region, and improve the accuracy of the final vowel operation.
Smart Images

Figure CN113515198B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of input technology, and in particular to an input method, an input device and a device for input. Background Art
[0002] Input method refers to the encoding method used to input various characters into devices such as computers. If users want to input characters into the device, they need to use input method.
[0003] Taking Chinese and Japanese character input as an example, the input method encodes each Chinese character using the keys on the keyboard according to a certain method. For example, the pinyin input method usually encodes Chinese characters according to the pronunciation characteristics of the Chinese characters. For users, an input string composed of several keys (such as a pinyin string) can be used to input Chinese characters.
[0004] At present, when using a keyboard for input, users usually need to press the keys corresponding to the pinyin string one by one. Taking the pinyin string "chan" as an example, the user needs to press the four keys "c", "h", "a", and "n" in sequence to obtain the Chinese character corresponding to "chan". A large number of keystrokes results in low input efficiency for users. Summary of the invention
[0005] The embodiments of the present invention provide an input method, an apparatus and a device for input, which can improve input efficiency and input intuitiveness, and can improve the accuracy of vowel operations.
[0006] In order to solve the above problem, an embodiment of the present invention discloses an input method, including:
[0007] An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to a user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0008] On the other hand, an embodiment of the present invention discloses an input device, comprising:
[0009] An interface display module is used to display an input interface; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to the user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0010] In another aspect, an embodiment of the present invention discloses a device for input, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing the following operations:
[0011] An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to a user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0012] On the other hand, an embodiment of the present invention discloses a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, causes a device to perform one or more of the input methods described above.
[0013] The embodiments of the present invention include the following advantages:
[0014] The embodiment of the present invention sets an initial consonant area and a final consonant area in the input interface. Since the initial consonant plus the final consonant method can uniquely determine the pronunciation of a word, therefore, by using the method of the embodiment of the present invention, first triggering an initial consonant in the initial consonant area and then triggering a final consonant in the final consonant area, the pinyin input of the word can be completed. Since the number of keystrokes can be reduced, the input efficiency and input intuitiveness can be improved.
[0015] Moreover, the embodiment of the present invention divides the finals in the final area into first finals and second finals according to the user's input status, wherein the second final cannot respond to the user's trigger operation, thereby reducing the user's erroneous operation on the second final and improving the accuracy of the final operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0017] Figure 1 is a schematic diagram of an input interface of an embodiment of the present invention;
[0018] Figure 2 is a schematic diagram of an input interface of an embodiment of the present invention;
[0019] Figure 3 is a flow chart of steps of an input method embodiment 1 of the present invention;
[0020] Figure 4 is a schematic diagram of an input interface of an embodiment of the present invention;
[0021] Figure 5 is a flow chart of steps of Embodiment 2 of an input method of the present invention;
[0022] Figure 6 is a flow chart of steps of Embodiment 2 of an input method of the present invention;
[0023] Figure 7 is a structural block diagram of an input device embodiment of the present invention;
[0024] Figure 8 A block diagram of a device 800 for input according to the present invention; and
[0025] Fig. 9 It is a schematic diagram of the structure of the server in some embodiments of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] An embodiment of the present invention provides an input scheme, which may include: displaying an input interface; the above-mentioned input interface specifically includes: an initial consonant area and a final consonant area; the state of the initial consonants in the above-mentioned initial consonant area can be a response state; the finals in the above-mentioned final consonant area can include: a first final and a second final, the state of the above-mentioned first final can be a response state, and the state of the above-mentioned second final can be a non-response state; the above-mentioned response state represents the ability to respond to the user's trigger operation, and the above-mentioned non-response state represents the inability to respond to the user's trigger operation; the above-mentioned first final and the second final can be obtained based on the user's input state.
[0028] The embodiment of the present invention sets an initial consonant area and a final consonant area in the input interface. Since the initial consonant plus the final consonant method can uniquely determine the pronunciation of a word, therefore, by using the method of the embodiment of the present invention, first triggering an initial consonant in the initial consonant area and then triggering a final consonant in the final consonant area, the pinyin input of the word can be completed. Since the number of keystrokes can be reduced, the input efficiency and input intuitiveness can be improved.
[0029] Moreover, the embodiment of the present invention divides the finals in the final area into first finals and second finals according to the user's input status, wherein the second finals cannot respond to the user's trigger operation. In other words, even if the user's operation on the second final is received, it will not respond to the corresponding operation; therefore, it can reduce the user's erroneous operation on the second final and improve the accuracy of the final operation.
[0030] In the embodiment of the present invention, the second final can be grayed out. The graying out makes the appearance of the second final appear gray, while the appearance of the initial consonant and the first final can appear in a first preset color such as black. Therefore, the different appearances of the second final and the first final can be used to prompt the user that the second final is inoperable and unresponsive, thereby improving the accuracy of final operation.
[0031] The input interface of the embodiment of the present invention can be applied to a PC (personal computer) or a mobile terminal. When applied to a PC, the embodiment of the present invention can help users complete text input using a mouse without using a keyboard, and can be suitable for special users such as disabled users and elderly users.
[0032] In the embodiment of the present invention, the user can input text through a coded string, and the input string can refer to the coded string input by the user. In the field of input methods, for example, for input method programs in Chinese, Japanese, Korean, or other languages, the input string input by the user can usually be converted into candidate items in the corresponding language. The following mainly uses Chinese as an example for explanation, and other languages such as Japanese and Korean can be referred to.
[0033] Taking Chinese input as an example, the types of encoded strings can include: pinyin strings. The pinyin strings can be obtained by combining initials or finals.
[0034] In the embodiments of the present invention, the candidates can be used to represent one or more characters provided by the input method program to be selected by the user. The candidates can be characters in languages such as Chinese and Japanese.
[0035] The embodiments of the present invention can support single-character input or multi-character input scenarios. In the single-character input scenario, one character is input at a time. In the multi-character input scenario, multiple characters are input at a time. The embodiments of the present invention can determine whether to input a single character or multiple characters according to the actual application requirements. Whether it is a single-character input scenario or a multi-character input scenario, the embodiments of the present invention can provide corresponding candidates for the complete pinyin string input by the user. For example, in one input process, for the complete pinyin string "yi", candidates such as "以", "已", "一" can be provided first; then for the complete pinyin string "yige", candidates such as "一个", "一格", "一哥" can be provided. The complete pinyin string can correspond to the complete syllable, and it can include: the initial and final in the complete syllable.
[0036] Method Embodiment 1
[0037] In Method Embodiment 1, the input method of the embodiments of the present invention can include:
[0038] Display an input interface; the input interface includes: an initial area and a final area; the status of the initials in the initial area is the responsive state; the finals in the final area include: a first final and a second final, the status of the first final is the responsive state, and the status of the second final is the non-responsive state; the responsive state indicates that it can respond to the user's trigger operation, and the non-responsive state indicates that it cannot respond to the user's trigger operation; the status of the first final and the second final is obtained according to the user's input status.
[0039] In Method Embodiment 1, the input status is the first input status, and the first input status specifically includes: no input content, or the input content corresponds to a complete pinyin string, and the first final specifically includes: the finals corresponding to Chinese characters without initials.
[0040] No input content can mean that the user has not selected an initial or a final, that is, the input content is empty. The input content corresponding to the complete pinyin string can represent that the input content includes the complete pinyin string and does not include an incomplete pinyin string. For example, the input content is "yi", "feng" or "yige", etc.
[0041] In the case where there is no input content or the input content corresponds to a complete pinyin string, the user may intend to input a new syllable, and the first letter of the new syllable may be an initial consonant, or the first letter of the new syllable may be a final corresponding to a Chinese character without an initial consonant. Therefore, the embodiment of the present invention can obtain a first final based on the final corresponding to the Chinese character without an initial consonant, and use the finals other than the first final as the second final.
[0042] Reference Figure 1 , showing a schematic diagram of an input interface of an embodiment of the present invention, the input interface can correspond to an input state where there is no input content or the input content corresponds to a complete pinyin string, which can specifically include: an initial consonant area 101 and a final consonant area 102.
[0043] Among them, the initial consonant area 101 may include the following initial consonants: "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "w", "x", "y", "z", "ch", "sh", "zh".
[0044] Understandably, Figure 1 The arrangement of the initial consonants in the initial consonant area 101 is only an example, and the embodiment of the present invention does not limit the specific arrangement of the initial consonants in the initial consonant area 101.
[0045] In addition, the preset characters “,”, “,” between m and n in the initial consonant area 101 can be used to trigger the display of commonly used characters.
[0046] In an optional embodiment of the present invention, in response to Figure 1 The trigger operation of the preset character "," jumps to Figure 6 The input interface shown. Figure 6 The input interface shown may include: an initial consonant area 601 , a final consonant area 602 and a commonly used character area 603 , wherein the commonly used character area 603 may be displayed in response to a triggering operation of a preset character 611 in the initial consonant area 601 .
[0047] It can be understood that the preset character “,” is not set in the initial consonant area 101, and the embodiment of the present invention does not limit whether the input interface includes the preset character.
[0048] The final area 102 may include: a first final in a response state and a second final in a non-response state.
[0049] Among them, the first finals are displayed normally, including: "a", "ai", "an", "ang", "ao", "o", "ou", "e", "ei", "en", "eng", "er", etc.
[0050] The second finals are displayed in gray, including: "ong", "i", "ia", "ian", "iang", "iao", "ie", "in", "ing", "iong", "iu", "u", "ua", "uai", "uan", "uang", "ue", "ui", "un", "uo", "ü", "üe", etc.
[0051] Understandably, Figure 1 In the embodiment, the initial consonant area 101 and the final consonant area 102 are arranged on the left and right, which can meet the characteristic that the initial consonant is before the final consonant in the syllable. It can be understood that those skilled in the art can also arrange the initial consonant area 101 and the final consonant area 102 up and down according to actual application requirements, and the embodiment of the present invention does not limit the specific position relationship between the initial consonant area 101 and the final consonant area 102.
[0052] Method Example 2
[0053] In method embodiment 2, the input method of the embodiment of the present invention may include:
[0054] An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to a user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0055] In the second method embodiment, the input state may be a second input state, and the second input state may include: the input content includes an incomplete pinyin string, and the first finals include: finals that match the initial consonants in the incomplete pinyin string.
[0056] When the input content includes an incomplete pinyin string, the user may intend to supplement the incomplete pinyin string, and the initial consonant in the syllable comes before the final vowel. Therefore, the embodiment of the present invention can determine the final vowel that matches the initial consonant in the incomplete pinyin string based on the syllable rule.
[0057] For example, the finals that match the initial consonant "zh" may include: "a", "e", "i", "u", etc. For another example, the finals that match the initial consonant "f" may include: "a", "an", "ang", "o", "ou", "ei", "en", "eng", "iao", "u", etc.
[0058] Reference Figure 2, showing a schematic diagram of an input interface of an embodiment of the present invention, the input interface can correspond to the input state where the input content includes an incomplete pinyin string, which can specifically include: an initial consonant area 201 and a final consonant area 202.
[0059] The initial consonant "f" in the incomplete pinyin string can be marked and displayed in the initial consonant area 201 to prompt the user that the initial consonant "f" has been input. The marking display method may include: bolding the font, increasing the font size, underlining, tilting, three-dimensionalization, changing the font color, or changing the background color, etc., which can improve the recognition of the responded initial consonant compared to the initial consonant in normal font or normal color.
[0060] The first finals matching the initial consonant "f" in the incomplete pinyin string can be displayed normally in the final area 202, and the first finals can include: "a", "an", "ang", "o", "ou", "ei", "en", "eng", "iao", "u", etc.
[0061] In the final area 202 , the second finals except the first finals may be displayed in gray to avoid user's misoperation.
[0062] In the embodiment of the present invention, optionally, the first final and the second final may be updated in response to a trigger operation on the initial consonant or the final.
[0063] According to an embodiment, in response to the triggering operation on the initial consonant, the first final may be updated to a final that matches the second input state. Specifically, the first final may be updated to a final that matches the triggered initial consonant.
[0064] According to another embodiment, in response to the trigger operation on the final, it can be determined whether the trigger operation of the final can be responded to, and if so, the first final is updated to a final matching the first input state. Specifically, the first final is updated to: a final corresponding to a Chinese character without initial consonant.
[0065] If the trigger operation of the vowel cannot be responded to, a corresponding prompt message can be output to prompt the user that an erroneous operation has occurred.
[0066] In an optional embodiment of the present invention, the error correction candidates corresponding to the input content may be displayed based on the context and / or edit distance corresponding to the user's input content.
[0067] In the embodiment of the present invention, the edit distance can be used to represent the minimum number of editing operations required to convert two code strings (syllables) from one to another. The above editing operations can specifically include replacing one character with another character, inserting a character, and deleting a character. For example, the edit distance between "fang" and "feng" is 1.
[0068] The embodiment of the present invention can determine the corrected syllable corresponding to the input syllable based on the editing distance that does not exceed the distance threshold, and determine the combination information between the corrected candidate corresponding to the corrected syllable and the context corresponding to the input content, and provide the above-mentioned corrected candidate when the combination information meets the preset conditions.
[0069] Determine the combination information between the error correction candidate found and the context and / or the following of the term;
[0070] The embodiment of the present invention may use binary or higher-binary relational data to store the combination information between the at least two words, and use the binary or higher-binary relational data to analyze and obtain the combination information between the error correction candidate found and the context;
[0071] A binary relationship, also known as a 2-gram, can be used to represent the probability of two elements appearing one after another. In the field of input methods, the elements here can be phonemes, syllables, stroke strings, letters or words, etc. In the embodiment of the present invention, the binary relationship can specifically include a binary relationship of words, a binary relationship of syllables, and a binary relationship of phonemes and letters. A relationship of more than two can be used to represent the probability of more than two elements appearing one after another.
[0072] An example of a preset condition may be: a connection parameter between the error correction candidate and the context is greater than a parameter threshold, where the parameter threshold may be determined by a person skilled in the art based on actual conditions, such as 0.8 or the like.
[0073] For example, if the input content is "feng" and the context is "I want to have one", the correction syllable "fang" and the correction candidate "fang" can be determined based on the edit distance. Since the connection parameter between "one" and "fang" is greater than the parameter threshold, "fang" can be used as a correction candidate.
[0074] In another optional embodiment of the present invention, the user can be supported to edit the input initial consonants and / or finals. Specifically, the input initial consonants and / or finals can be edited in response to the user's backspace operation, delete operation, or cursor movement operation. For example, if the input content is "feng", "eng" can be deleted in response to the user's backspace operation or delete operation.
[0075] Method Example 3
[0076] Reference Figure 3 , shows a flow chart of the steps of Embodiment 3 of an input method of the present invention, which may specifically include the following steps:
[0077] Step 301, displaying an input interface; the input interface may include: an initial consonant area, a final consonant area, and tone options;
[0078] The state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area may include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state indicates that the user's trigger operation can be responded to, and the non-response state indicates that the user's trigger operation cannot be responded to; the state of the first final and the second final may be obtained according to the user's input state;
[0079] Step 302: Screen candidate items corresponding to the user's input content according to the tone option selected by the user;
[0080] Step 303: Display the screened candidates.
[0081] In the embodiment of the present invention, after the user inputs a complete pinyin string, the embodiment of the present invention can provide corresponding candidate items for the complete pinyin string. For example, for the complete pinyin string "yi", "yi", "yi" waiting options are provided.
[0082] Due to the characteristics of Chinese characters, the mapping relationship between complete pinyin strings and Chinese characters is not unique, and most encoding methods cannot achieve a one-to-one mapping of complete pinyin strings to Chinese characters. All words corresponding to a complete pinyin string can be called candidates, and a complete pinyin string often corresponds to many candidates. For example, the complete pinyin string "yi" corresponds to more than three hundred candidates. In this way, it is sometimes very troublesome for users to find the candidate they want among the many candidates. They may need to turn the pages carefully many times to find it, which affects the user's input efficiency.
[0083] In order to improve the efficiency of the user in selecting candidate items, the embodiment of the present invention provides a tone option, and screens the candidate items corresponding to the user's input content according to the tone option selected by the user, thereby improving the efficiency of the user in selecting candidate items.
[0084] Reference Figure 4 , shows a schematic diagram of an input interface of an embodiment of the present invention, which can be used to provide candidate items when a complete pinyin string is input. The input interface can specifically include: an initial consonant area 401, a final consonant area 402, a pinyin string area 403, a candidate area 404, a tone area 405 and a page turning area 406.
[0085] Among them, the pinyin string area 403 can be used to display the pinyin string input by the user, such as "feng".
[0086] The candidate area 404 may be used to display candidate items corresponding to the complete pinyin string.
[0087] The tone area 405 may be used to provide tone options such as first tone, second tone, third tone, fourth tone, and level tone, so as to filter candidate items according to the tone option selected by the user.
[0088] The page turning area 406 provides an up-turn option ▲ and a down-turn option ▼ for turning pages of candidate items.
[0089] Understandably, Figure 4 The position of the middle tone area 405 in the input interface is just an example. In fact, the tone area 405 can be located at other positions, such as the tone area 405 is located above the pinyin string area 403, and so on.
[0090] In summary, the input method of the embodiment of the present invention provides tone options, and screens candidate items corresponding to the user's input content according to the tone options selected by the user, which can improve the efficiency of the user in selecting candidate items.
[0091] Method Example 4
[0092] Reference Figure 5 , shows a flow chart of the steps of a fourth embodiment of an input method of the present invention, which may specifically include the following steps:
[0093] Step 501, displaying an input interface; the input interface may include: an initial consonant area and a final consonant area;
[0094] The state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area may include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state indicates that the user's trigger operation can be responded to, and the non-response state indicates that the user's trigger operation cannot be responded to; the state of the first final and the second final may be obtained according to the user's input state;
[0095] Step 502: In response to the operation of the mouse wheel, page turning is performed on candidate items corresponding to the user's input content.
[0096] In the embodiment of the present invention, in response to the operation of the mouse wheel, the candidate items corresponding to the user's input content are turned over. Since the operation difficulty of the mouse wheel is lower than the operation difficulty of the mouse button, the convenience of the page turning process can be improved, which is convenient for special users such as disabled users and elderly users to operate during the input process.
[0097] It should be noted that, for the method embodiments, for the sake of simplicity of description, they are all described as a series of motion combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described sequence of actions, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the motions involved are not necessarily required by the embodiments of the present invention.
[0098] Device Embodiment
[0099] An embodiment of the present invention provides an input device embodiment, which may specifically include:
[0100] An interface display module is used to display an input interface; the above-mentioned input interface may include: an initial consonant area and a final consonant area; the state of the initial consonants in the above-mentioned initial consonant area is a response state; the final consonants in the above-mentioned final consonant area may include: a first final and a second final, the state of the above-mentioned first final is a response state, and the state of the above-mentioned second final is a non-response state; the above-mentioned response state represents the ability to respond to the user's trigger operation, and the above-mentioned non-response state represents the inability to respond to the user's trigger operation; the states of the above-mentioned first final and the above-mentioned second final are obtained according to the user's input state.
[0101] Optionally, the input status may include: no input content, or the input content corresponds to a complete pinyin string, and the first final may include: a final corresponding to a Chinese character without a consonant.
[0102] Optionally, the input state may include: the input content may include an incomplete pinyin string, and the first final may include: a final that matches the initial consonant in the incomplete pinyin string.
[0103] Optionally, the above device may further include:
[0104] The updating module is used for updating the first final and the second final in response to a triggering operation on the initial consonant or the final.
[0105] Optionally, the above device may further include:
[0106] The graying processing module is used to perform graying processing on the second vowel.
[0107] Optionally, the above input interface may further include: tone options;
[0108] The above device may also include:
[0109] A screening module, used to screen candidate items corresponding to the user's input content according to the tone option selected by the user;
[0110] The candidate display module is used to display the filtered candidate items.
[0111] Optionally, the above device may further include:
[0112] The page turning module is used to turn pages of candidate items corresponding to the user's input content in response to the operation of the mouse wheel.
[0113] Optionally, the above device may further include:
[0114] The error correction providing module is used to display error correction candidates corresponding to the input content according to the context and / or edit distance corresponding to the user's input content.
[0115] Reference Figure 7 , shows a structural block diagram of an input device embodiment of an embodiment of the present invention, which may specifically include:
[0116] The interface display module 701 is used to display the input interface; the input interface may include: an initial consonant area and a final consonant area; the state of the initial consonant in the initial consonant area is a response state; the final consonant in the final consonant area may include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state indicates that the user's trigger operation can be responded to, and the non-response state indicates that the user's trigger operation cannot be responded to; the state of the first final and the second final is obtained according to the user's input state; and
[0117] The graying processing module 702 is used to perform graying processing on the second final.
[0118] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0119] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0120] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0121] An embodiment of the present invention provides a device for input, including a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: displaying an input interface; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state indicates that it can respond to a user's trigger operation, and the non-response state indicates that it cannot respond to the user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0122] Figure 8 8 is a block diagram of an input device 800 according to an exemplary embodiment. For example, the device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0123] Reference Figure 8 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0124] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0125] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0126] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0127] 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 the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0128] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice input mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0129] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0130] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0131] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID, Radio Frequency Identification) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0132] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.
[0133] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by the processor 820 of the device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0134] Fig. 91 is a schematic diagram of the structure of the server in some embodiments of the present invention. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and memory 1932, and one or more storage media 1930 (for example, one or more mass storage devices) storing application programs 1942 or data 1944. Among them, the memory 1932 and the storage medium 1930 can be short-term storage or permanent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1922 can be configured to communicate with the storage medium 1930 and execute a series of instruction operations in the storage medium 1930 on the server 1900.
[0135] The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and / or, one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0136] A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device (server or terminal), enables the device to perform Figure 2 or Figure 3 or Figure 4 or Figure 5 Input method shown.
[0137] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device (server or terminal), the device is able to execute an input method, the method comprising: displaying an input interface; the input interface comprising: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area comprise: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to the user's trigger operation; the states of the first final and the second final are obtained according to the user's input state.
[0138] The embodiment of the present invention discloses A1, an input method, the method comprising:
[0139] An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to a user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0140] A2. According to the method described in A1, the input status includes: no input content, or the input content corresponds to a complete pinyin string, and the first finals include: finals corresponding to Chinese characters without initial consonants.
[0141] A3. According to the method described in A1, the input state includes: the input content includes an incomplete pinyin string, and the first finals include: finals that match the initial consonants in the incomplete pinyin string.
[0142] A4. The method according to A1, further comprising:
[0143] In response to a trigger operation on the initial consonant or the final, the first final and the second final are updated.
[0144] A5. The method according to any one of A1 to A4, further comprising:
[0145] The second final is grayed out.
[0146] A6. According to any one of the methods described in A1 to A4, the input interface further includes: a tone option;
[0147] The method further comprises:
[0148] According to the tone option selected by the user, candidate items corresponding to the user's input content are screened;
[0149] Display the filtered candidates.
[0150] A7. The method according to any one of A1 to A4, further comprising:
[0151] In response to the operation of the mouse wheel, page turning is performed on candidate items corresponding to the user's input content.
[0152] A8. The method according to any one of A1 to A4, further comprising:
[0153] Based on the context and / or edit distance corresponding to the user's input content, error correction candidates corresponding to the input content are displayed.
[0154] The embodiment of the present invention discloses B9, an input device, comprising:
[0155] An interface display module is used to display an input interface; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to the user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0156] B10. According to the device described in B9, the input status includes: no input content, or the input content corresponds to a complete pinyin string, and the first finals include: finals corresponding to Chinese characters without initial consonants.
[0157] B11. According to the device described in B9, the input state includes: the input content includes an incomplete pinyin string, and the first finals include: finals that match the initial consonants in the incomplete pinyin string.
[0158] B12. The device according to B9, further comprising:
[0159] An updating module is used to update the first final and the second final in response to a triggering operation on the initial consonant or the final.
[0160] B13. The device according to any one of B9 to B12, further comprising:
[0161] The graying processing module is used to perform graying processing on the second final.
[0162] B14. According to any one of B9 to B12, the input interface further comprises: a tone option;
[0163] The device also includes:
[0164] A screening module, used to screen candidate items corresponding to the user's input content according to the tone option selected by the user;
[0165] The candidate display module is used to display the filtered candidate items.
[0166] B15. The device according to any one of B9 to B12, further comprising:
[0167] The page turning module is used to turn pages of candidate items corresponding to the user's input content in response to the operation of the mouse wheel.
[0168] B16. The device according to any one of B9 to B12, further comprising:
[0169] The error correction providing module is used to display error correction candidates corresponding to the input content according to the context and / or edit distance corresponding to the user's input content.
[0170] The embodiment of the present invention discloses C17, a device for input, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations:
[0171] An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the finals in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to a user's trigger operation, and the non-response state represents the inability to respond to a user's trigger operation; the states of the first final and the second final are obtained based on the user's input state.
[0172] C18. According to the device described in C17, the input status includes: no input content, or the input content corresponds to a complete pinyin string, and the first finals include: finals corresponding to Chinese characters without initial consonants.
[0173] C19. According to the device described in C17, the input state includes: the input content includes an incomplete pinyin string, and the first finals include: finals that match the initial consonants in the incomplete pinyin string.
[0174] C20. The device according to C17, wherein the device is further configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations:
[0175] In response to a trigger operation on the initial consonant or the final, the first final and the second final are updated.
[0176] C21. The device according to any one of C17 to C20, wherein the device is further configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations:
[0177] The second final is grayed out.
[0178] C22. According to any one of C17 to C20, the input interface further comprises: a tone option;
[0179] The device is also configured to execute, by one or more processors, the one or more programs including instructions for:
[0180] According to the tone option selected by the user, candidate items corresponding to the user's input content are screened;
[0181] Display the filtered candidates.
[0182] C23. The device according to any one of C17 to C20, wherein the device is further configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations:
[0183] In response to the operation of the mouse wheel, page turning is performed on candidate items corresponding to the user's input content.
[0184] C24. The device according to any one of C17 to C20, wherein the device is further configured to execute, by one or more processors, the one or more programs including instructions for performing the following operations:
[0185] Based on the context and / or edit distance corresponding to the user's input content, error correction candidates corresponding to the input content are displayed.
[0186] An embodiment of the present invention discloses D25, a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, enables a device to execute an input method as described in one or more of A1 to A8.
[0187] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0188] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0189] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0190] The above is a detailed introduction to an input method, an input device and a device for input provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. An input method, characterized in that: The method comprises: An input interface is displayed; the input interface includes: an initial consonant area and a final consonant area; the state of the initial consonant in the initial consonant area is a response state; the final consonants in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state indicates that the user's trigger operation can be responded to, and the non-response state indicates that the user's trigger operation cannot be responded to; the states of the first final and the second final are obtained according to the user's input state; Determine the error correction syllable according to the edit distance corresponding to the user input content; the edit distance is used to represent the minimum number of edit operations required to convert one code string into another code string between two code strings; Determine, according to the error correction syllable, combination information between the error correction candidate and the context corresponding to the user's input content, wherein the combination information includes a connection parameter; When the combination information satisfies a preset condition, the error correction candidate is displayed.
2. The method according to claim 1, characterized in that The input status includes: no input content, or the input content corresponds to a complete pinyin string, and the first finals include: finals corresponding to Chinese characters without initial consonants.
3. The method according to claim 1, characterized in that The input state includes: the input content includes an incomplete pinyin string, and the first finals include: finals that match the initial consonants in the incomplete pinyin string.
4. The method according to claim 1, characterized in that: The method further comprises: In response to a trigger operation on the initial consonant or the final consonant, the first final consonant and the second final consonant are updated.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The second final is grayed out.
6. The method according to any one of claims 1 to 4, characterized in that: The input interface also includes: tone options; The method further comprises: According to the tone option selected by the user, candidate items corresponding to the user's input content are screened; Display the filtered candidates.
7. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the operation of the mouse wheel, page turning is performed on candidate items corresponding to the user's input content.
8. An input device, characterized in that: include: Interface display module, used to display the input interface; The input interface includes: an initial consonant area and a final consonant area; the state of the initial consonants in the initial consonant area is a response state; the final consonants in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents the ability to respond to the user's trigger operation, and the non-response state represents the inability to respond to the user's trigger operation; the state of the first final and the second final is obtained according to the user's input state; the error correction syllable is determined according to the edit distance corresponding to the user's input content; the edit distance is used to indicate the minimum number of edit operations required to convert one code string into another between two code strings; the combination information between the error correction candidate and the context corresponding to the user's input content is determined according to the error correction syllable, and the combination information includes a connection parameter; the error correction candidate is displayed when the combination information meets a preset condition.
9. A device for input, characterized in that The system comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include instructions for performing the following operations: Display the input interface; The input interface includes: an initial consonant area and a final consonant area; the state of the initial consonant in the initial consonant area is a response state; the final consonants in the final consonant area include: a first final and a second final, the state of the first final is a response state, and the state of the second final is a non-response state; the response state represents that it can respond to the user's trigger operation, and the non-response state represents that it cannot respond to the user's trigger operation; the state of the first final and the second final is obtained according to the user's input state; Determine the error correction syllable according to the edit distance corresponding to the user input content; the edit distance is used to represent the minimum number of edit operations required to convert one code string into another code string between two code strings; Determine, according to the error correction syllable, combination information between the error correction candidate and the context corresponding to the user's input content, wherein the combination information includes a connection parameter; When the combination information satisfies a preset condition, the error correction candidate is displayed.
10. A machine-readable medium having instructions stored thereon, which, when executed by one or more processors, cause an apparatus to perform an input method as claimed in one or more of claims 1 to 7.
