CN102193711A - Method and device for displaying letter keys of virtual keyboard - Google Patents
Method and device for displaying letter keys of virtual keyboard Download PDFInfo
- Publication number
- CN102193711A CN102193711A CN2010101215731A CN201010121573A CN102193711A CN 102193711 A CN102193711 A CN 102193711A CN 2010101215731 A CN2010101215731 A CN 2010101215731A CN 201010121573 A CN201010121573 A CN 201010121573A CN 102193711 A CN102193711 A CN 102193711A
- Authority
- CN
- China
- Prior art keywords
- keys
- letters
- letter
- row
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000010586 diagram Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Abstract
本发明公开了一种虚拟键盘的字母按键显示方法及装置,包括:根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与该已输入字母对应的高频字母;高频字母为根据用户历史输入的字母之间的先后顺序,统计的在多次输入该已输入字母后对应输入的多个第一个字母中输入概率高的若干个字母;并显示虚拟键盘的字母按键;其中,虚拟键盘的字母按键中确定出的高频字母的按键所在区域被放大。采用本发明提供的方法及装置,提高了使用虚拟键盘进行文字输入时点击按键的准确性和输入速度。
The invention discloses a method and device for displaying letter keys of a virtual keyboard. The high-frequency letters; the high-frequency letters are based on the order of the letters entered by the user in history, and statistically count several letters with a high input probability among the multiple first letters that have been input after multiple input of the input letter; And display the letter keys of the virtual keyboard; wherein, the area where the keys of the high-frequency letters determined in the letter keys of the virtual keyboard are located is enlarged. By adopting the method and device provided by the invention, the accuracy and input speed of clicking keys when using a virtual keyboard to input characters are improved.
Description
技术领域technical field
本发明涉及计算机技术领域,尤其涉及一种虚拟键盘的字母按键显示方法与装置。The invention relates to the technical field of computers, in particular to a method and a device for displaying letter keys of a virtual keyboard.
背景技术Background technique
随着触摸屏技术的日益完善,触摸屏设备越来越多的出现在日常生活中,尤其是在手机等移动通信设备中的应用。由于输入法是人机交互的重要方式,很大程度上影响着手机的用户体验,所以对大多数没有物理键盘的触摸屏手机来说,虚拟键盘按键布局设计的合理性至关重要。With the increasingly perfect touch screen technology, more and more touch screen devices appear in daily life, especially in mobile communication devices such as mobile phones. Since the input method is an important way of human-computer interaction and greatly affects the user experience of mobile phones, for most touch-screen mobile phones without physical keyboards, the rationality of the layout design of virtual keyboard keys is very important.
目前常用的触摸屏手机虚拟键盘按键布局大致分为两种,一种是基于电脑、打印机键盘按键布局的Qwerty键盘按键布局,另一种是基于传统手机物理按键布局的九键布局。这两种布局都继承广大用户所熟悉的传统物理按键布局方式,因此能够被用户快速的掌握,以达到快速输入的目的。At present, the commonly used touch screen mobile phone virtual keyboard key layout is roughly divided into two types, one is the Qwerty keyboard key layout based on the keyboard key layout of computers and printers, and the other is the nine-key layout based on the physical key layout of traditional mobile phones. These two layouts both inherit the traditional physical button layout familiar to the majority of users, so they can be quickly grasped by users to achieve the purpose of fast input.
Qwerty键盘按键布局中,每个英文字母都有单独的字母按键与之对应,用户可以直接输入各个字母,无须进行选择切换。然而,便携设备(如手机)的触摸屏面积是有限的,Qwerty键盘按键个数多,因此每个按键的尺寸大小就受到限制,影响了点击虚拟键盘按键的准确性。In the key layout of the Qwerty keyboard, each English letter has a separate letter key corresponding to it, and the user can directly input each letter without selecting and switching. However, the touch screen area of portable devices (such as mobile phones) is limited, and the number of Qwerty keyboard keys is large, so the size of each key is limited, which affects the accuracy of clicking the virtual keyboard keys.
与之相比,九键键盘将所有的26个英文字母放在3*3的区域内,其按键个数远少于Qwerty键盘,因此点击准确性大大提高,尤其适合直接使用手指点击。但是,由于九键键盘布局采用了按键复用的方式,无论是拼音还是英文输入都增加了大量组合的可能性,用户需要进一步的选择,才能得到想输入的内容,因此相同的文字使用九键键盘进行输入,按键次数要远大于使用Qwerty键盘,输入的快捷性受到影响。因此,特别是对于熟练使用电脑的手机用户群体来说,Qwerty键盘仍然是首选的键盘布局。In contrast, the nine-key keyboard puts all 26 English letters in the 3*3 area, and its number of keys is much less than that of the Qwerty keyboard, so the click accuracy is greatly improved, especially suitable for direct finger click. However, since the nine-key keyboard layout adopts the method of key reuse, both pinyin and English input have increased the possibility of a large number of combinations. Users need to make further choices to get the content they want to input. When using a keyboard for input, the number of keystrokes is much greater than that of using a Qwerty keyboard, and the shortcut of input is affected. Therefore, especially for mobile phone user groups who are proficient in using computers, the Qwerty keyboard is still the preferred keyboard layout.
现有的触摸屏虚拟键盘按键布局方式存在以下的问题,使用Qwerty键盘按键布局的虚拟键盘,由于按键尺寸较小,用户在使用手指点击时,无法实现准确点击,降低了输入速度。The existing touch screen virtual keyboard key layout method has the following problems. The virtual keyboard using the Qwerty keyboard key layout, because the key size is small, the user cannot click accurately when clicking with a finger, which reduces the input speed.
发明内容Contents of the invention
本发明实施例提供一种虚拟键盘的字母按键显示方法及装置,用以提高使用虚拟键盘进行文字输入时点击按键的准确性和输入速度。Embodiments of the present invention provide a method and device for displaying letter keys of a virtual keyboard, which are used to improve the accuracy and input speed of clicking keys when using the virtual keyboard for text input.
本发明实施例提供一种虚拟键盘的字母按键显示方法,包括:An embodiment of the present invention provides a method for displaying letter keys of a virtual keyboard, comprising:
根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与所述已输入字母对应的高频字母;Determine the high-frequency letters corresponding to the input letters according to the input letters and the statistical correspondence between the input letters and high-frequency letters in the text input process;
在显示虚拟键盘时,将所述已输入字母对应的高频字母的按键放大。When the virtual keyboard is displayed, the keys of the high-frequency letters corresponding to the input letters are enlarged.
本发明实施例还提供一种虚拟键盘的字母按键显示装置,包括:The embodiment of the present invention also provides a letter key display device of a virtual keyboard, comprising:
确定单元,用于根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与所述已输入字母对应的高频字母;A determining unit, configured to determine the high-frequency letters corresponding to the input letters according to the input letters and the statistical correspondence between the input letters and high-frequency letters during the current text input process;
显示单元,用于在显示虚拟键盘时,将所述已输入字母对应的高频字母的按键放大。The display unit is configured to enlarge the keys of the high-frequency letters corresponding to the input letters when the virtual keyboard is displayed.
本发明实施例提供的方法中,在用户一次输入文字过程中输入字母后,根据已输入字母和统计的已输入字母与高频字母的对应关系,确定出与该已输入字母对应的高频字母;并在接下来显示虚拟键盘的字母按键时,放大确定出的虚拟键盘的字母按键中的高频字母的按键;其中,由于高频字母与已输入字母相对应,反应了用户的输入习惯,所以,对高频字母的按键进行放大,方便用户对高频字母的按键的点击,进而提高了点击按键的准确性和输入速度。In the method provided by the embodiment of the present invention, after the user enters a letter during a text input process, the high-frequency letter corresponding to the entered letter is determined according to the corresponding relationship between the entered letter and the statistically entered letter and the high-frequency letter ; and when the letter keys of the virtual keyboard are displayed next, the keys of the high-frequency letters in the letter keys of the determined virtual keyboard are enlarged; wherein, since the high-frequency letters correspond to the letters that have been input, it reflects the user's input habits, Therefore, enlarging the keys of high-frequency letters is convenient for the user to click on the keys of high-frequency letters, thereby improving the accuracy and input speed of clicking the keys.
附图说明Description of drawings
图1为本发明实施例提供的虚拟键盘的字母按键显示方法的流程图;Fig. 1 is the flow chart of the letter button display method of the virtual keyboard that the embodiment of the present invention provides;
图2为本发明实施例中采用Qwerty键盘的字母按键的布局方式的虚拟键盘按键布局示意图;Fig. 2 adopts the virtual keyboard key layout schematic diagram of the layout mode of the letter key of Qwerty keyboard in the embodiment of the present invention;
图3为本发明实施例一提供的虚拟键盘的字母按键显示方法的流程图;FIG. 3 is a flow chart of a method for displaying letter keys of a virtual keyboard provided by Embodiment 1 of the present invention;
图4为本发明实施例中采用Qwerty键盘的字母按键的布局方式的虚拟键盘的字母按键的显示示意图;Fig. 4 is the display schematic diagram of the letter keys of the virtual keyboard adopting the layout mode of the letter keys of Qwerty keyboard in the embodiment of the present invention;
图5为本发明实施例二提供的虚拟键盘的字母按键显示方法的流程图;FIG. 5 is a flow chart of a method for displaying letter keys of a virtual keyboard provided by Embodiment 2 of the present invention;
图6为本发明实施例提供的虚拟键盘的字母按键显示装置的结构示意图。FIG. 6 is a schematic structural diagram of a display device for letter keys of a virtual keyboard provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了给出提高使用虚拟键盘进行文字输入时点击按键的准确性和输入速度的实现方案,本发明实施例提供了一种虚拟键盘的字母按键显示方法及装置,以下结合说明书附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。In order to provide an implementation plan for improving the accuracy and input speed of clicking buttons when using a virtual keyboard for text input, the embodiment of the present invention provides a method and device for displaying letter keys on a virtual keyboard. The embodiments are described, and it should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention. And in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
本发明实施例提供一种虚拟键盘的字母按键显示方法,如图1所示,包括:The embodiment of the present invention provides a method for displaying letter keys of a virtual keyboard, as shown in FIG. 1 , comprising:
步骤S101、根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与该已输入字母对应的高频字母。Step S101 : Determine the high-frequency letter corresponding to the input letter according to the input letter in the current character input process and the statistical correspondence between the input letter and the high-frequency letter.
高频字母为根据用户历史输入的字母之间的先后顺序,统计的在多次输入该已输入字母后对应输入的多个第一个字母中输入概率高的若干个字母。The high-frequency letters are the letters with high input probability among the first letters input after multiple input of the input letters according to the order of the letters entered by the user in history.
步骤S102、在显示虚拟键盘时,将已输入字母对应的高频字母的按键放大。Step S102 , when the virtual keyboard is displayed, enlarge the key of the high-frequency letter corresponding to the input letter.
较佳的,上述步骤S101中,可以对应虚拟键盘的每行按键,分别在每行按键对应的所有字母中确定出与已输入字母对应的指定个数的高频字母,相应的,在上述步骤S102中,也可以在显示虚拟键盘的字母按键时,对每行按键的高频字母的按键进行放大显示。Preferably, in the above step S101, corresponding to each row of keys of the virtual keyboard, a specified number of high-frequency letters corresponding to the input letters can be determined from all letters corresponding to each row of keys, correspondingly, in the above steps In S102, when the letter keys of the virtual keyboard are displayed, the keys of the high-frequency letters of each row of keys may be enlarged and displayed.
由于屏幕宽度有限,在放大高频字母按键时需要利用其他区域,例如,为获得较佳的放大效果,利用其相邻按键所在区域,而为不影响其相邻按键的点击准确性,又不能随意的缩小其相邻按键所在区域,具体对于虚拟键盘中的一行按键,可以采用本发明实施例提供的如下方式之一显示该行字母按键:Due to the limited width of the screen, it is necessary to use other areas when enlarging high-frequency letter keys. For example, in order to obtain a better magnification effect, use the area where the adjacent keys are located, and in order not to affect the click accuracy of the adjacent keys, it cannot The area where its adjacent keys are located can be arbitrarily reduced. Specifically, for a row of buttons in the virtual keyboard, one of the following methods provided by the embodiment of the present invention can be used to display the row of letter buttons:
方式一:由于每行按键的数量可能不同,所以一般显示屏幕的宽度以按键数量最多的一行按键所在区域的宽度为准,且为便于美观和符合物理键盘的布局方式,按键之间的距离是相同的,如图2所示为采用Qwerty键盘的字母按键的布局方式的虚拟键盘按键布局示意图,其中,第一行按键的数量大于第二行按键的数量,则对于按键数量较少的一行按键,在其两侧会存在空白区域,因此,可以利用该空白区域显示该行字母按键,具体可以为:在显示该行字母按键时,放大高频字母按键,并同时保持其他字母按键的大小和字母按键之间的距离不变,此时该行所有字母按键占用的区域的宽度相比之前会变大,则超出部分即可以利用该空白区域进行显示,如图4所示的第二行字母按键的显示。Method 1: Since the number of keys in each row may be different, the width of the general display screen is based on the width of the area where the row of keys with the largest number of keys is located. In order to facilitate the appearance and conform to the layout of the physical keyboard, the distance between the keys is Same, as shown in Figure 2, it is a schematic diagram of virtual keyboard key layout adopting the layout mode of letter keys of Qwerty keyboard, wherein, the quantity of the first row of keys is greater than the quantity of the second row of keys, then for the less row of keys of the key quantity , there will be a blank area on both sides of it, so the blank area can be used to display the row of letter keys, specifically: when displaying the row of letter keys, enlarge the high-frequency letter keys, and at the same time maintain the size and size of other letter keys The distance between the letter keys remains unchanged. At this time, the width of the area occupied by all the letter keys in this row will become larger than before, and the excess part can be displayed in this blank area, as shown in the second row of letters in Figure 4. key display.
方式二:虚拟键盘中的按键除字母按键外还会设置非字母按键,如标点符号按键,空格按键,回车按键和退格按键等,如图2所示第三行按键中即设置了逗号按键和回车按键,而在输入文字(例如汉字)过程中,一些非字母按键是不会被点击使用的,如标点符号按键,因此,可以利用这些非字母按键所在区域显示该行字母按键,具体可以为:在显示该行字母按键时,放大高频字母按键,并同时保持其他字母按键的大小和字母按键之间的距离不变,此时该行所有字母按键占用的区域的宽度相比之前会变大,则超出部分即可以利用这些非字母按键所在区域进行显示,如图4所示的第三行字母按键的显示。Method 2: In addition to letter keys, the keys in the virtual keyboard also have non-alphabet keys, such as punctuation mark keys, space keys, enter keys and backspace keys, etc., as shown in Figure 2, commas are set in the third row of keys button and enter button, and in the process of inputting text (such as Chinese characters), some non-letter buttons will not be clicked and used, such as punctuation buttons, so you can use the area where these non-letter buttons are located to display the row of letter buttons, Specifically, when displaying the row of letter buttons, enlarge the high-frequency letter buttons, and keep the size of the other letter buttons and the distance between the letter buttons unchanged. At this time, the width of the area occupied by all letter buttons in the row is compared It will become larger before, and the excess part can be displayed by using the area where these non-letter keys are located, as shown in the display of the third row of letter keys as shown in FIG. 4 .
方式三:根据文字的输入规则,在输入若干个字母后,接下来一些字母是不会第一个被输入的,例如,在进行汉字输入时,字母“V”只可能在字母“L”和“N”后才可能被点击,又比如字母“I”、“U”和“V”都不会作为第一个字母进行输入,此时则可以利用这些不会被第一个输入的字母按键所在区域显示该行其他字母按键,具体可以为:在显示该行其他字母按键时,放大高频字母按键,并同时保持其余字母按键的大小和字母按键之间的距离不变,此时该行其他字母按键占用的区域的宽度相比之前会变大,则超出部分即可以利用这些不会被第一个输入的字母按键所在区域进行显示。Method 3: According to the text input rules, after entering several letters, some letters will not be entered first. For example, when entering Chinese characters, the letter "V" can only be entered between the letter "L" and Only after "N" can be clicked. For example, the letters "I", "U" and "V" will not be input as the first letter. At this time, you can use these letters that will not be the first input. The area displays other letter buttons in the row, specifically: when displaying other letter buttons in the row, enlarge the high-frequency letter buttons, and keep the size of the rest of the letter buttons and the distance between the letter buttons unchanged, at this time the row The width of the area occupied by other letter keys will be larger than before, and the excess part can be displayed by using the area where the first input letter key is not located.
方式四:如果虚拟键盘的一行按键,在其按键两侧不存在屏幕空白区域,也不存在非字母按键,且所有字母均有可能在接下来第一个被输入,如图2所示的第一行按键即有可能出现此种情况,此时可以根据已输入字母和统计的已输入字母与低频字母的对应关系,在该行按键对应的所有字母中确定出与已输入字母对应的指定个数的低频字母;并缩小确定出的低频字母的按键,放大确定出的高频字母按键,显示虚拟键盘中的该行字母的所有字母按键,较佳的,此时低频字母按键缩小的宽度与高频字母按键放大的宽度相等;其中,与高频字母相对应,低频字母为根据用户历史输入的字母之间的先后顺序,统计的在多次输入该已输入字母后对应输入的多个第一个字母中输入概率低的若干个字母。Method 4: If there is no screen blank area on both sides of the virtual keyboard, and there are no non-letter keys, and all letters may be entered first, as shown in Figure 2. This situation may occur in a row of buttons. At this time, according to the corresponding relationship between the input letters and the statistics of the input letters and the low-frequency letters, the designated letter corresponding to the input letter can be determined among all the letters corresponding to the row of buttons. and reduce the determined low-frequency letter keys, enlarge the determined high-frequency letter keys, and display all letter keys of the row of letters in the virtual keyboard. Preferably, the reduced width of the low-frequency letter keys is the same as The enlarged width of the high-frequency letter keys is equal; among them, corresponding to the high-frequency letters, the low-frequency letters are the sequence of letters input according to the user's history, and the statistics correspond to multiple input after multiple input of the input letters. Several letters with low input probability in one letter.
本发明实施例提供的上述方法中,对于根据的已输入字母的数量以及确定出的高频字母和低频字母的数量,可以根据实际需要灵活设置,例如,对于根据的已输入字母的数量,可以在进行一个汉字的输入过程中,当已输入的所有字母的数量不大于3时,根据已输入的所有字母确定高频字母和低频字母,当已输入的所有字母的数量大于3时,根据最近输入的3个字母确定高频字母和低频字母;确定出的高频字母和低频字母的数量可以选取2。In the above method provided by the embodiment of the present invention, the number of letters that have been input and the number of high-frequency letters and low-frequency letters determined can be flexibly set according to actual needs. For example, for the number of letters that have been input, you can During the input process of a Chinese character, when the quantity of all the letters that have been input is not greater than 3, determine the high-frequency letter and the low-frequency letter according to all the letters that have been input, when the quantity of all the letters that have been input is greater than 3, according to the latest The input 3 letters determine high-frequency letters and low-frequency letters; the number of determined high-frequency letters and low-frequency letters can be selected as 2.
本发明实施例提供的上述方法中,统计的已输入字母与高频字母的对应关系,以及统计的已输入字母与低频字母的对应关系,可以是根据用户历史设定次数的输入进行统计后,确定不变的;也可以是在用户通过显示的虚拟键盘的字母按键输入字母后,动态更新的,具体可以为:更新统计的在输入该已输入字母后输入的各第一个字母的输入概率,并当输入的各第一个字母的输入概率之间的大小关系变化时,更新统计的已输入字母与高频字母的对应关系;该动态更新方式也可以在间隔设定次数的输入后更新一次。In the above method provided by the embodiment of the present invention, the statistical correspondence between the input letters and the high-frequency letters, and the statistical correspondence between the input letters and the low-frequency letters can be calculated according to the number of times the user has set the input history, Definitely unchanged; it can also be dynamically updated after the user enters a letter through the letter keys of the displayed virtual keyboard. Specifically, it can be: update the statistical input probability of each first letter after entering the input letter , and when the size relationship between the input probabilities of the first letters of the input changes, the corresponding relationship between the input letters and the high-frequency letters of the statistics is updated; this dynamic update method can also be updated after the input of the interval setting times once.
下面结合附图,以虚拟键盘中的字母按键的布局方式采用Qwerty键盘的字母按键的布局方式为例,对本发明提供的方法及装置进行详细描述,在其他实施例中,本发明提供的方法也可采用其他字母按键的布局方式。Below in conjunction with accompanying drawing, adopt the layout mode of the letter key of Qwerty keyboard as an example with the layout mode of the letter key in the virtual keyboard, the method and device provided by the invention are described in detail, in other embodiments, the method provided by the invention also The layout of other letter keys can be adopted.
实施例一:Embodiment one:
图3所示为本发明实施例一提供的虚拟键盘的字母按键显示方法的流程图,包括:Fig. 3 shows the flowchart of the method for displaying the letter keys of the virtual keyboard provided by Embodiment 1 of the present invention, including:
步骤S301、显示初始虚拟键盘的按键,其中初始状态的虚拟键盘,各按键可以是相同大小的,如图2所示。Step S301 , displaying the keys of the initial virtual keyboard, where the keys of the virtual keyboard in the initial state may be of the same size, as shown in FIG. 2 .
步骤S302、用户进行本次文字输入过程中的按键输入。Step S302, the user performs key input during the current text input process.
步骤S303、在本次文字输入过程中,当已输入的所有字母的数量不大于3时,获取已输入的所有字母,当已输入的所有字母的数量大于3时,获取最近输入的3个字母。Step S303, during this text input process, when the number of all the letters that have been input is not greater than 3, obtain all the letters that have been input, and when the number of all the letters that have been input is greater than 3, obtain the latest 3 letters .
步骤S304、根据获取的该已输入字母和统计的已输入字母与高频字母的对应关系,对应虚拟键盘的三行按键,在每行按键对应的所有字母中确定出与获取的该已输入字母对应的2个高频字母,共计确定出6个高频字母。Step S304, according to the obtained input letters and the statistical correspondence between the input letters and high-frequency letters, corresponding to the three rows of keys on the virtual keyboard, determine the acquired input letters among all the letters corresponding to each row of keys Corresponding to the 2 high-frequency letters, a total of 6 high-frequency letters are determined.
步骤S305、对于第一行按键,当根据文字输入规则,在第一行按键中确定出在输入该已输入字母后不会第一个被输入的字母时,利用确定出的不会第一个被输入的字母的按键所在区域,显示第一行按键的其他字母按键;否则,根据获取的该已输入字母和统计的已输入字母与低频字母的对应关系,在第一行按键对应的所有字母中确定出与该已输入字母对应的2个低频字母,并以缩小确定出的2个该低频字母按键所在区域的方式,显示第一行字母按键;在显示第一行字母按键时,放大确定出的高频字母按键;Step S305, for the first row of buttons, when according to the text input rules, it is determined in the first row of buttons that the letter that will not be the first input after the input letter is input, use the determined letter that will not be the first In the area where the key of the input letter is located, other letter keys in the first row of keys are displayed; otherwise, all letters corresponding to the keys in the first row are Determine the 2 low-frequency letters corresponding to the input letter, and display the first row of letter buttons by narrowing the area where the determined 2 low-frequency letter buttons are located; when displaying the first row of letter buttons, zoom in and confirm High-frequency letter keys;
对于第二行按键,占用第二行按键两侧的屏幕空白区域,显示第二行字母按键;在显示第二行字母按键时,放大确定出的高频字母按键;For the second row of buttons, occupy the blank area of the screen on both sides of the second row of buttons, and display the second row of letter buttons; when displaying the second row of letter buttons, zoom in on the determined high-frequency letter buttons;
对于第三行按键,占用第三行按键中的非字母按键所在区域,显示第三行字母按键;在显示第三行字母按键时,放大确定出的高频字母按键;For the third row of buttons, occupy the area where the non-letter buttons in the third row of buttons are located, and display the third row of letter buttons; when displaying the third row of letter buttons, enlarge the determined high-frequency letter buttons;
上述虚拟键盘的字母按键显示示意图如图4所示。A schematic diagram of displaying alphabetic keys of the above-mentioned virtual keyboard is shown in FIG. 4 .
本步骤中,对于三行按键的处理可以同时进行的,也可以是按先后顺序进行的。In this step, the processing of the three rows of keys may be performed simultaneously or sequentially.
步骤S306、判断用户是否已选择汉字完成本次文字输入,如果是,进入步骤S301,否则,进入步骤S302。Step S306, judging whether the user has selected Chinese characters to complete the current text input, if yes, proceed to step S301, otherwise, proceed to step S302.
实施例二:Embodiment two:
图5为本发明实施例二提供的虚拟键盘的字母按键显示方法的流程图,包括:FIG. 5 is a flow chart of a method for displaying letter keys of a virtual keyboard provided in Embodiment 2 of the present invention, including:
步骤S501、显示初始虚拟键盘的按键,其中初始状态的虚拟键盘,各按键所在区域可以是相同大小的,如图2所示。Step S501 , displaying the keys of the initial virtual keyboard, wherein in the virtual keyboard in the initial state, the area where each key is located may be of the same size, as shown in FIG. 2 .
步骤S502、用户进行本次文字输入过程中的按键输入。Step S502, the user performs key input during the current text input process.
步骤S503、在本次文字输入过程中,当已输入的所有字母的数量不大于3时,获取已输入的所有字母,当已输入的所有字母的数量大于3时,获取最近输入的3个字母。Step S503, during this text input process, when the number of all the letters that have been input is not greater than 3, obtain all the letters that have been input, and when the number of all the letters that have been input is greater than 3, obtain the last 3 letters that have been input .
步骤S504、根据获取的该已输入字母和统计的已输入字母与高频字母的对应关系,对应虚拟键盘的三行按键,在每行按键对应的所有字母中确定出与获取的该已输入字母对应的2个高频字母,共计确定出6个高频字母。Step S504, according to the obtained input letters and the statistical correspondence between the input letters and high-frequency letters, corresponding to the three rows of keys on the virtual keyboard, determine the acquired input letters among all the letters corresponding to each row of keys Corresponding to the 2 high-frequency letters, a total of 6 high-frequency letters are determined.
步骤S505、对于每行按键,均采用如下方式显示每行字母按键:Step S505, for each row of buttons, each row of letter buttons is displayed in the following manner:
首先判断本行按键两侧是否存在屏幕空白区域,如果存在空白区域,则利用该行按键两侧的屏幕空白区域,显示该行字母按键;如果不存在空白区域,再判断本行按键中是否存在不会点击的非字母按键,如果存在非字母按键,占用该行按键中的非字母按键所在区域,显示该行字母按键;如果不存在非字母按键,再判断根据文字输入规则,在该行按键中是否确定出在输入该已输入字母后不会第一个被输入的字母,如果确定出,占用确定出的不会第一个被输入的字母的按键所在区域,显示该行按键的其他字母按键;如果没有确定出,根据获取的该已输入字母和统计的已输入字母与低频字母的对应关系,在该行按键对应的所有字母中确定出与该已输入字母对应的2个低频字母,并缩小确定出的2个该低频字母按键所在区域,显示该行字母按键。First judge whether there is a blank area on the screen on both sides of the button in this row. If there is a blank area, use the blank area on the screen on both sides of the button in the row to display the letter button in the row; if there is no blank area, then judge whether there is a blank area in the button in the row Non-alphabetic keys that cannot be clicked, if there are non-alphabetic keys, occupy the area where the non-alphabetic keys in the row of keys are located, and display the row of alphabetic keys; Whether it is determined that the letter that will not be the first input after the entered letter is entered, if it is determined, occupy the area where the key that is determined not to be the first input letter is located, and display other letters of the row of keys button; if it is not determined, according to the corresponding relationship between the input letters obtained and the statistics of the input letters and the low-frequency letters, determine the 2 low-frequency letters corresponding to the input letters in all letters corresponding to the row of buttons, And narrow down the area where the two determined low-frequency letter keys are located, and display the row of letter keys.
本步骤中,在显示每行字母按键时,均放大确定出的高频字母按键,显示示意图如图4所示。In this step, when each row of letter keys is displayed, the determined high-frequency letter keys are enlarged, as shown in FIG. 4 .
本步骤中,对于三行按键的处理可以同时进行,也可以是按先后顺序进行的。In this step, the processing of the three rows of keys can be performed simultaneously or sequentially.
步骤S506、判断用户是否已选择汉字完成本次文字输入,如果是,进入步骤S501,否则,进入步骤S502。Step S506 , judging whether the user has selected Chinese characters to complete the current text input, if yes, go to step S501 , otherwise, go to step S502 .
基于同一发明构思,根据本发明上述实施例提供的虚拟键盘的字母按键显示方法,相应地,本发明另一实施例还提供了一种虚拟键盘的字母案件显示装置,其结构示意图如图6所示,包括:Based on the same inventive concept, according to the method for displaying the letter keys of the virtual keyboard provided by the above-mentioned embodiments of the present invention, another embodiment of the present invention also provides a display device for the letters of the virtual keyboard, the structural diagram of which is shown in Figure 6 display, including:
确定单元601,用于根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与已输入字母对应的高频字母;The
显示单元602,用于在显示虚拟键盘时,将所述已输入字母对应的高频字母的按键放大。The
较佳的,所述确定单元601,具体用于根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,对应虚拟键盘的每行按键,分别在每行按键对应的所有字母中确定出与已输入字母对应的指定个数的高频字母。Preferably, the determining
较佳的,所述显示单元602,具体用于对于虚拟键盘中的一行按键,采用如下方式显示该行字母按键:Preferably, the
利用该行按键两侧的屏幕空白区域,显示虚拟键盘的该行字母按键;或者Use the screen blank areas on both sides of the row of buttons to display the row of letter buttons of the virtual keyboard; or
利用该行按键的非字母按键所在区域,显示虚拟键盘的该行字母按键;或者Use the area where the non-letter keys of the row of keys are located to display the row of letter keys of the virtual keyboard; or
根据文字输入规则,确定出在输入该已输入字母后不会第一个被输入的字母;并利用该行按键中确定出的不会第一个被输入的字母的按键所在区域,显示虚拟键盘中的该行其他字母按键;或者According to the text input rules, determine the letter that will not be the first input after the entered letter is entered; and use the area where the key that is not the first input letter determined in the row of keys is located to display the virtual keyboard other letter keys in the row; or
根据已输入字母和统计的已输入字母与低频字母的对应关系,在该行按键对应的所有字母中确定出与已输入字母对应的指定个数的低频字母;缩小确定出的低频字母的按键所在区域,显示虚拟键盘中的该行字母按键;According to the correspondence between the entered letters and the statistics of the entered letters and the low-frequency letters, determine the specified number of low-frequency letters corresponding to the entered letters in all the letters corresponding to the row of keys; narrow down the location of the determined low-frequency letters area, displaying the row of letter keys in the virtual keyboard;
并在显示时将在该行按键中确定出的高频字母的按键放大。And when displaying, the keys of the high-frequency letters determined in the row of keys are enlarged.
较佳的,所述显示单元602,具体用于利用第一行按键中确定出的不会第一个被输入的字母的按键所在区域,显示虚拟键盘中的第一行其他字母按键;或者缩小确定出的第一行按键中的低频字母的按键所在区域,显示虚拟键盘中的第一行字母按键;并在显示时将在第一行按键中确定出的所述高频字母的按键放大;利用第二行按键两侧的屏幕空白区域,显示虚拟键盘中的第二行字母按键;并在显示时将在第二行按键中确定出的高频字母的按键放大;利用第三行按键中的非字母按键所在区域,显示虚拟键盘中的该行字母按键;并在显示时将在第三行按键中确定出的高频字母的按键放大;虚拟键盘中的字母按键的布局方式采用Qwerty键盘的字母按键的布局方式。Preferably, the
较佳的,上述显示装置还包括:Preferably, the above display device further includes:
更新单元603,用于在用户通过显示的虚拟键盘的字母按键输入字母后,更新统计的已输入字母与高频字母的对应关系。The updating
综上所述,本发明实施例提供的方案,包括:根据本次文字输入过程中已输入字母和统计的已输入字母与高频字母的对应关系,确定出与已输入字母对应的高频字母;高频字母为根据用户历史输入的字母之间的先后顺序,统计的在多次输入该已输入字母后对应输入的多个第一个字母中输入概率高的若干个字母;并显示虚拟键盘的字母按键;其中,虚拟键盘的字母按键中确定出的高频字母的按键所在区域被放大。采用本发明实施例提供的方案,由于高频字母为根据用户历史输入的字母之间的先后顺序,统计的在多次输入该已输入字母后对应输入的多个第一个字母中输入概率高的若干个字母,反应了用户的输入习惯,所以,对高频字母的按键进行放大,方便用户对高频字母的按键的点击,提高了使用虚拟键盘进行文字输入时点击按键的准确性和输入速度。In summary, the solution provided by the embodiment of the present invention includes: determining the high-frequency letters corresponding to the entered letters according to the correspondence between the entered letters and the statistically entered letters and high-frequency letters in the text input process. ; High-frequency letters are based on the order of letters entered by the user in history, counting several letters with high input probability among the first letters that have been input after multiple input of the input letter; and display the virtual keyboard The letter keys of the virtual keyboard; wherein, the area where the keys of the high-frequency letters determined in the letter keys of the virtual keyboard are located is enlarged. Using the scheme provided by the embodiment of the present invention, since the high-frequency letters are in the order of the letters entered according to the user's history, statistically, the input probability among the multiple first letters corresponding to the input after multiple input of the input letter is high Several letters in the system reflect the user's input habits. Therefore, the buttons of high-frequency letters are enlarged to facilitate the user's clicking on the buttons of high-frequency letters, which improves the accuracy and input accuracy of clicking buttons when using the virtual keyboard for text input. speed.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101215731A CN102193711A (en) | 2010-03-10 | 2010-03-10 | Method and device for displaying letter keys of virtual keyboard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101215731A CN102193711A (en) | 2010-03-10 | 2010-03-10 | Method and device for displaying letter keys of virtual keyboard |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102193711A true CN102193711A (en) | 2011-09-21 |
Family
ID=44601866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101215731A Pending CN102193711A (en) | 2010-03-10 | 2010-03-10 | Method and device for displaying letter keys of virtual keyboard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102193711A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915206A (en) * | 2012-09-19 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method and system for adjusting sizes of keys of screen keyboard |
CN103268154A (en) * | 2013-05-29 | 2013-08-28 | 深圳市九洲电器有限公司 | Method and device for inputting letters on set top box virtual keyboard |
WO2013185548A1 (en) * | 2012-06-12 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Touch control input method and system, computer storage medium |
CN104238891A (en) * | 2014-09-22 | 2014-12-24 | 联想(北京)有限公司 | Instruction receiving method and instruction receiving device |
CN104281398A (en) * | 2013-07-11 | 2015-01-14 | 中兴通讯股份有限公司 | Touch keyboard key variable method and terminal |
CN104360810A (en) * | 2014-10-17 | 2015-02-18 | 广东欧珀移动通信有限公司 | Display method of virtual keys and electronic equipment |
CN104615262A (en) * | 2013-11-01 | 2015-05-13 | 辉达公司 | Input method and input system used for virtual keyboard |
CN104808945A (en) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | Display method and display device of virtual keys |
CN104883597A (en) * | 2015-05-20 | 2015-09-02 | 福建新大陆通信科技股份有限公司 | Set top box soft keyboard input method based on input priority and system thereof |
CN104898482A (en) * | 2015-05-04 | 2015-09-09 | 广东美的制冷设备有限公司 | Control interface displaying method and device |
CN105872689A (en) * | 2016-05-25 | 2016-08-17 | 刘健文 | Character input method of STB (set top box) virtual keyboard |
CN106951173A (en) * | 2012-12-27 | 2017-07-14 | 北京三星通信技术研究有限公司 | The input method and intelligent terminal of a kind of intelligent terminal |
CN107168552A (en) * | 2017-06-20 | 2017-09-15 | 北京京东尚科信息技术有限公司 | Input method, input unit and electronic equipment |
CN108710465A (en) * | 2018-03-19 | 2018-10-26 | 西安艾润物联网技术服务有限责任公司 | License plate number input method virtual key display control method, storage medium and user terminal |
CN109144283A (en) * | 2018-10-22 | 2019-01-04 | 米环科技(长春)有限公司 | Keyboard and inputting method applied to electronic equipment |
CN115437548A (en) * | 2022-09-26 | 2022-12-06 | 维沃移动通信有限公司 | Display method, device, electronic device and storage medium of virtual keyboard |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5457454A (en) * | 1992-09-22 | 1995-10-10 | Fujitsu Limited | Input device utilizing virtual keyboard |
US5574482A (en) * | 1994-05-17 | 1996-11-12 | Niemeier; Charles J. | Method for data input on a touch-sensitive screen |
US5963671A (en) * | 1991-11-27 | 1999-10-05 | International Business Machines Corporation | Enhancement of soft keyboard operations using trigram prediction |
TWI235942B (en) * | 2001-10-29 | 2005-07-11 | Oqo Inc | Keyboard with variable-sized key |
CN101430632A (en) * | 2008-12-19 | 2009-05-13 | 深圳华为通信技术有限公司 | Touch screen input method and apparatus, and communication terminal |
CN101442584A (en) * | 2007-11-20 | 2009-05-27 | 中兴通讯股份有限公司 | Touch screen mobile phone capable of improving key-press input rate |
CN101539838A (en) * | 2009-05-04 | 2009-09-23 | 深圳华为通信技术有限公司 | Method and device for user input through touch screen |
CN101571783A (en) * | 2008-04-29 | 2009-11-04 | 环达电脑(上海)有限公司 | Method for realizing input of soft keyboard character by small touch screen |
-
2010
- 2010-03-10 CN CN2010101215731A patent/CN102193711A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5963671A (en) * | 1991-11-27 | 1999-10-05 | International Business Machines Corporation | Enhancement of soft keyboard operations using trigram prediction |
US5457454A (en) * | 1992-09-22 | 1995-10-10 | Fujitsu Limited | Input device utilizing virtual keyboard |
US5574482A (en) * | 1994-05-17 | 1996-11-12 | Niemeier; Charles J. | Method for data input on a touch-sensitive screen |
TWI235942B (en) * | 2001-10-29 | 2005-07-11 | Oqo Inc | Keyboard with variable-sized key |
CN101442584A (en) * | 2007-11-20 | 2009-05-27 | 中兴通讯股份有限公司 | Touch screen mobile phone capable of improving key-press input rate |
CN101571783A (en) * | 2008-04-29 | 2009-11-04 | 环达电脑(上海)有限公司 | Method for realizing input of soft keyboard character by small touch screen |
CN101430632A (en) * | 2008-12-19 | 2009-05-13 | 深圳华为通信技术有限公司 | Touch screen input method and apparatus, and communication terminal |
CN101539838A (en) * | 2009-05-04 | 2009-09-23 | 深圳华为通信技术有限公司 | Method and device for user input through touch screen |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013185548A1 (en) * | 2012-06-12 | 2013-12-19 | 腾讯科技(深圳)有限公司 | Touch control input method and system, computer storage medium |
CN103488408A (en) * | 2012-06-12 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Touch operation method and touch operation system |
CN102915206B (en) * | 2012-09-19 | 2015-08-12 | 东莞宇龙通信科技有限公司 | The button scale adjusting method of on-screen keyboard and system |
CN102915206A (en) * | 2012-09-19 | 2013-02-06 | 东莞宇龙通信科技有限公司 | Method and system for adjusting sizes of keys of screen keyboard |
CN106951173A (en) * | 2012-12-27 | 2017-07-14 | 北京三星通信技术研究有限公司 | The input method and intelligent terminal of a kind of intelligent terminal |
CN103268154A (en) * | 2013-05-29 | 2013-08-28 | 深圳市九洲电器有限公司 | Method and device for inputting letters on set top box virtual keyboard |
CN103268154B (en) * | 2013-05-29 | 2016-04-20 | 深圳市九洲电器有限公司 | A kind of letter input method of set top box virtual keyboard and device |
CN104281398A (en) * | 2013-07-11 | 2015-01-14 | 中兴通讯股份有限公司 | Touch keyboard key variable method and terminal |
CN104615262A (en) * | 2013-11-01 | 2015-05-13 | 辉达公司 | Input method and input system used for virtual keyboard |
CN104238891A (en) * | 2014-09-22 | 2014-12-24 | 联想(北京)有限公司 | Instruction receiving method and instruction receiving device |
CN104360810A (en) * | 2014-10-17 | 2015-02-18 | 广东欧珀移动通信有限公司 | Display method of virtual keys and electronic equipment |
CN104808945A (en) * | 2015-04-29 | 2015-07-29 | 努比亚技术有限公司 | Display method and display device of virtual keys |
CN104898482A (en) * | 2015-05-04 | 2015-09-09 | 广东美的制冷设备有限公司 | Control interface displaying method and device |
CN104883597A (en) * | 2015-05-20 | 2015-09-02 | 福建新大陆通信科技股份有限公司 | Set top box soft keyboard input method based on input priority and system thereof |
CN105872689A (en) * | 2016-05-25 | 2016-08-17 | 刘健文 | Character input method of STB (set top box) virtual keyboard |
CN105872689B (en) * | 2016-05-25 | 2019-01-29 | 刘健文 | A kind of character input method of set top box virtual keyboard |
CN107168552A (en) * | 2017-06-20 | 2017-09-15 | 北京京东尚科信息技术有限公司 | Input method, input unit and electronic equipment |
CN108710465A (en) * | 2018-03-19 | 2018-10-26 | 西安艾润物联网技术服务有限责任公司 | License plate number input method virtual key display control method, storage medium and user terminal |
CN109144283A (en) * | 2018-10-22 | 2019-01-04 | 米环科技(长春)有限公司 | Keyboard and inputting method applied to electronic equipment |
CN115437548A (en) * | 2022-09-26 | 2022-12-06 | 维沃移动通信有限公司 | Display method, device, electronic device and storage medium of virtual keyboard |
WO2024067307A1 (en) * | 2022-09-26 | 2024-04-04 | 维沃移动通信有限公司 | Display method and apparatus for virtual keyboard, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102193711A (en) | Method and device for displaying letter keys of virtual keyboard | |
US11416141B2 (en) | Method, system, and graphical user interface for providing word recommendations | |
Nesbat | A system for fast, full-text entry for small electronic devices | |
US8812972B2 (en) | Dynamic generation of soft keyboards for mobile devices | |
US7957955B2 (en) | Method and system for providing word recommendations for text input | |
US8605039B2 (en) | Text input | |
KR101110501B1 (en) | Keyboards for portable electronic devices | |
US20140078065A1 (en) | Predictive Keyboard With Suppressed Keys | |
US20140351760A1 (en) | Order-independent text input | |
US20070152980A1 (en) | Touch Screen Keyboards for Portable Electronic Devices | |
CN102346648B (en) | Method and system for realizing priorities of input characters of squared up based on touch screen | |
JP2000035857A (en) | Screen display type key input device | |
CN101996020B (en) | Method and device for displaying virtual keyboard | |
CN101369209B (en) | Hand-written input device and method for complete mixing input | |
CN104007890A (en) | Information processing method and electronic device | |
CN106527755A (en) | Text input method and device for a wearable device | |
US20170371424A1 (en) | Predictive Text Typing Employing An Augmented Computer Keyboard | |
US20130091455A1 (en) | Electronic device having touchscreen and character input method therefor | |
US20060055676A1 (en) | Apparatus for and method of inputting alphabets using a reduced keypad | |
CN102467338A (en) | Electronic device and key display method of software keyboard thereof | |
US10338810B2 (en) | Four row overload QWERTY-like keypad layout | |
CN114356113A (en) | Input method and input device | |
Mittal et al. | Improvised layout of keypad entry system for mobile phones | |
CN101162415A (en) | Touch screen keyboard and keyboard arrangement method thereof | |
KR20170075904A (en) | A software keyboard for mobile devices for comprising additional service |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110921 |