virtual keyboard and input method based on virtual keyboard

文档序号:1719599 发布日期:2019-12-17 浏览:9次 中文

阅读说明:本技术 一种虚拟键盘和基于虚拟键盘的输入方法 (virtual keyboard and input method based on virtual keyboard ) 是由 林长青 刘文文 于 2018-06-11 设计创作,主要内容包括:本申请实施例公开了一种虚拟键盘,包括三级子键盘,第一级子键盘用于展示声母对应的虚拟按键,第二级子键盘用于展示介母与声调对应的虚拟按键,第三级子键盘包括多种预定韵母组合方式的子键盘。通过触发第一级子键盘中的虚拟按键展示第二级子键盘,通过触发第二级子键盘中的虚拟按键展示第三级子键盘中的一个子键盘。第一级子键盘中虚拟按键是根据与韵母的结合规则相似度符合第一预设条件的声母所组成声母集合确定的,第二级子键盘是根据介母与声调构建的,且与第一级子键盘中虚拟按键的数量相同,第三级子键盘包括多种预定韵母组合方式的子键盘,任一子键盘的预定韵母组合方式是根据之前获取的声母集合以及介母确定的,提高用户输入效率和体验。(The embodiment of the application discloses a virtual keyboard, which comprises three levels of sub-keyboards, wherein a first level of sub-keyboard is used for displaying virtual keys corresponding to initials, a second level of sub-keyboard is used for displaying virtual keys corresponding to intermediaries and tones, and a third level of sub-keyboard comprises sub-keyboards in various preset final combination modes. And the second-level sub-keyboard is displayed by triggering the virtual keys in the first-level sub-keyboard, and one sub-keyboard in the third-level sub-keyboard is displayed by triggering the virtual keys in the second-level sub-keyboard. The virtual keys in the first-level sub-keyboard are determined according to an initial set formed by the initials, the similarity of the combination rule of the virtual keys and the finals meets a first preset condition, the second-level sub-keyboard is constructed according to the intermediate initials and the tones, the number of the virtual keys is the same as that of the virtual keys in the first-level sub-keyboard, the third-level sub-keyboard comprises sub-keyboards in various preset final combination modes, the preset final combination mode of any sub-keyboard is determined according to the initial set and the intermediate initials obtained previously, and the input efficiency and experience of a user are improved.)

1. A virtual keyboard is characterized by comprising three levels of sub-keyboards, wherein the first level of sub-keyboards is used for displaying virtual keys corresponding to initials, the second level of sub-keyboards is used for displaying virtual keys corresponding to intermediaries and tones, and the third level of sub-keyboards comprises sub-keyboards in various preset final combination modes; displaying the second-level sub-keyboard by triggering a virtual key in the first-level sub-keyboard, and displaying one sub-keyboard in the third-level sub-keyboard by triggering a virtual key in the second-level sub-keyboard;

Wherein the first level sub-keyboard is constructed according to the following:

According to the combination rule of the initial consonants and the final consonants in the Chinese language, the initial consonants with the similarity of the combination rule of the final consonants and the final consonants meeting a first preset condition form an initial consonant set; constructing a corresponding first-level sub-keyboard according to the obtained initial consonant set;

The second-level sub-keyboard is constructed according to the following mode:

Constructing a corresponding second-level sub keyboard according to the mesogen and the tone, wherein the number of virtual keys in the second-level sub keyboard is the same as that of virtual keys in the first-level sub keyboard;

The third level sub-keyboard is constructed according to the following mode:

determining a third-level sub-keyboard corresponding to the vowel according to the obtained initial consonant set, wherein the third-level sub-keyboard comprises sub-keyboards in various preset vowel combination modes; the preset final combination mode of any sub-keyboard is determined according to the initial consonant set and the intermediate consonants and/or tones.

2. The virtual keyboard according to claim 1, wherein if a target sub-keyboard in the third-level sub-keyboard is popped up by triggering a first virtual key in the first-level sub-keyboard and a second virtual key in the second-level sub-keyboard, a combination rule of a vowel included in a predetermined vowel combination manner of the target sub-keyboard and a target initial consonant set and a corresponding intermediate vowel of the second virtual key is the same, or a combination rule of a vowel included in a predetermined vowel combination manner of the target sub-keyboard and the target initial consonant set is the same; and the target initial set is an initial set in which the initial corresponding to the first virtual key is located.

3. The virtual keyboard according to claim 1, wherein in the first-level sub-keyboard, inputting of similar initials is realized by one virtual key, and the similar initials are multiple initials having the same combination rule with finals.

4. The virtual keyboard according to claim 1, wherein in the second-level sub-keyboard, the input of the similar medium initial is realized by one virtual key, and the similar medium initial is a plurality of medium initial whose similarity with the combination rule of the vowels meets a second preset condition.

