[go: up one dir, main page]

CN103713840B - Portable device and key clicking range adjusting method thereof - Google Patents

Portable device and key clicking range adjusting method thereof Download PDF

Info

Publication number
CN103713840B
CN103713840B CN201310424639.8A CN201310424639A CN103713840B CN 103713840 B CN103713840 B CN 103713840B CN 201310424639 A CN201310424639 A CN 201310424639A CN 103713840 B CN103713840 B CN 103713840B
Authority
CN
China
Prior art keywords
character
processor
word
key
keys
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.)
Expired - Fee Related
Application number
CN201310424639.8A
Other languages
Chinese (zh)
Other versions
CN103713840A (en
Inventor
曾焕智
李冠慰
陈帆
陈一帆
陈学群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HTC Corp
Original Assignee
HTC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/781,071 external-priority patent/US9164623B2/en
Application filed by HTC Corp filed Critical HTC Corp
Publication of CN103713840A publication Critical patent/CN103713840A/en
Application granted granted Critical
Publication of CN103713840B publication Critical patent/CN103713840B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种可携式装置及其按键点击范围调整方法。该可携式装置包含一触控屏幕以及一与该触控屏幕耦合的处理器。该触控屏幕用以显示一包含多个虚拟按键的输入法编辑器(input method editor)。该处理器用以:检测一经由该输入法编辑器触发的输入事件;以及因应该输入事件,调整该多个虚拟按键的按键点击范围。该按键点击范围调整方法用于该可携式装置以执行上述操作。

The present invention provides a portable device and a key click range adjustment method thereof. The portable device comprises a touch screen and a processor coupled to the touch screen. The touch screen is used to display an input method editor (input method editor) comprising a plurality of virtual keys. The processor is used to: detect an input event triggered by the input method editor; and adjust the key click range of the plurality of virtual keys in response to the input event. The key click range adjustment method is used by the portable device to perform the above-mentioned operation.

Description

可携式装置及其按键点击范围调整方法Portable device and method for adjusting button click range

技术领域technical field

本发明关于一种可携式装置及其按键点击范围调整方法。更具体而言,本发明关于一种包含一触控屏幕并动态地调整该触控屏幕上所显示的一输入法编辑器的按键点击范围的可携式装置及其按键点击范围调整方法。The invention relates to a portable device and a method for adjusting the range of button clicks thereof. More specifically, the present invention relates to a portable device which includes a touch screen and dynamically adjusts the key click range of an input method editor displayed on the touch screen and a method for adjusting the key click range.

背景技术Background technique

各种可携式装置(例如传统移动电话、智能型电话、笔记本电脑、平板电脑等)已成为现代人日常生活中不可或缺的物品。几乎所有可携式装置制造商皆已尝试设计可携式装置以满足消费者需求。在这些设计中,将触控屏幕与可携式装置相组合近年来已被视为人们的一需求。Various portable devices (such as traditional mobile phones, smart phones, notebook computers, tablet computers, etc.) have become indispensable items in the daily life of modern people. Almost all portable device manufacturers have tried to design portable devices to meet consumer demands. Among these designs, combining a touch screen with a portable device has been seen as a demand in recent years.

触控屏幕可与可携式装置相整合以感测使用者手指或触碰物件(例如触控笔)的触碰或靠近,俾使用者可经由触控屏幕而与可携式装置交互作用。由于此种整合,传统物理输入小键盘已逐渐被触控屏幕上所显示的各种输入法编辑器取代,其一实例为软件小键盘/键盘(keypad/keyboard),或被称为“屏幕小键盘/键盘”。The touch screen can be integrated with the portable device to sense the touch or approach of a user's finger or a touch object (such as a stylus), so that the user can interact with the portable device through the touch screen. Due to this integration, the traditional physical input keypad has gradually been replaced by various input method editors displayed on the touch screen, an example of which is a software keypad/keyboard, or known as a "small screen". keyboard/keyboard".

一般而言,一触控屏幕上所显示的一输入法编辑器可包含具有固定按键点击范围的多个虚拟按键,以表示不同的字符、符号、数字等或提供某些特定功能。然而,例如不同输入习惯、不同视差(parallax)、不同手指大小、握持一可携式装置的不同姿势等各种条件,都可能会导致一使用者欲触碰的一虚拟按键实际上并未被该使用者触碰的问题。换言之,此等条件会造成使用者实际上触碰的位置与使用欲触碰的位置的一偏差。Generally speaking, an input method editor displayed on a touch screen may include a plurality of virtual keys with fixed key click ranges to represent different characters, symbols, numbers, etc. or provide certain specific functions. However, various conditions such as different input habits, different parallax (parallax), different finger sizes, different postures of holding a portable device, etc., may cause a virtual key that a user wants to touch to be in fact not Questions touched by this user. In other words, these conditions will cause a deviation between the position actually touched by the user and the position intended to be touched by the user.

有鉴于此,如何解决于一触控屏幕上所显示的一输入法编辑器上的错误输入的问题,乃是业界亟待解决的问题。In view of this, how to solve the problem of wrong input on an input method editor displayed on a touch screen is an urgent problem to be solved in the industry.

发明内容Contents of the invention

本发明的一目的在于提供一种解决方案以解决于一触控屏幕上所显示的一输入法编辑器上的错误输入的问题。为解决该问题,本发明检测经由该触控屏幕上所显示的该输入法编辑器触发的输入事件并因应这些输入事件而调整该输入法编辑器的虚拟按键的按键点击范围。借此,在例如不同输入习惯、不同视差、不同手指大小、握持一可携式装置的不同姿势等任何条件下,本发明皆可获得使用者实际上触碰的位置与使用欲触碰的位置的一偏差。本发明亦根据该偏差而调整该输入法编辑器的这些虚拟按键的按键点击范围。An object of the present invention is to provide a solution to the problem of incorrect input on an input method editor displayed on a touch screen. To solve this problem, the present invention detects the input events triggered by the input method editor displayed on the touch screen and adjusts the key click range of the virtual keys of the input method editor in response to these input events. In this way, under any conditions such as different input habits, different parallax, different finger sizes, different postures of holding a portable device, etc., the present invention can obtain the position actually touched by the user and the position to be touched by the user. A deviation in position. The present invention also adjusts the key click ranges of the virtual keys of the input method editor according to the deviation.

为达上述目的,本发明提供一种可携式装置。该可携式装置包含一触控屏幕以及一与该触控屏幕耦合的处理器。该触控屏幕用以显示一包含多个虚拟按键的输入法编辑器(input method editor)。该处理器用以:检测一经由该输入法编辑器触发的输入事件;以及因应该输入事件,调整这些虚拟按键的按键点击范围。To achieve the above purpose, the present invention provides a portable device. The portable device includes a touch screen and a processor coupled with the touch screen. The touch screen is used to display an input method editor (input method editor) including a plurality of virtual keys. The processor is used for: detecting an input event triggered by the input method editor; and adjusting the click range of the virtual keys in response to the input event.

为达上述目的,本发明更提供一种用于一可携式装置的按键点击范围调整方法,该可携式装置包含一触控屏幕及一与该触控屏幕耦合的处理器。该按键点击范围调整方法包含下列步骤:To achieve the above purpose, the present invention further provides a method for adjusting the click range of a portable device, and the portable device includes a touch screen and a processor coupled with the touch screen. The button click range adjustment method includes the following steps:

使该触控屏幕显示一包含多个虚拟按键的输入法编辑器;making the touch screen display an input method editor including a plurality of virtual keys;

使该处理器检测一经由该输入法编辑器触发的输入事件;以及causing the processor to detect an input event triggered via the input method editor; and

使该处理器因应该输入事件,调整这些虚拟按键的按键点击范围。The processor is made to adjust the key click ranges of these virtual keys in response to the input event.

为让本发明的上述目的、技术特征、和优点能更明显易懂,下文将以较佳实施例、配合所附附图进行详细说明。In order to make the above-mentioned purpose, technical features, and advantages of the present invention more comprehensible, preferred embodiments will be described in detail below with the accompanying drawings.

附图说明Description of drawings

图1为本发明的一第一实施例所述的一可携式装置的示意图;FIG. 1 is a schematic diagram of a portable device according to a first embodiment of the present invention;

图2为本发明的第一实施例所述的一包含多个虚拟按键的输入法编辑器的示意图;2 is a schematic diagram of an input method editor including a plurality of virtual keys according to the first embodiment of the present invention;

图3A为本发明的第一实施例所述的虚拟按键的按键点击范围的示意图;FIG. 3A is a schematic diagram of the key click range of the virtual key according to the first embodiment of the present invention;

图3B为本发明的第一实施例所述的虚拟按键的按键点击范围的一调整的示意图;FIG. 3B is a schematic diagram of an adjustment of the key click range of the virtual key according to the first embodiment of the present invention;

图3C为本发明的第一实施例所述的虚拟按键的按键点击范围的另一调整的示意图;FIG. 3C is a schematic diagram of another adjustment of the key click range of the virtual key according to the first embodiment of the present invention;

图4为本发明的一第二实施例所述的二虚拟按键的按键点击范围的一调整的示意图;4 is a schematic diagram of an adjustment of the button click range of two virtual buttons according to a second embodiment of the present invention;

图5为本发明的一第三实施例所述的二虚拟按键的按键点击范围的一调整的示意图;5 is a schematic diagram of an adjustment of the button click range of two virtual buttons according to a third embodiment of the present invention;

图6为本发明的一第四实施例所述的一种按键点击范围调整方法的流程图;FIG. 6 is a flowchart of a method for adjusting a button click range according to a fourth embodiment of the present invention;

图7为本发明的一第五实施例所述的一种按键点击范围调整方法的流程图;FIG. 7 is a flowchart of a method for adjusting a button click range according to a fifth embodiment of the present invention;

图8为本发明的一第六实施例所述的一种按键点击范围调整方法的流程图;FIG. 8 is a flow chart of a method for adjusting a button click range according to a sixth embodiment of the present invention;

图9为本发明的一第七实施例所述的一种按键点击范围调整方法的流程图;以及FIG. 9 is a flow chart of a button click range adjustment method according to a seventh embodiment of the present invention; and

图10为本发明的一第八实施例所述的一种按键点击范围调整方法的流程图。FIG. 10 is a flow chart of a method for adjusting a button click range according to an eighth embodiment of the present invention.

【附图标记说明】[Description of Reference Signs]

1:可携式装置1: Portable device

11:触控屏幕11: Touch screen

111:输入法编辑器111: Input method editor

12:输入事件12: Input event

13:处理器13: Processor

2:虚拟按键2: virtual button

20:字符按键20: character key

22:功能按键22: Function keys

4:按键点击范围4: Button click range

6:触碰位置6: Touch position

S401~S403:步骤S401~S403: steps

S501~S508:步骤S501~S508: steps

S601~S605:步骤S601~S605: steps

S701~S707:步骤S701~S707: steps

S801~S806:步骤S801~S806: steps

具体实施方式detailed description

可通过以下实施例来解释本发明。然而,本发明的实施例并非用以限制本发明需在如实施例所述的任何特定环境、应用或方式方能实施。因此,关于此等实施例的说明仅为阐释本发明的目的,而非用以直接限制本发明。在以下实施例及附图中,与本发明非直接相关的元件已省略而未绘示;且附图中各元件间的尺寸关系仅为求容易了解,而非用以限制实际比例。The invention may be illustrated by the following examples. However, the embodiments of the present invention are not intended to limit the present invention to be implemented in any specific environment, application or manner as described in the embodiments. Therefore, the descriptions of these embodiments are only for the purpose of illustrating the present invention, rather than directly limiting the present invention. In the following embodiments and drawings, elements not directly related to the present invention have been omitted and not shown; and the dimensional relationship among the elements in the drawings is only for easy understanding, not to limit the actual ratio.

本发明的一第一实施例如图1所示,其绘示一可携式装置1。如图1所示,可携式装置1可为一行动电话,其包含一触控屏幕11及一与触控屏幕11耦合的处理器13。在其他实施例中,可携式装置1亦可为一笔记型电脑、一平板电脑、一个人数字助理(personal digitalassistant;PDA)等。视需要,在其他实施例中,可携式装置1亦可包含一与处理器13耦合的存储器模块以用于储存资料。A first embodiment of the present invention is shown in FIG. 1 , which shows a portable device 1 . As shown in FIG. 1 , the portable device 1 can be a mobile phone, which includes a touch screen 11 and a processor 13 coupled to the touch screen 11 . In other embodiments, the portable device 1 can also be a notebook computer, a tablet computer, a personal digital assistant (PDA) and the like. Optionally, in other embodiments, the portable device 1 may also include a memory module coupled to the processor 13 for storing data.

举例而言,触控屏幕11可为一电容式触控屏幕、一电阻式触控屏幕、一阻容复合触控屏幕(resistive-capacitive composite touch screen)、一电磁感应触控屏幕等。如图2所示,触控屏幕11用以显示一包含多个虚拟按键2的输入法编辑器(input methodeditor;IME)111,且此等虚拟按键2可包含多个字符按键20及多个功能按键22、以及具有不同类别的其他按键。须注意者,输入法编辑器111之外形以及虚拟按键2的配置仅为阐释本发明的目的,而非用以限制本发明。For example, the touch screen 11 can be a capacitive touch screen, a resistive touch screen, a resistive-capacitive composite touch screen, an electromagnetic induction touch screen, and the like. As shown in FIG. 2 , the touch screen 11 is used to display an input method editor (input methodeditor; IME) 111 including a plurality of virtual keys 2, and these virtual keys 2 may include a plurality of character keys 20 and a plurality of functions Key 22, and other keys of different categories. It should be noted that the shape of the input method editor 111 and the configuration of the virtual keys 2 are only for the purpose of illustrating the present invention, rather than limiting the present invention.

如图3A所示,各该虚拟按键2皆具有其自身的按键点击范围4,按键点击范围4覆盖对应于其外形的一特定矩形区域。在其他实施例中,各该虚拟按键2的按键点击范围4亦可覆盖一特定圆形区域,该圆形区域的中心位于相对应的虚拟按键2的中心处。作为另外一种选择,各该虚拟按键2的按键点击范围4亦可覆盖一对应于其他形状(例如六边形、八边形、多边形等)的区域。As shown in FIG. 3A , each of the virtual buttons 2 has its own button click range 4 , and the button click range 4 covers a specific rectangular area corresponding to its shape. In other embodiments, the button click range 4 of each virtual button 2 may also cover a specific circular area, and the center of the circular area is located at the center of the corresponding virtual button 2 . As another option, the button click range 4 of each virtual button 2 may also cover an area corresponding to other shapes (such as hexagon, octagon, polygon, etc.).

在下文中,将说明可携式装置1如何检测一经由输入法编辑器111触发的输入事件12以及因应输入事件12而调整虚拟按键2的按键点击范围4。在此实施例中,输入事件12是指一使用者欲经由触控屏幕11上所显示的输入法编辑器111输入一单词。因此,处理器13将用以检测单词的输入并据此调整虚拟按键2的按键点击范围4。In the following, it will be explained how the portable device 1 detects an input event 12 triggered through the input method editor 111 and adjusts the key click range 4 of the virtual key 2 in response to the input event 12 . In this embodiment, the input event 12 means that a user intends to input a word through the input method editor 111 displayed on the touch screen 11 . Therefore, the processor 13 will be used to detect the input of a word and adjust the key click range 4 of the virtual key 2 accordingly.

首先,处理器13用以判断经由字符按键20输入的至少一个字符是否已形成一单词。具体而言,处理器13可检测经由字符按键20输入的当前字符并判断该当前字符与其先前字符的组合是否已形成一单词。若该至少一个字符尚未形成一单词,则该处理器判定下一输入仍为一字符输入而非一功能输入。因此,如图3B所示,处理器13放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,俾使用者可更容易地输入该单词的下一字符。First, the processor 13 is used to determine whether at least one character input through the character key 20 has formed a word. Specifically, the processor 13 can detect the current character input through the character key 20 and determine whether the combination of the current character and its previous character has formed a word. If the at least one character has not yet formed a word, the processor determines that the next input is still a character input rather than a function input. Therefore, as shown in FIG. 3B, the processor 13 enlarges the key click range 4 of the character key 20 and narrows the key click range 4 of the function key 22, so that the user can input the next character of the word more easily.

否则,如图3C所示,若该至少一个字符已形成一单词,则处理器13可放大功能按键22的按键点击范围4并缩小字符按键20的按键点击范围4。然而,一完整的单词可能会由多于一个单词或由一个单词与其他字符构成。举例而言,完整的单词“keyboard”是由单词“key”及单词“board”构成,而另一完整的单词“viewer”是由单词“view”以及字符“e”及“r”构成。Otherwise, as shown in FIG. 3C , if the at least one character has formed a word, the processor 13 can enlarge the key click range 4 of the function key 22 and reduce the key click range 4 of the character key 20 . However, a complete word may consist of more than one word or a word and other characters. For example, the complete word "keyboard" is composed of the word "key" and the word "board", and another complete word "viewer" is composed of the word "view" and the characters "e" and "r".

因此,当该至少一个字符已形成一单词时,处理器13可在调整虚拟按键2的按键点击范围4之前,预先判断该单词是否完整。换言之,处理器13在判断该单词为完整的单词之后,将放大功能按键22的按键点击范围4并缩小字符按键20的按键点击范围4。借此,可避免下一输入可能为一字符,但功能按键22的按键点击范围4已被放大且字符按键20的按键点击范围4已被缩小。Therefore, when the at least one character has formed a word, the processor 13 can pre-determine whether the word is complete before adjusting the key click range 4 of the virtual key 2 . In other words, after the processor 13 judges that the word is a complete word, it will enlarge the key click range 4 of the function keys 22 and reduce the key click range 4 of the character keys 20 . Thereby, it can be avoided that the next input may be a character, but the button click range 4 of the function button 22 has been enlarged and the button click range 4 of the character button 20 has been reduced.

处理器13可包含一候选字引擎(图未示出)以产生候选字信息,进而增强输入的便利性。具体而言,处理器13可根据所输入的字符而预测下一字符并据此向使用者提供候选字信息。基于该候选字信息,处理器13可判断该单词是否完整。须注意者,处理器13亦可借由熟习此项技术者已知的其他方法判断该单词是否完整,此处所述并非旨在限制本发明的可实施态样。The processor 13 may include a candidate word engine (not shown in the figure) to generate candidate word information, thereby enhancing the convenience of input. Specifically, the processor 13 can predict the next character according to the input character and provide candidate word information to the user accordingly. Based on the candidate word information, the processor 13 can determine whether the word is complete. It should be noted that the processor 13 can also determine whether the word is complete by other methods known to those skilled in the art, and the description here is not intended to limit the implementation of the present invention.

若处理器13判定该单词不完整,则暗指下一输入应为一字符输入而非一功能输入。如上所述,处理器13可更根据该候选字信息而预测该单词后的一预测字符。然后,处理器13更判断对应至该预测字符的字符按键20是否被设置成邻近于功能按键22其中的任一者。If the processor 13 determines that the word is incomplete, it implies that the next input should be a character input rather than a function input. As mentioned above, the processor 13 may further predict a predicted character after the word according to the candidate word information. Then, the processor 13 further determines whether the character key 20 corresponding to the predicted character is arranged adjacent to any one of the function keys 22 .

若对应至该预测字符的字符按键20并非被设置成邻近于功能按键22其中的任一者,则处理器13放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,如图3B所示。否则,若对应至该预测字符的字符按键20被设置成邻近于功能按键22其中的任一者,则处理器13可恢复字符按键20的按键点击范围4以及功能按键22的按键点击范围4,如图3A所示。If the character key 20 corresponding to the predicted character is not set adjacent to any one of the function keys 22, the processor 13 enlarges the key click range 4 of the character key 20 and narrows the key click range 4 of the function key 22, as Figure 3B. Otherwise, if the character key 20 corresponding to the predicted character is set adjacent to any one of the function keys 22, the processor 13 can restore the key click range 4 of the character key 20 and the key click range 4 of the function key 22, As shown in Figure 3A.

以下为一实例,用以进一步说明此实施例。须注意者,以下实例仅为阐释本发明的目的,而非用以限制本发明。该实例将基于以下条件:一使用者欲经由输入法编辑器111输入单词“DUCK”。The following is an example to further illustrate this embodiment. It should be noted that the following examples are only for the purpose of illustrating the present invention, rather than limiting the present invention. This example will be based on the following condition: a user wants to input the word "DUCK" via the input method editor 111 .

在检测到经由输入法编辑器111输入的第一字符“D”后,处理器13判定第一字符“D”尚未形成一单词,因此处理器13放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,如图3B所示。After detecting the first character "D" input via the input method editor 111, the processor 13 determines that the first character "D" has not yet formed a word, so the processor 13 enlarges the key click range 4 of the character key 20 and narrows down the function The button click range 4 of the button 22 is shown in FIG. 3B .

接着,在检测到第二字符“U”及第三字符“C”后,处理器13判定字符组合“DU”及“DUC”二者皆尚未形成一单词,因此处理器13仍放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,如图3B所示。然后,在检测到第四字符“K”后,处理器13判定字符组合“DUCK”已形成一单词(即,单词“DUCK”),接着处理器13可进一步根据候选字信息而判断该单词是否完整。Then, after detecting the second character "U" and the third character "C", the processor 13 judges that both the character combination "DU" and "DUC" have not yet formed a word, so the processor 13 still enlarges the character button 20 The button click range 4 of the function button 22 is narrowed down, as shown in FIG. 3B . Then, after detecting the fourth character "K", the processor 13 determines that the character combination "DUCK" has formed a word (that is, the word "DUCK"), and then the processor 13 can further determine whether the word is based on the candidate word information. whole.

若判定单词“DUCK”为完整的,则处理器13放大功能按键22的按键点击范围4并缩小字符按键20的按键点击范围4,如图3C所示。若判定单词“DUCK”为不完整的,则处理器13进一步判断对应至该单词后的一预测字符的字符按键20是否被设置成邻近于功能按键22其中的任一者。If it is determined that the word "DUCK" is complete, the processor 13 enlarges the key click range 4 of the function keys 22 and reduces the key click range 4 of the character keys 20, as shown in FIG. 3C . If it is determined that the word "DUCK" is incomplete, the processor 13 further determines whether the character key 20 corresponding to a predicted character after the word is set adjacent to any one of the function keys 22 .

举例而言,候选字信息暗指经由输入法编辑器111输入的完整单词为单词“DUCKBILL”。如此处理器13判定单词“DUCK”后的预测字符为“B”,并接着判定对应至预测字符“B”的字符按键20邻近于功能按键22至少其中之二(即,功能按键“空格(space)”及功能按键“圆圈(circle)”)。于是,处理器13恢复字符按键20的按键点击范围4以及功能按键22的按键点击范围4,如图3A所示。For example, the candidate word information implies that the complete word input via the input method editor 111 is the word "DUCKBILL". In this way, the processor 13 determines that the predicted character after the word "DUCK" is "B", and then determines that the character key 20 corresponding to the predicted character "B" is adjacent to at least two of the function keys 22 (that is, the function key "space (space) )” and the function button “circle (circle)”). Then, the processor 13 restores the key click range 4 of the character key 20 and the key click range 4 of the function key 22 , as shown in FIG. 3A .

再者,若候选字信息暗示经由输入法编辑器111输入的完整单词为单词“DUCKER”。处理器13判定单词“DUCK”后的预测字符为“E”,并进一步判定对应至预测字符“E”的字符按键20并非邻近于功能按键22其中的任一者。因此,处理器13仍放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,如图3B所示。Furthermore, if the candidate word information implies that the complete word input via the input method editor 111 is the word "DUCKER". The processor 13 determines that the predicted character after the word "DUCK" is "E", and further determines that the character key 20 corresponding to the predicted character "E" is not adjacent to any one of the function keys 22 . Therefore, the processor 13 still enlarges the key click range 4 of the character keys 20 and narrows the key click range 4 of the function keys 22 , as shown in FIG. 3B .

基于输入法编辑器111之外形及虚拟按键2的布局,一旦判定一单词后的预测字符为字符“A”、“Z”、“X”、“C”、“V”、“B”、“N”、“M”及“L”其中之一,处理器13便恢复字符按键20的按键点击范围4以及功能按键22的按键点击范围4,如图3A所示。否则,处理器13放大字符按键20的按键点击范围4并缩小功能按键22的按键点击范围4,如图3B所示。Based on the shape of the input method editor 111 and the layout of the virtual keys 2, once it is determined that the predicted characters after a word are characters "A", "Z", "X", "C", "V", "B", " One of N", "M" and "L", the processor 13 restores the button click range 4 of the character button 20 and the button click range 4 of the function button 22, as shown in FIG. 3A. Otherwise, the processor 13 enlarges the key click range 4 of the character key 20 and reduces the key click range 4 of the function key 22 , as shown in FIG. 3B .

本发明的一第二实施例可视为第一实施例中所述的可携式装置1。据此,对于与第一实施例的元件相同者,将使用相同的参考编号。对于所省略的说明,可参考前述实施例,故在此不再予以赘述。A second embodiment of the present invention can be regarded as the portable device 1 described in the first embodiment. Accordingly, for the same elements as those of the first embodiment, the same reference numerals will be used. For the omitted description, reference may be made to the foregoing embodiments, so details are not repeated here.

以下,将说明第一实施例与第二实施例间的差别。在第二实施例中,输入事件12是指一使用者经由触控屏幕11上所显示的输入法编辑器111输入某些正确内容。处理器13用以检测对应于这些正确内容的触碰位置并据此调整虚拟按键2的按键点击范围4。Hereinafter, differences between the first embodiment and the second embodiment will be described. In the second embodiment, the input event 12 refers to a user inputting some correct content through the input method editor 111 displayed on the touch screen 11 . The processor 13 is used to detect the touch position corresponding to these correct contents and adjust the key click range 4 of the virtual key 2 accordingly.

实际上,每当一使用者欲触碰虚拟按键2其中之一以进行输入时,对应于每一虚拟按键2的此等被触碰位置并非总是相同。相反,此等触碰位置分布于虚拟按键2的按键点击范围4中。因此,处理器13用以检测并收集位于虚拟按键2的按键点击范围4中的所有触碰位置。Actually, whenever a user intends to touch one of the virtual keys 2 for input, the touched positions corresponding to each virtual key 2 are not always the same. On the contrary, these touch positions are distributed in the button click range 4 of the virtual button 2 . Therefore, the processor 13 is used to detect and collect all touch positions within the key click range 4 of the virtual key 2 .

具体而言,每当处理器13检测位于各该虚拟按键2的按键点击范围4中的一触碰位置时,处理器13可记录所检测的触碰位置的一二维座标(x,y)。触碰位置的座标可储存于一与处理器13耦合的存储器模块(图未示出)中。借此,处理器13可因应输入事件12而获取各该虚拟按键2上被触碰的所有触碰位置。然后,处理器13根据触碰位置6而计算各该虚拟按键2的一触碰偏差。接着,处理器13根据相对应的触碰偏差而调整各该虚拟按键2的按键点击范围4。Specifically, whenever the processor 13 detects a touch position located in the key click range 4 of each virtual key 2, the processor 13 can record a two-dimensional coordinate (x, y) of the detected touch position ). The coordinates of the touch position can be stored in a memory module (not shown) coupled with the processor 13 . In this way, the processor 13 can obtain all the touched positions on each of the virtual keys 2 in response to the input event 12 . Then, the processor 13 calculates a touch deviation of each virtual key 2 according to the touch position 6 . Next, the processor 13 adjusts the button click range 4 of each virtual button 2 according to the corresponding touch deviation.

以下将参照图4进一步说明字符按键“Q”及“W”的调整以作为一实例。假定各该虚拟按键2的按键点击范围4覆盖一特定圆形区域,该圆形区域的中心位于相对应的虚拟按键2的中心处。须注意者,此实例仅为阐释本发明的目的,而非用以限制本发明。The adjustment of the character keys "Q" and "W" will be further described below with reference to FIG. 4 as an example. Assume that the button click range 4 of each virtual button 2 covers a specific circular area, and the center of the circular area is located at the center of the corresponding virtual button 2 . It should be noted that this example is only for the purpose of illustrating the present invention, not limiting the present invention.

如图4所示,若使用者已触碰位于字符按键“Q”及“W”的按键点击范围4中的多个触碰位置6,且处理器13已检测并记录此等触碰位置6。处理器13可分别根据相对应的触碰位置6而计算各该字符按键“Q”及“W”的一触碰偏差。处理器13可借由计算字符按键“Q”及“W”的触碰位置6的各种统计资料(例如平均值、变数等)而计算这些触碰偏差。As shown in FIG. 4 , if the user has touched a plurality of touch positions 6 in the button click range 4 of the character keys "Q" and "W", and the processor 13 has detected and recorded these touch positions 6 . The processor 13 can calculate a touch deviation of each of the character keys “Q” and “W” according to the corresponding touch positions 6 . The processor 13 can calculate these touch deviations by calculating various statistical data (such as average values, variables, etc.) of the touch positions 6 of the character keys “Q” and “W”.

在其他实施例中,在计算触碰位置6的统计资料后,可更舍弃触碰位置6中具有较大偏差的一部分触碰位置以获取一更精确的触碰偏差。须注意者,图4所示字符按键“Q”及“W”的触碰位置6的数目仅为阐释本发明的目的,而非用以限制本发明。In other embodiments, after the statistical data of the touch position 6 is calculated, a part of the touch position 6 with larger deviation may be discarded to obtain a more accurate touch deviation. It should be noted that the numbers of the touch positions 6 of the character keys “Q” and “W” shown in FIG. 4 are only for the purpose of explaining the present invention, not limiting the present invention.

鉴于位于字符按键“Q”的按键点击范围4中的触碰位置6的分布,处理器13可判定当使用者欲经由输入法编辑器111输入字符“Q”时,他总是会触碰字符按键“Q”的按键点击范围4的右侧附近的某处。因此,处理器13将字符按键“Q”的按键点击范围4朝向字符按键“Q”的按键点击范围4的右侧动态地调整,如图4所示。In view of the distribution of touch positions 6 in the key click range 4 of the character key "Q", the processor 13 can determine that when the user intends to input the character "Q" via the input method editor 111, he will always touch the character Keystroke for key "Q" hits somewhere near the right side of range 4. Therefore, the processor 13 dynamically adjusts the key click range 4 of the character key “Q” toward the right side of the key click range 4 of the character key “Q”, as shown in FIG. 4 .

另一方面,鉴于位于字符按键“W”的按键点击范围4中的触碰位置6的分布,处理器13可判定当使用者欲经由输入法编辑器111输入字符“W”时,他总是会触碰字符按键“W”的按键点击范围4的下侧附近的某处。因此,处理器13将字符按键“W”的按键点击范围4朝向字符按键“W”的按键点击范围4的下侧而动态地调整,如图4所示。On the other hand, in view of the distribution of the touch positions 6 in the key click range 4 of the character key "W", the processor 13 can determine that when the user intends to input the character "W" via the input method editor 111, he always A key that will touch the character key “W” is clicked somewhere near the lower side of the range 4 . Therefore, the processor 13 dynamically adjusts the key click range 4 of the character key “W” toward the lower side of the key click range 4 of the character key “W”, as shown in FIG. 4 .

须注意者,在本发明的其他实施例中,可将第二实施例中所述的所有操作与第一实施例中所述的所有操组合且视为一整体。所属技术领域具有通常知识者可基于此等实施例的说明而直接了解可携式装置1同时执行此等操作的方法,故在此不再予以赘述。It should be noted that in other embodiments of the present invention, all operations described in the second embodiment can be combined with all operations described in the first embodiment and considered as a whole. Those skilled in the art can directly understand the method for the portable device 1 to perform these operations simultaneously based on the descriptions of these embodiments, so details are not repeated here.

本发明的一第三实施例为如第一实施例中所述的可携式装置1。据此,对于与第一实施例的元件相同者,将使用相同的参考编号。对于所省略的说明,可参考前述实施例,故在此不再予以赘述。A third embodiment of the present invention is the portable device 1 as described in the first embodiment. Accordingly, for the same elements as those of the first embodiment, the same reference numerals will be used. For the omitted description, reference may be made to the foregoing embodiments, so details are not repeated here.

以下,将说明第一实施例与第三实施例间的差别。在第三实施例中,输入事件12是表示一使用者经由触控屏幕11上所显示的输入法编辑器111产生错误的输入触碰。因此,处理器13用以检测并分析该错误触碰并据此调整虚拟按键2的按键点击范围4。Hereinafter, differences between the first embodiment and the third embodiment will be described. In the third embodiment, the input event 12 indicates that a user makes an erroneous input touch via the input method editor 111 displayed on the touch screen 11 . Therefore, the processor 13 is used to detect and analyze the wrong touch and adjust the button click range 4 of the virtual button 2 accordingly.

在实际中,每当一使用者欲触碰虚拟按键2其中之一以进行输入时,他可能触碰不到正确的虚拟按键2。相反,他可能会触碰到邻近于该正确的虚拟按键2的另一虚拟按键2。因此,处理器13用以检测并分析该错误触碰并据此调整虚拟按键2的按键点击范围4。In practice, whenever a user wants to touch one of the virtual keys 2 for input, he may not touch the correct virtual key 2 . Instead, he may touch another virtual key 2 adjacent to the correct virtual key 2 . Therefore, the processor 13 is used to detect and analyze the wrong touch and adjust the button click range 4 of the virtual button 2 accordingly.

以下,将说明二种不同的应用以作为实例。在第一应用中,处理器13因应输入事件12而获取经由输入法编辑器111输入的一单词。接着,处理器13预测对应至该单词的一参考单词。处理器13可根据候选字信息而预测该参考单词。然后,处理器13比对该单词与该参考单词以判断在相同的字符位置上,该单词的一第一字符是否不同于该参考单词的一第二字符。In the following, two different applications will be described as examples. In the first application, the processor 13 obtains a word input via the input method editor 111 in response to the input event 12 . Next, the processor 13 predicts a reference word corresponding to the word. The processor 13 can predict the reference word according to the candidate word information. Then, the processor 13 compares the word with the reference word to determine whether a first character of the word is different from a second character of the reference word at the same character position.

若在相同的字符位置上,该单词的字符不同于该参考单词的第二字符,则处理器13更因应该第一字符不同于该第二字符而判断对应至该第一字符的虚拟按键2是否被设置成邻近于对应至该第二字符的虚拟按键2。若对应至该第一字符的虚拟按键2被设置成邻近于对应至该第二字符的虚拟按键2,则暗指使用者实际上错误输入该第一字符。反之,该单词的第一字符只是不同于该参考单词的第二字符,而非使用者错误输入的一错误字符。If at the same character position, the character of the word is different from the second character of the reference word, then the processor 13 judges the virtual key 2 corresponding to the first character because the first character is different from the second character Whether it is set adjacent to the virtual key 2 corresponding to the second character. If the virtual key 2 corresponding to the first character is set adjacent to the virtual key 2 corresponding to the second character, it implies that the user has actually entered the first character by mistake. On the contrary, the first character of the word is only different from the second character of the reference word, rather than a wrong character entered by the user.

一旦判定该第一字符为错误的且对应至该第一字符的虚拟按键2被设置成邻近于对应至该第二字符的虚拟按键2,处理器13便会因应对应至该第一字符的虚拟按键2被设置成邻近于对应至该第二字符的虚拟按键2而调整对应至该第一字符与该第二字符的虚拟按键2的按键点击范围4。Once it is determined that the first character is wrong and the virtual key 2 corresponding to the first character is set adjacent to the virtual key 2 corresponding to the second character, the processor 13 will respond to the virtual key 2 corresponding to the first character. The key 2 is arranged to be adjacent to the virtual key 2 corresponding to the second character to adjust the key click range 4 of the virtual key 2 corresponding to the first character and the second character.

举例而言,一使用者欲经由输入法编辑器111输入单词“TEACHER”,但他输入了错误的单词“TEACHRR”。以下将参照图5进一步说明此实例。如图5所示,各该虚拟按键2的按键点击范围4覆盖一特定圆形区域,该圆形区域的中心位于相对应的虚拟按键2的中心处。须注意者,此实例仅为阐释本发明的目的,而非用以限制本发明。For example, a user intends to input the word "TEACHER" through the input method editor 111, but he inputs the wrong word "TEACHRR". This example will be further explained below with reference to FIG. 5 . As shown in FIG. 5 , the button click range 4 of each virtual button 2 covers a specific circular area, and the center of the circular area is located at the center of the corresponding virtual button 2 . It should be noted that this example is only for the purpose of illustrating the present invention, not limiting the present invention.

在检测到错误的单词“TEACHRR”后,处理器13根据候选字信息而预测出单词“TEACHER”,以作为对应至错误单词“TEACHRR”的一参考单词。接着,处理器13比对错误单词“TEACHRR”与参考单词“TEACHER”,且处理器13判定错误单词“TEACHRR”与参考单词“TEACHER”在倒数第二个字符位置上具有一不同的字符。换言之,该错误单词(即,“TEACHRR”)的倒数第二个字符“R”不同于该参考单词(即,“TEACHER”)的倒数第二个字符“E”。After detecting the wrong word "TEACHRR", the processor 13 predicts the word "TEACHER" according to the candidate word information as a reference word corresponding to the wrong word "TEACHRR". Next, the processor 13 compares the wrong word "TEACHRR" with the reference word "TEACHER", and the processor 13 determines that the wrong word "TEACHRR" and the reference word "TEACHER" have a different character at the penultimate character position. In other words, the penultimate character "R" of the erroneous word (ie, "TEACHRR") is different from the penultimate character "E" of the reference word (ie, "TEACHER").

在比对错误单词“TEACHRR”与参考单词“TEACHER”后,处理器13更判定对应至该第一字符(即,错误单词“TEACHRR”的倒数第二个字符“R”)的虚拟按键2被设置成邻近于对应至该第二字符(即,参考单词“TEACHER”的倒数第二个字符“E”)的虚拟按键2。因此,处理器13判定使用者错误输入错误单词“TEACHRR”的倒数第二个字符“R”,且正确的字符应为字符“E”。此将暗指使用者在欲触碰字符按键“E”时可能触碰了位于字符按键“R”的按键点击范围4中的一位置。After comparing the wrong word "TEACHRR" with the reference word "TEACHER", the processor 13 further determines that the virtual key 2 corresponding to the first character (that is, the penultimate character "R" of the wrong word "TEACHRR") is Arranged adjacent to the virtual key 2 corresponding to this second character (ie, referring to the penultimate character "E" of the word "TEACHER"). Therefore, the processor 13 determines that the user mistakenly input the penultimate character "R" of the wrong word "TEACHRR", and the correct character should be the character "E". This implies that the user may have touched a position within the key click range 4 of the character key “R” when intending to touch the character key “E”.

据此,处理器13可朝向对应至第一字符(即,字符“R”)的虚拟按键2偏移对应至第二字符(即,字符“E”)的虚拟按键2的按键点击范围4,并缩小对应至第一字符(即,字符“R”)的虚拟按键2的按键点击范围4,如图5所示。Accordingly, the processor 13 may shift the key click range 4 of the virtual key 2 corresponding to the second character (ie, the character “E”) toward the virtual key 2 corresponding to the first character (ie, the character “R”), And narrow down the key click range 4 of the virtual key 2 corresponding to the first character (ie, the character "R"), as shown in FIG. 5 .

在第二应用中,处理器13因应输入事件12而获取经由输入法编辑器111输入的一第一字符。处理器13亦因应输入事件12而获取一经由输入法编辑器111输入且用以取代该第一字符的第二字符。接着,处理器13判断对应至该第一字符的虚拟按键2是否被设置成邻近于对应至该第二字符的虚拟按键2。若对应至该第一字符的虚拟按键2被设置成邻近于对应至该第二字符的虚拟按键2,则处理器13调整对应至该第一字符与该第二字符的虚拟按键2的按键点击范围4。In the second application, the processor 13 obtains a first character input via the input method editor 111 in response to the input event 12 . The processor 13 also obtains a second character input through the input method editor 111 and used to replace the first character in response to the input event 12 . Next, the processor 13 determines whether the virtual key 2 corresponding to the first character is set adjacent to the virtual key 2 corresponding to the second character. If the virtual key 2 corresponding to the first character is set adjacent to the virtual key 2 corresponding to the second character, the processor 13 adjusts the button clicks of the virtual key 2 corresponding to the first character and the second character Range 4.

举例而言,一使用者欲经由输入法编辑器111输入单词“TEACHER”,且他已输入了字符组合“TEACH”。然后,使用者错误输入字符“R”而作为字符组合“TEACH”后的输入,并随后删除错误字符“R”且重新输入正确字符“E”以取代错误字符“R”。以下亦将参照图5来说明此实例。须注意者,此实例仅为阐释本发明的目的,而非用以限制本发明。For example, a user wants to input the word "TEACHER" through the input method editor 111, and he has input the character combination "TEACH". Then, the user mistakenly inputs the character "R" as the input of the character combination "TEACH", and then deletes the wrong character "R" and re-enters the correct character "E" to replace the wrong character "R". This example will also be described below with reference to FIG. 5 . It should be noted that this example is only for the purpose of illustrating the present invention, not limiting the present invention.

在此实例中,处理器13用以获取经由输入法编辑器111输入的一第一字符(即,错误字符“R”),并随后获取一经由输入法编辑器111输入且用以取代该第一字符的第二字符(即,正确字符“E”)。在获取该第一字符及该第二字符后,处理器13更判定对应至该第一字符的虚拟按键2被设置成邻近于对应至该第二字符的虚拟按键2。此将暗指使用者在欲触碰字符按键“E”时触碰了位于字符按键“R”的按键点击范围4中的一位置。In this example, the processor 13 is used to obtain a first character input via the input method editor 111 (ie, the wrong character “R”), and then obtain a character input via the input method editor 111 to replace the first character. The second character of a character (ie, the correct character "E"). After acquiring the first character and the second character, the processor 13 further determines that the virtual key 2 corresponding to the first character is set adjacent to the virtual key 2 corresponding to the second character. This implies that the user touches a position in the key click range 4 of the character key “R” when he intends to touch the character key “E”.

据此,处理器13可朝向对应至第一字符(即,字符“R”)的虚拟按键2偏移对应至第二字符(即,字符“E”)的虚拟按键2的按键点击范围4,并缩小对应至第一字符(即,字符“R”)的虚拟按键2的按键点击范围4,如图5所示。Accordingly, the processor 13 may shift the key click range 4 of the virtual key 2 corresponding to the second character (ie, the character “E”) toward the virtual key 2 corresponding to the first character (ie, the character “R”), And narrow down the key click range 4 of the virtual key 2 corresponding to the first character (ie, the character "R"), as shown in FIG. 5 .

须注意者,在本发明的其他实施例中,亦可将第三实施例中所述的所有操作与前述实施例中所述的所有操作组合且视为一整体。所属技术领域具有通常知识者可基于此等实施例的说明而直接了解可携式装置1同时执行此等操作的方法,故在此不再予以赘述。It should be noted that in other embodiments of the present invention, all the operations described in the third embodiment can also be combined with all the operations described in the preceding embodiments and considered as a whole. Those skilled in the art can directly understand the method for the portable device 1 to perform these operations simultaneously based on the descriptions of these embodiments, so details are not repeated here.

本发明的一第四实施例、一第五实施例、一第六实施例、一第七实施例及一第八实施例分别如图6、图7、图8、图9及图10所示。各该实施例为本发明的一种按键点击范围调整方法。各该按键点击范围调整方法皆可用于一可携式装置(例如,前述实施例中所述的可携式装置1),该可携式装置包含一触控屏幕及一与该触控屏幕耦合的处理器。A fourth embodiment, a fifth embodiment, a sixth embodiment, a seventh embodiment and an eighth embodiment of the present invention are shown in Fig. 6, Fig. 7, Fig. 8, Fig. 9 and Fig. 10 respectively . Each of these embodiments is a button click range adjustment method of the present invention. Each of the button click range adjustment methods can be used in a portable device (for example, the portable device 1 described in the foregoing embodiment), the portable device includes a touch screen and a touch screen coupling processor.

第四实施例的按键点击范围调整方法包含步骤S401、步骤S402及步骤S403。如图6所示,执行步骤S401以使该触控屏幕显示一包含多个虚拟按键的输入法编辑器。执行步骤S402以使该处理器检测一经由该输入法编辑器触发的输入事件。执行步骤S403以使该处理器因应该输入事件而调整这些虚拟按键的按键点击范围。The button click range adjustment method of the fourth embodiment includes step S401, step S402 and step S403. As shown in FIG. 6 , step S401 is executed to make the touch screen display an input method editor including a plurality of virtual keys. Step S402 is executed to enable the processor to detect an input event triggered via the input method editor. Step S403 is executed to enable the processor to adjust the key click ranges of the virtual keys according to the input event.

第五实施例的按键点击范围调整方法包含步骤S501、步骤S502、步骤S503、步骤S504、步骤S505、步骤S506、步骤S507及步骤S508。如图7所示,执行步骤S501以使该触控屏幕显示一包含多个虚拟按键的输入法编辑器。执行步骤S502以使该处理器检测一经由该输入法编辑器触发的输入事件。这些虚拟按键包含多个字符按键以及多个功能按键。执行步骤S503以使该处理器因应该输入事件,判断经由这些字符按键输入的至少一个字符是否已形成一单词。The button click range adjustment method of the fifth embodiment includes step S501, step S502, step S503, step S504, step S505, step S506, step S507 and step S508. As shown in FIG. 7 , step S501 is executed to make the touch screen display an input method editor including a plurality of virtual keys. Step S502 is executed to enable the processor to detect an input event triggered via the input method editor. These virtual keys include multiple character keys and multiple function keys. Step S503 is executed to enable the processor to determine whether at least one character input through the character keys has formed a word in response to the input event.

若该至少一个字符尚未形成一单词,则执行步骤S504以使该处理器放大这些字符按键的按键点击范围以及缩小这些功能按键的按键点击范围。否则,若该至少一个字符已形成一单词,则执行步骤S505以使该处理器判断该单词是否完整。If the at least one character has not yet formed a word, step S504 is executed to enable the processor to enlarge the key click range of these character keys and narrow down the key click range of these function keys. Otherwise, if the at least one character has formed a word, then execute step S505 to make the processor determine whether the word is complete.

若该单词为完整的,则执行步骤S506以使该处理器放大这些功能按键的按键点击范围以及缩小这些字符按键的按键点击范围。否则,若该单词为不完整的,则执行步骤S507以使该处理器判断对应至该单词后的一预测字符的字符按键是否被设置成邻近于这些功能按键其中的任一者。If the word is complete, step S506 is executed to enable the processor to enlarge the key click range of these function keys and reduce the key click range of these character keys. Otherwise, if the word is incomplete, step S507 is executed to make the processor judge whether a character key corresponding to a predicted character after the word is set adjacent to any one of these function keys.

若对应至一预测字符的字符按键并非被设置成邻近于这些功能按键其中的任一者,则重新执行步骤S504以使该处理器仍放大这些字符按键的按键点击范围以及缩小这些功能按键的按键点击范围。否则,若对应至一预测字符的字符按键被设置成邻近于这些功能按键其中的任一者,则执行步骤S508以使该处理器恢复这些功能按键以及这些字符按键的按键点击范围。If the character key corresponding to a predicted character is not set adjacent to any one of these function keys, re-execute step S504 so that the processor still enlarges the key click range of these character keys and narrows the keys of these function keys Click on the range. Otherwise, if the character key corresponding to a predicted character is set adjacent to any one of the function keys, step S508 is executed to enable the processor to restore the key click ranges of the function keys and the character keys.

第六实施例的按键点击范围调整方法包含步骤S601、步骤S602、步骤S603、步骤S604及步骤S605。如图8所示,执行步骤S601以使该触控屏幕显示一包含多个虚拟按键的输入法编辑器。执行步骤S602以使该处理器检测一经由该输入法编辑器触发的输入事件。执行步骤S603以使该处理器因应该输入事件,获取各该虚拟按键上被触碰的触碰位置。执行步骤S604以使该处理器根据这些触碰位置,计算各该虚拟按键的一触碰偏差。执行步骤S605以使该处理器根据相对应的触碰偏差,调整各该虚拟按键的一按键点击范围。The button click range adjustment method of the sixth embodiment includes step S601, step S602, step S603, step S604 and step S605. As shown in FIG. 8 , step S601 is executed to make the touch screen display an input method editor including a plurality of virtual keys. Step S602 is executed to enable the processor to detect an input event triggered via the input method editor. Step S603 is executed to enable the processor to obtain a touched position on each of the virtual keys in response to the input event. Step S604 is executed to enable the processor to calculate a touch deviation of each of the virtual keys according to the touch positions. Step S605 is executed to enable the processor to adjust a key click range of each virtual key according to the corresponding touch deviation.

第七实施例的按键点击范围调整方法包含步骤S701、步骤S702、步骤S703、步骤S704、步骤S705、步骤S706及步骤S707。如图9所示,执行步骤S701以使该触控屏幕显示一包含多个虚拟按键的输入法编辑器。执行步骤S702以使该处理器检测一经由该输入法编辑器触发的输入事件。执行步骤S703以使该处理器因应该输入事件,获取经由该输入法编辑器输入的一单词。执行步骤S704以使该处理器预测对应至该单词的一参考单词。The button click range adjustment method of the seventh embodiment includes step S701 , step S702 , step S703 , step S704 , step S705 , step S706 and step S707 . As shown in FIG. 9 , step S701 is executed to make the touch screen display an input method editor including a plurality of virtual keys. Step S702 is executed to enable the processor to detect an input event triggered via the input method editor. Step S703 is executed to enable the processor to obtain a word input via the input method editor in response to the input event. Step S704 is executed to enable the processor to predict a reference word corresponding to the word.

执行步骤S705以使该处理器比对该单词与该参考单词以判断在相同的字符位置上该单词的一第一字符是否不同于该参考单词的一第二字符。执行步骤S706以使该处理器因应该第一字符不同于该第二字符,判断对应至该第一字符的虚拟按键是否被设置成邻近于对应至该第二字符的虚拟按键。Step S705 is executed to enable the processor to compare the word with the reference word to determine whether a first character of the word is different from a second character of the reference word at the same character position. Step S706 is executed to enable the processor to determine whether the virtual key corresponding to the first character is set adjacent to the virtual key corresponding to the second character because the first character is different from the second character.

执行步骤S707以使该处理器因应对应至该第一字符的虚拟按键被设置成邻近于对应至该第二字符的虚拟按键,调整对应至该第一字符与该第二字符的这些虚拟按键的按键点击范围。Step S707 is executed to enable the processor to adjust the virtual keys corresponding to the first character and the second character in response to the virtual keys corresponding to the first character being arranged adjacent to the virtual keys corresponding to the second character. Key click range.

第八实施例的按键点击范围调整方法包含步骤S801、步骤S802、步骤S803、步骤S804、步骤S805及步骤S806。如图10所示,执行步骤S801以使该触控屏幕显示一包含多个虚拟按键的输入法编辑器。执行步骤S802以使该处理器检测一经由该输入法编辑器触发的输入事件。执行步骤S803以使该处理器因应该输入事件,获取经由该输入法编辑器输入的一第一字符。执行步骤S804以使该处理器因应该输入事件,获取一经由该输入法编辑器输入且用以取代该第一字符的第二字符。The button click range adjustment method of the eighth embodiment includes step S801, step S802, step S803, step S804, step S805 and step S806. As shown in FIG. 10 , step S801 is executed to make the touch screen display an input method editor including a plurality of virtual keys. Step S802 is executed to enable the processor to detect an input event triggered via the input method editor. Step S803 is executed to enable the processor to obtain a first character input via the input method editor in response to the input event. Step S804 is executed to enable the processor to obtain a second character input through the input method editor and used to replace the first character in response to the input event.

执行步骤S805以使该处理器判断对应至该第一字符的虚拟按键是否被设置成邻近于对应至该第二字符的虚拟按键。执行步骤S806以使该处理器因应对应至该第一字符的虚拟按键被设置成邻近于对应至该第二字符的虚拟按键,调整对应至该第一字符与该第二字符的这些虚拟按键的按键点击范围。Step S805 is executed to enable the processor to determine whether the virtual key corresponding to the first character is set adjacent to the virtual key corresponding to the second character. Step S806 is executed to enable the processor to adjust the virtual keys corresponding to the first character and the second character in response to the virtual keys corresponding to the first character being arranged adjacent to the virtual keys corresponding to the second character. Key click range.

除了上述步骤,本发明的各该第四实施例、第五实施例、第六实施例、第七实施例及第八实施例亦可执行前述实施例所描述的可携式装置1的所有操作并达成相对应的所有功能。所属技术领域具有通常知识者可基于上述实施例的说明而直接了解其中此等按键点击范围调整方法执行此等操作并达成相对应的功能的方法,故在此不再赘述。In addition to the above steps, each of the fourth embodiment, fifth embodiment, sixth embodiment, seventh embodiment and eighth embodiment of the present invention can also perform all the operations of the portable device 1 described in the preceding embodiments And achieve all corresponding functions. Those skilled in the art can directly understand the methods of performing these operations and achieving corresponding functions in the button click range adjustment method based on the description of the above embodiments, so details are not repeated here.

综上所述,本发明提供一种可携式装置及其按键点击范围调整方法,以解决于一触控屏幕上所显示的一输入法编辑器上的错误输入的问题。本发明检测经由该输入法编辑器触发的输入事件并因应这些输入事件而调整该输入法编辑器的虚拟按键的按键点击范围。借此,在例如不同输入习惯、不同视差、不同手指大小、握持一可携式装置的不同姿势等任何条件下,本发明皆可获取使用者实际上触碰的位置与使用欲触碰的位置的一偏差。本发明亦根据该偏差而调整该输入法编辑器的这些虚拟按键的按键点击范围。To sum up, the present invention provides a portable device and a method for adjusting the range of button clicks, so as to solve the problem of incorrect input on an input method editor displayed on a touch screen. The invention detects the input events triggered by the input method editor and adjusts the click range of the virtual keys of the input method editor in response to these input events. In this way, under any conditions such as different input habits, different parallax, different finger sizes, different postures of holding a portable device, etc., the present invention can obtain the position actually touched by the user and the position to be touched by the user. A deviation in position. The present invention also adjusts the key click ranges of the virtual keys of the input method editor according to the deviation.

上述的实施例仅用来例举本发明的实施态样,以及阐释本发明的技术特征,并非用来限制本发明的范畴。任何熟悉此技术者可轻易完成的改变或均等性的安排均属于本发明所主张的范围,本发明的权利范围应以权利要求为准。The above-mentioned embodiments are only used to illustrate the implementation of the present invention and explain the technical features of the present invention, and are not intended to limit the scope of the present invention. Any changes or equivalence arrangements that can be easily accomplished by those skilled in the art belong to the scope of the present invention, and the scope of rights of the present invention should be determined by the claims.

Claims (8)

1.一种可携式装置,包含:1. A portable device comprising: 一触控屏幕,用以显示一包含多个虚拟按键的输入法编辑器;以及a touch screen for displaying an input method editor including a plurality of virtual keys; and 一处理器,与该触控屏幕耦合并用以:A processor, coupled with the touch screen and used for: 检测一经由该输入法编辑器触发的输入事件;以及detecting an input event triggered via the input method editor; and 因应该输入事件,调整该多个虚拟按键的按键点击范围,该多个虚拟按键包含多个字符按键以及多个功能按键;In response to the input event, adjust the button click range of the plurality of virtual buttons, the plurality of virtual buttons include a plurality of character buttons and a plurality of function buttons; 该处理器更用以:The processor is more used to: 因应该输入事件,判断经由该多个字符按键输入的至少一个字符是否已形成一单词,以调整该多个虚拟按键的该多个按键点击范围;In response to the input event, judging whether at least one character input through the plurality of character keys has formed a word, so as to adjust the click range of the plurality of keys of the plurality of virtual keys; 因应该至少一个字符已形成一单词,判断该单词是否完整;Since at least one character has formed a word, determine whether the word is complete; 因应不完整的该单词,判断对应至该单词后的一预测字符的字符按键,是否被设置成邻近于该多个功能按键中的任一个;以及In response to the incomplete word, determine whether a character key corresponding to a predicted character after the word is set adjacent to any one of the plurality of function keys; and 因应对应至该预测字符的字符按键并非被设置成邻近于该多个功能按键中的任一个,放大该多个字符按键的按键点击范围以及缩小该多个功能按键的按键点击范围。Because the character key corresponding to the predicted character is not arranged adjacent to any one of the plurality of function keys, the key click range of the plurality of character keys is enlarged and the key click range of the plurality of function keys is reduced. 2.如权利要求1所述的可携式装置,其特征在于,该处理器更用以根据候选字信息判断该单词是否完整。2. The portable device as claimed in claim 1, wherein the processor is further used for judging whether the word is complete or not according to the candidate word information. 3.如权利要求1所述的可携式装置,其特征在于,该处理器更用以因应完整的该单词,放大该多个功能按键的按键点击范围以及缩小该多个字符按键的按键点击范围。3. The portable device as claimed in claim 1, wherein the processor is further used for enlarging the key click range of the plurality of function keys and reducing the key click range of the plurality of character keys in response to the complete word scope. 4.如权利要求1所述的可携式装置,其特征在于,该处理器更用以因应该至少一字符尚未形成一个单词,放大该多个字符按键的按键点击范围以及缩小该多个功能按键的按键点击范围。4. The portable device as claimed in claim 1, wherein the processor is further used for enlarging the key click range of the plurality of character keys and reducing the plurality of functions in response to the fact that the at least one character has not yet formed a word The key click range for the key. 5.一种用于一可携式装置的按键点击范围调整方法,该可携式装置包含一触控屏幕及一与该触控屏幕耦合的处理器,该按键点击范围调整方法包含下列步骤:5. A button click range adjustment method for a portable device, the portable device includes a touch screen and a processor coupled with the touch screen, the button click range adjustment method comprises the following steps: (a)使该触控屏幕显示一包含多个虚拟按键的输入法编辑器;(a) making the touch screen display an input method editor including a plurality of virtual keys; (b)使该处理器检测一经由该输入法编辑器触发的输入事件;以及(b) causing the processor to detect an input event triggered via the input method editor; and (c)使该处理器因应该输入事件,调整该多个虚拟按键的按键点击范围,该多个虚拟按键包含多个字符按键以及多个功能按键;(c) causing the processor to adjust the button click range of the plurality of virtual buttons in response to the input event, and the plurality of virtual buttons include a plurality of character buttons and a plurality of function buttons; 该步骤(c)更包含下列步骤:This step (c) further comprises the following steps: (c1)使该处理器因应该输入事件,判断经由该多个字符按键输入的至少一个字符是否已形成一单词以调整该多个虚拟按键的该多个按键点击范围;(c1) making the processor respond to the input event, judging whether at least one character input via the plurality of character keys has formed a word to adjust the click ranges of the plurality of keys of the plurality of virtual keys; (c2)使该处理器因应该至少一个字符已形成一单词,判断该单词是否完整;(c2) causing the processor to determine whether the word is complete because the at least one character has formed a word; (c3)使该处理器因应不完整的该单词,判断对应至该单词后的一预测字符的字符按键,是否被设置成邻近于该多个功能按键中的任一个;以及(c3) making the processor determine whether a character key corresponding to a predicted character after the word is set adjacent to any one of the plurality of function keys in response to the incomplete word; and (c4)使该处理器因应对应至该预测字符的字符按键并非被设置成邻近于该多个功能按键中的任一个,放大该多个字符按键的按键点击范围以及缩小该多个功能按键的按键点击范围。(c4) making the processor respond to the fact that the character key corresponding to the predicted character is not set adjacent to any one of the plurality of function keys, enlarge the key click range of the plurality of character keys and narrow the range of the plurality of function keys Key click range. 6.如权利要求5所述的按键点击范围调整方法,其特征在于,该处理器根据候选字信息判断该单词是否完整。6. The method for adjusting the button click range as claimed in claim 5, wherein the processor judges whether the word is complete according to the candidate word information. 7.如权利要求5所述的按键点击范围调整方法,其特征在于,该步骤(c)更包含下列步骤:7. The button click range adjustment method as claimed in claim 5, characterized in that, the step (c) further comprises the following steps: (c3)使该处理器因应完整的该单词,放大该多个功能按键的按键点击范围以及缩小该多个字符按键的按键点击范围。(c3) Enabling the processor to enlarge the key click range of the plurality of function keys and reduce the key click range of the plurality of character keys in response to the complete word. 8.如权利要求5所述的按键点击范围调整方法,其特征在于,该步骤(c)更包含下列步骤:8. The button click range adjustment method as claimed in claim 5, characterized in that, the step (c) further comprises the following steps: (c2)使该处理器因应该至少一字符尚未形成一个单词,放大该多个字符按键的按键点击范围以及缩小该多个功能按键的按键点击范围。(c2) Enabling the processor to enlarge the key click range of the plurality of character keys and reduce the key click range of the plurality of function keys because the at least one character has not yet formed a word.
CN201310424639.8A 2012-10-05 2013-09-17 Portable device and key clicking range adjusting method thereof Expired - Fee Related CN103713840B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201261710224P 2012-10-05 2012-10-05
US61/710,224 2012-10-05
US13/781,071 2013-02-28
US13/781,071 US9164623B2 (en) 2012-10-05 2013-02-28 Portable device and key hit area adjustment method thereof

Publications (2)

Publication Number Publication Date
CN103713840A CN103713840A (en) 2014-04-09
CN103713840B true CN103713840B (en) 2017-09-26

Family

ID=50406861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310424639.8A Expired - Fee Related CN103713840B (en) 2012-10-05 2013-09-17 Portable device and key clicking range adjusting method thereof

Country Status (1)

Country Link
CN (1) CN103713840B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109782994A (en) * 2017-11-10 2019-05-21 英业达科技有限公司 The method of adjustment and touch device of dummy keyboard
CN110531867A (en) * 2018-05-25 2019-12-03 北京搜狗科技发展有限公司 A kind of method of adjustment of keyboard layout, device and electronic equipment
CN114721527A (en) * 2021-01-04 2022-07-08 北京小米移动软件有限公司 Control method and device for virtual keyboard, electronic device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117164A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 Method and device for realizing virtual keyboard, and equipment
CN102375581A (en) * 2010-08-11 2012-03-14 深圳富泰宏精密工业有限公司 Touch type electronic device and method for improving touch accuracy of touch type electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100265181A1 (en) * 2009-04-20 2010-10-21 ShoreCap LLC System, method and computer readable media for enabling a user to quickly identify and select a key on a touch screen keypad by easing key selection
JP5676113B2 (en) * 2010-01-27 2015-02-25 京セラ株式会社 Portable electronic devices

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117164A (en) * 2009-12-30 2011-07-06 乐金电子(中国)研究开发中心有限公司 Method and device for realizing virtual keyboard, and equipment
CN102375581A (en) * 2010-08-11 2012-03-14 深圳富泰宏精密工业有限公司 Touch type electronic device and method for improving touch accuracy of touch type electronic device

Also Published As

Publication number Publication date
CN103713840A (en) 2014-04-09

Similar Documents

Publication Publication Date Title
TWI501138B (en) Portable device and key hit area adjustment method thereof
US8421756B2 (en) Two-thumb qwerty keyboard
US9035883B2 (en) Systems and methods for modifying virtual keyboards on a user interface
US8504934B1 (en) Displaying a graphical keyboard
EP2252926B1 (en) Interpreting ambiguous inputs on a touch-screen
KR101376286B1 (en) touchscreen text input
US9959038B2 (en) Displaying a graphic keyboard
EP2657826A2 (en) Mobile device and gesture determination method
KR20140105691A (en) Apparatus and Method for handling object in a user device having a touch screen
KR20140136066A (en) Smart user-customized virtual keyboard
US9645729B2 (en) Precise object selection in touch sensing systems
CN103197790B (en) Portable electronic device and touch sensing method
CN101556517A (en) Touch screen input method
CN101639738B (en) Method for manipulating application program and its electronic device
CN106527937B (en) Method for adding mobile terminal widget and mobile terminal
CN103713840B (en) Portable device and key clicking range adjusting method thereof
JP6057441B2 (en) Portable device and input method thereof
TWI709876B (en) Electronic device and switch method and system for inputting
US10303295B2 (en) Modifying an on-screen keyboard based on asymmetric touch drift
US20110187654A1 (en) Method and system for user interface adjustment of electronic device
CN101794194A (en) Method and device for simulation of input of right mouse button on touch screen
CN104111797B (en) A kind of information processing method and electronic equipment
KR20150060475A (en) Method and apparatus for controlling an input on a touch-screen
CN101308423B (en) Delay decision system and method and related electronic device
US20150138102A1 (en) Inputting mode switching method and system utilizing the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170926

Termination date: 20190917

CF01 Termination of patent right due to non-payment of annual fee