5. The virtual keyboard according to claim 3 or 4, wherein the number of virtual keys in the first-level sub-keyboard is less than or equal to 15.

6. A virtual keyboard-based input method, wherein the virtual keyboard is the virtual keyboard of any one of claims 1-5, the method comprising:

displaying the first-level sub-keyboard;

If the triggering operation aiming at the virtual keys in the first-level sub-keyboard is obtained, displaying the second-level sub-keyboard;

And if the triggering operation aiming at the virtual key in the second-level sub-keyboard is acquired, displaying one sub-keyboard in the third-level sub-keyboard.

7. The method of claim 6, wherein one of the third-level sub-keyboards is determined according to the initial consonants corresponding to the virtual keys of the first-level sub-keyboard and the intermediate consonants and/or tones corresponding to the virtual keys of the second-level sub-keyboard.

8. The method according to claim 6, wherein after the one of the third-level sub-keyboards is displayed if the trigger operation for the virtual key in the second-level sub-keyboard is acquired, the method further comprises:

If the triggering operation that the user selects the screen candidate item is obtained, displaying the first-level sub keyboard; the candidate items on the screen are generated according to the obtained initial consonant corresponding to the virtual key in the first-level sub-keyboard, the intermediate consonant and/or tone corresponding to the virtual key in the second-level sub-keyboard, and the final corresponding to the virtual key in one sub-keyboard in the third-level sub-keyboard.

9. A virtual keyboard-based input device, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein execution of the one or more programs by one or more processors comprises instructions for:

displaying the first-level sub-keyboard;

if the triggering operation aiming at the virtual keys in the first-level sub-keyboard is obtained, displaying the second-level sub-keyboard;

And if the triggering operation aiming at the virtual key in the second-level sub-keyboard is acquired, displaying one sub-keyboard in the third-level sub-keyboard.

10. A machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause a virtual key to perform a virtual keyboard-based input method as recited in one or more of claims 6-8.

Technical Field

the application relates to the field of input methods, in particular to a virtual keyboard and an input method based on the virtual keyboard.

Background

The user can input a character string into the terminal using a virtual keyboard provided by the input method.

For the Chinese input method, the virtual keyboard generally includes a full keyboard and a multi-keyboard. The full keyboard generally includes virtual keys corresponding to all pinyins. The multi-keyboard type virtual keyboard can be suitable for terminals with smaller display screens, such as smart phones and the like, the multi-keyboard comprises a plurality of stages of virtual sub-keyboards, and each stage of sub-keyboard can comprise a part of virtual keys corresponding to pinyin. During the input process, the other level of sub-keyboard can be popped up by triggering the virtual keys on the sub-keyboard.

However, the experience of using a multi-keyboard for inputting Chinese characters in taiwan is not good at present, and since syllables such as initial consonants, vowels and intermediate vowels are required to be used when Chinese characters are input in taiwan, the complex syllable composition mode causes that in the case of the multi-keyboard, virtual keys corresponding to different syllables can be displayed on the same-level sub-keyboard along with different input conditions, and the number of the virtual keys is different, so that the rule is difficult to find. When a user inputs the input, the user cannot know which virtual keys corresponding to syllables exist in the sub-keyboard popped up by triggering a certain virtual key in the current level of sub-keyboard, or the user can find the virtual key corresponding to the required syllable only after the user needs to be familiar with the virtual key after popping up a new level of sub-keyboard, so that the input experience of the user is reduced.

disclosure of Invention

In order to solve the technical problems, the virtual keyboard and the input method based on the virtual keyboard are provided, the number of virtual keys of the virtual keyboard is small, the virtual keys are relatively fixed under different input conditions, the virtual keys are easily familiar to a user, and the input efficiency and experience of the user are improved.

The embodiment of the application discloses the following technical scheme:

In a first aspect, an embodiment of the present application provides a virtual keyboard, where the virtual keyboard includes three levels of sub-keyboards, a first level of sub-keyboards is used to display virtual keys corresponding to initials, a second level of sub-keyboards is used to display virtual keys corresponding to intermediaries and tones, and a third level of sub-keyboards includes sub-keyboards with multiple predetermined combinations of finals; displaying the second-level sub-keyboard by triggering a virtual key in the first-level sub-keyboard, and displaying one sub-keyboard in the third-level sub-keyboard by triggering a virtual key in the second-level sub-keyboard;

Wherein the first level sub-keyboard is constructed according to the following:

According to the combination rule of the initial consonants and the final consonants in the Chinese language, the initial consonants with the similarity of the combination rule of the final consonants and the final consonants meeting a first preset condition form an initial consonant set; constructing a corresponding first-level sub-keyboard according to the obtained initial consonant set;

The second-level sub-keyboard is constructed according to the following mode:

constructing a corresponding second-level sub keyboard according to the mesogen and the tone, wherein the number of virtual keys in the second-level sub keyboard is the same as that of virtual keys in the first-level sub keyboard;

The third level sub-keyboard is constructed according to the following mode:

Determining a third-level sub-keyboard corresponding to the vowel according to the obtained initial consonant set, wherein the third-level sub-keyboard comprises sub-keyboards in various preset vowel combination modes; the preset final combination mode of any sub-keyboard is determined according to the initial consonant set and the intermediate consonants and/or tones.

Optionally, if the target sub-keyboard in the third-level sub-keyboard is popped up according to triggering of the first virtual key in the first-level sub-keyboard and the second virtual key in the second-level sub-keyboard, a combination rule of a final included in a predetermined final combination mode of the target sub-keyboard is the same as a combination rule of a target initial set and a corresponding medium initial of the second virtual key, or a combination rule of a final included in a predetermined final combination mode of the target sub-keyboard is the same as a combination rule of a target initial set and a target initial set; and the target initial set is an initial set in which the initial corresponding to the first virtual key is located.

Optionally, in the first-level sub-keyboard, a similar initial consonant is input through one virtual key, where the similar initial consonant is a plurality of initial consonants having the same combination rule with a final.

Optionally, in the second-level sub-keyboard, the input of the similar medium initial is realized by one virtual key, and the similar medium initial is a plurality of medium initial whose similarity with the combination rule of the final meets a second preset condition.

Optionally, the number of virtual keys in the first-level sub-keyboard is less than or equal to 15.

In a second aspect, an embodiment of the present application provides an input method based on a virtual keyboard, where the virtual keyboard is the virtual keyboard in any one of the first aspects, and the method includes:

Displaying the first-level sub-keyboard;

If the triggering operation aiming at the virtual keys in the first-level sub-keyboard is obtained, displaying the second-level sub-keyboard;

and if the triggering operation aiming at the virtual key in the second-level sub-keyboard is acquired, displaying one sub-keyboard in the third-level sub-keyboard.

optionally, one of the third-level sub-keyboards is determined according to the initial consonant corresponding to the virtual key in the first-level sub-keyboard and the intermediate consonant and/or the tone corresponding to the virtual key in the second-level sub-keyboard.

Optionally, after the one of the third-level sub-keyboards is displayed if the trigger operation for the virtual key in the second-level sub-keyboard is acquired, the method further includes:

if the triggering operation that the user selects the screen candidate item is obtained, displaying the first-level sub keyboard; the candidate items on the screen are generated according to the obtained initial consonant corresponding to the virtual key in the first-level sub-keyboard, the intermediate consonant and/or tone corresponding to the virtual key in the second-level sub-keyboard, and the final corresponding to the virtual key in one sub-keyboard in the third-level sub-keyboard.

In a third aspect, embodiments of the present application provide a virtual keyboard-based input device, comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include instructions for:

Displaying the first-level sub-keyboard;

If the triggering operation aiming at the virtual keys in the first-level sub-keyboard is obtained, displaying the second-level sub-keyboard;

if the trigger operation for the virtual key in the second-level sub-keyboard is acquired, and a third aspect of one sub-keyboard in the third-level sub-keyboard is shown, an embodiment of the present application provides a machine-readable medium, on which instructions are stored, which, when executed by one or more processors, cause the virtual key to perform one or more of the virtual-keyboard-based input methods of the second aspect.

in a fourth aspect, embodiments of the present application provide a machine-readable medium having stored thereon instructions, which when executed by one or more processors, cause a virtual key to perform one or more of the virtual keyboard-based input methods of the second aspect.

According to the technical scheme, the virtual keyboard comprises three levels of sub-keyboards, wherein the first level of sub-keyboards is used for displaying virtual keys corresponding to initials, the second level of sub-keyboards is used for displaying virtual keys corresponding to intermediaries and tones, and the third level of sub-keyboards comprises sub-keyboards in various preset final combination modes. Since each level of sub-keyboard is respectively planned with initial consonant, intermediate consonant and final, the display logic of each level of sub-keyboard is relatively fixed and is easy to be mastered by users, specifically, the second level of sub-keyboard is displayed by triggering virtual keys in the first level of sub-keyboard, and one sub-keyboard in the third level of sub-keyboard is displayed by triggering virtual keys in the second level of sub-keyboard. Because the number of the virtual keys in the second-level sub-keyboard is the same as that of the virtual keys in the first-level sub-keyboard, and the virtual keys in the first-level sub-keyboard are determined according to an initial consonant set formed by initial consonants of which the similarity accords with a first preset condition with the combination rule of the initial consonants and the vowels, the number of the virtual keys in the first-level sub-keyboard and the second-level sub-keyboard is small, and the virtual keys are relatively fixed under different input conditions and are easy to be familiar to users. The third-level sub-keyboard comprises sub-keyboards of a plurality of preset final combination modes, wherein the preset final combination mode of any sub-keyboard is determined according to the initial set and the intermediate consonants which are obtained before, so that the original more final is divided according to the initial set and the intermediate consonants, and equivalently, a plurality of sub-keyboards in the third-level sub-keyboard are determined according to the first-level sub-keyboard and the second-level sub-keyboard in a targeted manner, so that the number of virtual keys capable of providing final input on each sub-keyboard is less, and each final in the sub-keyboards conforms to the preset final combination mode, so that rules are easily mastered by a user, and the input efficiency and experience of the user are improved.

Drawings

in order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.

fig. 1a is an exemplary diagram of a virtual keyboard provided in an embodiment of the present application;

Fig. 1b is an exemplary diagram of a virtual keyboard provided in an embodiment of the present application;

Fig. 2 is an exemplary diagram of dividing a set of initial consonants according to an embodiment of the present disclosure;

Fig. 3 is a combined example diagram of a mediator and a tone provided in an embodiment of the present application;

FIG. 4 is an exemplary diagram of a sub-keyboard with various predetermined combinations of finals provided in an embodiment of the present application;

fig. 5 is a flowchart of an input method based on a virtual keyboard according to an embodiment of the present application;

Fig. 6 is a structural diagram of an input device based on a virtual keyboard according to an embodiment of the present application;

fig. 7 is a block diagram of a server according to an embodiment of the present application.

Detailed Description

Embodiments of the present application are described below with reference to the accompanying drawings.

At present, the multi-keyboard input for the Chinese characters in Taiwan is not good in use experience, because syllables such as initial consonants, simple or compound vowels and intermediate vowels are needed when the Chinese characters are input in Taiwan, the initial consonants, the simple or compound vowels and the intermediate vowels respectively comprise a plurality of syllables, and complex syllable composition modes exist among the syllables, such as initial consonants, the intermediate vowels, the simple or compound vowels, the initial consonants, the final vowels, the intermediate vowels and the like. When the traditional multi-keyboard faces the complex syllable composition modes, the display rule of the same-level sub-keyboard under different input conditions is not well planned, so that the same-level sub-keyboard can display virtual keys corresponding to different syllables under the condition of the multi-keyboard along with different input conditions, the number of the virtual keys is different, the rule is difficult to find, and the input experience of a user is reduced.

Taking the example that the conventional multi-keyboard includes the primary sub-keyboard and the secondary sub-keyboard, when the user inputs the initial consonant "b" through the virtual keys of the primary sub-keyboard, assuming that the next syllables that can be combined with "b" include 10, the secondary sub-keyboard may display 10 virtual keys for the user to find the virtual key corresponding to the desired syllable; when the user inputs the initial "d" through the virtual keys of the primary sub-keyboard, assuming that 25 syllables that can be combined with "d" are included, the secondary sub-keyboard may display 25 virtual keys for the user to find the virtual key corresponding to the desired syllable.

Therefore, under different input conditions, the same-level sub-keyboard can display virtual keys corresponding to different syllables, the number of the virtual keys is different, the rule is difficult to find, a user cannot know which virtual keys corresponding to the syllables exist in the sub-keyboard popped up by triggering a certain virtual key in the current-level sub-keyboard, or the user can find the virtual key corresponding to the required syllable after the user needs to be familiar with the virtual key after popping up a new-level sub-keyboard, and the input experience of the user is reduced. Even the number of virtual keys of a certain level of sub-keyboard can be too large under some conditions, if too many virtual keys are displayed on the same page, the virtual keys can be too small, and false touch is easily caused; if too many virtual keys are displayed in pages, it may be difficult for the user to find the virtual key corresponding to the desired syllable, and the difficulty of finding the rule may also be increased.

Therefore, the virtual keyboard provided by the embodiment of the application can display all levels of sub-keyboards by using fixed display logics, so that the number of virtual keys in each sub-keyboard is small, the sub-keyboards are relatively fixed under different input conditions, a user is easy to know and master rules, and the input efficiency and experience of the user are improved.

It should be noted that, in this embodiment, the medium initial may be used as an initial or a final, each of the initial and the final may be a syllable, one or more syllables of the initial and the final may be combined to form a syllable string, and the input of the chinese character may be implemented by using the syllable string.

the virtual keyboard provided by the embodiment of the application is described in detail below with reference to the accompanying drawings.

Referring to fig. 1a, fig. 1a shows an exemplary view of a virtual keyboard for inputting chinese characters to a terminal using an input method. The virtual keyboard includes three levels of sub-keyboards, a first level sub-keyboard 101, a second level sub-keyboard 102, and a third level sub-keyboard 103. The first-level sub-keyboard 101 is configured to display virtual keys corresponding to initials, the second-level sub-keyboard 102 is configured to display virtual keys corresponding to initials and tones, the third-level sub-keyboard 103 includes sub-keyboards of multiple predetermined final combination manners, and fig. 1a illustrates a sub-keyboard of one predetermined final combination manner included in the third-level sub-keyboard 103.

The input method mentioned in the embodiments of the present application may be a coding method adopted for inputting various syllables to the terminal. It should be noted that the input method in the embodiment of the present application may be a commonly used chinese input method, for example, a pinyin input method, a ZhuYin input method, or the like. Fig. 1a is a diagram of a virtual keyboard, which is not limited in the embodiment of the present application.

It should be noted that, when the input method is a phonetic notation input method, the virtual keyboard provided in the embodiment of the present application may be as shown in fig. 1 b. In fig. 1b, the virtual keys in each sub-keyboard correspond to the ZhuYin symbol, and the ZhuYin symbol in fig. 1b corresponds to the syllable located at the same position in fig. 1a, for example, the ZhuYin symbol "b" in fig. 1b corresponds to the syllable "b" located at the same position in fig. 1 a.

in this embodiment, the second-level sub-keyboard 102 is displayed by triggering a virtual key in the first-level sub-keyboard 101, and one sub-keyboard in the third-level sub-keyboard 103 is displayed by triggering a virtual key in the second-level sub-keyboard 102. That is to say, the display logic of the three-level sub-keyboard provided in the embodiment of the present application is relatively fixed, and is easy to be mastered by a user, even if the input condition changes, the display is also the first-level sub-keyboard to the user, when the user triggers a certain virtual key in the first-level sub-keyboard, the display is performed on the second-level sub-keyboard to the user, and when the user triggers a certain virtual key in the second-level sub-keyboard, the display is performed on one sub-keyboard in the third-level sub-keyboard to the user.

It should be noted that, the sub-keyboard mentioned in the embodiment of the present application refers to the remaining area on the input method display interface except the common virtual key area shared by the three-level sub-keyboards. For example, the first level sub-keyboard 101, the second level sub-keyboard 102, and the third level sub-keyboard 103 are regions indicated within dashed boxes in fig. 1a and 1 b.

The sub-keyboards generally include virtual keys for displaying syllables or tones, and in some cases, the virtual keys in a sub-keyboard may include a switch key and a blank key because a certain sub-keyboard displays too few syllables. The public virtual key area can comprise symbol keys, number keys, space keys, line feed keys, backspace keys, confirmation keys and the like, and the public virtual key area can not be changed along with the switching of the sub-keyboards in different levels and can not be changed along with the sub-keyboards in different preset final combination modes displayed by the third-level sub-keyboard.

In the present embodiment, the first level sub-keyboard 101 is constructed according to the following manner: according to the combination rule of the initial consonants and the final consonants in the Chinese language, the initial consonants with the similarity of the combination rule of the final consonants and the final consonants meeting a first preset condition form an initial consonant set; and constructing a corresponding first-level sub-keyboard 101 according to the obtained initial consonant set.

The combination rule of the initial consonants and the final consonants mentioned in the embodiment of the application is used for specifying which final consonants can be input next after the initial consonants are input, so that the input final consonants and the initial consonants can be combined into syllable strings to realize the input of the Chinese characters.

The combination rule similarity may refer to a similarity degree between finals combined with different initials, for different initials, the higher the combination rule similarity is, the higher the similarity degree between finals combined with different initials is, when the combination rule similarity satisfies a first preset condition, it may be considered that the similarity degree between finals combined with these different initials is very high, in order to facilitate a subsequent determination of a certain sub-keyboard in a third-level sub-keyboard according to initials in a targeted manner, the different initials may be divided into the same initial set.

It is understood that for different initials, the combination rule similarity may be measured by the number of finals having the same final in the finals combined with the different initials into the syllable string, and then the first preset condition may be that the number of finals having the same final in the finals combined with the different initials into the syllable string reaches the first threshold.

For example, the initials "b", "d", and "t", the finals combined with "b" into a syllable string may include "an", "o", "a", the finals combined with "d" into a syllable string may include "an", "ong", "uan", "iu", and the finals combined with "t" into a syllable string may include "an", "ong", "uan". Wherein, three identical vowels "an", "ong" and "uan" exist in the vowel combined with "d" into the syllable string and the vowel combined with "t" into the syllable string, the vowel combined with "b" into the syllable string and the vowel combined with "d" into the syllable string, or only one identical vowel "an" exists in the vowel combined with "t" into the syllable string, if the first threshold is 2 at this time, the initial consonants with the same vowel quantity satisfying the first threshold are "d" and "t", then "d" and "t" can form an initial consonant set. "b" can be located in another set of initials, which is a set of initials other than "d" and "t".

Thus, according to the combination rule of the initials and the finals in the chinese language, the initials may be divided into a plurality of initial sets, for example, as shown in fig. 2, 4 initial sets are included in fig. 2, which are an initial set 201, an initial set 202, an initial set 203, and an initial set 204, respectively, each initial set includes at least one initial, and the initial included in each initial set may be as shown in the dashed box in fig. 2.

Then, a corresponding first-level sub-keyboard 101 may be constructed according to the obtained initial consonant sets, wherein each virtual key in the first-level sub-keyboard 101 corresponds to an initial consonant in each initial consonant set in fig. 2. Taking the initial consonant set obtained in fig. 2 as an example, the first-level sub-keyboard 101 shown in fig. 1a can be constructed according to the initial consonant set shown in fig. 2, and when a user triggers a virtual key in the first-level sub-keyboard 101, the initial consonant corresponding to the virtual key is input.

It should be noted that in some cases, the syllable string corresponding to some chinese characters may not include the initial consonant, for example, the syllable string corresponding to the chinese character "a" is "an", but the display logic of the keyboard provided in the embodiment of the present application is fixed, and it is necessary to display the second-level sub-keyboard by triggering the virtual key in the first-level sub-keyboard, and the syllable string "an" does not include the initial consonant, that is, the second-level sub-keyboard cannot be displayed by triggering the virtual key corresponding to the initial consonant in the first-level sub-keyboard. In this case, when dividing the initial set, the zero initial 205 may be added, so that a first level sub-keyboard including virtual keys corresponding to the zero initial 205 may be constructed, as shown in the first level sub-keyboard 101 in fig. 1 a. In this embodiment, the zero initial consonant can be regarded as a special expression form of the initial consonant, and for convenience of the following description of the predetermined combination manner of the final consonants, the zero initial consonant can be regarded as an initial consonant set, and this embodiment may include 5 initial consonant sets.

The virtual key "toggle" in the first level sub-keyboard 101 may correspond to a zero initial 205, which is entered when the user triggers the virtual key "toggle" to indicate that the string of syllables the user wishes to enter does not include the initial in the initial set.

For example, if the user wishes to enter a syllable string of "an" since the first level sub-keyboard 101 is first presented to the user and the initial consonant is not included in "an", then the user may trigger the virtual key "toggle" in the first level sub-keyboard 101, thereby presenting the second level sub-keyboard 102 to the user so that the user continues to trigger the desired virtual key in the second level sub-keyboard 102.

In the present embodiment, the second level sub-keyboard 102 is constructed according to the following manner: and constructing a corresponding second-level sub-keyboard according to the medium letters and the tones, wherein the number of the virtual keys in the second-level sub-keyboard is the same as that of the virtual keys in the first-level sub-keyboard, so that when the first-level sub-keyboard is switched to the second-level sub-keyboard, the key positions of the virtual keys are fixed, the sizes of the virtual keys cannot be changed, and users can conveniently know the virtual keys at all levels.

wherein the middle mother may include three categories, "i", "u" and "ü", respectively, and the tones may include 5 categories, "," ˇ "," and "", respectively, as shown in fig. 3. the virtual keys in the second level sub-keyboard 102 correspond to the middle mother and/or the tones in fig. 3.

in this embodiment, the third level sub-keyboard is constructed according to the following manner: determining a third-level sub-keyboard corresponding to the vowel according to the obtained initial consonant set, wherein the third-level sub-keyboard comprises sub-keyboards in various preset vowel combination modes; the preset vowel combination mode of any sub-keyboard is determined according to the initial consonant set and the intermediate vowels and/or the tones.

It should be noted that, in this embodiment, the final combination manners are preset according to the initial set and the intermediate initials and/or tones, and the number of the initial set and the intermediate initials and/or tones combination manners determines the number of the types of the predetermined final combination manners, that is, the number of the sub-keyboards included in the third-level sub-keyboard, if 5 initial sets are included in this embodiment, each initial set may be combined with the intermediate initials and/or tones, respectively, in this embodiment, for each initial set, a sub-keyboard including a predetermined final combination manner may be determined according to the combination of the initial set and the tones, a sub-keyboard including a predetermined final combination manner may be determined according to the combination of the initial set and the intermediate initials "i", and a sub-keyboard including a predetermined final combination manner may be determined according to the combination of the initial set and the intermediate initials "u" or "ü", so that 5 × 3 — 15 final combination manners may be obtained for 5 initial sets, that each final combination manner may include a predetermined final combination manner, that is shown in fig. 15, that each final combination manner may include a predetermined final combination manner, that is shown in fig. 4 sub-keyboards.

The predetermined final combination mode of any sub-keyboard in the third-level sub-keyboard is determined according to the initial consonant set and the intermediate vowels obtained before, so that the original more final is divided according to the initial consonant set and the intermediate vowels, namely, a plurality of sub-keyboards in the third-level sub-keyboard are determined according to the first-level sub-keyboard and the second-level sub-keyboard in a targeted manner, therefore, the number of virtual keys capable of providing final input on each sub-keyboard is less, and the rules are easy to master by a user as each final in the sub-keyboards conforms to the predetermined final combination mode.

according to the technical scheme, the virtual keyboard comprises three levels of sub-keyboards, wherein the first level of sub-keyboards is used for displaying virtual keys corresponding to initials, the second level of sub-keyboards is used for displaying virtual keys corresponding to intermediaries and tones, and the third level of sub-keyboards comprises sub-keyboards in various preset final combination modes. Since each level of sub-keyboard is respectively planned with initial consonant, intermediate consonant and final, the display logic of each level of sub-keyboard is relatively fixed and is easy to be mastered by users, specifically, the second level of sub-keyboard is displayed by triggering virtual keys in the first level of sub-keyboard, and one sub-keyboard in the third level of sub-keyboard is displayed by triggering virtual keys in the second level of sub-keyboard. Because the number of the virtual keys in the second-level sub-keyboard is the same as that of the virtual keys in the first-level sub-keyboard, and the virtual keys in the first-level sub-keyboard are determined according to the initial consonant set formed by the initial consonants with the same combination rule with the vowels, the number of the virtual keys in the first-level sub-keyboard and the second-level sub-keyboard is small, and the virtual keys are relatively fixed under different input conditions and are easy to be familiar to users. The third-level sub-keyboard comprises sub-keyboards of a plurality of preset final combination modes, wherein the preset final combination mode of any sub-keyboard is determined according to the initial set and the intermediate consonants which are obtained before, so that the original more final is divided according to the initial set and the intermediate consonants, and equivalently, a plurality of sub-keyboards in the third-level sub-keyboard are determined according to the first-level sub-keyboard and the second-level sub-keyboard in a targeted manner, so that the number of virtual keys capable of providing final input on each sub-keyboard is less, and each final in the sub-keyboards conforms to the preset final combination mode, so that rules are easily mastered by a user, and the input efficiency and experience of the user are improved.

the third level of sub-keyboard comprises sub-keyboards of various preset final combination modes, after the virtual keys in the second level of sub-keyboard are triggered, the sub-keyboards of a certain preset final combination mode can be displayed for a user, and then, the sub-keyboards of which preset final combination mode is displayed and the characteristics of the final in the preset final combination mode are introduced.

If the target sub-keyboard in the third-level sub-keyboard is popped up according to triggering of the first virtual key in the first-level sub-keyboard and the second virtual key in the second-level sub-keyboard, the combination rules of the vowels and the target initial consonant set included in the preset vowel combination mode of the target sub-keyboard and the corresponding medium vowels of the second virtual key are the same, or the combination rules of the vowels and the target initial consonant set included in the preset vowel combination mode of the target sub-keyboard are the same; and the target initial set is an initial set in which the initial corresponding to the first virtual key is located.

for example, a user triggers a first virtual key "b" in the first-level sub-keyboard and a second virtual key "-" in the second-level sub-keyboard, wherein a consonant set "b p m" where a consonant "b" corresponding to the first virtual key is located is a target consonant set. Then, the target sub-keyboard in the third-level sub-keyboard is popped up to the user, as shown in 103 in fig. 1a, the predetermined combination of the finals of the target sub-keyboard includes finals "a ai an e ei en eng o ao ou", and the finals have the same combination rule with the target initial consonant set, i.e. the finals can be combined with the initial consonants in the target initial consonant set to form a syllable string.

It should be noted that, for a plurality of different initials in the first-level sub-keyboard, the combination rules of the different initials and the finals may be the same, if the different initials correspond to different virtual keys, when the virtual key corresponding to the initial in the first-level sub-keyboard that is the same as the combination rule of the finals is triggered, although the different virtual keys are triggered, the sub-keyboards in the predetermined final combination manner in the third-level sub-keyboard are likely to be the same. In this case, in order to reduce the number of virtual keys, thereby increasing the size of each virtual key and avoiding false touch caused by too small virtual keys, an implementation manner of the embodiment may be: in the first-level sub-keyboard, the input of similar initials is realized through one virtual key, and the similar initials are a plurality of initials with the same combination rule with the finals.

For example, "g" and "j" are the same as the vowel combination rule, so when constructing the first level sub-keyboard, "g" and "j" may correspond to the same virtual key, as shown by the virtual key labeled "g/j" in fig. 1 a.

It should be noted that, for a plurality of different intermediate alphabets in the second-level sub-keyboard, the similarity between the different intermediate alphabets and the vowel combination rule may be very high, and may even be the same, that is, the vowels combined with the intermediate alphabets to form a syllable string have very high similarity, if different intermediate alphabets correspond to different virtual keys, when triggering the virtual key corresponding to the intermediate alphabet in the second-level sub-keyboard with very high similarity to the vowel combination rule, although triggering different virtual keys, the sub-keyboards in the predetermined vowel combination mode in the third-level sub-keyboard are likely to be the same. In this case, in order to reduce the number of virtual keys, thereby increasing the size of each virtual key and avoiding false touch caused by too small virtual keys, an implementation manner of the embodiment may be: in the second-level sub-keyboard, the input of the similar medium letters is realized through one virtual key, and the similar medium letters are a plurality of medium letters with the similarity of the combination rule of the medium letters and the vowels meeting a second preset condition.

It is understood that, for different media letters, the combination rule similarity may be measured by the number of the same vowels in the vowels combined with the different media letters into the syllable string, and then the second preset condition may be that the number of the same vowels in the vowels combined with the different media letters into the syllable string reaches the second threshold.

for example, "u" and "ü" have high similarity to the vowel combination rule, so when constructing the second level sub-keyboard, "u" and "ü" may correspond to the same virtual key, as shown by the virtual key labeled "u/ü" in fig. 1 a.

It is understood that in order to reduce the number of virtual keys, thereby increasing the size of each virtual key and avoiding false touches caused by too small virtual keys, the number of virtual keys may be limited to a certain number. In this embodiment, the number of the virtual keys in the first-level sub-keyboard may be limited to be less than or equal to 15, and since the number of the virtual keys in the second-level sub-keyboard is the same as that of the virtual keys in the first-level sub-keyboard, the number of the virtual keys in the second-level sub-keyboard is less than or equal to 15.

based on the virtual keyboard provided in the embodiments corresponding to fig. 1a to fig. 4, this embodiment provides an input method based on a virtual keyboard, where the virtual keyboard is any one of the virtual keyboards in the embodiments corresponding to fig. 1a to fig. 4, and referring to fig. 5, the method includes:

S501, displaying the first-level sub keyboard.

s502, if the trigger operation aiming at the virtual keys in the first-level sub-keyboard is obtained, displaying the second-level sub-keyboard.

S503, if the triggering operation aiming at the virtual keys in the second-level sub-keyboard is obtained, displaying one sub-keyboard in the third-level sub-keyboard.

optionally, one of the third-level sub-keyboards is determined according to the initial consonant corresponding to the virtual key in the first-level sub-keyboard and the intermediate consonant and/or the tone corresponding to the virtual key in the second-level sub-keyboard.

Optionally, after the one of the third-level sub-keyboards is displayed if the trigger operation for the virtual key in the second-level sub-keyboard is acquired, the method further includes:

If the triggering operation that the user selects the screen candidate item is obtained, displaying the first-level sub keyboard; the candidate items on the screen are generated according to the obtained initial consonant corresponding to the virtual key in the first-level sub-keyboard, the intermediate consonant and/or tone corresponding to the virtual key in the second-level sub-keyboard, and the final corresponding to the virtual key in one sub-keyboard in the third-level sub-keyboard.

FIG. 6 is a block diagram illustrating an input device 600 for a virtual keyboard based, according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a tablet device, a personal digital assistant, and the like.

referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.

the processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.

The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile 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 disks.

power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.

the multimedia component 608 includes a screen that provides an output interface between the device 600 and a 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 an input signal from a 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 boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating 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 a focal length and optical zoom capability.

The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.

The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.

The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 8G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 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 600 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.

in an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

Fig. 7 is a schematic structural diagram of a server in an embodiment of the present invention. The server 700 may vary significantly depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 722 (e.g., one or more processors) and memory 732, one or more storage media 730 (e.g., one or more mass storage devices) storing applications 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Further, the central processor 722 may be configured to communicate with the storage medium 730, and execute a series of instruction operations in the storage medium 730 on the server 700.

The server 700 may also include one or more power supplies 724, one or more wired or wireless network interfaces 750, one or more input-output interfaces 758, one or more keyboards 754, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium may be at least one of the following media: various media that can store program codes, such as read-only memory (ROM), RAM, magnetic disk, or optical disk.

it should be noted that, in the present specification, all the embodiments are described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.

The above description is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于多租户云存储的资源管理方法和资源管理系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类